I'm trying to deploy a WebApp inside a SAR file and want to make the web app dependent on a service in the SAR file, so here's the directory sturcture of the SAR:
| META-INF/jboss-service.xml | com/test/TestService.class | TestWebApp.war/ | WEB-INF/web.xml | WEB-INF/jboss-web.xml | index.jsp jboss-service.xml | <?xml version="1.0" encoding="UTF-8"?> | <server> | <mbean | code="com.test.TestService" | name="com.test:service=TestService"> | </mbean> | </server> | jboss-web.xml | <?xml version='1.0' encoding='UTF-8' ?> | | <!DOCTYPE jboss-web | PUBLIC "-//JBoss//DTD Web Application 2.3V2//EN" | "http://www.jboss.org/j2ee/dtd/jboss-web_3_2.dtd"> | | <jboss-web> | <depends>com.test:service=TestService</depends> | </jboss-web> | | | This works fine for an exploded SAR but, when I jar it up, it doesn't deploy the webapp, only the service. Any hints? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991369#3991369 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991369 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
