Hi
I downloaded & installed the bundle JIRA 5.1.1 Linux 32 bits (http://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-5.1.1-x32.bin). Installation was fine and I could complete the 4 steps of the initial setup wizard, using internal database. I then proceeded to install Greenhopper. Tested two ways, downloading from plugin exchange with the UPM and uploading manually.
End result is unavailability of JIRA server (Apache tomcat exception, attached) and I unable to recover the installation (restart does not revert the situation). java.lang.StackOverflowError is seen in catalina.out (attached).
Is there a workaround to this problem? How can I recover my installation? Is it faster to reinstall andrequest another evaluation licenses (did two times already).
catalina.out excerpt:
*
******************************************************************************** Atlassian GreenHopper v5.10.6 #b2b47d55b834 built 2012-07-26T08:06:09.485+02:00 - plugin started ********************************************************************************* 2012-07-27 19:57:09,155 Spring executor 16 INFO ejaicaa 1197x165x1 4q7q7g 159.107.26.18 /rest/plugins/1.0/ [greenhopper.service.logging.LogSupport] GreenHopper Run History *GreenHopper v5.10.6 (b2b47d55b834) started at 27 Jul 2012 07:57 2012-07-27 19:57:09,155 Spring executor 16 INFO ejaicaa 1197x165x1 4q7q7g 159.107.26.18 /rest/plugins/1.0/ [greenhopper.service.logging.LogSupport] There does not appear to be any GreenHopper upgrade history 2012-07-27 19:57:09,155 Spring executor 16 INFO ejaicaa 1197x165x1 4q7q7g 159.107.26.18 /rest/plugins/1.0/ [greenhopper.service.logging.LogSupport] This can be ok as upgrade history was not introduced until GH v5.10.3 2012-07-27 19:57:11,349 GadgetInstallationThread-1 WARN ejaicaa 1192x5x1 - 159.107.26.18 /secure/Setup.jspa [gadgets.publisher.internal.PluginGadgetFinder] Gadget spec PluginGadgetSpec{plugin=com.pyxis.greenhopper.jira, location='gadgets/greenhopper-project-dashboard.xml'} could not be added to plugin-provided gadget spec store, ignoring 2012-07-27 19:57:11,953 pool-13-thread-1 ERROR ejaicaa 1197x165x1 4q7q7g 159.107.26.18 /rest/plugins/1.0/ [sal.core.upgrade.PluginUpgrader] Upgrade failed: null java.lang.StackOverflowError at java.util.Properties.propertyNames(Properties.java:504) at java.util.PropertyResourceBundle.getLocalKeys(PropertyResourceBundle.java:79) at java.util.PropertyResourceBundle.access$000(PropertyResourceBundle.java:33) at java.util.PropertyResourceBundle$1.<init>(PropertyResourceBundle.java:93) at java.util.PropertyResourceBundle.getKeys(PropertyResourceBundle.java:93) at java.util.PropertyResourceBundle$1.<init>(PropertyResourceBundle.java:96) . . <goes like this forever> . at java.util.PropertyResourceBundle.getKeys(PropertyResourceBundle.java:93) at com.atlassian.jira.web.bean.BackingI18n.flattenResourceBundlesToMap(BackingI18n.java:535) at com.atlassian.jira.web.bean.BackingI18n.loadV1AndV2LanguagePacksAndPluginsBundles(BackingI18n.java:375) at com.atlassian.jira.web.bean.BackingI18n.<init>(BackingI18n.java:108) at com.atlassian.jira.web.bean.I18nBean$CachingFactory.getInstance(I18nBean.java:244) at com.atlassian.jira.web.bean.I18nBean$AccessorFactory.getInstance(I18nBean.java:141) at sun.reflect.GeneratedMethodAccessor266.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) at java.lang.reflect.Method.invoke(Method.java:611) at com.atlassian.multitenant.impl.MultiTenantComponentFactoryImpl$AbstractMultiTenantAwareInvocationHandler.invokeInternal(MultiTenantComponentFactoryImpl.java:181) at com.atlassian.multitenant.impl.MultiTenantComponentFactoryImpl$MultiTenantAwareInvocationHandler.invoke(MultiTenantComponentFactoryImpl.java:211) at $Proxy35.getInstance(Unknown Source) at sun.reflect.GeneratedMethodAccessor266.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) at java.lang.reflect.Method.invoke(Method.java:611) at com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:129) at $Proxy35.getInstance(Unknown Source) at sun.reflect.GeneratedMethodAccessor266.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) at java.lang.reflect.Method.invoke(Method.java:611) at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:154) at $Proxy35.getInstance(Unknown Source) at com.atlassian.greenhopper.service.I18nFactoryServiceImpl.getI18n(I18nFactoryServiceImpl.java:86) at com.pyxis.greenhopper.jira.util.I18nImpl.i18n2(I18nImpl.java:26) at com.pyxis.greenhopper.jira.util.I18nImpl.getText(I18nImpl.java:44) at com.pyxis.greenhopper.jira.configurations.ScrumDefaultConfiguration.getIssueTypeId(ScrumDefaultConfiguration.java:465) at com.pyxis.greenhopper.jira.configurations.ScrumDefaultConfiguration.getEpicId(ScrumDefaultConfiguration.java:95) at com.pyxis.greenhopper.jira.configurations.ScrumDefaultConfiguration.createAndPersistFieldConfigSheme(ScrumDefaultConfiguration.java:422) at com.pyxis.greenhopper.jira.configurations.ScrumDefaultConfiguration.getIssueTypeScheme(ScrumDefaultConfiguration.java:415) at com.pyxis.greenhopper.jira.configurations.ScrumDefaultConfiguration.getAllIssueTypes(ScrumDefaultConfiguration.java:122) at com.pyxis.greenhopper.jira.configurations.ScrumDefaultConfiguration.init(ScrumDefaultConfiguration.java:84) at com.atlassian.greenhopper.upgrade.GhUpgradeTask002.upgradeGHIssueTypesAssociations(GhUpgradeTask002.java:96) at com.atlassian.greenhopper.upgrade.GhUpgradeTask002.doUpgrade(GhUpgradeTask002.java:77) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) at java.lang.reflect.Method.invoke(Method.java:611) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:58) at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:62) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:56) at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:39) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy1486.doUpgrade(Unknown Source) at com.atlassian.sal.core.upgrade.PluginUpgrader.doUpgrade(PluginUpgrader.java:85) at com.atlassian.sal.core.upgrade.PluginUpgrader.upgrade(PluginUpgrader.java:66) at com.atlassian.sal.core.upgrade.DefaultPluginUpgradeManager.upgradePlugin(DefaultPluginUpgradeManager.java:204) at com.atlassian.sal.core.upgrade.DefaultPluginUpgradeManager.upgradeInternal(DefaultPluginUpgradeManager.java:194) at com.atlassian.sal.core.upgrade.DefaultPluginUpgradeManager$2.doInTransaction(DefaultPluginUpgradeManager.java:178) at com.atlassian.sal.core.transaction.HostContextTransactionTemplate$1.doInTransaction(HostContextTransactionTemplate.java:25) at com.atlassian.jira.DefaultHostContextAccessor.doInTransaction(DefaultHostContextAccessor.java:34) at com.atlassian.jira.DefaultHostContextAccessor.doInTransaction(DefaultHostContextAccessor.java:34) at sun.reflect.GeneratedMethodAccessor326.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) at java.lang.reflect.Method.invoke(Method.java:611) at com.atlassian.multitenant.impl.MultiTenantComponentFactoryImpl$AbstractMultiTenantAwareInvocationHandler.invokeInternal(MultiTenantComponentFactoryImpl.java:181) at com.atlassian.multitenant.impl.MultiTenantComponentFactoryImpl$MultiTenantAwareInvocationHandler.invoke(MultiTenantComponentFactoryImpl.java:211) at $Proxy30.doInTransaction(Unknown Source) at sun.reflect.GeneratedMethodAccessor326.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) at java.lang.reflect.Method.invoke(Method.java:611) at com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:129) at $Proxy30.doInTransaction(Unknown Source) at sun.reflect.GeneratedMethodAccessor326.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) at java.lang.reflect.Method.invoke(Method.java:611) at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:154) at $Proxy30.doInTransaction(Unknown Source) at com.atlassian.sal.core.transaction.HostContextTransactionTemplate.execute(HostContextTransactionTemplate.java:21) at com.atlassian.sal.core.upgrade.DefaultPluginUpgradeManager.upgradeInTransaction(DefaultPluginUpgradeManager.java:174) at com.atlassian.sal.core.upgrade.DefaultPluginUpgradeManager.onPluginEnabled(DefaultPluginUpgradeManager.java:95) at sun.reflect.GeneratedMethodAccessor244.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) at java.lang.reflect.Method.invoke(Method.java:611) at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:36) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$2.run(AsynchronousAbleEventDispatcher.java:60) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1.execute(AsynchronousAbleEventDispatcher.java:28) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher.dispatch(AsynchronousAbleEventDispatcher.java:56) at com.atlassian.event.internal.EventPublisherImpl.invokeListeners(EventPublisherImpl.java:151) at com.atlassian.event.internal.EventPublisherImpl.publish(EventPublisherImpl.java:70) at com.atlassian.multitenant.event.DefaultPeeringEventPublisherManager.publish(DefaultPeeringEventPublisherManager.java:17) at com.atlassian.multitenant.event.PeeringEventPublisher.publish(PeeringEventPublisher.java:23) at com.atlassian.plugin.event.impl.DefaultPluginEventManager.broadcast(DefaultPluginEventManager.java:84) at com.atlassian.plugin.manager.DefaultPluginManager.addPlugins(DefaultPluginManager.java:737) at com.atlassian.plugin.manager.DefaultPluginManager.scanForNewPlugins(DefaultPluginManager.java:459) at com.atlassian.plugin.manager.DefaultPluginManager.installPlugins(DefaultPluginManager.java:362) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) at java.lang.reflect.Method.invoke(Method.java:611) at com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:129) at $Proxy78.installPlugins(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) at java.lang.reflect.Method.invoke(Method.java:611) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:58) at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:62) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:56) at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:39) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy1830.installPlugins(Unknown Source) at com.atlassian.upm.PluginAccessorAndControllerImpl$1.doInTransaction(PluginAccessorAndControllerImpl.java:134) at com.atlassian.upm.PluginAccessorAndControllerImpl$1.doInTransaction(PluginAccessorAndControllerImpl.java:116) at com.atlassian.sal.core.transaction.HostContextTransactionTemplate$1.doInTransaction(HostContextTransactionTemplate.java:25) at com.atlassian.jira.DefaultHostContextAccessor.doInTransaction(DefaultHostContextAccessor.java:34) at sun.reflect.GeneratedMethodAccessor326.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) at java.lang.reflect.Method.invoke(Method.java:611) at com.atlassian.multitenant.impl.MultiTenantComponentFactoryImpl$AbstractMultiTenantAwareInvocationHandler.invokeInternal(MultiTenantComponentFactoryImpl.java:181) at com.atlassian.multitenant.impl.MultiTenantComponentFactoryImpl$MultiTenantAwareInvocationHandler.invoke(MultiTenantComponentFactoryImpl.java:211) at $Proxy30.doInTransaction(Unknown Source) at sun.reflect.GeneratedMethodAccessor326.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) at java.lang.reflect.Method.invoke(Method.java:611) at com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:129) at $Proxy30.doInTransaction(Unknown Source) at sun.reflect.GeneratedMethodAccessor326.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) at java.lang.reflect.Method.invoke(Method.java:611) at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:154) at $Proxy30.doInTransaction(Unknown Source) at com.atlassian.sal.core.transaction.HostContextTransactionTemplate.execute(HostContextTransactionTemplate.java:21) at sun.reflect.GeneratedMethodAccessor391.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) at java.lang.reflect.Method.invoke(Method.java:611) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:58) at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:62) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:56) at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:39) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy1838.execute(Unknown Source) at com.atlassian.upm.PluginAccessorAndControllerImpl.installPlugin(PluginAccessorAndControllerImpl.java:115) at com.atlassian.upm.impl.PluginArtifactInstallHandler.installPlugin(PluginArtifactInstallHandler.java:30) at com.atlassian.upm.PluginInstaller.execute(PluginInstaller.java:124) at com.atlassian.upm.PluginInstaller.install(PluginInstaller.java:81) at com.atlassian.upm.rest.resources.install.InstallTask.installFromFile(InstallTask.java:100) at com.atlassian.upm.rest.resources.install.InstallFromFileTask.executeTask(InstallFromFileTask.java:31) at com.atlassian.upm.rest.resources.install.InstallTask.call(InstallTask.java:40) at com.atlassian.upm.rest.resources.install.InstallTask.call(InstallTask.java:20) at com.atlassian.upm.rest.async.AsynchronousTaskManager$1.call(AsynchronousTaskManager.java:65) at com.atlassian.upm.rest.async.AsynchronousTaskManager$1.call(AsynchronousTaskManager.java:60) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:314) at java.util.concurrent.FutureTask.run(FutureTask.java:149) at com.atlassian.sal.core.executor.ThreadLocalDelegateRunnable.run(ThreadLocalDelegateRunnable.java:34) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:897) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919) at java.lang.Thread.run(Thread.java:736) 2012-07-27 19:57:12,202 pool-13-thread-1 ERROR ejaicaa 1197x165x1 4q7q7g 159.107.26.18 /rest/plugins/1.0/ [sal.core.upgrade.DefaultPluginUpgradeManager] Error(s) encountered while upgrading plugin 'Atlassian GreenHopper' on enable. 2012-07-27 19:57:12,211 pool-13-thread-1 ERROR ejaicaa 1197x165x1 4q7q7g 159.107.26.18 /rest/plugins/1.0/ [sal.core.upgrade.DefaultPluginUpgradeManager] Upgrade error: Unexpected exception caught during plugin upgrade: java.lang.StackOverflowError
Is not accesible form that point, even after restarting, :
java.lang.IllegalStateException: ComponentAccessor has not been initialised. at com.atlassian.jira.component.ComponentAccessor.getWorker(ComponentAccessor.java:848) at com.atlassian.jira.component.ComponentAccessor.getComponent(ComponentAccessor.java:105) at com.atlassian.jira.instrumentation.Instrumentation.getTenantedInstance(Instrumentation.java:63) at com.atlassian.jira.instrumentation.Instrumentation.getInstrument(Instrumentation.java:73) at com.atlassian.jira.plugins.monitor.database.ConnectionPoolGraph.setDatasourceValues(ConnectionPoolGraph.java:42) at com.atlassian.jira.plugins.monitor.rrd4j.RrdUpdater.addSample(RrdUpdater.java:76) at com.atlassian.jira.plugins.monitor.MetricsCollectorTask.doRun(MetricsCollectorTask.java:52) at com.atlassian.jira.plugins.monitor.MetricsCollectorTask.run(MetricsCollectorTask.java:41) at java.util.Timer$TimerImpl.run(Timer.java:293) 2012-07-27 20:22:18,440 jira-monitoring-plugin ERROR [jira.plugins.monitor.MetricsCollectorTask] Error running tas
Best Regards
Had exactly the same problem and lost two days on it.
Although I had proper JVM installed and JAVA_HOME variable set, JIRA was using the wrong JVM.
Look carefully at the startup info. Mine was like this:
executing as current user ..... .... .NMMMD. ... .8MMM. $MMN,..~MMMO. .?MMM. .MMM?. OMMMMZ. .,NMMMN~ .IMMMMMM. .NMMMN. .MMMMMN, ,MMMMMM$..3MD..ZMMMMMM. =NMMMMMM,. .,MMMMMMD. .MMMMMMMM8MMMMMMM, .ONMMMMMMMMMMZ. ,NMMMMMMM8. .:,.$MMMMMMM .IMMMM..NMMMMMD. .8MMMMM: :NMMMMN. .MMMMMM. .MMMMM~. .MMMMMN .MMMMM?. Atlassian JIRA Version : 5.1.1 Detecting JVM PermGen support... PermGen switch is supported. Setting to 256m If you encounter issues starting or stopping JIRA, please see the Troubleshooting guide at http://confluence.atlassian.com/display/JIRA/Installation+Troubleshooting+Guide Server startup logs are located in /localdisk/tools/jira/latest/logs/catalina.out Using CATALINA_BASE: /localdisk/tools/jira/latest Using CATALINA_HOME: /localdisk/tools/jira/latest Using CATALINA_TMPDIR: /localdisk/tools/jira/latest/temp Using JRE_HOME: /usr/lib64/jvm/jre Using CLASSPATH: /localdisk/tools/jira/latest/bin/bootstrap.jar Using CATALINA_PID: /localdisk/tools/jira/latest/work/catalina.pid
See the JRE_HOME entry? It turns out that JIRA takes the value of JRE_HOME and possibly of JRE_ROOT before JAVA_HOME. I got rid of JRE_HOME and JRE_ROOT variables (which were pointing to wrong JVM) and everything clicked. Startup info after variable removal:
executing as current user ..... .... .NMMMD. ... .8MMM. $MMN,..~MMMO. .?MMM. .MMM?. OMMMMZ. .,NMMMN~ .IMMMMMM. .NMMMN. .MMMMMN, ,MMMMMM$..3MD..ZMMMMMM. =NMMMMMM,. .,MMMMMMD. .MMMMMMMM8MMMMMMM, .ONMMMMMMMMMMZ. ,NMMMMMMM8. .:,.$MMMMMMM .IMMMM..NMMMMMD. .8MMMMM: :NMMMMN. .MMMMMM. .MMMMM~. .MMMMMN .MMMMM?. Atlassian JIRA Version : 5.1.1 Detecting JVM PermGen support... PermGen switch is supported. Setting to 256m If you encounter issues starting or stopping JIRA, please see the Troubleshooting guide at http://confluence.atlassian.com/display/JIRA/Installation+Troubleshooting+Guide Server startup logs are located in /localdisk/tools/jira/latest/logs/catalina.out Using CATALINA_BASE: /localdisk/tools/jira/latest Using CATALINA_HOME: /localdisk/tools/jira/latest Using CATALINA_TMPDIR: /localdisk/tools/jira/latest/temp Using JRE_HOME: /localdisk/tools/java/latest Using CLASSPATH: /localdisk/tools/jira/latest/bin/bootstrap.jar Using CATALINA_PID: /localdisk/tools/jira/latest/work/catalina.pid
Greenhopper does not fail to install anymore. BTW if you want to remove plugins without accessing JIRA web interface, you can simply delete the jar file from JIRA_HOME/plugins/installed-plugins.
Hope this helps.
--
regards
Andrzej
Hello all
The original issue was that I was not setting JAVA_HOME or JRE_HOME to a supported JRE version. I was confused by the fact that the JRE was included with the binary package I downloaded but the utility scripts to start up made no use of it by default.
BR
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Outside of Jira.
The machine I was installing GreenHopper on had system/environment variables JRE_HOME and JRE_ROOT set somwhere in the profile (~/.bashrc). I just edited the ~/.bashrc - made sure that JAVA_HOME is being set there properly and removed creation/setting of JRE_HOME and JRE_ROOT variables (which in my case were pointing to other JVM not supported by Jira).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
When you say "I got rid of JRE_HOME and JRE_ROOT variable", what does that mean exactly? Did you update a file where the variables were being set? Are they system/environment variables that are set outside of Jira? I'm facing this same problem and I could use some more specifics.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.