users@glassfish.java.net

junit4 test fail stacktrace

From: <forums_at_java.net>
Date: Sat, 26 Mar 2011 01:09:15 -0500 (CDT)

WARNING: multiple versions of ant detected in path for junit 

        
jar:file:/C:/Program%20Files/NetBeans%20Dev%20201103110400/java/ant/lib/ant.jar!/org/apache/tools/ant/Project.class

     and
jar:file:/C:/Program%20Files/glassfish-3.1/glassfish/modules/ant.jar!/org/apache/tools/ant/Project.class

Testsuite: server.HelloBeanTest

sayHello

Mar 26, 2011 12:45:41 AM
com.sun.enterprise.v3.server.CommonClassLoaderServiceImpl findDerbyClient

INFO: Cannot find javadb client jar file, derby jdbc driver will not be
available by default.

Mar 26, 2011 12:45:41 AM
org.glassfish.flashlight.impl.provider.FlashlightProbeProviderFactory
processXMLProbeProviders

SEVERE: MNTG0301:Cannot process XML ProbeProvider, xml =
META-INF/gfprobe-provider.xml

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

at
org.glassfish.flashlight.impl.core.ProbeProviderRegistry.registerProbeProvider(ProbeProviderRegistry.java:100)

at
org.glassfish.flashlight.impl.provider.FlashlightProbeProviderFactory.registerProvider(FlashlightProbeProviderFactory.java:538)

at
org.glassfish.flashlight.impl.provider.FlashlightProbeProviderFactory.processXMLProbeProviders(FlashlightProbeProviderFactory.java:363)

at
org.glassfish.admin.monitor.MonitoringBootstrap.processProbeProviderXML(MonitoringBootstrap.java:474)

at
org.glassfish.admin.monitor.MonitoringBootstrap.processManifest(MonitoringBootstrap.java:350)

at
org.glassfish.admin.monitor.MonitoringBootstrap.addProvider(MonitoringBootstrap.java:291)

at
org.glassfish.admin.monitor.MonitoringBootstrap.verifyModule(MonitoringBootstrap.java:235)

at
org.glassfish.admin.monitor.MonitoringBootstrap.discoverProbeProviders(MonitoringBootstrap.java:178)

at
org.glassfish.admin.monitor.MonitoringBootstrap.enableMonitoringForProbeProviders(MonitoringBootstrap.java:614)

at
org.glassfish.admin.monitor.MonitoringBootstrap.postConstruct(MonitoringBootstrap.java:166)

at
com.sun.hk2.component.AbstractCreatorImpl.inject(AbstractCreatorImpl.java:131)

at
com.sun.hk2.component.ConstructorCreator.initialize(ConstructorCreator.java:91)

at com.sun.hk2.component.AbstractCreatorImpl.get(AbstractCreatorImpl.java:82)

at com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:67)

at
com.sun.hk2.component.EventPublishingInhabitant.get(EventPublishingInhabitant.java:139)

at
com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:76)

at
com.sun.enterprise.v3.server.AppServerStartup.run(AppServerStartup.java:219)

at
com.sun.enterprise.v3.server.AppServerStartup.start(AppServerStartup.java:135)

at
com.sun.enterprise.glassfish.bootstrap.GlassFishImpl.start(GlassFishImpl.java:79)

at org.glassfish.internal.embedded.Server.<init>(Server.java:273)

at org.glassfish.internal.embedded.Server.<init>(Server.java:66)

at org.glassfish.internal.embedded.Server$Builder.build(Server.java:176)

at org.glassfish.internal.embedded.Server$Builder.build(Server.java:158)

at
org.glassfish.ejb.embedded.EJBContainerProviderImpl.init(EJBContainerProviderImpl.java:175)

at
org.glassfish.ejb.embedded.EJBContainerProviderImpl.createEJBContainer(EJBContainerProviderImpl.java:126)

at
javax.ejb.embeddable.EJBContainer.createEJBContainer(EJBContainer.java:127)

at
javax.ejb.embeddable.EJBContainer.createEJBContainer(EJBContainer.java:102)

at server.HelloBeanTest.testSayHello(HelloBeanTest.java:47)

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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)

at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)

at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)

at
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)

at
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)

at
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)

at
org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79)

at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71)

at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49)

at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)

at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)

at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)

at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)

at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)

at
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)

at
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)

at org.junit.runners.ParentRunner.run(ParentRunner.java:236)

at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)

at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:518)

at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1052)

at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:906)

Mar 26, 2011 12:45:42 AM
org.glassfish.flashlight.impl.provider.FlashlightProbeProviderFactory
processXMLProbeProviders

SEVERE: MNTG0301:Cannot process XML ProbeProvider, xml =
META-INF/mojarra-jsf-api-probe-provider.xml

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

at
org.glassfish.flashlight.impl.core.ProbeProviderRegistry.registerProbeProvider(ProbeProviderRegistry.java:100)

