Hi all.
I have a problem with deploy my application to the jboss 7.1.3. When i deploy application, i get the error in the end of the log:
JBAS014775: New missing/unsatisfied dependencies:
service jboss.deployment.subunit."application.ear"."web1.war".component."org.springframework.web.context.request.async.StandardServletAsyncWebRequest".START (missing) dependents: [service jboss.deployment.subunit."application.ear"."web2.war".INSTALL]
What does this error mean?
Web1.war and web2.war is two independent modules with a shared spring context. Spring version is 3.2. The web1.war and the web2.war use beans from foo.jar.
Foo.jar and web1.war deployed correctly. When i remove web2.war from application.xml and jboss-deployment-structure.xml, the error is disappears.
If i change the deployment order, first web2.war, second web1.war, the error will be:
JBAS014775: New missing/unsatisfied dependencies:
service jboss.deployment.subunit."application.ear"."web2.war".component."org.springframework.web.context.request.async.StandardServletAsyncWebRequest".START (missing) dependents: [service jboss.deployment.subunit."application.ear"."web1.war".INSTALL]
application.ear
- foo.jar
- web1.war
- web2.war
application.xml
<application-name>name</application-name>
<initialize-in-order>true</initialize-in-order>
<module>
<ejb>foo.jar</ejb>
</module>
<module>
<web>
<web-uri>web1.war</web-uri>
<context-root>/web1</context-root>
</web>
</module>
<module>
<web>
<web-uri>web2.war</web-uri>
<context-root>/web2</context-root>
</web>
</module>
jboss-deployment-structure.xml
.
.
.
<sub-deployment name="foo.jar" />
<sub-deployment name="web1.war" />
<sub-deployment name="web2.war" />