JIRA Startup Fails due to Plugin Installation
症状
Attempting to start up JIRA fails with the below error displayed in the GUI:
atlassian-jira.log
に次のメッセージが表示される。
2013-01-22 08:30:52,301 main ERROR [atlassian.plugin.parsers.XmlDescriptorParser] There were problems loading the module 'rest' in plugin 'Atlassian JIRA - Admin Helper Plugin'. The module has been disabled.
2013-01-22 08:30:52,301 main ERROR [atlassian.plugin.parsers.XmlDescriptorParser] net.sf.cglib.empty.Object$$EnhancerByCGLIB$$2f67d42c cannot be cast to com.atlassian.plugin.ModuleDescriptor
java.lang.ClassCastException: net.sf.cglib.empty.Object$$EnhancerByCGLIB$$2f67d42c cannot be cast to com.atlassian.plugin.ModuleDescriptor
at com.atlassian.multitenant.plugins.MultiTenantModuleDescriptorFactory.getModuleDescriptor(MultiTenantModuleDescriptorFactory.java:96)
at com.atlassian.plugin.parsers.XmlDescriptorParser.createModuleDescriptor(XmlDescriptorParser.java:190)
at com.atlassian.plugin.parsers.XmlDescriptorParser.configurePlugin(XmlDescriptorParser.java:142)
at com.atlassian.plugin.loaders.SinglePluginLoader.loadPlugin(SinglePluginLoader.java:135)
at com.atlassian.plugin.loaders.SinglePluginLoader.loadAllPlugins(SinglePluginLoader.java:89)
at com.atlassian.plugin.loaders.ClassPathPluginLoader.loadClassPathPlugins(ClassPathPluginLoader.java:59)
at com.atlassian.plugin.loaders.ClassPathPluginLoader.loadAllPlugins(ClassPathPluginLoader.java:67)
at com.atlassian.plugin.manager.DefaultPluginManager.init(DefaultPluginManager.java:146)
at com.atlassian.jira.plugin.JiraPluginManager.start(JiraPluginManager.java:58)
at com.atlassian.jira.ComponentManager$PluginSystem.start(ComponentManager.java:681)
at com.atlassian.jira.ComponentManager.startPluginSystem(ComponentManager.java:240)
at com.atlassian.jira.ComponentManager.quickStart(ComponentManager.java:233)
at com.atlassian.jira.ComponentManager.start(ComponentManager.java:218)
And also:
Atlassian JIRA - Admin Helper Plugin : com.atlassian.jira.plugins.jira-admin-helper-plugin
Version : 1.5
Status : enabled
Unloadable Reason : OSGi plugins cannot be deployed via the classpath, which is usually WEB-INF/lib.
URL is: jar:file:/C:/Program Files/Atlassian/JIRA/atlassian-jira/WEB-INF/lib/jira-admin-helper-plugin-1.5.jar!/atlassian-plugin.xml
Vendor : Atlassian Pty Ltd
Description : The Admin Helper plugin helps admins determine visibility of custom fields and also provides reasons for why a user does not have certain permissions on an issue or does not receive notifications for that issue.
原因
Plugins have been installed into $JIRA_INSTALL/atlassian-jira/WEB-INF/lib
that are not version 1 plugins, causing JIRA to startup incorrectly.
ソリューション
All version 1 plugins will need to be moved to the $JIRA_HOME/plugins/installed-plugins
directory. In this example, this is C:/Program Files/Atlassian/JIRA/atlassian-jira/WEB-INF/lib/jira-admin-helper-plugin-1.5.jar
.
Last modified on Mar 30, 2016
Powered by Confluence and Scroll Viewport.