at
org.glassfish.flashlight.impl.provider.FlashlightProbeProviderFactory.registerProvider(FlashlightProbeProviderFactory.java:538)

at
org.glassfish.flashlight.impl.provider.FlashlightProbeProviderFactory.processXMLProbeProviders(FlashlightProbeProviderFactory.java:363)

at
org.glassfish.admin.monitor.MonitoringBootstrap.processProbeProviderXML(MonitoringBootstrap.java:474)

at
org.glassfish.admin.monitor.MonitoringBootstrap.processManifest(MonitoringBootstrap.java:350)

at
org.glassfish.admin.monitor.MonitoringBootstrap.addProvider(MonitoringBootstrap.java:291)

at
org.glassfish.admin.monitor.MonitoringBootstrap.verifyModule(MonitoringBootstrap.java:235)

at
org.glassfish.admin.monitor.MonitoringBootstrap.discoverProbeProviders(MonitoringBootstrap.java:178)

at
org.glassfish.admin.monitor.MonitoringBootstrap.enableMonitoringForProbeProviders(MonitoringBootstrap.java:614)

at
org.glassfish.admin.monitor.MonitoringBootstrap.postConstruct(MonitoringBootstrap.java:166)

at
com.sun.hk2.component.AbstractCreatorImpl.inject(AbstractCreatorImpl.java:131)

at
com.sun.hk2.component.ConstructorCreator.initialize(ConstructorCreator.java:91)

at com.sun.hk2.component.AbstractCreatorImpl.get(AbstractCreatorImpl.java:82)

at com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:67)

at
com.sun.hk2.component.EventPublishingInhabitant.get(EventPublishingInhabitant.java:139)

at
com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:76)

at
com.sun.enterprise.v3.server.AppServerStartup.run(AppServerStartup.java:219)

at
com.sun.enterprise.v3.server.AppServerStartup.start(AppServerStartup.java:135)

at
com.sun.enterprise.glassfish.bootstrap.GlassFishImpl.start(GlassFishImpl.java:79)

at org.glassfish.internal.embedded.Server.<init>(Server.java:273)

at org.glassfish.internal.embedded.Server.<init>(Server.java:66)

at org.glassfish.internal.embedded.Server$Builder.build(Server.java:176)

at org.glassfish.internal.embedded.Server$Builder.build(Server.java:158)

at
org.glassfish.ejb.embedded.EJBContainerProviderImpl.init(EJBContainerProviderImpl.java:175)

at
org.glassfish.ejb.embedded.EJBContainerProviderImpl.createEJBContainer(EJBContainerProviderImpl.java:126)

at
javax.ejb.embeddable.EJBContainer.createEJBContainer(EJBContainer.java:127)

at
javax.ejb.embeddable.EJBContainer.createEJBContainer(EJBContainer.java:102)

at server.HelloBeanTest.testSayHello(HelloBeanTest.java:47)

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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)

at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)

at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)

at
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)

at
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)

at
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)

at
org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79)

at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71)

at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49)

at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)

at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)

at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)

at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)

at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)

at
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)

at
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)

at org.junit.runners.ParentRunner.run(ParentRunner.java:236)

at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)

at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:518)

at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1052)

at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:906)

Mar 26, 2011 12:45:42 AM
org.glassfish.flashlight.impl.provider.FlashlightProbeProviderFactory
processXMLProbeProviders

SEVERE: MNTG0301:Cannot process XML ProbeProvider, xml =
jersey-gf-server-probe-provider.xml

java.lang.IllegalStateException: Provider already mapped
glassfish:jersey:server-hidden

at
org.glassfish.flashlight.impl.core.ProbeProviderRegistry.registerProbeProvider(ProbeProviderRegistry.java:100)

at
org.glassfish.flashlight.impl.provider.FlashlightProbeProviderFactory.registerProvider(FlashlightProbeProviderFactory.java:538)

at
org.glassfish.flashlight.impl.provider.FlashlightProbeProviderFactory.processXMLProbeProviders(FlashlightProbeProviderFactory.java:363)

at
org.glassfish.admin.monitor.MonitoringBootstrap.processProbeProviderXML(MonitoringBootstrap.java:474)

at
org.glassfish.admin.monitor.MonitoringBootstrap.processManifest(MonitoringBootstrap.java:350)

at
org.glassfish.admin.monitor.MonitoringBootstrap.addProvider(MonitoringBootstrap.java:291)

at
org.glassfish.admin.monitor.MonitoringBootstrap.verifyModule(MonitoringBootstrap.java:235)

at
org.glassfish.admin.monitor.MonitoringBootstrap.discoverProbeProviders(MonitoringBootstrap.java:178)

at
org.glassfish.admin.monitor.MonitoringBootstrap.enableMonitoringForProbeProviders(MonitoringBootstrap.java:614)

at
org.glassfish.admin.monitor.MonitoringBootstrap.postConstruct(MonitoringBootstrap.java:166)

