[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Help in understanding deployment of war's

jaikiran do-not-reply at jboss.com
Mon Mar 2 04:13:35 EST 2009


Any deployable applications (ex: .war files) that are in the deploy folder of JBoss, will be picked up by the server and deployed. In case of .war files, each war file represents an application and has its own "context". The "context" is used to access the application. In JBoss the context name for each war file by default is the name of the war file. So if your war is named file1.war then it's context by default is file1 (you can use the jboss-web.xml to give a different context name, but let's not get to that yet). Then you can access the application at http://localhost:8080/< contextName> (in this example: http://localhost:8080/file1).

So as Peter said, when you create a copy of file1.war and let the file2.war remain in the deploy folder, the server will deploy the file2.war at the context "file2".
 

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

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



More information about the jboss-user mailing list