11 Replies Latest reply on Aug 23, 2011 1:12 PM by Aslak Knutsen

    Testing on JBoss AS 4.2

    Aliaksei Lahachou Newbie

      Hello World!

       

      I'm trying to run Arquillian test in JBoss AS 4.2.3.GA (managed). The server starts and package is deployed, however I receive the following exception from Arquillian:

       

      java.lang.IllegalArgumentException: ArquillianServletRunner not found. Could not determine ContextRoot from ProtocolMetadata, please contact DeployableContainer developer.

          at org.jboss.arquillian.protocol.servlet.ServletUtil.determineBaseURI(ServletUtil.java:68)

          at org.jboss.arquillian.protocol.servlet.BaseServletProtocol.getExecutor(BaseServletProtocol.java:58)

          at org.jboss.arquillian.protocol.servlet.BaseServletProtocol.getExecutor(BaseServletProtocol.java:32)

          at org.jboss.arquillian.container.test.impl.execution.RemoteTestExecuter.getContainerMethodExecutor(RemoteTestExecuter.java:136)

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

       

      (Full stack trace here: http://pastebin.com/c5wejQQv)

       

      What am I doing wrong? Is there a solution or workaround for this problem?

       

      I'm using Arquillian 1.0.0.CR1, ShrinkWrap 1.0.0-beta-2.