Hi ,

I hve build the ear file using maven 2.0.9 . Ear file has the following strusture ..


each module has its own .pom file as well ....
and ear file contains application.xml in meta inf ... build by maven only ....
contents of application file :--- <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE application PUBLIC
"-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN"

when i deplyed the generated ear file on jboss 4.2.3 GA ... i got the following exception

JBOSS DeploymentException : Not able to find module file : .war in a .ear file

I tried to put jboss-app.xml in ear and jboss-web.xml in web module ..... but stilll no use ....

contrents of jboss-app.xml ----

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jboss-app PUBLIC
"-//JBoss//DTD J2EE Application 1.4//EN"

contents of jboss-web.xml ....



<attribute name="Java2ClassLoadingCompliance">true</attribute>
<attribute name="UseJBossWebLoader">true</attribute>


Pleas suggest me how to proceed ......