Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

database-values-plugin failed to enable

Miroslav Hržica April 10, 2012

I have problem with JIRA Database Values Plugin installation.

I have performed installation by putting plugin file (database-values-plugin-1.3.jar) in JIRAPP/lib folder.

After installation plugin is disabled and this error is logged in atlassian-jira.log:

The following plugins failed to load:
database-values-plugin: There was a problem loading the descriptor for module 'Database Values Selection Field' in plugin 'database-values-plugin'.
 Error retrieving dependency of class: org.deblauwe.jira.plugin.databasevalues.DatabaseValuesCFType. Missing class: com/atlassian/jira/issue/customfields/SortableCustomField

I have tried installation on production server:
OS: Red Hat Enterprise Linux ES release 4 (Nahant Update 6)
Java: jdk1.6.0_27
JIRA: enterprise 4.3.3

After unsuccessful installation on production server I have tried installation on virtual server (virtualbox).
OS: CentOS release 5.8 (Final)

And most combinations of:
Java: java6u27 and java6u31
Jira versions: 4.3.3, 4.2.2 and 4.4.1
Plugin versions: 1.2 and 1.3
Database: mysql and HSQL


Windows VM:
OS: Windows XP sp3
JAVA: 1.6.0_31
Jira version: 4.2.2-b589
Plugin version: 1.3

In every combination I have tried I have same error.



Complete error from log:

___ Starting the JIRA Plugin System _________________

2012-04-11 10:04:09,948 main INFO      [atlassian.plugin.manager.DefaultPluginManager] Initialising the plugin system
2012-04-11 10:04:17,669 main ERROR      [atlassian.plugin.manager.DefaultPluginManager] There was an error loading the descriptor 'Database Values Selection Field' of plugin 'org.deblauwe.jira.plugin.database-values-plugin'. Disabling.
com.atlassian.plugin.PluginParseException: Error retrieving dependency of class: org.deblauwe.jira.plugin.databasevalues.DatabaseValuesCFType. Missing class: com/atlassian/jira/issue/customfields/SortableCustomField
        at com.atlassian.plugin.module.LegacyModuleFactory.getModuleClass(LegacyModuleFactory.java:50)
        at com.atlassian.plugin.descriptors.AbstractModuleDescriptor.loadClass(AbstractModuleDescriptor.java:176)
        at com.atlassian.plugin.descriptors.AbstractModuleDescriptor.enabled(AbstractModuleDescriptor.java:423)
        at com.atlassian.jira.plugin.customfield.CustomFieldTypeModuleDescriptorImpl.enabled(CustomFieldTypeModuleDescriptorImpl.java:48)
        at com.atlassian.multitenant.plugins.MultiTenantModuleDescriptorFactory$LifecycleInterceptor.handleEnabled(MultiTenantModuleDescriptorFactory.java:246)
        at com.atlassian.multitenant.plugins.MultiTenantModuleDescriptorFactory$LifecycleInterceptor.intercept(MultiTenantModuleDescriptorFactory.java:183)
        at com.atlassian.jira.plugin.customfield.CustomFieldTypeModuleDescriptorImpl$$EnhancerByCGLIB$$88fd6779.enabled(<generated>)
        at com.atlassian.plugin.manager.DefaultPluginManager.notifyModuleEnabled(DefaultPluginManager.java:1429)
        at com.atlassian.plugin.manager.DefaultPluginManager.enableConfiguredPluginModule(DefaultPluginManager.java:1240)
        at com.atlassian.plugin.manager.DefaultPluginManager.enableConfiguredPluginModules(DefaultPluginManager.java:1207)
        at com.atlassian.plugin.manager.DefaultPluginManager.addPlugins(DefaultPluginManager.java:704)
        at com.atlassian.plugin.manager.DefaultPluginManager.init(DefaultPluginManager.java:170)
        at com.atlassian.jira.plugin.JiraPluginManager.start(JiraPluginManager.java:59)
        at com.atlassian.jira.ComponentManager$PluginSystem.start(ComponentManager.java:1380)
        at com.atlassian.jira.ComponentManager.quickStart(ComponentManager.java:254)
        at com.atlassian.jira.ComponentManager.start(ComponentManager.java:237)
        at com.atlassian.jira.upgrade.ConsistencyLauncher.launchConsistencyChecker(ConsistencyLauncher.java:61)
        at com.atlassian.jira.upgrade.ConsistencyLauncher.start(ConsistencyLauncher.java:39)
        at com.atlassian.jira.startup.DefaultJiraLauncher.start(DefaultJiraLauncher.java:39)
        at com.atlassian.jira.startup.LauncherContextListener$1.create(LauncherContextListener.java:57)
        at com.atlassian.jira.startup.LauncherContextListener$1.create(LauncherContextListener.java:52)
        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:85)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4205)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4704)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
        at org.apache.catalina.core.StandardService.start(StandardService.java:525)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Caused by: java.lang.NoClassDefFoundError: com/atlassian/jira/issue/customfields/SortableCustomField
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
        at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1667)
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526)
        at com.atlassian.plugin.util.ClassLoaderUtils.loadClass(ClassLoaderUtils.java:40)
        at com.atlassian.plugin.impl.StaticPlugin.loadClass(StaticPlugin.java:21)
        at com.atlassian.plugin.module.LegacyModuleFactory.getModuleClass(LegacyModuleFactory.java:27)
        ... 43 more
Caused by: java.lang.ClassNotFoundException: com.atlassian.jira.issue.customfields.SortableCustomField
        at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
        ... 59 more

1 answer

1 accepted

1 vote
Answer accepted
Wim Deblauwe
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 11, 2012

See https://studio.plugins.atlassian.com/wiki/display/JDVP/JIRA+Database+Values+Plugin#JIRADatabaseValuesPlugin-Installation for information on how to install the plugin. It is a "plugins one" plugin, which means you have to install it in the WEB-INF/lib folder.

Let me know if you might have other problems.

regards,

Wim

Miroslav Hržica April 11, 2012

That was solution :)

As usual problem was in only step I assumed it was correct.

Thank you

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, jira product discovery learning path, product discovery training, idea prioritization, align stakeholders, discovery to delivery, product collaboration, atlassian learning, dev process, roadmap planning, insight capture, team alignment

Elevate Your Skills with Jira Product Discovery!

Unlock your potential and learn how to use Jira Product Discovery to your advantage. You’ll have the expertise to revolutionize ideas and insights, roadmapping, engage and align teams and stakeholders, and deliver the best solutions—faster. Enroll today!

Start Learning
AUG Leaders

Atlassian Community Events