1 Reply Latest reply on Nov 4, 2001 6:17 PM by schaefera

    Problem in deployment in JBoss

    yuttanak.


      Hi..All

      I have a problem about deployment in JBoss. When I have ejb-jar.xml and jboss.xml, how should I put them in what directory ?, because I use "Ant" and it showed the error that "Can't find build.xml". Do I have to write own "build.xml" ? Could you please tell me step by step, I'm very new with JBoss.

        • 1. Re: Problem in deployment in JBoss
          schaefera

          To deploy EJBs you have to put them into a JAR file where the deployment descriptors are in the META-INF
          directory. The JAR file can then be bundled with WAR files into an EAR file (Enterprise ARchive).

          Then the JAR/EAR file must be copied into the DEPLOY directory where it is deployed at runtime. By default the DEPLOY directory is in "/jboss/deploy".

          To build your application with ANT you have to write your own ANT build.xml file.

          Please check the JBoss online documentation about further informations.

          Have fun - Andy