1 2 Previous Next 15 Replies Latest reply on Aug 21, 2012 1:44 PM by tiagowanke

    Cannot deploy arquillian service - Read past end of file

    dmiklancic

      Running arquillian CR5 on JBoss as 7.0.2

       

      I have been running Arquillian tests for some time and today for some reason, all tests fail with the exception below.  I suspect something has become corrupt--I would appreciate any suggestions on where that may be and how I might correct it.

       

      2011-10-17 15:07:19,736 ERROR [org.jboss.as.arquillian.protocol.jmx.ArquillianServiceDeployer] Cannot deploy arquillian service

      java.lang.RuntimeException: java.io.EOFException: Read past end of file

          at org.jboss.as.arquillian.container.ManagementClient.extractSubSystemURI(ManagementClient.java:146)

          at org.jboss.as.arquillian.container.ManagementClient.getSubSystemURI(ManagementClient.java:93)

          at org.jboss.as.arquillian.container.ManagementClient.getDeploymentMetaData(ManagementClient.java:99)

          at org.jboss.as.arquillian.container.CommonDeployableContainer.deploy(CommonDeployableContainer.java:98)

          at org.jboss.as.arquillian.protocol.jmx.ArquillianServiceDeployer.doServiceDeploy(ArquillianServiceDeployer.java:58)

          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.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:134)

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

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

          at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$3.call(ContainerDeployController.java:142)

          at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$3.call(ContainerDeployController.java:115)

          at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.executeOperation(ContainerDeployController.java:258)

          at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.deploy(ContainerDeployController.java:114)

          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.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.createDeploymentContext(ContainerDeploymentContextHandler.java:78)

          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.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)

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

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

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

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

          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.container.impl.client.container.DeploymentExceptionHandler.verifyExpectedExceptionDuringDeploy(DeploymentExceptionHandler.java:50)

          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.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:134)

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

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

          at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$1.perform(ContainerDeployController.java:86)

          at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$1.perform(ContainerDeployController.java:79)

          at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.forEachDeployment(ContainerDeployController.java:250)

          at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.forEachManagedDeployment(ContainerDeployController.java:226)

          at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.deployManaged(ContainerDeployController.java:78)

          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.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:134)

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

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

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

          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.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.createClassContext(TestContextHandler.java:68)

          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.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:54)

          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.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:134)

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

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

          at org.jboss.arquillian.testng.Arquillian.arquillianBeforeClass(Arquillian.java:76)

          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.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:74)

          at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:525)

          at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:202)

          at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:130)

          at org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:173)

          at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:105)

          at org.testng.TestRunner.runWorkers(TestRunner.java:1125)

          at org.testng.TestRunner.privateRun(TestRunner.java:749)

          at org.testng.TestRunner.run(TestRunner.java:600)

          at org.testng.SuiteRunner.runTest(SuiteRunner.java:317)

          at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:312)

          at org.testng.SuiteRunner.privateRun(SuiteRunner.java:274)

          at org.testng.SuiteRunner.run(SuiteRunner.java:223)

          at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)

          at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)

          at org.testng.TestNG.runSuitesSequentially(TestNG.java:1007)

          at org.testng.TestNG.runSuitesLocally(TestNG.java:932)

          at org.testng.TestNG.run(TestNG.java:868)

          at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:122)

          at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:92)

          at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:101)

          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.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164)

          at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110)

          at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:172)

          at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:104)

          at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:70)

      Caused by: java.io.EOFException: Read past end of file

          at org.jboss.marshalling.SimpleDataInput.eofOnRead(SimpleDataInput.java:126)

          at org.jboss.marshalling.SimpleDataInput.readUnsignedByteDirect(SimpleDataInput.java:263)

          at org.jboss.marshalling.SimpleDataInput.readUnsignedShort(SimpleDataInput.java:245)

          at org.jboss.marshalling.SimpleDataInput.readUTF(SimpleDataInput.java:326)

          at org.jboss.dmr.ModelNode.readExternal(ModelNode.java:1414)

          at org.jboss.dmr.ObjectModelValue.<init>(ObjectModelValue.java:62)

          at org.jboss.dmr.ModelNode.readExternal(ModelNode.java:1412)

          at org.jboss.dmr.ObjectModelValue.<init>(ObjectModelValue.java:62)

          at org.jboss.dmr.ModelNode.readExternal(ModelNode.java:1412)

          at org.jboss.dmr.ObjectModelValue.<init>(ObjectModelValue.java:62)

          at org.jboss.dmr.ModelNode.readExternal(ModelNode.java:1412)

          at org.jboss.dmr.ObjectModelValue.<init>(ObjectModelValue.java:62)

          at org.jboss.dmr.ModelNode.readExternal(ModelNode.java:1412)

          at org.jboss.dmr.ObjectModelValue.<init>(ObjectModelValue.java:62)

          at org.jboss.dmr.ModelNode.readExternal(ModelNode.java:1412)

          at org.jboss.dmr.ObjectModelValue.<init>(ObjectModelValue.java:62)

          at org.jboss.dmr.ModelNode.readExternal(ModelNode.java:1412)

          at org.jboss.as.controller.client.impl.AbstractModelControllerClient$ExecuteRequest$1.readResponse(AbstractModelControllerClient.java:221)

          at org.jboss.as.controller.client.impl.AbstractModelControllerClient$ExecuteRequest$1.readResponse(AbstractModelControllerClient.java:214)

          at org.jboss.as.protocol.mgmt.ManagementRequest$DelegatingResponseHandler.readResponse(ManagementRequest.java:172)

          at org.jboss.as.protocol.mgmt.ManagementChannel$ResponseReceiver.handleResponse(ManagementChannel.java:374)

          at org.jboss.as.protocol.mgmt.ManagementChannel$ResponseReceiver.access$400(ManagementChannel.java:356)

          at org.jboss.as.protocol.mgmt.ManagementChannel.doHandle(ManagementChannel.java:122)

          at org.jboss.as.protocol.ProtocolChannel.handleMessage(ProtocolChannel.java:158)

          at org.jboss.remoting3.remote.RemoteConnectionChannel$4.run(RemoteConnectionChannel.java:224)

          at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

          at java.lang.Thread.run(Thread.java:680)

       

      After this exception, the test war deploys with hibernate and such initializing as normal.  All ends with the following:

       

      15:07:27,643 INFO  [org.jboss.as.server.controller] (pool-1-thread-1) Deployed "uomDataService.war"

      2011-10-17 15:07:27,648 ERROR [org.jboss.remoting.remote] JBREM00200: Remote connection failed: java.io.IOException: Window open for non-existent channel

      15:07:27,766 INFO  [org.jboss.as.server.controller] (pool-1-thread-1) Undeployed "uomDataService.war"

      15:07:27,789 INFO  [org.jboss.weld] (MSC service thread 1-3) Stopping weld service

      15:07:27,861 INFO  [org.jboss.jpa] (MSC service thread 1-3) stopping Persistence Unit Service 'uomDataService.war#uommngr'

      15:07:27,881 INFO  [org.jboss.as.clustering.infinispan.subsystem] (MSC service thread 1-3) Stopped uomDataService.war#uommngr.org.hibernate.cache.internal.StandardQueryCache cache from hibernate container

      15:07:27,895 INFO  [org.jboss.as.clustering.infinispan.subsystem] (MSC service thread 1-3) Stopped uomDataService.war#uommngr.org.hibernate.cache.spi.UpdateTimestampsCache cache from hibernate container

      15:07:27,974 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) Stopped deployment uomDataService.war in 222ms

      Tests run: 31, Failures: 1, Errors: 0, Skipped: 17, Time elapsed: 22.964 sec <<< FAILURE!

       

      Results :

       

      Failed tests:   arquillianBeforeClass(com.bp.cpr.pn.business.data.uom.service.UnitOfMeasureDataServiceTest): java.io.EOFException: Read past end of file

       

      Tests run: 31, Failures: 1, Errors: 0, Skipped: 17

       

      Thanks in advance for any suggestions.

       

      Dan

        • 1. Re: Cannot deploy arquillian service - Read past end of file
          aslak

          Do you have a example of this behavior as a single testclass ?

          • 2. Re: Cannot deploy arquillian service - Read past end of file
            dmiklancic

            Following is the output from the kitchensink project (jboss-as-quickstarts-7.0.0.Final).  I pointed arquillian.xml to my jboss home directory (jbossas web 7.0.2) and exectued mvn install -Parq-jbossas-managed.  Other than that, the project is as downloaded.

             

            Note:  I have re-installed jbossas 7.0.2 and have re-constructed my maven repository from scratch to eliminate possible corrupt code issues.  Same results as below.

             

             

            Daniel-Miklancics-MacBook-Pro:kitchensink miklandj$ mvn install -Parq-jbossas-managed

            [INFO] Scanning for projects...

            [INFO]                                                                        

            [INFO] ------------------------------------------------------------------------

            [INFO] Building JBoss AS Quickstarts: Kitchensink 7.0.0.Final

            [INFO] ------------------------------------------------------------------------

            [INFO]

            [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ jboss-as-kitchensink ---

            [INFO] Using 'UTF-8' encoding to copy filtered resources.

            [INFO] Copying 2 resources

            [INFO]

            [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ jboss-as-kitchensink ---

            [INFO] Nothing to compile - all classes are up to date

            [INFO]

            [INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ jboss-as-kitchensink ---

            [INFO] Using 'UTF-8' encoding to copy filtered resources.

            [INFO] Copying 1 resource

            [INFO]

            [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ jboss-as-kitchensink ---

            [INFO] Nothing to compile - all classes are up to date

            [INFO]

            [INFO] --- maven-surefire-plugin:2.7.2:test (default-test) @ jboss-as-kitchensink ---

            [INFO] Surefire report directory: /Users/miklandj/Training/jboss-as-quickstarts-7.0.0.Final/kitchensink/target/surefire-reports

             

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

            T E S T S

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

            Running org.jboss.as.quickstarts.kitchensink.test.MemberRegistrationTest

            Oct 17, 2011 8:34:59 PM org.jboss.arquillian.container.impl.client.container.ContainerRegistryCreator getActivatedConfiguration

            INFO: Could not read active container configuration: null

            Oct 17, 2011 8:34:59 PM org.jboss.as.arquillian.container.managed.ManagedDeployableContainer startInternal

            INFO: Starting container with: [java, -Xmx512m, -XX:MaxPermSize=128m, -Djboss.home.dir=/Users/miklandj/Development/JBoss7/jboss-as-web-7.0.2.Final, -Dorg.jboss.boot.log.file=/Users/miklandj/Development/JBoss7/jboss-as-web-7.0.2.Final/standalone/log/boot.log, -Dlogging.configuration=file:/Users/miklandj/Development/JBoss7/jboss-as-web-7.0.2.Final/standalone/configuration/logging.properties, -Djboss.modules.dir=/Users/miklandj/Development/JBoss7/jboss-as-web-7.0.2.Final/modules, -jar, /Users/miklandj/Development/JBoss7/jboss-as-web-7.0.2.Final/jboss-modules.jar, -mp, /Users/miklandj/Development/JBoss7/jboss-as-web-7.0.2.Final/modules, -logmodule, org.jboss.logmanager, -jaxpmodule, javax.xml.jaxp-provider, org.jboss.as.standalone, -server-config, standalone.xml]

            Oct 17, 2011 8:34:59 PM org.jboss.remoting3.EndpointImpl <clinit>

            INFO: JBoss Remoting version 3.2.0.Beta2

            Oct 17, 2011 8:34:59 PM org.xnio.Xnio <clinit>

            INFO: XNIO Version 3.0.0.Beta2

            Oct 17, 2011 8:34:59 PM org.xnio.nio.NioXnio <clinit>

            INFO: XNIO NIO Implementation Version 3.0.0.Beta2

            20:35:00,137 INFO  [org.jboss.modules] JBoss Modules version 1.0.2.GA

            20:35:00,421 INFO  [org.jboss.msc] JBoss MSC version 1.0.1.GA

            20:35:00,460 INFO  [org.jboss.as] JBoss AS 7.0.2.Final "Arc" starting

            20:35:01,576 WARN  [org.jboss.as] No security realm defined for native management service, all access will be unrestricted.

            20:35:01,595 INFO  [org.jboss.as] creating http management service using network interface (management) port (9990)

            20:35:01,596 WARN  [org.jboss.as] No security realm defined for http management service, all access will be unrestricted.

            20:35:01,602 INFO  [org.jboss.as.logging] Removing bootstrap log handlers

            20:35:01,755 INFO  [org.jboss.as.connector.subsystems.datasources] (Controller Boot Thread) Deploying JDBC-compliant driver class oracle.jdbc.OracleDriver (version 11.1)

            20:35:01,770 INFO  [org.jboss.as.connector.subsystems.datasources] (Controller Boot Thread) Deploying JDBC-compliant driver class easysoft.sql.jobDriver (version 1.3)

            20:35:01,788 INFO  [org.jboss.as.connector.subsystems.datasources] (Controller Boot Thread) Deploying non-JDBC-compliant driver class net.sourceforge.jtds.jdbc.Driver (version 1.2)

            20:35:01,801 INFO  [org.jboss.as.connector.subsystems.datasources] (Controller Boot Thread) Deploying non-JDBC-compliant driver class org.hsqldb.jdbcDriver (version 1.8)

            20:35:01,862 INFO  [org.jboss.as.connector.subsystems.datasources] (Controller Boot Thread) Deploying JDBC-compliant driver class com.microsoft.sqlserver.jdbc.SQLServerDriver (version 3.0)

            20:35:01,866 INFO  [org.jboss.as.connector.subsystems.datasources] (Controller Boot Thread) Deploying JDBC-compliant driver class org.h2.Driver (version 1.2)

            20:35:01,894 INFO  [org.jboss.as.connector.subsystems.datasources] (Controller Boot Thread) Deploying non-JDBC-compliant driver class com.mysql.jdbc.Driver (version 5.1)

            20:35:01,917 INFO  [org.jboss.as.clustering.infinispan.subsystem] (Controller Boot Thread) Activating Infinispan subsystem.

            20:35:02,042 INFO  [org.jboss.as.naming] (Controller Boot Thread) JBAS011800: Activating Naming Subsystem

            20:35:02,050 INFO  [org.jboss.as.naming] (MSC service thread 1-1) JBAS011802: Starting Naming Service

            20:35:02,055 INFO  [org.jboss.as.osgi] (Controller Boot Thread) JBAS011910: Activating OSGi Subsystem

            20:35:02,069 INFO  [org.jboss.as.security] (Controller Boot Thread) Activating Security Subsystem

            20:35:02,075 INFO  [org.jboss.remoting] (MSC service thread 1-3) JBoss Remoting version 3.2.0.Beta2

            20:35:02,093 INFO  [org.xnio] (MSC service thread 1-3) XNIO Version 3.0.0.Beta3

            20:35:02,104 INFO  [org.xnio.nio] (MSC service thread 1-3) XNIO NIO Implementation Version 3.0.0.Beta3

            20:35:02,276 INFO  [org.apache.catalina.core.AprLifecycleListener] (MSC service thread 1-1) The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: .:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java

            20:35:02,313 INFO  [org.jboss.as.remoting] (MSC service thread 1-2) Listening on /127.0.0.1:9999

            20:35:02,347 INFO  [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-1) Starting Coyote HTTP/1.1 on http--127.0.0.1-8080

            20:35:02,349 INFO  [org.apache.coyote.ajp.AjpProtocol] (MSC service thread 1-2) Starting Coyote AJP/1.3 on ajp--127.0.0.1-8009

            20:35:02,354 INFO  [org.jboss.as.ee] (Controller Boot Thread) Activating EE subsystem

            20:35:02,356 INFO  [org.jboss.as.jmx.JMXConnectorService] (MSC service thread 1-2) Starting remote JMX connector

            20:35:02,705 INFO  [org.jboss.as.connector] (MSC service thread 1-2) Starting JCA Subsystem (JBoss IronJacamar 1.0.3.Final)

            20:35:02,706 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-4) Bound data source [java:/ShippingDS]

            20:35:02,707 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-4) Bound data source [java:/PssDS]

            20:35:02,707 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-3) Bound data source [java:/QWebDS]

            20:35:02,707 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-4) Bound data source [java:/ProcessNetworkDS]

            20:35:02,707 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-3) Bound data source [java:/SQLPlusDS]

            20:35:02,708 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-3) Bound data source [java:jboss/datasources/ExampleDS]

            20:35:02,708 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-4) Bound data source [java:/PowerNetDS]

            20:35:03,014 INFO  [org.jboss.as.deployment] (MSC service thread 1-4) Started FileSystemDeploymentService for directory /Users/miklandj/Development/JBoss7/jboss-as-web-7.0.2.Final/standalone/deployments

            20:35:03,028 INFO  [org.jboss.as] (Controller Boot Thread) JBoss AS 7.0.2.Final "Arc" started in 3234ms - Started 129 of 187 services (58 services are passive or on-demand)

            test.war:

            /WEB-INF/

            /WEB-INF/beans.xml

            /WEB-INF/classes/

            /WEB-INF/classes/org/

            /WEB-INF/classes/org/jboss/

            /WEB-INF/classes/org/jboss/as/

            /WEB-INF/classes/org/jboss/as/quickstarts/

            /WEB-INF/classes/org/jboss/as/quickstarts/kitchensink/

            /WEB-INF/classes/org/jboss/as/quickstarts/kitchensink/model/

            /WEB-INF/classes/org/jboss/as/quickstarts/kitchensink/model/Member.class

            /WEB-INF/classes/org/jboss/as/quickstarts/kitchensink/controller/

            /WEB-INF/classes/org/jboss/as/quickstarts/kitchensink/controller/MemberRegistration.class

            /WEB-INF/classes/org/jboss/as/quickstarts/kitchensink/util/

            /WEB-INF/classes/org/jboss/as/quickstarts/kitchensink/util/Resources.class

            /WEB-INF/classes/META-INF/

            /WEB-INF/classes/META-INF/persistence.xml

            Oct 17, 2011 8:35:05 PM org.jboss.as.arquillian.protocol.jmx.ArquillianServiceDeployer doServiceDeploy

            INFO: Deploy arquillian service: arquillian-service: 699 assets

            20:35:05,889 INFO  [org.jboss.as.server.deployment] (pool-1-thread-1) Content added at location /Users/miklandj/Development/JBoss7/jboss-as-web-7.0.2.Final/standalone/data/content/c1/bd38a1f6378ff2226f704b044dfdb467ff5737/content

            20:35:05,903 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) Starting deployment of "arquillian-service"

            20:35:06,161 INFO  [org.jboss.as.jpa] (MSC service thread 1-1) added javax.persistence.api dependency to arquillian-service

            20:35:06,224 INFO  [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-4) JBossOSGi Framework Core - 1.0.0.CR8

            20:35:06,319 INFO  [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-2) Install bundle: system.bundle:0.0.0

            20:35:06,909 INFO  [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-1) Install bundle: jboss-osgi-jmx:1.0.10

            20:35:07,004 INFO  [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-4) Install bundle: org.apache.felix.eventadmin:1.2.6

            20:35:07,012 INFO  [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-1) Install bundle: org.apache.felix.metatype:1.0.4

            20:35:07,021 INFO  [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-1) Install bundle: jboss-as-osgi-configadmin:7.0.2.Final

            20:35:07,024 INFO  [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-1) Install bundle: javaee.api:0.0.0

            20:35:07,080 INFO  [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-2) Install bundle: jbosgi-webapp:1.0.2

            20:35:07,112 INFO  [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-2) Install bundle: org.apache.aries.util:0.3.0

            20:35:07,117 INFO  [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-1) Install bundle: org.apache.felix.log:1.0.0

            20:35:07,246 INFO  [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-2) Install bundle: org.apache.felix.configadmin:1.2.8

            20:35:07,276 INFO  [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-3) Install bundle: jboss-osgi-http:1.0.3

            20:35:07,335 INFO  [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-1) Install bundle: org.apache.felix.scr:1.6.0

            20:35:07,491 INFO  [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-1) Install bundle: org.apache.aries.jmx:0.3.0

            20:35:07,492 INFO  [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-1) Install bundle: org.jboss.logging:3.0.0

            20:35:07,537 INFO  [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-2) Install bundle: jboss-osgi-xerces:2.9.1.SP7

            20:35:07,570 INFO  [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-2) Install bundle: jboss-osgi-logging:1.0.0

            20:35:07,575 INFO  [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-4) Install bundle: org.apache.felix.webconsole:3.1.6.SP1

            20:35:07,595 INFO  [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-1) Install bundle: jbosgi-blueprint:1.0.2

            20:35:07,621 INFO  [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-2) Install bundle: jbosgi-webconsole:1.0.6

            20:35:07,791 INFO  [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-3) Install bundle: osgi.cmpn:4.2.0.200908310645

            20:35:07,843 INFO  [org.jboss.osgi.framework.internal.StartLevelPlugin] (MSC service thread 1-1) Starting bundles for start level: 1

            20:35:08,119 INFO  [org.jboss.osgi.framework.internal.HostBundleState] (MSC service thread 1-1) Bundle started: org.apache.felix.configadmin:1.2.8

            20:35:08,139 INFO  [org.jboss.osgi.framework.internal.HostBundleState] (MSC service thread 1-1) Bundle started: org.apache.felix.log:1.0.0

            20:35:08,170 INFO  [org.jboss.osgi.framework.internal.HostBundleState] (MSC service thread 1-1) Bundle started: jboss-osgi-logging:1.0.0

            20:35:08,192 INFO  [org.jboss.osgi.framework.internal.HostBundleState] (MSC service thread 1-1) Bundle started: jboss-as-osgi-configadmin:7.0.2.Final

            20:35:08,203 INFO  [org.jboss.osgi.framework.internal.FrameworkActive] (MSC service thread 1-1) OSGi Framework started

            20:35:08,204 INFO  [org.jboss.as.osgi] (MSC service thread 1-2) JBAS011920: Register module: Module "deployment.arquillian-service:main" from Service Module Loader

            20:35:08,206 INFO  [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-2) Install bundle: arquillian-service:0.0.0

            20:35:08,278 INFO  [org.jboss.as.server.controller] (pool-1-thread-1) Deployed "arquillian-service"

            Oct 17, 2011 8:35:08 PM org.jboss.as.arquillian.protocol.jmx.ArquillianServiceDeployer doServiceDeploy

            ERROR: Cannot deploy arquillian service

            java.lang.RuntimeException: java.io.EOFException: Read past end of file

                at org.jboss.as.arquillian.container.ManagementClient.extractSubSystemURI(ManagementClient.java:143)

                at org.jboss.as.arquillian.container.ManagementClient.getSubSystemURI(ManagementClient.java:90)

                at org.jboss.as.arquillian.container.ManagementClient.getDeploymentMetaData(ManagementClient.java:96)

                at org.jboss.as.arquillian.container.CommonDeployableContainer.deploy(CommonDeployableContainer.java:98)

                at org.jboss.as.arquillian.protocol.jmx.ArquillianServiceDeployer.doServiceDeploy(ArquillianServiceDeployer.java:58)

                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.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:134)

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

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

                at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$3.call(ContainerDeployController.java:142)

                at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$3.call(ContainerDeployController.java:115)

                at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.executeOperation(ContainerDeployController.java:258)

                at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.deploy(ContainerDeployController.java:114)

                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.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.createDeploymentContext(ContainerDeploymentContextHandler.java:78)

                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.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)

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

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

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

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

                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.container.impl.client.container.DeploymentExceptionHandler.verifyExpectedExceptionDuringDeploy(DeploymentExceptionHandler.java:50)

                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.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:134)

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

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

                at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$1.perform(ContainerDeployController.java:86)

                at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$1.perform(ContainerDeployController.java:79)

                at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.forEachDeployment(ContainerDeployController.java:250)

                at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.forEachManagedDeployment(ContainerDeployController.java:226)

                at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.deployManaged(ContainerDeployController.java:78)

                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.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:134)

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

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

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

                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.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.createClassContext(TestContextHandler.java:68)

                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.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:54)

                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.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:134)

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

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

                at org.jboss.arquillian.junit.Arquillian$2.evaluate(Arquillian.java:158)

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

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

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

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

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

                at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:35)

                at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:115)

                at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:97)

                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.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)

                at $Proxy0.invoke(Unknown Source)

                at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)

                at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)

                at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)

            Caused by: java.io.EOFException: Read past end of file

                at org.jboss.marshalling.SimpleDataInput.eofOnRead(SimpleDataInput.java:126)

                at org.jboss.marshalling.SimpleDataInput.readUnsignedByteDirect(SimpleDataInput.java:263)

                at org.jboss.marshalling.SimpleDataInput.readUnsignedShort(SimpleDataInput.java:245)

                at org.jboss.marshalling.SimpleDataInput.readUTF(SimpleDataInput.java:326)

                at org.jboss.dmr.ModelNode.readExternal(ModelNode.java:1414)

                at org.jboss.dmr.ObjectModelValue.<init>(ObjectModelValue.java:62)

                at org.jboss.dmr.ModelNode.readExternal(ModelNode.java:1412)

                at org.jboss.dmr.ObjectModelValue.<init>(ObjectModelValue.java:62)

                at org.jboss.dmr.ModelNode.readExternal(ModelNode.java:1412)

                at org.jboss.dmr.ObjectModelValue.<init>(ObjectModelValue.java:62)

                at org.jboss.dmr.ModelNode.readExternal(ModelNode.java:1412)

                at org.jboss.dmr.ObjectModelValue.<init>(ObjectModelValue.java:62)

                at org.jboss.dmr.ModelNode.readExternal(ModelNode.java:1412)

                at org.jboss.dmr.ObjectModelValue.<init>(ObjectModelValue.java:62)

                at org.jboss.dmr.ModelNode.readExternal(ModelNode.java:1412)

                at org.jboss.dmr.ObjectModelValue.<init>(ObjectModelValue.java:62)

                at org.jboss.dmr.ModelNode.readExternal(ModelNode.java:1412)

                at org.jboss.as.controller.client.impl.AbstractModelControllerClient$ExecuteRequest$1.readResponse(AbstractModelControllerClient.java:221)

                at org.jboss.as.controller.client.impl.AbstractModelControllerClient$ExecuteRequest$1.readResponse(AbstractModelControllerClient.java:214)

                at org.jboss.as.protocol.mgmt.ManagementRequest$DelegatingResponseHandler.readResponse(ManagementRequest.java:172)

                at org.jboss.as.protocol.mgmt.ManagementChannel$ResponseReceiver.handleResponse(ManagementChannel.java:375)

                at org.jboss.as.protocol.mgmt.ManagementChannel$ResponseReceiver.access$400(ManagementChannel.java:357)

                at org.jboss.as.protocol.mgmt.ManagementChannel.doHandle(ManagementChannel.java:120)

                at org.jboss.as.protocol.ProtocolChannel.handleMessage(ProtocolChannel.java:158)

                at org.jboss.remoting3.remote.RemoteConnectionChannel$4.run(RemoteConnectionChannel.java:224)

                at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

                at java.lang.Thread.run(Thread.java:680)

            20:35:08,407 INFO  [org.jboss.as.server.deployment] (pool-1-thread-1) Content added at location /Users/miklandj/Development/JBoss7/jboss-as-web-7.0.2.Final/standalone/data/content/af/c32bebcdc4ac6c64f2c36c8f6bb426eda7a720/content

            20:35:08,427 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) Starting deployment of "test.war"

            20:35:08,499 INFO  [org.jboss.jpa] (MSC service thread 1-3) read persistence.xml for primary

            20:35:08,508 INFO  [org.jboss.as.jpa] (MSC service thread 1-3) added javax.persistence.api, javaee.api, org.jboss.as.jpa, org.javassist dependencies to test.war

            20:35:08,509 INFO  [org.jboss.as.jpa] (MSC service thread 1-3) added (default provider) org.hibernate dependency to application deployment (since 1 PU(s) didn't specify jboss.as.jpa.providerModule)

            20:35:08,509 INFO  [org.jboss.as.jpa] (MSC service thread 1-3) added org.hibernate dependency to application deployment

            20:35:08,578 INFO  [org.jboss.weld] (MSC service thread 1-4) Processing CDI deployment: test.war

            20:35:08,586 INFO  [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-4) JNDI bindings for session bean named MemberRegistration in deployment unit deployment "test.war" are as follows:

             

                java:global/test/MemberRegistration!org.jboss.as.quickstarts.kitchensink.controller.MemberRegistration

                java:app/test/MemberRegistration!org.jboss.as.quickstarts.kitchensink.controller.MemberRegistration

                java:module/MemberRegistration!org.jboss.as.quickstarts.kitchensink.controller.MemberRegistration

                java:global/test/MemberRegistration

                java:app/test/MemberRegistration

                java:module/MemberRegistration

             

            20:35:08,784 INFO  [org.jboss.weld] (MSC service thread 1-4) Starting Services for CDI deployment: test.war

            20:35:08,827 INFO  [org.jboss.weld.Version] (MSC service thread 1-4) WELD-000900 1.1.2 (Final)

            20:35:08,846 INFO  [org.jboss.as.arquillian] (MSC service thread 1-3) Arquillian deployment detected: ArquillianConfig[service=jboss.arquillian.config."test.war",unit=test.war,tests=[org.jboss.as.quickstarts.kitchensink.test.MemberRegistrationTest]]

            20:35:08,857 INFO  [org.jboss.jpa] (MSC service thread 1-2) starting Persistence Unit Service 'test.war#primary'

            20:35:08,943 INFO  [org.hibernate.annotations.common.Version] (MSC service thread 1-2) HCANN000001: Hibernate Commons Annotations {4.0.0.CR2}

            20:35:08,946 INFO  [org.hibernate.Version] (MSC service thread 1-2) HHH00412:Hibernate Core {4.0.0.CR2}

            20:35:08,947 INFO  [org.hibernate.cfg.Environment] (MSC service thread 1-2) HHH00206:hibernate.properties not found

            20:35:08,948 INFO  [org.hibernate.cfg.Environment] (MSC service thread 1-2) HHH00021:Bytecode provider name : javassist

            20:35:08,962 INFO  [org.hibernate.ejb.Ejb3Configuration] (MSC service thread 1-2) HHH00204:Processing PersistenceUnitInfo [

                name: primary

                ...]

            20:35:09,106 INFO  [org.hibernate.service.jdbc.connections.internal.ConnectionProviderInitiator] (MSC service thread 1-2) HHH00130:Instantiating explicit connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider

            20:35:09,252 INFO  [org.hibernate.dialect.Dialect] (MSC service thread 1-2) HHH00400:Using dialect: org.hibernate.dialect.H2Dialect

            20:35:09,255 WARN  [org.hibernate.dialect.H2Dialect] (MSC service thread 1-2) HHH00431:Unable to determine H2 database version, certain features may not work

            20:35:09,257 INFO  [org.hibernate.engine.jdbc.internal.LobCreatorBuilder] (MSC service thread 1-2) HHH00423:Disabling contextual LOB creation as JDBC driver reported JDBC version [3] less than 4

            20:35:09,261 INFO  [org.hibernate.engine.transaction.internal.TransactionFactoryInitiator] (MSC service thread 1-2) HHH00268:Transaction strategy: org.hibernate.engine.transaction.internal.jta.CMTTransactionFactory

            20:35:09,264 INFO  [org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory] (MSC service thread 1-2) HHH00397:Using ASTQueryTranslatorFactory

            20:35:09,287 INFO  [org.hibernate.validator.util.Version] (MSC service thread 1-2) Hibernate Validator 4.2.0.Final

            20:35:09,506 INFO  [org.hibernate.tool.hbm2ddl.SchemaExport] (MSC service thread 1-2) HHH00227:Running hbm2ddl schema export

            20:35:09,514 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (MSC service thread 1-2) HHH00389:Unsuccessful: drop sequence hibernate_sequence

            20:35:09,514 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (MSC service thread 1-2) Sequence "HIBERNATE_SEQUENCE" not found; SQL statement:

            drop sequence hibernate_sequence [90036-145]

            20:35:09,523 INFO  [org.hibernate.tool.hbm2ddl.SchemaExport] (MSC service thread 1-2) HHH00230:Schema export complete

            20:35:09,572 INFO  [org.jboss.weld] (MSC service thread 1-2) Starting weld service

            20:35:09,868 INFO  [org.jboss.web] (MSC service thread 1-1) registering web context: /test

            20:35:09,881 INFO  [org.jboss.as.server.controller] (pool-1-thread-1) Deployed "test.war"

            20:35:10,010 INFO  [org.jboss.as.server.controller] (pool-1-thread-1) Undeployed "test.war"

            20:35:10,023 INFO  [org.jboss.weld] (MSC service thread 1-2) Stopping weld service

            20:35:10,026 INFO  [org.jboss.jpa] (MSC service thread 1-2) stopping Persistence Unit Service 'test.war#primary'

            20:35:10,027 INFO  [org.hibernate.tool.hbm2ddl.SchemaExport] (MSC service thread 1-2) HHH00227:Running hbm2ddl schema export

            20:35:10,031 INFO  [org.hibernate.tool.hbm2ddl.SchemaExport] (MSC service thread 1-2) HHH00230:Schema export complete

            20:35:10,045 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) Stopped deployment test.war in 84ms

            Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 11.374 sec <<< FAILURE!

             

            Results :

             

            Tests in error:

              org.jboss.as.quickstarts.kitchensink.test.MemberRegistrationTest: java.io.EOFException: Read past end of file

             

            Tests run: 1, Failures: 0, Errors: 1, Skipped: 0

             

            [INFO] ------------------------------------------------------------------------

            [INFO] BUILD FAILURE

            [INFO] ------------------------------------------------------------------------

            [INFO] Total time: 15.462s

            [INFO] Finished at: Mon Oct 17 20:35:10 EDT 2011

            [INFO] Final Memory: 9M/81M

            [INFO] ------------------------------------------------------------------------

            [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.7.2:test (default-test) on project jboss-as-kitchensink: There are test failures.

            [ERROR]

            [ERROR] Please refer to /Users/miklandj/Training/jboss-as-quickstarts-7.0.0.Final/kitchensink/target/surefire-reports for the individual test results.

            [ERROR] -> [Help 1]

            [ERROR]

            [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.

            [ERROR] Re-run Maven using the -X switch to enable full debug logging.

            [ERROR]

            [ERROR] For more information about the errors and possible solutions, please read the following articles:

            [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

            • 3. Re: Cannot deploy arquillian service - Read past end of file
              mengelpa

              Hi

              I have the same problem. The strange thing is that it works with Jenkins - but not locally on my machine.

              I deleted my local repo (org.jboss) - but still the same problem.

               

              regards Pascal

              • 4. Re: Cannot deploy arquillian service - Read past end of file
                dmiklancic

                Pascal,

                 

                I never found the cause of the problem, but did manage to eliminate it by rebuilding my entire repository and deleting/re-installing JBoss AS 7.  (I am not sure re-installing JBoss 7 is necessary, but I decided to just "start from scratch" after spending hours trying to debug the problem.) 

                 

                BTW, I also tried just deleting just org.jboss from the repository, thinking the problem was with an arquillian artifact, but the problem remained. Dropping and re-installing the entire repository eliminated the problem.

                 

                In retrospect, I believe I either created or downloaded a corrupt artifact somewhere along the line as the problem appeared not only for my projects, but for the JBoss kitchensink project and others as well. 

                 

                Dan

                1 of 1 people found this helpful
                • 5. Re: Cannot deploy arquillian service - Read past end of file
                  mengelpa

                  hi Daniel

                   

                  thanks for the response.

                   

                  I tried your solution - but still the same problem.

                  If I get a solution I will post it.

                   

                  regards Pascal

                  • 6. Re: Cannot deploy arquillian service - Read past end of file
                    bwilly

                    I, too, have the same problem. I am using the same tests that once worked in JBoss AS 6 and Arquillian 1.0.0.Alpha5, but bumpted into the following error after upgrading to JBoss AS 7.0.2 and Arquillian 1.0.0.CR5:

                     

                    java.io.EOFException: Read past end of file

                              at org.jboss.as.arquillian.container.ManagementClient.extractSubSystemURI(ManagementClient.java:146)

                     

                    Now I am stuck.

                    Thanks for any help,

                    Brian

                     

                     

                    BTW -- I am running on Mac OS X Lion. This might be significant seeing as it is EOF related.

                     

                    Also, using 14:55:07,406 INFO  [xnio.nio] XNIO NIO Implementation Version 3.0.0.Beta2

                    • 7. Re: Cannot deploy arquillian service - Read past end of file
                      bwilly

                      Update: I switched to a newer version of xnio and now I get further, but encounter a new error.

                       

                                     <dependency>

                                          <groupId>org.jboss.xnio</groupId>

                                          <artifactId>xnio-api</artifactId>

                                          <version>3.0.0.Beta7</version>

                                      </dependency>

                       

                      Now the errror I get is:

                       

                      ERROR: Cannot deploy arquillian service

                      org.jboss.arquillian.container.spi.client.container.DeploymentException: Could not deploy to container

                                at org.jboss.as.arquillian.container.ArchiveDeployer.deploy(ArchiveDeployer.java:58)

                       

                      ...

                       

                      Caused by: java.lang.IllegalStateException: Pool is shutting down

                                at org.xnio.ChannelThreadPools$SimpleThreadPool.addToPool(ChannelThreadPools.java:226)

                                at org.xnio.ChannelThreadPools.addReadThreadsToPool(ChannelThreadPools.java:134)

                                at org.xnio.ChannelThreadPools.addReadThreadsToPool(ChannelThreadPools.java:103)

                                at org.jboss.remoting3.remote.RemoteConnectionProvider.<init>(RemoteConnectionProvider.java:93)

                                at org.jboss.remoting3.remote.RemoteConnectionProviderFactory.createInstance(RemoteConnectionProviderFactory.java:52)

                                at org.jboss.remoting3.EndpointImpl.addConnectionProvider(EndpointImpl.java:279)

                                at org.jboss.as.protocol.ProtocolChannelClient.create(ProtocolChannelClient.java:99)

                                at org.jboss.as.protocol.mgmt.ManagementClientChannelStrategy$Establishing.getChannel(ManagementClientChannelStrategy.java:120)

                      • 8. Re: Cannot deploy arquillian service - Read past end of file
                        oranheim

                        I hit on this error yesterday evening after upgrading to Seam 3.1.0.Beta5.

                         

                        This is how I solved my problem with AS 7.0.2, Arquilllian matrix (arq: 1.0.0.CR5, sw-desc:1.1.0-beta-1, sw:1.0.0-beta-5):

                         

                        1. Clean local maven repo ./.m2/repository/org/jboss
                        2. Remove: standalone/configuration/standalone_xml_history/
                        3. Remove: standalone/data/*
                        4. Remove: standalone/log/*
                        5. Remove: standalone/tmp/*
                        6. Copy in a fresh (or latest working copy) of: standalone.xml (or -preview.xml)
                          • Make sure your config file doesn't have a <deployments /> element in bottom.
                        7. Rebuild and re-run arquillian test

                         

                        Hope it works for you too!

                        • 9. Re: Cannot deploy arquillian service - Read past end of file
                          k11v22

                          Hi Ove,

                           

                          I started by deleting the config history, data, and log dirs but no change. However, once I replaced standalone-preview.xml with a fresh copy, the issue was resolved. I didn't have to delete jboss artifacts from the repo.

                           

                          Stupidly enough, I didn't keep the original (corrupted) copy of standalone-preview.xml. Had I done so, I could have diffed it with the replacement and given more specific info here. I'll be sure to do that next time I see this problem.

                           

                           

                          Thanks,

                           

                          Kayvan

                          • 10. Re: Cannot deploy arquillian service - Read past end of file
                            k11v22

                            Ok I restored the file and I can see what's happening.

                             

                            Each time I run a test, the properties (in bold type) of the osgi subsystem inside standalone-preview.xml are pre-padded with 20 blank characters.

                            By the time they reach 8177 characters to the right, Arquillian is unable to deploy the test.

                             

                            <subsystem xmlns="urn:jboss:domain:osgi:1.0" activation="lazy">

                            ....

                                           <property name="org.jboss.osgi.system.modules">
                                                org.apache.commons.logging,
                                                org.apache.log4j,
                                                org.jboss.as.osgi,
                                                org.slf4j,
                                            </property>

                            ....

                                            <property name="org.osgi.framework.system.packages.extra">
                                                org.apache.commons.logging;version=1.1.1,
                                                org.apache.log4j;version=1.2,
                                                org.jboss.as.osgi.service;version=7.0,
                                                org.jboss.osgi.deployment.interceptor;version=1.0,
                                                org.jboss.osgi.spi.capability;version=1.0,
                                                org.jboss.osgi.spi.util;version=1.0,
                                                org.jboss.osgi.testing;version=1.0,
                                                org.jboss.osgi.vfs;version=1.0,
                                                org.slf4j;version=1.5.10,
                                            </property>

                            ....

                            </subsystem>

                            • 11. Re: Cannot deploy arquillian service - Read past end of file
                              oranheim

                              Hi Kayvan,

                               

                              Excellent! Can you file a bug report on this one?

                               

                              https://issues.jboss.org/browse/ARQ

                               

                              Cheers,

                              Ove

                              • 12. Re: Cannot deploy arquillian service - Read past end of file
                                k11v22

                                As workaround, I found that if I put all the properties on the same line, they no longer shift to the right:

                                 

                                <property name="org.jboss.osgi.system.modules">
                                                   org.apache.commons.logging,org.apache.log4j,org.jboss.as.osgi,org.slf4j,
                                                </property>
                                                <property name="org.osgi.framework.startlevel.beginning">
                                                    1
                                                </property>
                                                <property name="org.osgi.framework.system.packages.extra">
                                                    org.apache.commons.logging;version=1.1.1,org.apache.log4j;version=1.2,org.jboss.as.osgi.service;version=7.0,org.jboss.osgi.deployment.interceptor;version=1.0,org.jboss.osgi.spi.capability;version=1.0,org.jboss.osgi.spi.util;version=1.0,org.jboss.osgi.testing;version=1.0,org.jboss.osgi.vfs;version=1.0,org.slf4j;version=1.5.10,
                                                </property>

                                • 13. Re: Cannot deploy arquillian service - Read past end of file
                                  k11v22

                                  Hi Ove,

                                   

                                  This is an issue with JBoss AS so I've made a report on that project:

                                   

                                  https://issues.jboss.org/browse/AS7-2791

                                   

                                   

                                  Cheers,

                                   

                                  Kayvan

                                   

                                  • 14. Re: Cannot deploy arquillian service - Read past end of file
                                    mengelpa

                                    Hi Ove and Kayvan

                                     

                                    Thanks a lot!

                                     

                                    A combination of your suggestions helped finally.

                                     

                                    regards Pascal

                                    1 2 Previous Next