0 Replies Latest reply: Apr 26, 2012 1:14 AM by Noah White RSS

Problem w/Glassfish 3.1.2 and GF embedded provider

Noah White Newbie

My project used to use GF 3.1 w/Arquillian 1.0 Alpha 5 without trouble. I updated to GF 3.1.2 and Arquillian 1.0-Final using the gf embedded container 1.0.0CR3 and am running into a bunch of issues. One is the fact that my project (which is Intellij IDEA based) includes all the Glassfish distributed JARs found in GLASSFISH_HOME/glassfish/modules as a PROVIDED dependency, meaning the dependency is resolved and available in the classpath during the compilation, but is not included in the classpath at runtime.  However, when I run a JUNIT / Arquillian test it adds them the runtime classpath of the unit test.

 

For tests, this makes a cerain amount of sense since the test CP needs to have the proper runtime environment.  When things are set up as such my Arquillian tests give bunch of XMLProbeProvider errors (see cmd line dump at the end of this post).

 

To work around this I changed the lib deps from including GF_HOME/glassfish/modules/* to the 7 jars in the modules directory that were actually required for compilation. Doing so fixed the XMLProbeProvider errors so there's cleary a conflict going on there.

 

However, I now have a different issue that I'm a bit of a loss on. Both the simple GreeterTest and my more involved tests that contain a shrinkwrapped 'jar' containing EJBs seems to be deploying to embedded GF. For example with my tests I see:

 

Apr 25, 2012 11:48:33 PM com.sun.enterprise.web.WebApplication start

INFO: WEB0671: Loading application [test] at [/test]

Apr 25, 2012 11:48:33 PM org.glassfish.deployment.admin.DeployCommand execute

INFO: test was successfully deployed in 6,938 milliseconds.

 

However, right after this I get a java.lang.IllegalStateException like so:

 

java.lang.IllegalStateException: Error launching test com.foo.FooResourceIT public void com.foo.FooResourceIT.testRegister() throws java.lang.Exception

          at org.jboss.arquillian.protocol.servlet.ServletMethodExecutor.invoke(ServletMethodExecutor.java:126)

          at org.jboss.arquillian.container.test.impl.execution.RemoteTestExecuter.execute(RemoteTestExecuter.java:120)

          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

          at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)

          at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)

          at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)

          at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:135)

          at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:115)

          at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67)

          at org.jboss.arquillian.container.test.impl.execution.ClientTestExecuter.execute(ClientTestExecuter.java:57)

          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

          at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)

          at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)

          at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)

          at org.jboss.arquillian.container.test.impl.client.ContainerEventController.createContext(ContainerEventController.java:142)

          at org.jboss.arquillian.container.test.impl.client.ContainerEventController.createTestContext(ContainerEventController.java:129)

          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

          at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)

          at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)

          at org.jboss.arquillian.test.impl.TestContextHandler.createTestContext(TestContextHandler.java:89)

          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

          at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)

          at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)

          at org.jboss.arquillian.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:75)

          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

          at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)

          at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)

          at org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:60)

          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

          at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)

          at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)

          at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:135)

          at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.test(EventTestRunnerAdaptor.java:111)

          at org.jboss.arquillian.junit.Arquillian$6.evaluate(Arquillian.java:263)

          at org.jboss.arquillian.junit.Arquillian$4.evaluate(Arquillian.java:226)

          at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:314)

          at org.jboss.arquillian.junit.Arquillian.access$100(Arquillian.java:46)

          at org.jboss.arquillian.junit.Arquillian$5.evaluate(Arquillian.java:240)

          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.jboss.arquillian.junit.Arquillian$2.evaluate(Arquillian.java:185)

          at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:314)

          at org.jboss.arquillian.junit.Arquillian.access$100(Arquillian.java:46)

          at org.jboss.arquillian.junit.Arquillian$3.evaluate(Arquillian.java:199)

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

          at org.jboss.arquillian.junit.Arquillian.run(Arquillian.java:147)

          at org.junit.runner.JUnitCore.run(JUnitCore.java:157)

          at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:76)

          at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:182)

          at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:62)

          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

          at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120)

Caused by: java.lang.IllegalStateException: Error launching request at http://localhost:7070/test/ArquillianServletRunner?outputMode=serializedObject&className=com.foo.FooResourceIT&methodName=testRegister. No result returned

          at org.jboss.arquillian.protocol.servlet.ServletMethodExecutor.executeWithRetry(ServletMethodExecutor.java:162)

          at org.jboss.arquillian.protocol.servlet.ServletMethodExecutor.invoke(ServletMethodExecutor.java:122)

          ... 78 mor

 

The test class com.foo.FooResourceIT looks something like this:

 

@RunWith(Arquillian.class)

public class FooResourceIT {

   

    @EJB

    private AResource aTestResource;

   

    @EJB

    private UserBean userBean;

 

 

    @Deployment

    public static JavaArchive createArchiveAndDeploy() {

 

 

        // Package up a JAR to include the classes we want to test and their direct dependencies.

        JavaArchive fooJAR = ShrinkWrap.create(JavaArchive.class, "foo.jar").addClasses(A BUNCH OF CLASSES)

                                                         .addAsManifestResource(new File("test/resources/arquillian/persistence.xml"),

                                                                                               ArchivePaths.create("persistence.xml"));

       

        // Package and return a WAR that contains the JAR along with the web.xml so that Jersey will be bootstrapped

        return fooJAR;

    }

 

  @Test

    public void testStuff() throws Exception {

    ...

     }

}

 

Thoughts?

 

Also, does the embedded GF that spun up generate a server.log somewhere? I haven't been able to locate it if it does.

 

TIA,

 

-Noah

 

 

XML ProbeProvider errors references earlier:

 

"C:\Program Files\Java\jdk1.7.0_03\bin\java" -Didea.launcher.port=7534 "-Didea.launcher.bin.path=C:\Program Files (x86)\JetBrains\IntelliJ IDEA 11.1.1\bin" -Dfile.encoding=UTF-8 -classpath "C:\Program Files (x86)\JetBrains\IntelliJ IDEA 11.1.1\lib\idea_rt.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 11.1.1\plugins\junit\lib\junit-rt.jar;C:\Program Files\Java\jdk1.7.0_03\jre\lib\alt-rt.jar;C:\Program Files\Java\jdk1.7.0_03\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.7.0_03\jre\lib\deploy.jar;C:\Program Files\Java\jdk1.7.0_03\jre\lib\javaws.jar;C:\Program Files\Java\jdk1.7.0_03\jre\lib\jce.jar;C:\Program Files\Java\jdk1.7.0_03\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.7.0_03\jre\lib\management-agent.jar;C:\Program Files\Java\jdk1.7.0_03\jre\lib\plugin.jar;C:\Program Files\Java\jdk1.7.0_03\jre\lib\resources.jar;C:\Program Files\Java\jdk1.7.0_03\jre\lib\rt.jar;C:\Program Files\Java\jdk1.7.0_03\jre\lib\ext\dnsns.jar;C:\Program Files\Java\jdk1.7.0_03\jre\lib\ext\localedata.jar;C:\Program Files\Java\jdk1.7.0_03\jre\lib\ext\sunec.jar;C:\Program Files\Java\jdk1.7.0_03\jre\lib\ext\sunjce_provider.jar;C:\Program Files\Java\jdk1.7.0_03\jre\lib\ext\sunmscapi.jar;C:\Program Files\Java\jdk1.7.0_03\jre\lib\ext\zipfs.jar;G:\sandbox\trunk\arqtest\arquillian-tutorial\target\test-classes;G:\sandbox\trunk\arqtest\arquillian-tutorial\target\classes;C:\Users\nwhite\.m2\repository\junit\junit\4.8.1\junit-4.8.1.jar;C:\Users\nwhite\.m2\repository\org\jboss\arquillian\junit\arquillian-junit-container\1.0.0.Final\arquillian-junit-container-1.0.0.Final.jar;C:\Users\nwhite\.m2\repository\org\jboss\arquillian\junit\arquillian-junit-core\1.0.0.Final\arquillian-junit-core-1.0.0.Final.jar;C:\Users\nwhite\.m2\repository\org\jboss\arquillian\test\arquillian-test-spi\1.0.0.Final\arquillian-test-spi-1.0.0.Final.jar;C:\Users\nwhite\.m2\repository\org\jboss\arquillian\core\arquillian-core-spi\1.0.0.Final\arquillian-core-spi-1.0.0.Final.jar;C:\Users\nwhite\.m2\repository\org\jboss\arquillian\core\arquillian-core-api\1.0.0.Final\arquillian-core-api-1.0.0.Final.jar;C:\Users\nwhite\.m2\repository\org\jboss\arquillian\test\arquillian-test-api\1.0.0.Final\arquillian-test-api-1.0.0.Final.jar;C:\Users\nwhite\.m2\repository\org\jboss\shrinkwrap\shrinkwrap-api\1.0.0\shrinkwrap-api-1.0.0.jar;C:\Users\nwhite\.m2\repository\org\jboss\arquillian\container\arquillian-container-test-api\1.0.0.Final\arquillian-container-test-api-1.0.0.Final.jar;C:\Users\nwhite\.m2\repository\org\jboss\arquillian\container\arquillian-container-test-spi\1.0.0.Final\arquillian-container-test-spi-1.0.0.Final.jar;C:\Users\nwhite\.m2\repository\org\jboss\arquillian\container\arquillian-container-spi\1.0.0.Final\arquillian-container-spi-1.0.0.Final.jar;C:\Users\nwhite\.m2\repository\org\jboss\arquillian\config\arquillian-config-api\1.0.0.Final\arquillian-config-api-1.0.0.Final.jar;C:\Users\nwhite\.m2\repository\org\jboss\shrinkwrap\descriptors\shrinkwrap-descriptors-api-base\2.0.0-alpha-2\shrinkwrap-descriptors-api-base-2.0.0-alpha-2.jar;C:\Users\nwhite\.m2\repository\org\jboss\arquillian\config\arquillian-config-impl-base\1.0.0.Final\arquillian-config-impl-base-1.0.0.Final.jar;C:\Users\nwhite\.m2\repository\org\jboss\shrinkwrap\descriptors\shrinkwrap-descriptors-spi\2.0.0-alpha-2\shrinkwrap-descriptors-spi-2.0.0-alpha-2.jar;C:\Users\nwhite\.m2\repository\org\jboss\arquillian\core\arquillian-core-impl-base\1.0.0.Final\arquillian-core-impl-base-1.0.0.Final.jar;C:\Users\nwhite\.m2\repository\org\jboss\arquillian\test\arquillian-test-impl-base\1.0.0.Final\arquillian-test-impl-base-1.0.0.Final.jar;C:\Users\nwhite\.m2\repository\org\jboss\arquillian\container\arquillian-container-impl-base\1.0.0.Final\arquillian-container-impl-base-1.0.0.Final.jar;C:\Users\nwhite\.m2\repository\org\jboss\arquillian\container\arquillian-container-test-impl-base\1.0.0.Final\arquillian-container-test-impl-base-1.0.0.Final.jar;C:\Users\nwhite\.m2\repository\org\jboss\shrinkwrap\shrinkwrap-impl-base\1.0.0\shrinkwrap-impl-base-1.0.0.jar;C:\Users\nwhite\.m2\repository\org\jboss\shrinkwrap\shrinkwrap-spi\1.0.0\shrinkwrap-spi-1.0.0.jar;C:\Users\nwhite\.m2\repository\org\jboss\arquillian\container\arquillian-glassfish-embedded-3.1\1.0.0.CR3\arquillian-glassfish-embedded-3.1-1.0.0.CR3.jar;C:\Users\nwhite\.m2\repository\org\jboss\arquillian\protocol\arquillian-protocol-servlet\1.0.0.Final\arquillian-protocol-servlet-1.0.0.Final.jar;C:\Users\nwhite\.m2\repository\org\jboss\arquillian\testenricher\arquillian-testenricher-cdi\1.0.0.Final\arquillian-testenricher-cdi-1.0.0.Final.jar;C:\Users\nwhite\.m2\repository\org\jboss\arquillian\testenricher\arquillian-testenricher-ejb\1.0.0.Final\arquillian-testenricher-ejb-1.0.0.Final.jar;C:\Users\nwhite\.m2\repository\org\jboss\arquillian\testenricher\arquillian-testenricher-resource\1.0.0.Final\arquillian-testenricher-resource-1.0.0.Final.jar;C:\Users\nwhite\.m2\repository\org\jboss\arquillian\testenricher\arquillian-testenricher-initialcontext\1.0.0.Final\arquillian-testenricher-initialcontext-1.0.0.Final.jar;C:\Users\nwhite\.m2\repository\org\glassfish\main\extras\glassfish-embedded-all\3.1.2\glassfish-embedded-all-3.1.2.jar;C:\glassfish3\glassfish\modules\javax.ejb.jar;C:\glassfish3\glassfish\modules\javax.servlet-api.jar;C:\glassfish3\glassfish\modules\javax.servlet.jsp-api.jar;C:\glassfish3\glassfish\modules\cmp-utility.jar;C:\glassfish3\glassfish\modules\cmp-model.jar;C:\glassfish3\glassfish\modules\cmp-support-sqlstore.jar;C:\glassfish3\glassfish\modules\persistence-common.jar;C:\glassfish3\glassfish\modules\scattered-archive-api.jar;C:\glassfish3\glassfish\modules\config-api.jar;C:\glassfish3\glassfish\modules\rest-service.jar;C:\glassfish3\glassfish\modules\common-util.jar;C:\glassfish3\glassfish\modules\cluster-ssh.jar;C:\glassfish3\glassfish\modules\cmp-enhancer.jar;C:\glassfish3\glassfish\modules\cluster-admin.jar;C:\glassfish3\glassfish\modules\cmp-internal-api.jar;C:\glassfish3\glassfish\modules\cmp-ejb-mapping.jar;C:\glassfish3\glassfish\modules\cmp-support-ejb.jar;C:\glassfish3\glassfish\modules\cmp-generator-database.jar;C:\glassfish3\glassfish\modules\backup.jar;C:\glassfish3\glassfish\modules\schema2beans-repackaged.jar;C:\glassfish3\glassfish\modules\bean-validator.jar;C:\glassfish3\glassfish\modules\cluster-cli.jar;C:\glassfish3\glassfish\modules\cluster-common.jar;C:\glassfish3\glassfish\modules\console-cluster-plugin-help.jar;C:\glassfish3\glassfish\modules\console-cluster-plugin.jar;C:\glassfish3\glassfish\modules\cli-optional.jar;C:\glassfish3\glassfish\modules\admin-core.jar;C:\glassfish3\glassfish\modules\shoal-cache.jar;C:\glassfish3\glassfish\modules\appclient.security.jar;C:\glassfish3\glassfish\modules\server-mgmt.jar;C:\glassfish3\glassfish\modules\asm-all-repackaged.jar;C:\glassfish3\glassfish\modules\security.jar;C:\glassfish3\glassfish\modules\auto-depends.jar;C:\glassfish3\glassfish\modules\osgi-jpa-extension.jar;C:\glassfish3\glassfish\modules\console-corba-plugin.jar;C:\glassfish3\glassfish\modules\console-ejb-lite-plugin-help.jar;C:\glassfish3\glassfish\modules\console-ejb-lite-plugin.jar;C:\glassfish3\glassfish\modules\console-ejb-plugin-help.jar;C:\glassfish3\glassfish\modules\console-ejb-plugin.jar;C:\glassfish3\glassfish\modules\console-jca-plugin-help.jar;C:\glassfish3\glassfish\modules\console-jca-plugin.jar;C:\glassfish3\glassfish\modules\console-jdbc-plugin-help.jar;C:\glassfish3\glassfish\modules\flashlight-extra-jdk-packages.jar;C:\glassfish3\glassfish\modules\gf-connectors-connector.jar;C:\glassfish3\glassfish\modules\gf-client-module.jar;C:\glassfish3\glassfish\modules\console-common-help.jar;C:\glassfish3\glassfish\modules\console-common.jar;C:\glassfish3\glassfish\modules\console-community-branding-plugin.jar;C:\glassfish3\glassfish\modules\console-corba-plugin-help.jar;C:\glassfish3\glassfish\modules\container-common.jar;C:\glassfish3\glassfish\modules\dataprovider.jar;C:\glassfish3\glassfish\modules\deployment-admin.jar;C:\glassfish3\glassfish\modules\deployment-autodeploy.jar;C:\glassfish3\glassfish\modules\deployment-client.jar;C:\glassfish3\glassfish\modules\ejb-internal-api.jar;C:\glassfish3\glassfish\modules\ejb.security.jar;C:\glassfish3\glassfish\modules\config-types.jar;C:\glassfish3\glassfish\modules\registration-impl.jar;C:\glassfish3\glassfish\modules\config.jar;C:\glassfish3\glassfish\modules\registration-api.jar;C:\glassfish3\glassfish\modules\console-plugin-service.jar;C:\glassfish3\glassfish\modules\console-updatecenter-plugin.jar;C:\glassfish3\glassfish\modules\console-web-plugin-help.jar;C:\glassfish3\glassfish\modules\console-web-plugin.jar;C:\glassfish3\glassfish\modules\simple-glassfish-api.jar;C:\glassfish3\glassfish\modules\console-common-full-plugin.jar;C:\glassfish3\glassfish\modules\shoal-gms-impl.jar;C:\glassfish3\glassfish\modules\console-common-full-plugin-help.jar;C:\glassfish3\glassfish\modules\shoal-gms-api.jar;C:\glassfish3\glassfish\modules\connectors-runtime.jar;C:\glassfish3\glassfish\modules\pkg-client.jar;C:\glassfish3\glassfish\modules\connectors-internal-api.jar;C:\glassfish3\glassfish\modules\osgi-resource-locator.jar;C:\glassfish3\glassfish\modules\connectors-inbound-runtime.jar;C:\glassfish3\glassfish\modules\connectors-admin.jar;C:\glassfish3\glassfish\modules\stats77.jar;C:\glassfish3\glassfish\modules\transaction-internal-api.jar;C:\glassfish3\glassfish\modules\web-cli.jar;C:\glassfish3\glassfish\modules\websecurity.jar;C:\glassfish3\glassfish\modules\webservices-connector.jar;C:\glassfish3\glassfish\modules\war-util.jar;C:\glassfish3\glassfish\modules\web-naming.jar;C:\glassfish3\glassfish\modules\ejb-container.jar;C:\glassfish3\glassfish\modules\dol.jar;C:\glassfish3\glassfish\modules\console-jts-plugin-help.jar;C:\glassfish3\glassfish\modules\flashlight-framework.jar;C:\glassfish3\glassfish\modules\web-core.jar;C:\glassfish3\glassfish\modules\web-embed-api.jar;C:\glassfish3\glassfish\modules\deployment-javaee-full.jar;C:\glassfish3\glassfish\modules\trilead-ssh2-repackaged.jar;C:\glassfish3\glassfish\modules\web-gui-plugin-common.jar;C:\glassfish3\glassfish\modules\web-ha.jar;C:\glassfish3\glassfish\modules\ssl-impl.jar;C:\glassfish3\glassfish\modules\web-glue.jar;C:\glassfish3\glassfish\modules\javax.servlet.jsp.jar;C:\glassfish3\glassfish\modules\soap-tcp.jar;C:\glassfish3\glassfish\modules\web-embed-impl.jar;C:\glassfish3\glassfish\modules\weld-integration.jar;C:\glassfish3\glassfish\modules\webservices-osgi.jar;C:\glassfish3\glassfish\modules\webservices.security.jar;C:\glassfish3\glassfish\modules\webservices-extra-jdk-packages.jar;C:\glassfish3\glassfish\modules\work-management.jar;C:\glassfish3\glassfish\modules\weld-osgi-bundle.jar;C:\glassfish3\glassfish\modules\weld-integration-fragment.jar;C:\glassfish3\glassfish\modules\ha-file-store.jar;C:\glassfish3\glassfish\modules\javax.security.auth.message.jar;C:\glassfish3\glassfish\modules\ha-shoal-cache-store.jar;C:\glassfish3\glassfish\modules\ha-api.jar;C:\glassfish3\glassfish\modules\javax.resource.jar;C:\glassfish3\glassfish\modules\javax.enterprise.deploy.jar;C:\glassfish3\glassfish\modules\javax.security.jacc.jar;C:\glassfish3\glassfish\modules\javax.persistence.jar;C:\glassfish3\glassfish\modules\acc-config.jar;C:\glassfish3\glassfish\modules\inmemory.jacc.provider.jar;C:\glassfish3\glassfish\modules\glassfish-api.jar;C:\glassfish3\glassfish\modules\admin-cli.jar;C:\glassfish3\glassfish\modules\hk2.jar;C:\glassfish3\glassfish\modules\ha-shoal-cache-bootstrap.jar;C:\glassfish3\glassfish\modules\internal-api.jar;C:\glassfish3\glassfish\modules\hk2-core.jar;C:\glassfish3\glassfish\modules\glassfish-corba-csiv2-idl.jar;C:\glassfish3\glassfish\modules\glassfish-ee-api.jar;C:\glassfish3\glassfish\modules\glassfish-corba-orbgeneric.jar;C:\glassfish3\glassfish\modules\glassfish-corba-orb.jar;C:\glassfish3\glassfish\modules\glassfish-corba-asm.jar;C:\glassfish3\glassfish\modules\gf-ejb-connector.jar;C:\glassfish3\glassfish\modules\gf-web-connector.jar;C:\glassfish3\glassfish\modules\glassfish-corba-codegen.jar;C:\glassfish3\glassfish\modules\glassfish-extra-jre-packages.jar;C:\glassfish3\glassfish\modules\deployment-javaee-core.jar;C:\glassfish3\glassfish\modules\deployment-common.jar;C:\glassfish3\glassfish\modules\dbschema-repackaged.jar;C:\glassfish3\glassfish\modules\glassfish-corba-internal-api.jar;C:\glassfish3\glassfish\modules\glassfish-oracle-jdbc-driver-packages.jar;C:\glassfish3\glassfish\modules\glassfish-naming.jar;C:\glassfish3\glassfish\modules\glassfish-mbeanserver.jar;C:\glassfish3\glassfish\modules\jsr109-impl.jar;C:\glassfish3\glassfish\modules\jstl-connector.jar;C:\glassfish3\glassfish\modules\jta.jar;C:\glassfish3\glassfish\modules\orb-iiop.jar;C:\glassfish3\glassfish\modules\org.apache.felix.configadmin.jar;C:\glassfish3\glassfish\modules\org.apache.felix.fileinstall.jar;C:\glassfish3\glassfish\modules\org.apache.felix.gogo.command.jar;C:\glassfish3\glassfish\modules\grizzly-http.jar;C:\glassfish3\glassfish\modules\grizzly-http-servlet.jar;C:\glassfish3\glassfish\modules\grizzly-framework.jar;C:\glassfish3\glassfish\modules\jmxremote_optional-repackaged.jar;C:\glassfish3\glassfish\modules\jpa-connector.jar;C:\glassfish3\glassfish\modules\jsf-connector.jar;C:\glassfish3\glassfish\modules\jspcaching-connector.jar;C:\glassfish3\glassfish\modules\glassfish.jar;C:\glassfish3\glassfish\modules\gmbal.jar;C:\glassfish3\glassfish\modules\grizzly-websockets.jar;C:\glassfish3\glassfish\modules\glassfish-registration.jar;C:\glassfish3\glassfish\modules\grizzly-rcm.jar;C:\glassfish3\glassfish\modules\grizzly-utils.jar;C:\glassfish3\glassfish\modules\grizzly-lzma.jar;C:\glassfish3\glassfish\modules\grizzly-portunif.jar;C:\glassfish3\glassfish\modules\jackson-core-asl.jar;C:\glassfish3\glassfish\modules\javax.management.j2ee.jar;C:\glassfish3\glassfish\modules\grizzly-container.jar;C:\glassfish3\glassfish\modules\jackson-jaxrs.jar;C:\glassfish3\glassfish\modules\grizzly-comet.jar;C:\glassfish3\glassfish\modules\grizzly-config.jar;C:\glassfish3\glassfish\modules\gms-adapter.jar;C:\glassfish3\glassfish\modules\gms-bootstrap.jar;C:\glassfish3\glassfish\modules\mimepull.jar;C:\glassfish3\glassfish\modules\monitoring-core.jar;C:\glassfish3\glassfish\modules\orb-connector.jar;C:\glassfish3\glassfish\modules\orb-enabler.jar;C:\glassfish3\glassfish\modules\load-balancer-admin.jar;C:\glassfish3\glassfish\modules\logging.jar;C:\glassfish3\glassfish\modules\management-api.jar;C:\glassfish3\glassfish\modules\metro-glue.jar;C:\glassfish3\glassfish\modules\kernel.jar;C:\glassfish3\glassfish\modules\launcher.jar;C:\glassfish3\glassfish\modules\ldapbp-repackaged.jar;C:\glassfish3\glassfish\modules\libpam4j-repackaged.jar;C:\glassfish3\glassfish\modules\jms-core.jar;C:\glassfish3\glassfish\modules\jms-admin.jar;C:\glassfish3\glassfish\modules\jettison.jar;C:\glassfish3\glassfish\modules\jersey-multipart.jar;C:\glassfish3\glassfish\modules\jersey-gf-statsproviders.jar;C:\glassfish3\glassfish\modules\osgi-container.jar;C:\glassfish3\glassfish\modules\jersey-json.jar;C:\glassfish3\glassfish\modules\jersey-core.jar;C:\glassfish3\glassfish\modules\jersey-gf-server.jar;C:\glassfish3\glassfish\modules\jdbc-admin.jar;C:\glassfish3\glassfish\modules\jersey-client.jar;C:\glassfish3\glassfish\modules\jaxb-osgi.jar;C:\glassfish3\glassfish\modules\jaxrpc-api-osgi.jar;C:\glassfish3\glassfish\modules\javax.jms.jar;C:\glassfish3\glassfish\modules\javax.transaction.jar;C:\glassfish3\glassfish\modules\javax.mail.jar;C:\glassfish3\glassfish\modules\javaee-kernel.jar;C:\glassfish3\glassfish\modules\org.apache.felix.shell.jar;C:\glassfish3\glassfish\modules\org.apache.felix.gogo.shell.jar;C:\glassfish3\glassfish\modules\org.apache.felix.gogo.runtime.jar;C:\glassfish3\glassfish\modules\console-jdbc-plugin.jar;C:\glassfish3\glassfish\modules\console-jms-plugin-help.jar;C:\glassfish3\glassfish\modules\console-jms-plugin.jar;C:\glassfish3\glassfish\modules\console-jts-plugin.jar;C:\glassfish3\glassfish\modules\api-exporter.jar;C:\glassfish3\glassfish\modules\branding.jar;C:\glassfish3\glassfish\modules\appclient-server-core.jar;C:\glassfish3\glassfish\modules\antlr-repackaged.jar;C:\glassfish3\glassfish\modules\admin-util.jar;C:\glassfish3\glassfish\modules\ant.jar;C:\glassfish3\glassfish\modules\annotation-framework.jar;C:\glassfish3\glassfish\modules\appclient-connector.jar;C:\glassfish3\glassfish\modules\jsftemplating.jar;C:\glassfish3\glassfish\modules\amx-all.jar;C:\glassfish3\glassfish\modules\jackson-xc.jar;C:\glassfish3\glassfish\modules\jaspic.provider.framework.jar;C:\glassfish3\glassfish\modules\jts.jar;C:\glassfish3\glassfish\modules\jackson-mapper-asl.jar;C:\glassfish3\glassfish\modules\org.eclipse.persistence.jpa.modelgen.jar;C:\glassfish3\glassfish\modules\org.eclipse.persistence.oracle.jar;C:\glassfish3\glassfish\modules\javax.servlet.jsp.jstl.jar;C:\glassfish3\glassfish\modules\org.eclipse.persistence.jpa.jar;C:\glassfish3\glassfish\modules\org.apache.felix.shell.tui.jar;C:\glassfish3\glassfish\modules\org.eclipse.persistence.antlr.jar;C:\glassfish3\glassfish\modules\glassfish-corba-omgapi.jar;C:\glassfish3\glassfish\modules\org.apache.felix.shell.remote.jar;C:\glassfish3\glassfish\modules\org.eclipse.persistence.core.jar;C:\glassfish3\glassfish\modules\glassfish-corba-newtimer.jar;C:\glassfish3\glassfish\modules\org.eclipse.persistence.asm.jar;C:\glassfish3\glassfish\modules\osgi-adapter.jar;C:\glassfish3\glassfish\modules\endorsed\javax.annotation.jar;C:\glassfish3\glassfish\modules\javax.faces.jar;C:\glassfish3\glassfish\modules\javax.el-api.jar;C:\glassfish3\glassfish\modules\j-interop-repackaged.jar;C:\glassfish3\glassfish\modules\grizzly-http-ajp.jar;C:\glassfish3\glassfish\modules\jersey-gf-servlet.jar;C:\glassfish3\glassfish\modules\jaxr-api-osgi.jar;C:\glassfish3\glassfish\modules\javax.servlet.jsp.jstl-api.jar;C:\glassfish3\glassfish\modules\javax.el.jar;C:\glassfish3\glassfish\modules\org.eclipse.persistence.moxy.jar;C:\glassfish3\glassfish\modules\stax2-api.jar;C:\glassfish3\glassfish\modules\jersey-grizzly.jar;C:\glassfish3\glassfish\modules\jersey-moxy.jar;C:\glassfish3\glassfish\modules\woodstox-core-asl.jar" com.intellij.rt.execution.application.AppMain com.intellij.rt.execution.junit.JUnitStarter -ideVersion5 org.arquillian.example.GreeterTest,should_create_greeting

SLF4J: Class path contains multiple SLF4J bindings.

SLF4J: Found binding in [jar:file:/C:/Users/nwhite/.m2/repository/org/glassfish/main/extras/glassfish-embedded-all/3.1.2/glassfish-embedded-all-3.1.2.jar!/org/slf4j/impl/StaticLoggerBinder.class]

SLF4J: Found binding in [jar:file:/C:/glassfish3/glassfish/modules/bean-validator.jar!/org/slf4j/impl/StaticLoggerBinder.class]

SLF4J: Found binding in [jar:file:/C:/glassfish3/glassfish/modules/weld-osgi-bundle.jar!/org/slf4j/impl/StaticLoggerBinder.class]

SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.

Apr 25, 2012 11:05:49 PM org.hibernate.validator.util.Version <clinit>

INFO: Hibernate Validator 4.2.0.Final

Apr 25, 2012 11:05:50 PM 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:561)

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

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

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

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

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

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

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

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

          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:78)

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

          at com.sun.enterprise.v3.server.AppServerStartup.doStart(AppServerStartup.java:145)

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

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

          at org.jboss.arquillian.container.glassfish.embedded_3_1.GlassFishContainer.start(GlassFishContainer.java:153)

          at org.jboss.arquillian.container.impl.ContainerImpl.start(ContainerImpl.java:198)

          at org.jboss.arquillian.container.impl.client.container.ContainerLifecycleController$8.perform(ContainerLifecycleController.java:163)

          at org.jboss.arquillian.container.impl.client.container.ContainerLifecycleController$8.perform(ContainerLifecycleController.java:157)

          at org.jboss.arquillian.container.impl.client.container.ContainerLifecycleController.forContainer(ContainerLifecycleController.java:255)

          at org.jboss.arquillian.container.impl.client.container.ContainerLifecycleController.startContainer(ContainerLifecycleController.java:156)

          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

          at java.lang.reflect.Method.invoke(Method.java:601)

          at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)

          at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)

          at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)

          at org.jboss.arquillian.container.impl.client.ContainerDeploymentContextHandler.createContainerContext(ContainerDeploymentContextHandler.java:57)

          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

          at java.lang.reflect.Method.invoke(Method.java:601)

          at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)

          at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)

          at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:135)

          at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:115)

          at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67)

          at org.jboss.arquillian.container.impl.client.container.ContainerLifecycleController$2.perform(ContainerLifecycleController.java:77)

          at org.jboss.arquillian.container.impl.client.container.ContainerLifecycleController$2.perform(ContainerLifecycleController.java:70)

          at org.jboss.arquillian.container.impl.client.container.ContainerLifecycleController.forEachSuiteContainer(ContainerLifecycleController.java:221)

          at org.jboss.arquillian.container.impl.client.container.ContainerLifecycleController.startSuiteContainers(ContainerLifecycleController.java:69)

          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

          at java.lang.reflect.Method.invoke(Method.java:601)

          at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)

          at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)

          at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)

          at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:135)

          at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:115)

          at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67)

          at org.jboss.arquillian.container.test.impl.client.ContainerEventController.execute(ContainerEventController.java:86)

          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

          at java.lang.reflect.Method.invoke(Method.java:601)

          at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)

          at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)

          at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)

          at org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:60)

          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

          at java.lang.reflect.Method.invoke(Method.java:601)

          at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)

          at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)

          at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:135)

          at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:115)

          at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.beforeSuite(EventTestRunnerAdaptor.java:68)

          at org.jboss.arquillian.junit.Arquillian.run(Arquillian.java:97)

          at org.junit.runner.JUnitCore.run(JUnitCore.java:157)

          at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:76)

          at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:182)

          at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:62)

          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

          at java.lang.reflect.Method.invoke(Method.java:601)

          at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120)

 

 

Apr 25, 2012 11:05:50 PM 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:561)

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

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

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

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

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

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

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

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

          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:78)

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

          at com.sun.enterprise.v3.server.AppServerStartup.doStart(AppServerStartup.java:145)

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

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

          at org.jboss.arquillian.container.glassfish.embedded_3_1.GlassFishContainer.start(GlassFishContainer.java:153)

          at org.jboss.arquillian.container.impl.ContainerImpl.start(ContainerImpl.java:198)

          at org.jboss.arquillian.container.impl.client.container.ContainerLifecycleController$8.perform(ContainerLifecycleController.java:163)

          at org.jboss.arquillian.container.impl.client.container.ContainerLifecycleController$8.perform(ContainerLifecycleController.java:157)

          at org.jboss.arquillian.container.impl.client.container.ContainerLifecycleController.forContainer(ContainerLifecycleController.java:255)

          at org.jboss.arquillian.container.impl.client.container.ContainerLifecycleController.startContainer(ContainerLifecycleController.java:156)

          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

          at java.lang.reflect.Method.invoke(Method.java:601)

          at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)

          at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)

          at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)

          at org.jboss.arquillian.container.impl.client.ContainerDeploymentContextHandler.createContainerContext(ContainerDeploymentContextHandler.java:57)

          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

          at java.lang.reflect.Method.invoke(Method.java:601)

          at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)

          at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)

          at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:135)

          at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:115)

          at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67)

          at org.jboss.arquillian.container.impl.client.container.ContainerLifecycleController$2.perform(ContainerLifecycleController.java:77)

          at org.jboss.arquillian.container.impl.client.container.ContainerLifecycleController$2.perform(ContainerLifecycleController.java:70)

          at org.jboss.arquillian.container.impl.client.container.ContainerLifecycleController.forEachSuiteContainer(ContainerLifecycleController.java:221)

          at org.jboss.arquillian.container.impl.client.container.ContainerLifecycleController.startSuiteContainers(ContainerLifecycleController.java:69)

          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

          at java.lang.reflect.Method.invoke(Method.java:601)

          at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)

          at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)

          at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)

          at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:135)

          at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:115)

          at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67)

          at org.jboss.arquillian.container.test.impl.client.ContainerEventController.execute(ContainerEventController.java:86)

          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

          at java.lang.reflect.Method.invoke(Method.java:601)

          at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)

          at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)

          at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)

          at org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:60)

          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

          at java.lang.reflect.Method.invoke(Method.java:601)

          at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)

          at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)

          at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:135)

          at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:115)

          at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.beforeSuite(EventTestRunnerAdaptor.java:68)

          at org.jboss.arquillian.junit.Arquillian.run(Arquillian.java:97)

          at org.junit.runner.JUnitCore.run(JUnitCore.java:157)

          at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:76)

          at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:182)

          at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:62)

          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

          at java.lang.reflect.Method.invoke(Method.java:601)

          at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120)

 

 

Apr 25, 2012 11:05:50 PM 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:561)

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

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

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

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

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

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

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

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

          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:78)

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

          at com.sun.enterprise.v3.server.AppServerStartup.doStart(AppServerStartup.java:145)

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

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

          at org.jboss.arquillian.container.glassfish.embedded_3_1.GlassFishContainer.start(GlassFishContainer.java:153)

          at org.jboss.arquillian.container.impl.ContainerImpl.start(ContainerImpl.java:198)

          at org.jboss.arquillian.container.impl.client.container.ContainerLifecycleController$8.perform(ContainerLifecycleController.java:163)

          at org.jboss.arquillian.container.impl.client.container.ContainerLifecycleController$8.perform(ContainerLifecycleController.java:157)

          at org.jboss.arquillian.container.impl.client.container.ContainerLifecycleController.forContainer(ContainerLifecycleController.java:255)

          at org.jboss.arquillian.container.impl.client.container.ContainerLifecycleController.startContainer(ContainerLifecycleController.java:156)

          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

          at java.lang.reflect.Method.invoke(Method.java:601)

          at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)

          at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)

          at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)

          at org.jboss.arquillian.container.impl.client.ContainerDeploymentContextHandler.createContainerContext(ContainerDeploymentContextHandler.java:57)

          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

          at java.lang.reflect.Method.invoke(Method.java:601)

          at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)

          at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)

          at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:135)

          at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:115)

          at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67)

          at org.jboss.arquillian.container.impl.client.container.ContainerLifecycleController$2.perform(ContainerLifecycleController.java:77)

          at org.jboss.arquillian.container.impl.client.container.ContainerLifecycleController$2.perform(ContainerLifecycleController.java:70)

          at org.jboss.arquillian.container.impl.client.container.ContainerLifecycleController.forEachSuiteContainer(ContainerLifecycleController.java:221)

          at org.jboss.arquillian.container.impl.client.container.ContainerLifecycleController.startSuiteContainers(ContainerLifecycleController.java:69)

          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

          at java.lang.reflect.Method.invoke(Method.java:601)

          at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)

          at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)

          at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)

          at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:135)

          at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:115)

          at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67)

          at org.jboss.arquillian.container.test.impl.client.ContainerEventController.execute(ContainerEventController.java:86)

          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

          at java.lang.reflect.Method.invoke(Method.java:601)

          at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)

          at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)

          at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)

          at org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:60)

          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

          at java.lang.reflect.Method.invoke(Method.java:601)

          at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)

          at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)

          at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:135)

          at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:115)

          at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.beforeSuite(EventTestRunnerAdaptor.java:68)

          at org.jboss.arquillian.junit.Arquillian.run(Arquillian.java:97)

          at org.junit.runner.JUnitCore.run(JUnitCore.java:157)

          at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:76)

          at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:182)

          at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:62)

          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

          at java.lang.reflect.Method.invoke(Method.java:601)

          at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120)

 

 

Apr 25, 2012 11:05:50 PM org.glassfish.ha.store.spi.BackingStoreFactoryRegistry register

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

Apr 25, 2012 11:05:51 PM com.sun.enterprise.v3.services.impl.GrizzlyService createNetworkProxy

INFO: Network listener https-listener on port 0 disabled per domain.xml

Apr 25, 2012 11:05:51 PM com.sun.enterprise.v3.services.impl.GrizzlyProxy$2$1 onReady

INFO: Grizzly Framework 1.9.46 started in: 70ms - bound to [0.0.0.0:8181]

Apr 25, 2012 11:05:51 PM com.sun.enterprise.v3.services.impl.GrizzlyService createNetworkProxy

INFO: Network listener https-listener on port 0 disabled per domain.xml

Apr 25, 2012 11:05:51 PM com.sun.enterprise.v3.server.AppServerStartup run

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

Apr 25, 2012 11:05:51 PM com.sun.enterprise.v3.admin.StopServer doExecute

INFO: Server shutdown initiated

 

 

Process finished with exit code 0