<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">OK, adding jboss-web.xml with<div><br></div><div><div>&lt;jboss-web&gt;</div><div>&nbsp; &nbsp; &lt;context-root&gt;/&lt;/context-root&gt;</div><div>&lt;/jboss-web&gt;</div></div><div><br></div><div>fixes the problem.</div><div><br></div><div>But imo, this should be done by default by AS for ROOT.war.</div><div><br></div><div>-Ales</div><div><br><div><div>On Nov 14, 2012, at 1:06 AM, Ales Justin &lt;<a href="mailto:ales.justin@gmail.com">ales.justin@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="Content-Type" content="text/html charset=us-ascii"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">When running some CapeDwarf tests, where I need to deploy ROOT.war,<div>I ran into this error:</div><div><br></div><div>---</div><div><br></div><div><span style="color: rgb(20, 20, 20); font-family: 'Lucida Grande'; line-height: 15px; ">Caused by: java.lang.IllegalStateException: Error launching request at&nbsp;</span><a href="http://192.168.1.104:8080/ROOT/ArquillianServletRunner?outputMode=serializedObject&amp;className=org.jboss.test.capedwarf.testsuite.mapreduce.test.MapReduceTestCase&amp;methodName=testCountJob" title="http://192.168.1.104:8080/ROOT/ArquillianServletRunner?outputMode=serializedObject&amp;className=org.jboss.test.capedwarf.testsuite.mapreduce.test.MapReduceTestCase&amp;methodName=testCountJob" style="font-family: 'Lucida Grande'; line-height: 15px; word-wrap: break-word; text-rendering: optimizelegibility; color: rgb(0, 51, 204); ">http://192.168.1.104:8080/ROOT/ArquillianServletRunner?outputMode=serializedObject&amp;className=org.jboss.test.capedwarf.testsuite.mapreduce.test.MapReduceTestCase&amp;methodName=testCountJob</a><span style="color: rgb(20, 20, 20); font-family: 'Lucida Grande'; line-height: 15px; ">. No result returned</span></div><div><span style="color: rgb(20, 20, 20); font-family: 'Lucida Grande'; line-height: 15px; "><br></span></div><div><span style="color: rgb(20, 20, 20); font-family: 'Lucida Grande'; line-height: 15px; ">---</span></div><div><span style="color: rgb(20, 20, 20); font-family: 'Lucida Grande'; line-height: 15px; "><br></span></div><div>Looking at how urls get created in ARQ for AS7 servlet protocol, this is the line that is invalid:</div><div><br></div><div><a href="https://github.com/jbossas/jboss-as/blob/master/arquillian/common/src/main/java/org/jboss/as/arquillian/container/ManagementClient.java#L272">https://github.com/jbossas/jboss-as/blob/master/arquillian/common/src/main/java/org/jboss/as/arquillian/container/ManagementClient.java#L272</a></div><div><br></div><div>But the question now is, should this ManagementClient understand /ROOT as /,</div><div>or it should AS' server side return right "context-root" for ROOT.war.</div><div><br></div><div>Imo, it should be the 2nd, as ROOT.war is impl detail of server, not client.</div><div><br></div><div>-Ales</div><div><br></div></div></blockquote></div><br></div></body></html>