at
com.sun.hk2.component.AbstractCreatorImpl.inject(AbstractCreatorImpl.java:131)

at
com.sun.hk2.component.ConstructorCreator.initialize(ConstructorCreator.java:91)

at com.sun.hk2.component.AbstractCreatorImpl.get(AbstractCreatorImpl.java:82)

at com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:67)

at
com.sun.hk2.component.EventPublishingInhabitant.get(EventPublishingInhabitant.java:139)

at
com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:76)

at
com.sun.enterprise.v3.server.AppServerStartup.run(AppServerStartup.java:219)

at
com.sun.enterprise.v3.server.AppServerStartup.start(AppServerStartup.java:135)

at
com.sun.enterprise.glassfish.bootstrap.GlassFishImpl.start(GlassFishImpl.java:79)

at org.glassfish.internal.embedded.Server.<init>(Server.java:273)

at org.glassfish.internal.embedded.Server.<init>(Server.java:66)

at org.glassfish.internal.embedded.Server$Builder.build(Server.java:176)

at org.glassfish.internal.embedded.Server$Builder.build(Server.java:158)

at
org.glassfish.ejb.embedded.EJBContainerProviderImpl.init(EJBContainerProviderImpl.java:175)

at
org.glassfish.ejb.embedded.EJBContainerProviderImpl.createEJBContainer(EJBContainerProviderImpl.java:126)

at
javax.ejb.embeddable.EJBContainer.createEJBContainer(EJBContainer.java:127)

at
javax.ejb.embeddable.EJBContainer.createEJBContainer(EJBContainer.java:102)

at server.HelloBeanTest.testSayHello(HelloBeanTest.java:47)

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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)

at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)

at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)

at
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)

at
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)

at
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)

at
org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79)

at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71)

at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49)

at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)

at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)

at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)

at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)

at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)

at
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)

at
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)

at org.junit.runners.ParentRunner.run(ParentRunner.java:236)

at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)

at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:518)

at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1052)

at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:906)

Mar 26, 2011 12:45:42 AM
org.glassfish.flashlight.impl.provider.FlashlightProbeProviderFactory
processXMLProbeProviders

SEVERE: MNTG0301:Cannot process XML ProbeProvider, xml =
jersey-gf-statsprovider-probe-provider.xml

java.lang.IllegalStateException: Provider already mapped
glassfish:jersey:server

at
org.glassfish.flashlight.impl.core.ProbeProviderRegistry.registerProbeProvider(ProbeProviderRegistry.java:100)

at
org.glassfish.flashlight.impl.provider.FlashlightProbeProviderFactory.registerProvider(FlashlightProbeProviderFactory.java:538)

at
org.glassfish.flashlight.impl.provider.FlashlightProbeProviderFactory.processXMLProbeProviders(FlashlightProbeProviderFactory.java:363)

at
org.glassfish.admin.monitor.MonitoringBootstrap.processProbeProviderXML(MonitoringBootstrap.java:474)

at
org.glassfish.admin.monitor.MonitoringBootstrap.processManifest(MonitoringBootstrap.java:350)

at
org.glassfish.admin.monitor.MonitoringBootstrap.addProvider(MonitoringBootstrap.java:291)

at
org.glassfish.admin.monitor.MonitoringBootstrap.verifyModule(MonitoringBootstrap.java:235)

at
org.glassfish.admin.monitor.MonitoringBootstrap.discoverProbeProviders(MonitoringBootstrap.java:178)

at
org.glassfish.admin.monitor.MonitoringBootstrap.enableMonitoringForProbeProviders(MonitoringBootstrap.java:614)

at
org.glassfish.admin.monitor.MonitoringBootstrap.postConstruct(MonitoringBootstrap.java:166)

at
com.sun.hk2.component.AbstractCreatorImpl.inject(AbstractCreatorImpl.java:131)

at
com.sun.hk2.component.ConstructorCreator.initialize(ConstructorCreator.java:91)

at com.sun.hk2.component.AbstractCreatorImpl.get(AbstractCreatorImpl.java:82)

at com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:67)

at
com.sun.hk2.component.EventPublishingInhabitant.get(EventPublishingInhabitant.java:139)

at
com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:76)

at
com.sun.enterprise.v3.server.AppServerStartup.run(AppServerStartup.java:219)

at
com.sun.enterprise.v3.server.AppServerStartup.start(AppServerStartup.java:135)

at
com.sun.enterprise.glassfish.bootstrap.GlassFishImpl.start(GlassFishImpl.java:79)

at org.glassfish.internal.embedded.Server.<init>(Server.java:273)

at org.glassfish.internal.embedded.Server.<init>(Server.java:66)

at org.glassfish.internal.embedded.Server$Builder.build(Server.java:176)

at org.glassfish.internal.embedded.Server$Builder.build(Server.java:158)

at
org.glassfish.ejb.embedded.EJBContainerProviderImpl.init(EJBContainerProviderImpl.java:175)

