I'm migrating from JBoss 6 and Arquillian Alpha5 to JBoss 7 and Arquillian 1.0.0.CR1. So far I managed to compile my sources, and the deployment is taking place, i.e. the ear arrives inside JBoss 7.
However, for Alpha 5 I needed an application.xml which declares test.war. This causes the following stacktrace inside JBoss. Any hint is appreciated.
06:49:33,595 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-3) MSC00001: Failed to start service jboss.deployment.unit."test.ear".STRUCTURE: org.jboss.msc.service.StartException in service jboss.deployment.unit."test.ear".STRUCTURE: Failed to process phase STRUCTURE of deployment "test.ear"
What does your @Deployment look like?
Or do you also mean the method body?
Why do you need application.xml for Jboss6? initialize-in-order ?
The reason is, test.war comes from the ServletProtocol, with AS7 your default not using that protocol, your using a jmx based one that is communicating with a deployed Service running inside AS.
I'm facing the same probleme. I cannot deploy my ear in embedded glassfish. here is my code of deployment.
Can't tell you much more then that without seeing the code..