java.lang.IllegalStateException: Provider already mapped glassfish:javamail:smtp-transport

Oracle Community | Stephane14 | 5 years ago
  1. 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:javamail:smtp-transport
  2. 0

    Using embedded GF 3.1.1 for unit testing

    Oracle Community | 5 years ago | chris.joelly
    java.lang.IllegalStateException: Provider already mapped glassfish:javamail:smtp-transport
  3. 0

    Container testing of jar with embedded glassfish using gradle fails

    Stack Overflow | 4 years ago | danw
    java.lang.IllegalStateException: Provider already mapped glassfish:javamail:smtp-transport
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    junit4 test fail stacktrace

    Oracle Community | 6 years ago | baboonworksgood
    java.lang.IllegalStateException: Provider already mapped glassfish:javamail:smtp-transport

    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:javamail:smtp-transport

      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:539)
      3. org.glassfish.flashlight.impl.provider.FlashlightProbeProviderFactory.processXMLProbeProviders(FlashlightProbeProviderFactory.java:364)
      3 frames
    3. Glassfish Admin
      MonitoringBootstrap.postConstruct
      1. org.glassfish.admin.monitor.MonitoringBootstrap.processProbeProviderXML(MonitoringBootstrap.java:484)
      2. org.glassfish.admin.monitor.MonitoringBootstrap.processManifest(MonitoringBootstrap.java:360)
      3. org.glassfish.admin.monitor.MonitoringBootstrap.addProvider(MonitoringBootstrap.java:301)
      4. org.glassfish.admin.monitor.MonitoringBootstrap.verifyModule(MonitoringBootstrap.java:245)
      5. org.glassfish.admin.monitor.MonitoringBootstrap.discoverProbeProviders(MonitoringBootstrap.java:188)
      6. org.glassfish.admin.monitor.MonitoringBootstrap.enableMonitoringForProbeProviders(MonitoringBootstrap.java:624)
      7. org.glassfish.admin.monitor.MonitoringBootstrap.postConstruct(MonitoringBootstrap.java:176)
      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:229)
      2. com.sun.enterprise.v3.server.AppServerStartup.doStart(AppServerStartup.java:145)
      3. com.sun.enterprise.v3.server.AppServerStartup.start(AppServerStartup.java:136)
      3 frames
    6. Appserver Core
      GlassFishImpl.start
      1. com.sun.enterprise.glassfish.bootstrap.GlassFishImpl.start(GlassFishImpl.java:79)
      1 frame
    7. startglassfish
      StartGlassfish.main
      1. startglassfish.StartGlassfish.main(StartGlassfish.java:27)
      1 frame