1 Reply Latest reply on Nov 21, 2006 1:56 PM by weston.price

    where to deploy the web-application

    gulera

      Hello,

      I have a few questions. Where do I have to deploy the.war- file of my web-aplication? In the folder jbossweb-tomcat55? Do I need the .war and .jar file of the web-application. From where does JBoss take the .war file?

      Thank you.

        • 1. Re: where to deploy the web-application
          weston.price

          Hi,
          I am assuming you are running Tomcat under JBoss. If this is the case you would simple place your WAR file in the JBOSS_HOME/server/<server-config>/deploy directory where <server-config> is the name of the server you are using. The default server started with run.sh is simple 'default'

          With WAR files, utility JAR files that are needed by your Web classes should go inside the WAR file the structure should look something like:

          WAR-NAME
          ---META-INF
          --WEB-INF
          --classes/
          --lib/
          --somejar.jar

          The WebApplication loader will automatically add classes from the WEB-INF/lib directory to the CLASSPATH.