开发者

Deploying an exploded WAR inside a compressed EAR == not possible?

开发者 https://www.devze.com 2023-01-19 15:14 出处:网络
At the moment I am trying to deploy an exploded war directory in a compressed ear file on a jboss-4.2.3.GA server. But JB开发者_开发问答oss complains that it can\'t find the web-app.war file (Failed t

At the moment I am trying to deploy an exploded war directory in a compressed ear file on a jboss-4.2.3.GA server. But JB开发者_开发问答oss complains that it can't find the web-app.war file (Failed to find module file: web-app.war). However if I deploy the same ear file exploded, too, the deployment works without any problems.

So my question is: Is it generally possible to deploy an exploded war inside a compressed ear?


I can deploy an exploded war inside a compressed ear on jboss-5.1.0.GA.

I suggest that you can check youear.ear/META-INF/application.xml.

My appliation.xml is like this:

<module>
  <web>
    <web-uri>myapp-war-1.0.0-SNAPSHOT.war</web-uri>
    <context-root>/myapp</context-root>
  </web>
</module>

and myapp-war-1.0.0-SNAPSHOT.war is an exploded war directory.

0

精彩评论

暂无评论...
验证码 换一张
取 消