at
org.glassfish.ejb.embedded.EJBContainerProviderImpl.createEJBContainer(EJBContainerProviderImpl.java:126)

at
javax.ejb.embeddable.EJBContainer.createEJBContainer(EJBContainer.java:127)

at
javax.ejb.embeddable.EJBContainer.createEJBContainer(EJBContainer.java:102)

at server.HelloBeanTest.testSayHello(HelloBeanTest.java:47)

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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)

at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)

at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)

at
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)

at
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)

at
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)

at
org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79)

at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71)

at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49)

at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)

at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)

at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)

at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)

at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)

at
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)

at
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)

at org.junit.runners.ParentRunner.run(ParentRunner.java:236)

at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)

at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:518)

at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1052)

at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:906)

Mar 26, 2011 12:45:42 AM
org.glassfish.ha.store.spi.BackingStoreFactoryRegistry register

INFO: Registered org.glassfish.ha.store.adapter.cache.ShoalBackingStoreProxy
for persistence-type = replicated in BackingStoreFactoryRegistry

Mar 26, 2011 12:45:42 AM
org.glassfish.ha.store.spi.BackingStoreFactoryRegistry register

INFO: Registered org.glassfish.ha.store.adapter.cache.ShoalBackingStoreProxy
for persistence-type = replicated in BackingStoreFactoryRegistry

Mar 26, 2011 12:45:42 AM com.sun.enterprise.v3.server.AppServerStartup run

SEVERE: Startup service failed to start :
com.sun.enterprise.naming.GlassFishNamingBuilder

Mar 26, 2011 12:45:42 AM com.sun.enterprise.v3.server.AppServerStartup run

INFO: GlassFish Server Open Source Edition 3.1 (43) startup time : Embedded
(595ms), startup services(1,040ms), total(1,635ms)

Mar 26, 2011 12:45:42 AM
org.glassfish.admin.mbeanserver.JMXStartupService$JMXConnectorsStarterThread
run

INFO: JMXStartupService: JMXConnector system is disabled, skipping.

Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 5.17 sec

 

------------- Standard Output ---------------

sayHello

------------- ---------------- ---------------

------------- Standard Error -----------------

Mar 26, 2011 12:45:41 AM
com.sun.enterprise.v3.server.CommonClassLoaderServiceImpl findDerbyClient

INFO: Cannot find javadb client jar file, derby jdbc driver will not be
available by default.

Mar 26, 2011 12:45:41 AM
org.glassfish.flashlight.impl.provider.FlashlightProbeProviderFactory
processXMLProbeProviders

SEVERE: MNTG0301:Cannot process XML ProbeProvider, xml =
META-INF/gfprobe-provider.xml

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

at
org.glassfish.flashlight.impl.core.ProbeProviderRegistry.registerProbeProvider(ProbeProviderRegistry.java:100)

at
org.glassfish.flashlight.impl.provider.FlashlightProbeProviderFactory.registerProvider(FlashlightProbeProviderFactory.java:538)

at
org.glassfish.flashlight.impl.provider.FlashlightProbeProviderFactory.processXMLProbeProviders(FlashlightProbeProviderFactory.java:363)

at
org.glassfish.admin.monitor.MonitoringBootstrap.processProbeProviderXML(MonitoringBootstrap.java:474)

at
org.glassfish.admin.monitor.MonitoringBootstrap.processManifest(MonitoringBootstrap.java:350)

at
org.glassfish.admin.monitor.MonitoringBootstrap.addProvider(MonitoringBootstrap.java:291)

at
org.glassfish.admin.monitor.MonitoringBootstrap.verifyModule(MonitoringBootstrap.java:235)

at
org.glassfish.admin.monitor.MonitoringBootstrap.discoverProbeProviders(MonitoringBootstrap.java:178)

at
org.glassfish.admin.monitor.MonitoringBootstrap.enableMonitoringForProbeProviders(MonitoringBootstrap.java:614)

at
org.glassfish.admin.monitor.MonitoringBootstrap.postConstruct(MonitoringBootstrap.java:166)

at
com.sun.hk2.component.AbstractCreatorImpl.inject(AbstractCreatorImpl.java:131)

at
com.sun.hk2.component.ConstructorCreator.initialize(ConstructorCreator.java:91)

at com.sun.hk2.component.AbstractCreatorImpl.get(AbstractCreatorImpl.java:82)

at com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:67)

at
com.sun.hk2.component.EventPublishingInhabitant.get(EventPublishingInhabitant.java:139)

at
com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:76)

at
com.sun.enterprise.v3.server.AppServerStartup.run(AppServerStartup.java:219)

at
com.sun.enterprise.v3.server.AppServerStartup.start(AppServerStartup.java:135)

at
com.sun.enterprise.glassfish.bootstrap.GlassFishImpl.start(GlassFishImpl.java:79)

at org.glassfish.internal.embedded.Server.<init>(Server.java:273)

