[arquillian-issues] [JBoss JIRA] Created: (ARQ-305) WebArchive webArchive = ShrinkWrap.create(WebArchive.class, "test.war") -> Any name other than "test.war" yields: Kept on getting 404s.

Brian Leathem (JIRA) jira-events at lists.jboss.org
Wed Sep 29 17:07:39 EDT 2010


WebArchive webArchive = ShrinkWrap.create(WebArchive.class, "test.war") -> Any name other than "test.war" yields: Kept on getting 404s.
---------------------------------------------------------------------------------------------------------------------------------------

                 Key: ARQ-305
                 URL: https://jira.jboss.org/browse/ARQ-305
             Project: Arquillian
          Issue Type: Bug
    Affects Versions: 1.0.0.Alpha4
         Environment: Fedora 13, Java(TM) SE Runtime Environment (build 1.6.0_20-b02), Apache Maven 3.0-RC1, Glassfish Embedded.

            Reporter: Brian Leathem


I create an archive using Shrinkwrap in a @Deployment annotated method:
WebArchive webArchive = ShrinkWrap.create(WebArchive.class, "test.war");

And create some trivial @Test methods.  If I change the name of the archive to anything *other* than "test.war", the tests fail.  The sure-fire logs state: 
Caused by: java.lang.IllegalStateException: Error launching test at http://localhost:9090/test/ArquillianServletRunner?outputMode=serializedObject&className=ca.triumf.mis.qms.workrequest.dao.XaNameFacadeTest&methodName=testWar. Kept on getting 404s.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the arquillian-issues mailing list