Greenhopper fails to load after upgrade to Jira 5.2 and JDK 1.7

I recently upgraded from 5.0 to 5.2 and am using JDK 1.7. I cannot get Greenhopper 6.0.7 to load and run. It looks like its complaining about neededing something on JDK 1.6. I have this running successful in my test environment, but not in my production environment. I cant find anything that is different. I have cleared all the tmp, work and cached plugin directories and am still encountering this issue.

2012-12-04 16:13:52,877 FelixDispatchQueue ERROR [osgi.container.felix.FelixOsgiContainerManager] Framework error in bundle com.pyxis.greenhopper.jira

org.osgi.framework.BundleException: Unresolved constraint in bundle com.pyxis.greenhopper.jira [116]: Unable to resolve 116.0: missing requirement [116.0] package; (&(package=javax.xml.parsers)(version>=0.0.0.1_006_JavaSE)(version<=0.0.0.1_006_JavaSE))

at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3409)

at org.apache.felix.framework.Felix.loadBundleClass(Felix.java:1584)

at org.apache.felix.framework.BundleImpl.loadClass(BundleImpl.java:887)

at com.atlassian.plugin.osgi.util.BundleClassLoaderAccessor$BundleClassLoader.findClass(BundleClassLoaderAccessor.java:75)

at java.lang.ClassLoader.loadClass(ClassLoader.java:423)

at java.lang.ClassLoader.loadClass(ClassLoader.java:356)

at com.atlassian.jira.plugin.DefaultComponentClassManager.constructEvenIfNotEnabled(DefaultComponentClassManager.java:133)

at com.atlassian.jira.plugin.DefaultComponentClassManager.newInstance(DefaultComponentClassManager.java:70)

at com.atlassian.jira.event.ListenerFactory.getListener(ListenerFactory.java:31)

at com.atlassian.jira.event.DefaultListenerManager$Listeners.loadListeners(DefaultListenerManager.java:162)

at com.atlassian.jira.event.DefaultListenerManager$Listeners.create(DefaultListenerManager.java:104)

at com.atlassian.jira.event.DefaultListenerManager$Listeners.create(DefaultListenerManager.java:99)

at com.atlassian.util.concurrent.ResettableLazyReference$InternalReference.create(ResettableLazyReference.java:143)

at com.atlassian.util.concurrent.LazyReference$Sync.run(LazyReference.java:326)

at com.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:146)

at com.atlassian.util.concurrent.LazyReference.get(LazyReference.java:115)

at com.atlassian.util.concurrent.ResettableLazyReference.get(ResettableLazyReference.java:89)

at com.atlassian.jira.event.DefaultListenerManager$Listeners.start(DefaultListenerManager.java:126)

at com.atlassian.jira.event.DefaultListenerManager.start(DefaultListenerManager.java:47)

at com.atlassian.jira.ComponentManager.runStartable(ComponentManager.java:282)

at com.atlassian.jira.ComponentManager.startJIRA(ComponentManager.java:246)

at com.atlassian.jira.ComponentManager.quickStart(ComponentManager.java:212)

at com.atlassian.jira.ComponentManager.start(ComponentManager.java:197)

at com.atlassian.jira.upgrade.PluginSystemLauncher.start(PluginSystemLauncher.java:23)

at com.atlassian.jira.startup.DefaultJiraLauncher$3.run(DefaultJiraLauncher.java:105)

at com.atlassian.jira.config.database.DatabaseConfigurationManagerImpl.doNowOrEnqueue(DatabaseConfigurationManagerImpl.java:284)

at com.atlassian.jira.config.database.DatabaseConfigurationManagerImpl.doNowOrWhenDatabaseActivated(DatabaseConfigurationManagerImpl.java:169)

at com.atlassian.jira.startup.DefaultJiraLauncher.postDbLaunch(DefaultJiraLauncher.java:98)

at com.atlassian.jira.startup.DefaultJiraLauncher.access$100(DefaultJiraLauncher.java:25)

at com.atlassian.jira.startup.DefaultJiraLauncher$1.run(DefaultJiraLauncher.java:64)

at com.atlassian.jira.util.devspeed.JiraDevSpeedTimer.run(JiraDevSpeedTimer.java:33)

at com.atlassian.jira.startup.DefaultJiraLauncher.start(DefaultJiraLauncher.java:59)

at com.atlassian.jira.startup.LauncherContextListener$1.create(LauncherContextListener.java:80)

at com.atlassian.jira.startup.LauncherContextListener$1.create(LauncherContextListener.java:75)

at com.atlassian.multitenant.impl.MultiTenantComponentMapImpl.get(MultiTenantComponentMapImpl.java:121)

at com.atlassian.multitenant.impl.MultiTenantComponentMapImpl.onTenantStart(MultiTenantComponentMapImpl.java:165)

at com.atlassian.multitenant.impl.DefaultMultiTenantManager$1.consume(DefaultMultiTenantManager.java:134)

at com.atlassian.multitenant.impl.DefaultMultiTenantManager$1.consume(DefaultMultiTenantManager.java:131)

at com.atlassian.multitenant.impl.DefaultMultiTenantManager.runForEachListener(DefaultMultiTenantManager.java:256)

at com.atlassian.multitenant.impl.DefaultMultiTenantManager.startTenant(DefaultMultiTenantManager.java:130)

at com.atlassian.multitenant.impl.DefaultMultiTenantManager.startAll(DefaultMultiTenantManager.java:203)

at com.atlassian.jira.startup.LauncherContextListener.contextInitialized(LauncherContextListener.java:108) <+5> (StandardContext.java:4791) (StandardContext.java:5285) (LifecycleBase.java:150) (ContainerBase.java:1559) (ContainerBase.java:1549)

at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)

at java.util.concurrent.FutureTask.run(FutureTask.java:166)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)

at java.lang.Thread.run(Thread.java:722)

1 answer

1 accepted

GreenHopper 6.0.7 is simply not compatible with JDK 1.7. Please upgrade to GreenHopper 6.0.8 immediately.

Yes! This was the case. 6.0.8 works.

Thanks.

Suggest an answer

Log in or Join to answer
Community showcase
Teodora [Botron]
Published Thursday in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

332 views 0 12
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot