5 Replies Latest reply on Jul 13, 2008 3:40 AM by maxandersen

    JBoss 3.2.2GA and application.xml

    rwilson9

      Anyone know why a web project will not publish from eclipse Europe or Ganymede with 3.2.2 GA? I always get the apllication.xml not found error.

        • 1. Re: JBoss 3.2.2GA and application.xml
          rob.stryker

          I believe (but am not certain) that jboss 4.x is not jee5 compliant for ears and requires an application.xml even though jee5 does not require one.

          You are probably using a 1.5 EAR project which does not create an application.xml for you.

          • 2. Re: JBoss 3.2.2GA and application.xml
            rwilson9

            I'm trying to create a richfaces 3.2.1 project in Europa. Unless I use Jboss 4.2, I can't select the 2.5 dynamic web module in facets. If don't use 2.5 web module, I can't use faces 1.2. And if I can't use faces 1.2, I can't use 3.2.1 richfaces. Has anybody gotten 3.2.1 to work with Jboss? if so, what were the project facets, java version, etc? I don't know how to solve the application.xml not found problem trying to upgrade to faces 1.2.

            • 3. Re: JBoss 3.2.2GA and application.xml
              rob.stryker

              To solve the no application.xml file problem, you must create an application.xml file which lists the modules that are being published in the ear.

              An example is below:



              <?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'>


              <display-name>Enterprise Application</display-name>

              EnterpriseBean.jar



              <web-uri>WebApp.war</web-uri>
              <context-root>web</context-root>




              I encourage you to look up jee EAR structures. You will most likely read that in jee 5.0 the application.xml is not needed, but jboss 4.2 is NOT jee5 certified and still requires the file.

              This is my current understanding of the situation.

              • 4. Re: JBoss 3.2.2GA and application.xml
                rob.stryker
                • 5. Re: JBoss 3.2.2GA and application.xml
                  maxandersen

                   

                  "rwilson9" wrote:
                  I'm trying to create a richfaces 3.2.1 project in Europa. Unless I use Jboss 4.2, I can't select the 2.5 dynamic web module in facets. If don't use 2.5 web module, I can't use faces 1.2. And if I can't use faces 1.2, I can't use 3.2.1 richfaces. Has anybody gotten 3.2.1 to work with Jboss? if so, what were the project facets, java version, etc? I don't know how to solve the application.xml not found problem trying to upgrade to faces 1.2.


                  You write "unless I use JBoss 4.2" indicating you are using something else which makes the faces 1.2 issue occur. What are you using instead ?