3 Replies Latest reply on Jan 27, 2006 3:29 AM by poyge394

    Jboss Deployment

    vvab7

      Hi,
      when I try to deploy a web-app, included in a ear, I read, in the jboss prompt console, this warning:

      [org.jboss.deployment.MainDeployer] Found non-jar deployer for: XXXXX.jar

      What is the possibile cause of the problem?

      Note: I am using Jboss 4.0.3

        • 1. Re: Jboss Deployment
          payet.b

          It's probably a problem of packaging of your ear.
          Inside META-INF/application.xml of your ear you should have :

          <?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>MyEAR</display-name>
          Application description


          <web-uri>mywebapp.war</web-uri>
          <context-root>MyContextRoot</context-root>




          • 2. Re: Jboss Deployment
            vvab7

            Thx for reply!!

            But I have ther following in my application.xml and it looks fine

            <?xml version="1.0" encoding="utf-8"?>
            <!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN" "http://java.sun.com/j2ee/dtds/application_1_3.dtd">

            <display-name>DID</display-name>
            DID-OD

            data-management-ejb.jar


            business-process-ejb.jar



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


            • 3. Re: Jboss Deployment
              poyge394


              <application>
               <display-name>My Application</display-name>
              
               <module>
               <web>
               <web-uri>web-app.war</web-uri>
               <context-root>/myapp</context-root>
               </web>
               </module>
              
               <module>
               <ejb>ejb-app.jar</ejb>
               </module>
               </application>
              
              
              / Poyan