Results 1 to 2 of 2
  1. #1
    shikha3g is offline Member
    Join Date
    Feb 2010
    Rep Power

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

    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 ......

  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Blog Entries
    Rep Power

Similar Threads

  1. Replies: 0
    Last Post: 02-05-2010, 04:49 PM
  2. how to find class name when have only jar file?
    By matvey in forum Java Applets
    Replies: 9
    Last Post: 10-13-2009, 02:49 PM
  3. find file with * on the path
    By itaipee in forum New To Java
    Replies: 7
    Last Post: 07-08-2009, 09:05 AM
  4. Read/Find Substring/Write to new file
    By hiklior in forum New To Java
    Replies: 6
    Last Post: 04-23-2008, 03:47 AM
  5. How to find file created date.....
    By roshithmca in forum Advanced Java
    Replies: 1
    Last Post: 02-18-2008, 10:48 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts