dev@glassfish.java.net

Re: a SEVERE message in the build

From: Marina Vatkina <Marina.Vatkina_at_Sun.COM>
Date: Thu, 19 Nov 2009 13:51:18 -0800

https://glassfish.dev.java.net/issues/show_bug.cgi?id=10954

-marina

Shing Wai Chan wrote:
> I have updated my workspace and see the following in a successful build.
> Shing Wai Chan
>
> -----
> SEVERE: MNTG0301:Cannot process XML ProbeProvider, xml =
> gfprobe-provider.xml
> java.lang.IllegalStateException: Provider already mapped
> glassfish:jersey:server-hidden
> at
> org.glassfish.flashlight.impl.core.ProbeProviderRegistry.registerProbeProvider(ProbeProviderRegistry.java:96)
>
> at
> org.glassfish.flashlight.impl.provider.FlashlightProbeProviderFactory.registerProvider(FlashlightProbeProviderFactory.java:521)
>
> at
> org.glassfish.flashlight.impl.provider.FlashlightProbeProviderFactory.processXMLProbeProviders(FlashlightProbeProviderFactory.java:360)
>
> at
> org.glassfish.admin.monitor.MonitoringBootstrap.processProbeProviderXML(MonitoringBootstrap.java:370)
>
> at
> org.glassfish.admin.monitor.MonitoringBootstrap.addProvider(MonitoringBootstrap.java:245)
>
> at
> org.glassfish.admin.monitor.MonitoringBootstrap.verifyModule(MonitoringBootstrap.java:182)
>
> at
> org.glassfish.admin.monitor.MonitoringBootstrap.discoverProbeProviders(MonitoringBootstrap.java:128)
>
> at
> org.glassfish.admin.monitor.MonitoringBootstrap.enableMonitoringForProbeProviders(MonitoringBootstrap.java:502)
>
> at
> org.glassfish.admin.monitor.MonitoringBootstrap.postConstruct(MonitoringBootstrap.java:116)
>
> at
> com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:174)
> at com.sun.hk2.component.ConstructorWomb$1.run(ConstructorWomb.java:87)
> at java.security.AccessController.doPrivileged(Native Method)
> at
> com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:84)
> at com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:77)
> at
> com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:58)
> at com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:107)
> at
> com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:60)
>
> at
> com.sun.enterprise.v3.server.AppServerStartup.run(AppServerStartup.java:212)
>
> at
> com.sun.enterprise.v3.server.AppServerStartup.start(AppServerStartup.java:128)
>
> at com.sun.enterprise.module.bootstrap.Main.launch(Main.java:457)
> at com.sun.enterprise.module.bootstrap.Main.launch(Main.java:401)
> at com.sun.enterprise.module.bootstrap.Main.launch(Main.java:310)
> at com.sun.enterprise.module.bootstrap.Main.launch(Main.java:303)
> at
> com.sun.enterprise.glassfish.bootstrap.ASEmbedded.run(ASEmbedded.java:101)
> at
> com.sun.enterprise.glassfish.bootstrap.AbstractMain.start(AbstractMain.java:41)
>
> at org.glassfish.api.embedded.Server.<init>(Server.java:284)
> at org.glassfish.api.embedded.Server.<init>(Server.java:61)
> at org.glassfish.api.embedded.Server$Builder.build(Server.java:158)
> at org.glassfish.api.embedded.Server$Builder.build(Server.java:140)
> at
> org.glassfish.ejb.embedded.EJBContainerProviderImpl.init(EJBContainerProviderImpl.java:147)
>
> at
> org.glassfish.ejb.embedded.EJBContainerProviderImpl.createEJBContainer(EJBContainerProviderImpl.java:114)
>
> at
> javax.ejb.embeddable.EJBContainer.createEJBContainer(EJBContainer.java:102)
> at org.glassfish.distributions.test.UnitTest.test(UnitTest.java:63)
> 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.internal.runners.TestMethodRunner.executeMethodBody(TestMethodRunner.java:99)
>
> at
> org.junit.internal.runners.TestMethodRunner.runUnprotected(TestMethodRunner.java:81)
>
> at
> org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)
>
> at
> org.junit.internal.runners.TestMethodRunner.runMethod(TestMethodRunner.java:75)
>
> at
> org.junit.internal.runners.TestMethodRunner.run(TestMethodRunner.java:45)
> at
> org.junit.internal.runners.TestClassMethodsRunner.invokeTestMethod(TestClassMethodsRunner.java:66)
>
> at
> org.junit.internal.runners.TestClassMethodsRunner.run(TestClassMethodsRunner.java:35)
>
> at
> org.junit.internal.runners.TestClassRunner$1.runUnprotected(TestClassRunner.java:42)
>
> at
> org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)
>
> at
> org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:52)
> at
> org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
>
> at
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
>
> at
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:165)
>
> at org.apache.maven.surefire.Surefire.run(Surefire.java:107)
> 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.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:289)
>
> at
> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1005)
>
> Nov 19, 2009 1:47:36 PM com.sun.enterprise.v3.server.AppServerStartup run
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>