at org.glassfish.internal.embedded.Server.<init>(Server.java:66)

at org.glassfish.internal.embedded.Server$Builder.build(Server.java:176)

at org.glassfish.internal.embedded.Server$Builder.build(Server.java:158)

at
org.glassfish.ejb.embedded.EJBContainerProviderImpl.init(EJBContainerProviderImpl.java:175)

at
org.glassfish.ejb.embedded.EJBContainerProviderImpl.createEJBContainer(EJBContainerProviderImpl.java:126)

at
javax.ejb.embeddable.EJBContainer.createEJBContainer(EJBContainer.java:127)

at
javax.ejb.embeddable.EJBContainer.createEJBContainer(EJBContainer.java:102)

at server.HelloBeanTest.testSayHello(HelloBeanTest.java:47)

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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)

at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)

at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)

at
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)

at
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)

at
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)

at
org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79)

at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71)

at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49)

at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)

at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)

at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)

at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)

at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)

at
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)

at
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)

at org.junit.runners.ParentRunner.run(ParentRunner.java:236)

at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)

at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:518)

at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1052)

at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:906)

Mar 26, 2011 12:45:42 AM
org.glassfish.flashlight.impl.provider.FlashlightProbeProviderFactory
processXMLProbeProviders

SEVERE: MNTG0301:Cannot process XML ProbeProvider, xml =
META-INF/mojarra-jsf-api-probe-provider.xml

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

at
org.glassfish.flashlight.impl.core.ProbeProviderRegistry.registerProbeProvider(ProbeProviderRegistry.java:100)

at
org.glassfish.flashlight.impl.provider.FlashlightProbeProviderFactory.registerProvider(FlashlightProbeProviderFactory.java:538)

at
org.glassfish.flashlight.impl.provider.FlashlightProbeProviderFactory.processXMLProbeProviders(FlashlightProbeProviderFactory.java:363)

at
org.glassfish.admin.monitor.MonitoringBootstrap.processProbeProviderXML(MonitoringBootstrap.java:474)

at
org.glassfish.admin.monitor.MonitoringBootstrap.processManifest(MonitoringBootstrap.java:350)

at
org.glassfish.admin.monitor.MonitoringBootstrap.addProvider(MonitoringBootstrap.java:291)

at
org.glassfish.admin.monitor.MonitoringBootstrap.verifyModule(MonitoringBootstrap.java:235)

at
org.glassfish.admin.monitor.MonitoringBootstrap.discoverProbeProviders(MonitoringBootstrap.java:178)

at
org.glassfish.admin.monitor.MonitoringBootstrap.enableMonitoringForProbeProviders(MonitoringBootstrap.java:614)

at
org.glassfish.admin.monitor.MonitoringBootstrap.postConstruct(MonitoringBootstrap.java:166)

at
com.sun.hk2.component.AbstractCreatorImpl.inject(AbstractCreatorImpl.java:131)

at
com.sun.hk2.component.ConstructorCreator.initialize(ConstructorCreator.java:91)

at com.sun.hk2.component.AbstractCreatorImpl.get(AbstractCreatorImpl.java:82)

at com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:67)

at
com.sun.hk2.component.EventPublishingInhabitant.get(EventPublishingInhabitant.java:139)

at
com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:76)

at
com.sun.enterprise.v3.server.AppServerStartup.run(AppServerStartup.java:219)

at
com.sun.enterprise.v3.server.AppServerStartup.start(AppServerStartup.java:135)

at
com.sun.enterprise.glassfish.bootstrap.GlassFishImpl.start(GlassFishImpl.java:79)

at org.glassfish.internal.embedded.Server.<init>(Server.java:273)

at org.glassfish.internal.embedded.Server.<init>(Server.java:66)

at org.glassfish.internal.embedded.Server$Builder.build(Server.java:176)

at org.glassfish.internal.embedded.Server$Builder.build(Server.java:158)

at
org.glassfish.ejb.embedded.EJBContainerProviderImpl.init(EJBContainerProviderImpl.java:175)

at
org.glassfish.ejb.embedded.EJBContainerProviderImpl.createEJBContainer(EJBContainerProviderImpl.java:126)

at
javax.ejb.embeddable.EJBContainer.createEJBContainer(EJBContainer.java:127)

at
javax.ejb.embeddable.EJBContainer.createEJBContainer(EJBContainer.java:102)

at server.HelloBeanTest.testSayHello(HelloBeanTest.java:47)

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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)

at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)

at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)

at
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)

at
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)

at
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)

at
org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79)

at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71)

at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49)

at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)

at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)

at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)

at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)

at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)

at
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)

at
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)

at org.junit.runners.ParentRunner.run(ParentRunner.java:236)

at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)

at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:518)

at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1052)

at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:906)

Mar 26, 2011 12:45:42 AM
org.glassfish.flashlight.impl.provider.FlashlightProbeProviderFactory
processXMLProbeProviders

