7 Replies Latest reply on Apr 9, 2002 10:52 AM by mikew

    nothing happens when .ear file is deployed

    mikew

      Hi All,

      My simple J2EE application is made up of 2 components...one containing a couple of EJBs and one containing a Web application (containing a couple of servlets plus html pages and WEB-INF directory).

      They have been packaged as a JAR file and WAR file respectively. They can both be deployed in jboss/deploy with seemingly no problem (in fact I can view the HTML pages in the WAR file no problem)

      However, when I attempt to package the above as an EAR file it has the following structure:

      0 Mon Apr 08 16:38:16 BST 2002 META-INF/
      68 Mon Apr 08 16:38:16 BST 2002 META-INF/MANIFEST.MF
      5397 Mon Apr 08 16:22:38 BST 2002 NameAge.jar
      5781 Mon Apr 08 16:23:42 BST 2002 NameAge.war
      368 Fri Apr 05 16:30:20 BST 2002 META-INF/application.xml

      which seems OK to me(?)

      BUT, when I deploy this EAR file I get an HTTP500 error when attempting to access one of the HTML pages as before.

      The only thing I can think is wrong is with META-INF/application.xml.........it's contents are:

      <?xml version="1.0" encoding="UTF-8"?>

      <!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN" "http://java.sun.com/dtd/application_1_3.dtd">



      <web-uri>NameAge.war</web-uri>



      NameAge.jar




      Any ideas?

      Many thanks,

      Mike