[jboss-user] [Beginners Corner] - Re: where to deploy the web-application

weston.price@jboss.com do-not-reply at jboss.com
Tue Nov 21 13:56:36 EST 2006


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. 



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987679#3987679

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987679



More information about the jboss-user mailing list