SEVERE: MNTG0301:Cannot process XML ProbeProvider, xml =
jersey-gf-server-probe-provider.xml

java.lang.IllegalStateException: Provider already mapped
glassfish:jersey:server-hidden

at
org.glassfish.flashlight.impl.core.ProbeProviderRegistry.registerProbeProvider(ProbeProviderRegistry.java:100)

at
org.glassfish.flashlight.impl.provider.FlashlightProbeProviderFactory.registerProvider(FlashlightProbeProviderFactory.java:538)

at
org.glassfish.flashlight.impl.provider.FlashlightProbeProviderFactory.processXMLProbeProviders(FlashlightProbeProviderFactory.java:363)

at
org.glassfish.admin.monitor.MonitoringBootstrap.processProbeProviderXML(MonitoringBootstrap.java:474)

at
org.glassfish.admin.monitor.MonitoringBootstrap.processManifest(MonitoringBootstrap.java:350)

at
org.glassfish.admin.monitor.MonitoringBootstrap.addProvider(MonitoringBootstrap.java:291)

at
org.glassfish.admin.monitor.MonitoringBootstrap.verifyModule(MonitoringBootstrap.java:235)

at
org.glassfish.admin.monitor.MonitoringBootstrap.discoverProbeProviders(MonitoringBootstrap.java:178)

at
org.glassfish.admin.monitor.MonitoringBootstrap.enableMonitoringForProbeProviders(MonitoringBootstrap.java:614)

at
org.glassfish.admin.monitor.MonitoringBootstrap.postConstruct(MonitoringBootstrap.java:166)

at
com.sun.hk2.component.AbstractCreatorImpl.inject(AbstractCreatorImpl.java:131)

at
com.sun.hk2.component.ConstructorCreator.initialize(ConstructorCreator.java:91)

at com.sun.hk2.component.AbstractCreatorImpl.get(AbstractCreatorImpl.java:82)

at com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:67)

at
com.sun.hk2.component.EventPublishingInhabitant.get(EventPublishingInhabitant.java:139)

at
com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:76)

at
com.sun.enterprise.v3.server.AppServerStartup.run(AppServerStartup.java:219)

at
com.sun.enterprise.v3.server.AppServerStartup.start(AppServerStartup.java:135)

at
com.sun.enterprise.glassfish.bootstrap.GlassFishImpl.start(GlassFishImpl.java:79)

at org.glassfish.internal.embedded.Server.<init>(Server.java:273)

at org.glassfish.internal.embedded.Server.<init>(Server.java:66)

at org.glassfish.internal.embedded.Server$Builder.build(Server.java:176)

at org.glassfish.internal.embedded.Server$Builder.build(Server.java:158)

at
org.glassfish.ejb.embedded.EJBContainerProviderImpl.init(EJBContainerProviderImpl.java:175)

at
org.glassfish.ejb.embedded.EJBContainerProviderImpl.createEJBContainer(EJBContainerProviderImpl.java:126)

at
javax.ejb.embeddable.EJBContainer.createEJBContainer(EJBContainer.java:127)

at
javax.ejb.embeddable.EJBContainer.createEJBContainer(EJBContainer.java:102)

at server.HelloBeanTest.testSayHello(HelloBeanTest.java:47)

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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)

at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)

at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)

at
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)

at
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)

at
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)

at
org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79)

at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71)

at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49)

at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)

at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)

at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)

at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)

at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)

at
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)

at
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)

at org.junit.runners.ParentRunner.run(ParentRunner.java:236)

at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)

at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:518)

at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1052)

at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:906)

Mar 26, 2011 12:45:42 AM
org.glassfish.flashlight.impl.provider.FlashlightProbeProviderFactory
processXMLProbeProviders

SEVERE: MNTG0301:Cannot process XML ProbeProvider, xml =
jersey-gf-statsprovider-probe-provider.xml

java.lang.IllegalStateException: Provider already mapped
glassfish:jersey:server

at
org.glassfish.flashlight.impl.core.ProbeProviderRegistry.registerProbeProvider(ProbeProviderRegistry.java:100)

at
org.glassfish.flashlight.impl.provider.FlashlightProbeProviderFactory.registerProvider(FlashlightProbeProviderFactory.java:538)

at
org.glassfish.flashlight.impl.provider.FlashlightProbeProviderFactory.processXMLProbeProviders(FlashlightProbeProviderFactory.java:363)

at
org.glassfish.admin.monitor.MonitoringBootstrap.processProbeProviderXML(MonitoringBootstrap.java:474)

at
org.glassfish.admin.monitor.MonitoringBootstrap.processManifest(MonitoringBootstrap.java:350)

at
org.glassfish.admin.monitor.MonitoringBootstrap.addProvider(MonitoringBootstrap.java:291)

at
org.glassfish.admin.monitor.MonitoringBootstrap.verifyModule(MonitoringBootstrap.java:235)

