com.atlassian.jira.InfrastructureException: Error occurred while starting Plugin Manager. Unable to find required packages via classloader or servlet context scanning, most likely due to an application server bug.

Atlassian JIRA | h horridum | 7 years ago
  1. 0

    Cannot start jira after deploying it to resin webapps directory. At log i can see next: 2009-11-18 14:34:40,273 main FATAL [atlassian.jira.upgrade.ConsistencyLauncher] A fatal error occured during initialisation. JIRA has been locked. com.atlassian.jira.InfrastructureException: Error occurred while starting Plugin Manager. Unable to find required packages via classloader or servlet context scanning, most likely due to an application server bug. at com.atlassian.jira.ComponentManager$PluginSystem.start(ComponentManager.java:1281) at com.atlassian.jira.ComponentManager.quickStart(ComponentManager.java:224) at com.atlassian.jira.ComponentManager.start(ComponentManager.java:210) at com.atlassian.jira.upgrade.ConsistencyLauncher.launchConsistencyChecker(ConsistencyLauncher.java:63) at com.atlassian.jira.upgrade.ConsistencyLauncher.contextInitialized(ConsistencyLauncher.java:42) at com.caucho.server.webapp.WebApp.start(Unknown Source) at com.caucho.server.deploy.DeployController.startImpl(Unknown Source) at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(Unknown Source) at com.caucho.server.deploy.DeployController.startOnInit(Unknown Source) at com.caucho.server.deploy.DeployContainer.start(Unknown Source) at com.caucho.server.webapp.WebAppContainer.start(Unknown Source) at com.caucho.server.host.Host.start(Unknown Source) at com.caucho.server.deploy.DeployController.startImpl(Unknown Source) at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(Unknown Source) at com.caucho.server.deploy.DeployController.startOnInit(Unknown Source) at com.caucho.server.deploy.DeployContainer.start(Unknown Source) at com.caucho.server.host.HostContainer.start(Unknown Source) at com.caucho.server.cluster.Server.start(Unknown Source) at com.caucho.server.resin.Resin.start(Unknown Source) at com.caucho.server.resin.Resin.initMain(Unknown Source) at com.caucho.server.resin.Resin.main(Unknown Source) Caused by: java.lang.IllegalStateException: Unable to find required packages via classloader or servlet context scanning, most likely due to an application server bug. at com.atlassian.plugin.osgi.container.felix.ExportsBuilder.generateExports(ExportsBuilder.java:152) at com.atlassian.plugin.osgi.container.felix.ExportsBuilder.determineExports(ExportsBuilder.java:70) at com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager.start(FelixOsgiContainerManager.java:218) at com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager.onStart(FelixOsgiContainerManager.java:183) 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 com.atlassian.plugin.event.impl.DefaultPluginEventManager$Listener.notify(DefaultPluginEventManager.java:196) at com.atlassian.plugin.event.impl.DefaultPluginEventManager.broadcast(DefaultPluginEventManager.java:70) at com.atlassian.plugin.manager.DefaultPluginManager.init(DefaultPluginManager.java:127) at com.atlassian.jira.plugin.JiraPluginManager.start(JiraPluginManager.java:49) at com.atlassian.jira.ComponentManager$PluginSystem.start(ComponentManager.java:1275) ... 20 more what can i do to fix this problem?

    Atlassian JIRA | 7 years ago | h horridum
    com.atlassian.jira.InfrastructureException: Error occurred while starting Plugin Manager. Unable to find required packages via classloader or servlet context scanning, most likely due to an application server bug.
  2. 0

    Cannot start jira after deploying it to resin webapps directory. At log i can see next: 2009-11-18 14:34:40,273 main FATAL [atlassian.jira.upgrade.ConsistencyLauncher] A fatal error occured during initialisation. JIRA has been locked. com.atlassian.jira.InfrastructureException: Error occurred while starting Plugin Manager. Unable to find required packages via classloader or servlet context scanning, most likely due to an application server bug. at com.atlassian.jira.ComponentManager$PluginSystem.start(ComponentManager.java:1281) at com.atlassian.jira.ComponentManager.quickStart(ComponentManager.java:224) at com.atlassian.jira.ComponentManager.start(ComponentManager.java:210) at com.atlassian.jira.upgrade.ConsistencyLauncher.launchConsistencyChecker(ConsistencyLauncher.java:63) at com.atlassian.jira.upgrade.ConsistencyLauncher.contextInitialized(ConsistencyLauncher.java:42) at com.caucho.server.webapp.WebApp.start(Unknown Source) at com.caucho.server.deploy.DeployController.startImpl(Unknown Source) at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(Unknown Source) at com.caucho.server.deploy.DeployController.startOnInit(Unknown Source) at com.caucho.server.deploy.DeployContainer.start(Unknown Source) at com.caucho.server.webapp.WebAppContainer.start(Unknown Source) at com.caucho.server.host.Host.start(Unknown Source) at com.caucho.server.deploy.DeployController.startImpl(Unknown Source) at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(Unknown Source) at com.caucho.server.deploy.DeployController.startOnInit(Unknown Source) at com.caucho.server.deploy.DeployContainer.start(Unknown Source) at com.caucho.server.host.HostContainer.start(Unknown Source) at com.caucho.server.cluster.Server.start(Unknown Source) at com.caucho.server.resin.Resin.start(Unknown Source) at com.caucho.server.resin.Resin.initMain(Unknown Source) at com.caucho.server.resin.Resin.main(Unknown Source) Caused by: java.lang.IllegalStateException: Unable to find required packages via classloader or servlet context scanning, most likely due to an application server bug. at com.atlassian.plugin.osgi.container.felix.ExportsBuilder.generateExports(ExportsBuilder.java:152) at com.atlassian.plugin.osgi.container.felix.ExportsBuilder.determineExports(ExportsBuilder.java:70) at com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager.start(FelixOsgiContainerManager.java:218) at com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager.onStart(FelixOsgiContainerManager.java:183) 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 com.atlassian.plugin.event.impl.DefaultPluginEventManager$Listener.notify(DefaultPluginEventManager.java:196) at com.atlassian.plugin.event.impl.DefaultPluginEventManager.broadcast(DefaultPluginEventManager.java:70) at com.atlassian.plugin.manager.DefaultPluginManager.init(DefaultPluginManager.java:127) at com.atlassian.jira.plugin.JiraPluginManager.start(JiraPluginManager.java:49) at com.atlassian.jira.ComponentManager$PluginSystem.start(ComponentManager.java:1275) ... 20 more what can i do to fix this problem?

    Atlassian JIRA | 7 years ago | h horridum
    com.atlassian.jira.InfrastructureException: Error occurred while starting Plugin Manager. Unable to find required packages via classloader or servlet context scanning, most likely due to an application server bug.
  3. 0

    View topic - Startup exception • Broadleaf Commerce Discussion Forums

    broadleafcommerce.org | 1 year ago
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in resource loaded from byte array: Cannot resolve reference to bean 'blPersistenceUnitManager' while setting bean property 'persistenceUnitManager'; nested e$ [org.broadleafcommerce.common.currency.domain.BroadleafCurrencyImpl, org.broadleafcommerce.common.locale.domain.LocaleImpl, org.broadleafcommerce.common.currency.domain.BroadleafCurrencyImpl] are managed classes within the MergePersistenceUnitManager but were not detected as being transformed by the EntityMarkerClassTransformer. These classes are likely loaded earlier in the application startup lifecyle by the servlet container. Verify that an empty <absolute-ordering /> element is contained in your web.xml to disable scanning for ServletContainerInitializer classes by your servlet container which can trigger early class loading. If the problem persists, ensure that there are no bean references to your entity class anywhere else in your Spring applicationContext and consult the documentation for your servlet container to determine if classes are loaded prior to the Spring context initialization.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    View topic - Startup exception • Broadleaf Commerce Discussion Forums

    broadleafcommerce.org | 1 year ago
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in resource loaded from byte array: Cannot resolve reference to bean 'blPersistenceUnitManager' while setting bean property 'persistenceUnitManager'; nested e$ [org.broadleafcommerce.common.currency.domain.BroadleafCurrencyImpl, org.broadleafcommerce.common.locale.domain.LocaleImpl, org.broadleafcommerce.common.currency.domain.BroadleafCurrencyImpl] are managed classes within the MergePersistenceUnitManager but were not detected as being transformed by the EntityMarkerClassTransformer. These classes are likely loaded earlier in the application startup lifecyle by the servlet container. Verify that an empty <absolute-ordering /> element is contained in your web.xml to disable scanning for ServletContainerInitializer classes by your servlet container which can trigger early class loading. If the problem persists, ensure that there are no bean references to your entity class anywhere else in your Spring applicationContext and consult the documentation for your servlet container to determine if classes are loaded prior to the Spring context initialization.
  6. 0

    Broadleaf Commerce cannot startup due to MergePersistenceUnitManager exception

    Stack Overflow | 2 years ago | user3240972
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in resource loaded from byte array: Cannot resolve reference to bean 'blPersistenceUnitManager' while setting bean property 'persistenceUnitManager'; nested e$ [org.broadleafcommerce.common.currency.domain.BroadleafCurrencyImpl, org.broadleafcommerce.common.locale.domain.LocaleImpl, org.broadleafcommerce.common.currency.domain.BroadleafCurrencyImpl] are managed classes within the MergePersistenceUnitManager but were not detected as being transformed by the EntityMarkerClassTransformer. These classes are likely loaded earlier in the application startup lifecyle by the servlet container. Verify that an empty &lt;absolute-ordering /&gt; element is contained in your web.xml to disable scanning for ServletContainerInitializer classes by your servlet container which can trigger early class loading. If the problem persists, ensure that there are no bean references to your entity class anywhere else in your Spring applicationContext and consult the documentation for your servlet container to determine if classes are loaded prior to the Spring context initialization.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Unable to find required packages via classloader or servlet context scanning, most likely due to an application server bug.

      at com.atlassian.plugin.osgi.container.felix.ExportsBuilder.generateExports()
    2. com.atlassian.plugin
      FelixOsgiContainerManager.onStart
      1. com.atlassian.plugin.osgi.container.felix.ExportsBuilder.generateExports(ExportsBuilder.java:152)
      2. com.atlassian.plugin.osgi.container.felix.ExportsBuilder.determineExports(ExportsBuilder.java:70)
      3. com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager.start(FelixOsgiContainerManager.java:218)
      4. com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager.onStart(FelixOsgiContainerManager.java:183)
      4 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    4. com.atlassian.plugin
      DefaultPluginManager.init
      1. com.atlassian.plugin.event.impl.DefaultPluginEventManager$Listener.notify(DefaultPluginEventManager.java:196)
      2. com.atlassian.plugin.event.impl.DefaultPluginEventManager.broadcast(DefaultPluginEventManager.java:70)
      3. com.atlassian.plugin.manager.DefaultPluginManager.init(DefaultPluginManager.java:127)
      3 frames
    5. com.atlassian.jira
      ConsistencyLauncher.contextInitialized
      1. com.atlassian.jira.plugin.JiraPluginManager.start(JiraPluginManager.java:49)
      2. com.atlassian.jira.ComponentManager$PluginSystem.start(ComponentManager.java:1275)
      3. com.atlassian.jira.ComponentManager.quickStart(ComponentManager.java:224)
      4. com.atlassian.jira.ComponentManager.start(ComponentManager.java:210)
      5. com.atlassian.jira.upgrade.ConsistencyLauncher.launchConsistencyChecker(ConsistencyLauncher.java:63)
      6. com.atlassian.jira.upgrade.ConsistencyLauncher.contextInitialized(ConsistencyLauncher.java:42)
      6 frames
    6. com.caucho.server
      Resin.main
      1. com.caucho.server.webapp.WebApp.start(Unknown Source)
      2. com.caucho.server.deploy.DeployController.startImpl(Unknown Source)
      3. com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(Unknown Source)
      4. com.caucho.server.deploy.DeployController.startOnInit(Unknown Source)
      5. com.caucho.server.deploy.DeployContainer.start(Unknown Source)
      6. com.caucho.server.webapp.WebAppContainer.start(Unknown Source)
      7. com.caucho.server.host.Host.start(Unknown Source)
      8. com.caucho.server.deploy.DeployController.startImpl(Unknown Source)
      9. com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(Unknown Source)
      10. com.caucho.server.deploy.DeployController.startOnInit(Unknown Source)
      11. com.caucho.server.deploy.DeployContainer.start(Unknown Source)
      12. com.caucho.server.host.HostContainer.start(Unknown Source)
      13. com.caucho.server.cluster.Server.start(Unknown Source)
      14. com.caucho.server.resin.Resin.start(Unknown Source)
      15. com.caucho.server.resin.Resin.initMain(Unknown Source)
      16. com.caucho.server.resin.Resin.main(Unknown Source)
      16 frames