java.lang.IllegalStateException: Provider already mapped glassfish:jsf:faces-servlet

Oracle Community | baboonworksgood | 6 years ago
  1. 0

    junit4 test fail stacktrace

    Oracle Community | 6 years ago | baboonworksgood
    java.lang.IllegalStateException: Provider already mapped glassfish:jsf:faces-servlet
  2. 0

    Embeddable Glassfish 3.1 problem

    Oracle Community | 6 years ago | luca_fpe
    java.lang.IllegalStateException: Provider already mapped glassfish:jsf:faces-servlet
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Using embedded GF 3.1.1 for unit testing

    Oracle Community | 5 years ago | chris.joelly
    java.lang.IllegalStateException: Provider already mapped glassfish:jsf:faces-servlet
  5. 0

    How to get rid of exceptions when starting glassfish 3.1 embedded.

    Oracle Community | 5 years ago | Stephane14
    java.lang.IllegalStateException: Provider already mapped glassfish:jsf:faces-servlet

    1 unregistered visitors
    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

      Provider already mapped glassfish:jsf:faces-servlet

      at org.glassfish.flashlight.impl.core.ProbeProviderRegistry.registerProbeProvider()
    2. flashlight-framework
      FlashlightProbeProviderFactory.processXMLProbeProviders
      1. org.glassfish.flashlight.impl.core.ProbeProviderRegistry.registerProbeProvider(ProbeProviderRegistry.java:100)
      2. org.glassfish.flashlight.impl.provider.FlashlightProbeProviderFactory.registerProvider(FlashlightProbeProviderFactory.java:538)
      3. org.glassfish.flashlight.impl.provider.FlashlightProbeProviderFactory.processXMLProbeProviders(FlashlightProbeProviderFactory.java:363)
      3 frames
    3. Glassfish Admin
      MonitoringBootstrap.postConstruct
      1. org.glassfish.admin.monitor.MonitoringBootstrap.processProbeProviderXML(MonitoringBootstrap.java:474)
      2. org.glassfish.admin.monitor.MonitoringBootstrap.processManifest(MonitoringBootstrap.java:350)
      3. org.glassfish.admin.monitor.MonitoringBootstrap.addProvider(MonitoringBootstrap.java:291)
      4. org.glassfish.admin.monitor.MonitoringBootstrap.verifyModule(MonitoringBootstrap.java:235)
      5. org.glassfish.admin.monitor.MonitoringBootstrap.discoverProbeProviders(MonitoringBootstrap.java:178)
      6. org.glassfish.admin.monitor.MonitoringBootstrap.enableMonitoringForProbeProviders(MonitoringBootstrap.java:614)
      7. org.glassfish.admin.monitor.MonitoringBootstrap.postConstruct(MonitoringBootstrap.java:166)
      7 frames
    4. Inversion of Control / Autodependency mechanism
      AbstractInhabitantImpl.get
      1. com.sun.hk2.component.AbstractCreatorImpl.inject(AbstractCreatorImpl.java:131)
      2. com.sun.hk2.component.ConstructorCreator.initialize(ConstructorCreator.java:91)
      3. com.sun.hk2.component.AbstractCreatorImpl.get(AbstractCreatorImpl.java:82)
      4. com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:67)
      5. com.sun.hk2.component.EventPublishingInhabitant.get(EventPublishingInhabitant.java:139)
      6. com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:76)
      6 frames
    5. Kernel Classes
      AppServerStartup.start
      1. com.sun.enterprise.v3.server.AppServerStartup.run(AppServerStartup.java:219)
      2. com.sun.enterprise.v3.server.AppServerStartup.start(AppServerStartup.java:135)
      2 frames
    6. Appserver Core
      GlassFishImpl.start
      1. com.sun.enterprise.glassfish.bootstrap.GlassFishImpl.start(GlassFishImpl.java:79)
      1 frame
    7. Private APIs of Glassfish
      Server$Builder.build
      1. org.glassfish.internal.embedded.Server.<init>(Server.java:273)
      2. org.glassfish.internal.embedded.Server.<init>(Server.java:66)
      3. org.glassfish.internal.embedded.Server$Builder.build(Server.java:176)
      4. org.glassfish.internal.embedded.Server$Builder.build(Server.java:158)
      4 frames
    8. Embedded GlassFish Web
      EJBContainerProviderImpl.createEJBContainer
      1. org.glassfish.ejb.embedded.EJBContainerProviderImpl.init(EJBContainerProviderImpl.java:175)
      2. org.glassfish.ejb.embedded.EJBContainerProviderImpl.createEJBContainer(EJBContainerProviderImpl.java:126)
      2 frames
    9. JavaEE 7
      EJBContainer.createEJBContainer
      1. javax.ejb.embeddable.EJBContainer.createEJBContainer(EJBContainer.java:127)
      2. javax.ejb.embeddable.EJBContainer.createEJBContainer(EJBContainer.java:102)
      2 frames
    10. server
      HelloBeanTest.testSayHello
      1. server.HelloBeanTest.testSayHello(HelloBeanTest.java:47)
      1 frame
    11. 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
    12. JUnit
      JUnit4TestAdapter.run
      1. org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
      2. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
      3. org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
      4. org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
      5. org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
      6. org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
      7. org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79)
      8. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71)
      9. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49)
      10. org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
      11. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
      12. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
      13. org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
      14. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
      15. org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
      16. org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
      17. org.junit.runners.ParentRunner.run(ParentRunner.java:236)
      18. junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)
      18 frames
    13. Apache Ant + JUnit
      JUnitTestRunner.main
      1. org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:518)
      2. org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1052)
      3. org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:906)
      3 frames