-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
None
Observed test failures today while using Sun JDK 1.6.0.20 and 1.6.0.11.
Test set: org.jboss.as.test.embedded.demos.jaxrs.JaxrsTestCase ------------------------------------------------------------------------------- Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.33 sec <<< FAILURE! org.jboss.as.test.embedded.demos.jaxrs.JaxrsTestCase Time elapsed: 0 sec <<< ERROR! org.jboss.arquillian.impl.event.FiredEventException: org.jboss.arquillian.spi.DeploymentException: Could not deploy to container at org.jboss.arquillian.impl.event.MapEventManager.fire(MapEventManager.java:68) at org.jboss.arquillian.impl.context.AbstractEventContext.fire(AbstractEventContext.java:115) at org.jboss.arquillian.impl.EventTestRunnerAdaptor.beforeClass(EventTestRunnerAdaptor.java:99) at org.jboss.arquillian.junit.Arquillian$2.evaluate(Arquillian.java:165) at org.jboss.arquillian.junit.Arquillian$3$1.evaluate(Arquillian.java:189) at org.jboss.arquillian.junit.Arquillian$MultiStatementExecutor.execute(Arquillian.java:300) at org.jboss.arquillian.junit.Arquillian$3.evaluate(Arquillian.java:185) at org.junit.runners.ParentRunner.run(ParentRunner.java:236) at org.jboss.arquillian.junit.Arquillian.run(Arquillian.java:128) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:120) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:103) at org.apache.maven.surefire.Surefire.run(Surefire.java:169) 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:339) at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1011) 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.jboss.modules.Module.run(Module.java:261) at org.jboss.modules.Main.main(Main.java:236) Caused by: org.jboss.arquillian.spi.DeploymentException: Could not deploy to container at org.jboss.as.arquillian.container.AbstractDeployableContainer.deploy(AbstractDeployableContainer.java:102) at org.jboss.arquillian.impl.handler.ContainerDeployer.callback(ContainerDeployer.java:62) at org.jboss.arquillian.impl.handler.ContainerDeployer.callback(ContainerDeployer.java:50) at org.jboss.arquillian.impl.event.MapEventManager.fire(MapEventManager.java:63) ... 24 more Caused by: java.util.concurrent.ExecutionException: java.lang.Exception: {"Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => "Deployment failed. Service failures: [org.jboss.msc.service.StartException in service jboss.deployment.unit.\"jaxrs-example.war\".INSTALL: Failed to process phase INSTALL of deployment \"jaxrs-example.war\"]Failed Dependencies: [service jboss.naming.context.java.comp.jaxrs-example.jaxrs-example.jaxrs-example.Validator, service jboss.naming.context.java.comp.jaxrs-example.jaxrs-example.jaxrs-example.ValidatorFactory]"}} at org.jboss.as.controller.client.helpers.standalone.impl.ModelControllerClientServerDeploymentManager$Handler.getResult(ModelControllerClientServerDeploymentManager.java:199) at org.jboss.as.controller.client.helpers.standalone.impl.ModelControllerClientServerDeploymentManager$Handler.get(ModelControllerClientServerDeploymentManager.java:167) at org.jboss.as.controller.client.helpers.standalone.impl.ModelControllerClientServerDeploymentManager$Handler.get(ModelControllerClientServerDeploymentManager.java:64) at org.jboss.as.controller.client.helpers.standalone.impl.ServerDeploymentPlanResultFuture.get(ServerDeploymentPlanResultFuture.java:68) at org.jboss.as.controller.client.helpers.standalone.impl.ServerDeploymentPlanResultFuture.get(ServerDeploymentPlanResultFuture.java:41)
Jason recommends:
(06:11:00 PM) Nihility: __JAXPRedirected.changeAll(jaxpModuleIdentifier, Module.getBootModuleLoader());
(06:11:05 PM) Nihility: that should be added to
(06:11:32 PM) Nihility: EmbeddedServerFactory.create()
(06:11:36 PM) Nihility: before starting the server