at
org.glassfish.admin.monitor.MonitoringBootstrap.discoverProbeProviders(MonitoringBootstrap.java:178)

at
org.glassfish.admin.monitor.MonitoringBootstrap.enableMonitoringForProbeProviders(MonitoringBootstrap.java:614)

at
org.glassfish.admin.monitor.MonitoringBootstrap.postConstruct(MonitoringBootstrap.java:166)

at
com.sun.hk2.component.AbstractCreatorImpl.inject(AbstractCreatorImpl.java:131)

at
com.sun.hk2.component.ConstructorCreator.initialize(ConstructorCreator.java:91)

at com.sun.hk2.component.AbstractCreatorImpl.get(AbstractCreatorImpl.java:82)

at com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:67)

at
com.sun.hk2.component.EventPublishingInhabitant.get(EventPublishingInhabitant.java:139)

at
com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:76)

at
com.sun.enterprise.v3.server.AppServerStartup.run(AppServerStartup.java:219)

at
com.sun.enterprise.v3.server.AppServerStartup.start(AppServerStartup.java:135)

at
com.sun.enterprise.glassfish.bootstrap.GlassFishImpl.start(GlassFishImpl.java:79)

at org.glassfish.internal.embedded.Server.<init>(Server.java:273)

at org.glassfish.internal.embedded.Server.<init>(Server.java:66)

at org.glassfish.internal.embedded.Server$Builder.build(Server.java:176)

at org.glassfish.internal.embedded.Server$Builder.build(Server.java:158)

at
org.glassfish.ejb.embedded.EJBContainerProviderImpl.init(EJBContainerProviderImpl.java:175)

at
org.glassfish.ejb.embedded.EJBContainerProviderImpl.createEJBContainer(EJBContainerProviderImpl.java:126)

at
javax.ejb.embeddable.EJBContainer.createEJBContainer(EJBContainer.java:127)

at
javax.ejb.embeddable.EJBContainer.createEJBContainer(EJBContainer.java:102)

at server.HelloBeanTest.testSayHello(HelloBeanTest.java:47)

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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)

at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)

at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)

at
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)

at
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)

at
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)

at
org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79)

at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71)

at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49)

at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)

at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)

at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)

at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)

at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)

at
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)

at
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)

at org.junit.runners.ParentRunner.run(ParentRunner.java:236)

at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)

at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:518)

at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1052)

at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:906)

Mar 26, 2011 12:45:42 AM
org.glassfish.ha.store.spi.BackingStoreFactoryRegistry register

INFO: Registered org.glassfish.ha.store.adapter.cache.ShoalBackingStoreProxy
for persistence-type = replicated in BackingStoreFactoryRegistry

Mar 26, 2011 12:45:42 AM
org.glassfish.ha.store.spi.BackingStoreFactoryRegistry register

INFO: Registered org.glassfish.ha.store.adapter.cache.ShoalBackingStoreProxy
for persistence-type = replicated in BackingStoreFactoryRegistry

Mar 26, 2011 12:45:42 AM com.sun.enterprise.v3.server.AppServerStartup run

SEVERE: Startup service failed to start :
com.sun.enterprise.naming.GlassFishNamingBuilder

Mar 26, 2011 12:45:42 AM com.sun.enterprise.v3.server.AppServerStartup run

INFO: GlassFish Server Open Source Edition 3.1 (43) startup time : Embedded
(595ms), startup services(1,040ms), total(1,635ms)

Mar 26, 2011 12:45:42 AM
org.glassfish.admin.mbeanserver.JMXStartupService$JMXConnectorsStarterThread
run

INFO: JMXStartupService: JMXConnector system is disabled, skipping.

------------- ---------------- ---------------

Testcase: testSayHello(server.HelloBeanTest): Caused an ERROR

No EJBContainer provider available

Provider named org.glassfish.ejb.embedded.EJBContainerProviderImpl threw
unexpected exception at create EJBContainer: 

java.lang.RuntimeException

java.lang.RuntimeException: java.lang.IllegalStateException: AMX Booter MBean
is already registered: amx-support:type=boot-amx

at org.glassfish.internal.embedded.Server.<init>(Server.java:290)

at org.glassfish.internal.embedded.Server.<init>(Server.java:66)

at org.glassfish.internal.embedded.Server$Builder.build(Server.java:176)

at org.glassfish.internal.embedded.Server$Builder.build(Server.java:158)

at
org.glassfish.ejb.embedded.EJBContainerProviderImpl.init(EJBContainerProviderImpl.java:175)

at
org.glassfish.ejb.embedded.EJBContainerProviderImpl.createEJBContainer(EJBContainerProviderImpl.java:126)

at
javax.ejb.embeddable.EJBContainer.createEJBContainer(EJBContainer.java:127)

at
javax.ejb.embeddable.EJBContainer.createEJBContainer(EJBContainer.java:102)

