JBoss 4.3 eap can't find war in an ear

Posted by Steveo on Stack Overflow See other posts from Stack Overflow or by Steveo
Published on 2009-07-29T22:38:07Z Indexed on 2010/04/09 0:03 UTC
Read the original article Hit count: 360

Filed under:
|
|

I'm trying to deploy an ear to JBoss. The application.xml has entries looking like:

<module  id="Core_JavaModule">
  <java>APP-INF/lib/core.jar</java>
</module>

<module id="Public_WebModule">
 <web>
  <web-uri>public.war</web-uri>
  <context-root>/</context-root>
 </web>
</module>

The core.jar is read in OK, but when it tries to read public.war, I get:

org.jboss.deployment.DeploymentException: Failed to find module file: public.war

I've confirmed that the war directory is there; it is an exploded war. Not a war file. Is JBoss looking for a war file? Or will it grok a war directory?

© Stack Overflow or respective owner

Related posts about jboss

Related posts about java