[jboss-as7-dev] ROOT.war context-root

Ales Justin ales.justin at gmail.com
Tue Nov 13 19:06:13 EST 2012


When running some CapeDwarf tests, where I need to deploy ROOT.war,
I ran into this error:

---

Caused by: java.lang.IllegalStateException: Error launching request at http://192.168.1.104:8080/ROOT/ArquillianServletRunner?outputMode=serializedObject&className=org.jboss.test.capedwarf.testsuite.mapreduce.test.MapReduceTestCase&methodName=testCountJob. No result returned

---

Looking at how urls get created in ARQ for AS7 servlet protocol, this is the line that is invalid:

https://github.com/jbossas/jboss-as/blob/master/arquillian/common/src/main/java/org/jboss/as/arquillian/container/ManagementClient.java#L272

But the question now is, should this ManagementClient understand /ROOT as /,
or it should AS' server side return right "context-root" for ROOT.war.

Imo, it should be the 2nd, as ROOT.war is impl detail of server, not client.

-Ales

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-as7-dev/attachments/20121114/be71bf84/attachment.html 


More information about the jboss-as7-dev mailing list