I was trying to add some startup options to my Jira service on Windows for SSL email. There was a problem and when I tried to back out the changes I cannot get Jira to start now. I have now tried pasting the orginal back, hand typing all the parameters and leaving it empty. When there are no input parameters Jira will start, but not respond via the webpage. When there are ANY startup parameters I get an error like: "Windows could not start Jira on the local computer" THe log files read like:
[2013-08-07 14:47:42] [info] ( prunsrv.c:1729) Commons Daemon procrun finished
[2013-08-07 14:55:09] [debug] ( prunsrv.c:1644) Commons Daemon procrun log initialized
[2013-08-07 14:55:09] [info] ( prunsrv.c:1648) Commons Daemon procrun (1.0.10.0 64-bit) started
[2013-08-07 14:55:09] [info] ( prunsrv.c:1561) Running 'JIRA120713110139' Service...
[2013-08-07 14:55:09] [debug] ( prunsrv.c:1345) Inside ServiceMain...
[2013-08-07 14:55:09] [info] ( prunsrv.c:1089) Starting service...
[2013-08-07 14:55:09] [debug] ( javajni.c:195 ) Invalid RuntimeLib 'C:\Program Files\Java\jre7\bin\client\jvm.dll'
[2013-08-07 14:55:09] [debug] ( javajni.c:197 ) Using Jre JavaHome 'C:\Program Files\Java\jre7'
[2013-08-07 14:55:09] [debug] ( javajni.c:206 ) loading jvm 'C:\Program Files\Java\jre7\bin\server\jvm.dll'
[2013-08-07 14:55:09] [debug] ( javajni.c:251 ) Setting DLL search path to 'C:\Program Files\Java\jre7\bin\server'
[2013-08-07 14:55:09] [debug] ( javajni.c:251 ) Setting DLL search path to 'C:\Program Files\Java\jre7\bin'
[2013-08-07 14:55:09] [debug] ( javajni.c:660 ) Jvm Option[0] -dmail.mime.decoderparameters=true
[2013-08-07 14:55:09] [debug] ( javajni.c:660 ) Jvm Option[1] -Djava.class.path=C:\Program Files\Atlassian\JIRA\bin\bootstrap.jar;C:\Program Files\Atlassian\JIRA\bin\tomcat-juli.jar;C:\Program Files\Atlassian\JIRA\bin\tomcat-juli.jar
[2013-08-07 14:55:09] [debug] ( javajni.c:660 ) Jvm Option[2] -Xms256m
[2013-08-07 14:55:09] [debug] ( javajni.c:660 ) Jvm Option[3] -Xmx768m
[2013-08-07 14:55:09] [error] ( javajni.c:670 ) CreateJavaVM Failed
[2013-08-07 14:55:09] [error] ( javajni.c:670 ) The system could not find the environment option that was entered.
[2013-08-07 14:55:09] [debug] ( javajni.c:914 ) Java Worker thread finished : with status=2
[2013-08-07 14:55:09] [error] ( prunsrv.c:1145) Failed to start Java
[2013-08-07 14:55:09] [error] ( prunsrv.c:1504) ServiceStart returned 4
[2013-08-07 14:55:09] [info] ( prunsrv.c:1563) Run service finished.
[2013-08-07 14:55:09] [info] ( prunsrv.c:1729) Commons Daemon procrun finished
I get similar errors no matter what I have tried.
Ideas?
EDIT:
Error Output:
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'issueManager': FactoryBean threw exception on object creation; nested exception is java.lang.OutOfMemoryError: PermGen space
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport$1.run(FactoryBeanRegistrySupport.java:127)
at java.security.AccessController.doPrivileged(Native Method)
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:116)
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:91)
at org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1288)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:217)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:671)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:610)
at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:622)
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:584)
... 22 more
Caused by: java.lang.OutOfMemoryError: PermGen space
2013-08-07 14:47:42 Commons Daemon procrun stderr initialized
Unrecognized option: -dmail.mime.decoderparameters=true
2013-08-07 14:55:09 Commons Daemon procrun stderr initialized
Unrecognized option: -dmail.mime.decoderparameters=true
Standard Output:
2013-08-07 14:47:29,302 localhost-startStop-1 ERROR [internal.util.concurrent.RunnableTimedExecution] Closing runnable for context NonValidatingOsgiBundleXmlApplicationContext(bundle=com.atlassian.jira.jira-invite-user-plugin, config=osgibundle:/META-INF/spring/*.xml) did not finish in 10000ms; consider taking a snapshot and then shutdown the VM in case the thread still hangs
2013-08-07 14:47:29,314 localhost-startStop-1 ERROR [atlassian.plugin.manager.PluginEnabler] Unable to start the following plugins due to timeout while waiting for plugin to enable: com.atlassian.jira.jira-invite-user-plugin
2013-08-07 14:47:30,722 localhost-startStop-1 ERROR [atlassian.plugin.manager.DefaultPluginManager] There was an error loading the descriptor 'null' of plugin 'com.atlassian.administration.atlassian-admin-quicksearch-jira'. Disabling.
java.lang.OutOfMemoryError: PermGen space
2013-08-07 14:47:32,317 localhost-startStop-1 ERROR [atlassian.jira.startup.LauncherContextListener] Unable to start JIRA due to Java Error.
java.lang.OutOfMemoryError: PermGen space
2013-08-07 14:47:42 Commons Daemon procrun stdout initialized
2013-08-07 14:55:09 Commons Daemon procrun stdout initialized