Product: Confluence
Environment
| Operating System | |
|---|---|
| Affect Version/s | |
| JVM | |
| Database | |
| Application Server |
Error Message
[410 javajni.c] [error] CreateJavaVM Failed [953 prunsrv.c] [error] Failed initializing java C:\<the_confluence_installed_directory>\bin\bootstrap.jar [1202 prunsrv.c] [error] ServiceStart returned 2
Symptom
In the "Event Properties" window, it shows:
The Apache Tomcat service terminated with service-specific error 0(0x0)
Diagnostics/Test
Root Cause
There are some discussion available regarding this. It is due to the JVM memory (-Xmx or -xx:MaxPermsize) being allocated with too high value.
References:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6474166
http://publib.boulder.ibm.com/infocenter/tivihelp/v3r1/index.jsp?topic=/com.ibm.tivoli.itbsm.doc/tbsmadm411133.htm
Solution
Reducing the maximum heap space or Perm Gen size fixed the problem.