at server.HelloBeanTest.testSayHello(HelloBeanTest.java:47)

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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)

at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)

at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)

at
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)

at
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)

at
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)

at
org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79)

at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71)

at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49)

at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)

at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)

at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)

at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)

at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)

at
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)

at
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)

at org.junit.runners.ParentRunner.run(ParentRunner.java:236)

at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)

at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:518)

at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1052)

at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:906)

Caused by: java.lang.IllegalStateException: AMX Booter MBean is already
registered: amx-support:type=boot-amx

at org.glassfish.admin.mbeanserver.BootAMX.<init>(BootAMX.java:88)

at org.glassfish.admin.mbeanserver.BootAMX.create(BootAMX.java:103)

at
org.glassfish.admin.mbeanserver.JMXStartupService.postConstruct(JMXStartupService.java:121)

at
com.sun.hk2.component.AbstractCreatorImpl.inject(AbstractCreatorImpl.java:131)

at
com.sun.hk2.component.ConstructorCreator.initialize(ConstructorCreator.java:91)

at com.sun.hk2.component.AbstractCreatorImpl.get(AbstractCreatorImpl.java:82)

at com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:67)

at
com.sun.hk2.component.EventPublishingInhabitant.get(EventPublishingInhabitant.java:139)

at
com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:76)

at
com.sun.enterprise.v3.server.AppServerStartup.run(AppServerStartup.java:326)

at
com.sun.enterprise.v3.server.AppServerStartup.start(AppServerStartup.java:135)

at
com.sun.enterprise.glassfish.bootstrap.GlassFishImpl.start(GlassFishImpl.java:79)

at org.glassfish.internal.embedded.Server.<init>(Server.java:273)

... 33 more

 

 

 

javax.ejb.EJBException: No EJBContainer provider available

Provider named org.glassfish.ejb.embedded.EJBContainerProviderImpl threw
unexpected exception at create EJBContainer: 

java.lang.RuntimeException

java.lang.RuntimeException: java.lang.IllegalStateException: AMX Booter MBean
is already registered: amx-support:type=boot-amx

at org.glassfish.internal.embedded.Server.<init>(Server.java:290)

at org.glassfish.internal.embedded.Server.<init>(Server.java:66)

at org.glassfish.internal.embedded.Server$Builder.build(Server.java:176)

at org.glassfish.internal.embedded.Server$Builder.build(Server.java:158)

at
org.glassfish.ejb.embedded.EJBContainerProviderImpl.init(EJBContainerProviderImpl.java:175)

at
org.glassfish.ejb.embedded.EJBContainerProviderImpl.createEJBContainer(EJBContainerProviderImpl.java:126)

at
javax.ejb.embeddable.EJBContainer.createEJBContainer(EJBContainer.java:127)

at
javax.ejb.embeddable.EJBContainer.createEJBContainer(EJBContainer.java:102)

at server.HelloBeanTest.testSayHello(HelloBeanTest.java:47)

Caused by: java.lang.IllegalStateException: AMX Booter MBean is already
registered: amx-support:type=boot-amx

at org.glassfish.admin.mbeanserver.BootAMX.<init>(BootAMX.java:88)

at org.glassfish.admin.mbeanserver.BootAMX.create(BootAMX.java:103)

at
org.glassfish.admin.mbeanserver.JMXStartupService.postConstruct(JMXStartupService.java:121)

at
com.sun.hk2.component.AbstractCreatorImpl.inject(AbstractCreatorImpl.java:131)

at
com.sun.hk2.component.ConstructorCreator.initialize(ConstructorCreator.java:91)

at com.sun.hk2.component.AbstractCreatorImpl.get(AbstractCreatorImpl.java:82)

at com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:67)

at
com.sun.hk2.component.EventPublishingInhabitant.get(EventPublishingInhabitant.java:139)

at
com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:76)

at
com.sun.enterprise.v3.server.AppServerStartup.run(AppServerStartup.java:326)

at
com.sun.enterprise.v3.server.AppServerStartup.start(AppServerStartup.java:135)

at
com.sun.enterprise.glassfish.bootstrap.GlassFishImpl.start(GlassFishImpl.java:79)

at org.glassfish.internal.embedded.Server.<init>(Server.java:273)

 

 

 

at javax.ejb.embeddable.EJBContainer.reportError(EJBContainer.java:216)

at
javax.ejb.embeddable.EJBContainer.createEJBContainer(EJBContainer.java:146)

at
javax.ejb.embeddable.EJBContainer.createEJBContainer(EJBContainer.java:102)

at server.HelloBeanTest.testSayHello(HelloBeanTest.java:47)

 

 

Test server.HelloBeanTest FAILED

test:

Deleting: C:\Users\Qiang\AppData\Local\Temp\TEST-server.HelloBeanTest.xml

BUILD SUCCESSFUL (total time: 13 seconds)

 


--
[Message sent by forum member 'baboonworksgood']
View Post: http://forums.java.net/node/785525