WAR files are web archives that contain all the resources necessary for a web application to be executed within an application server like Weblogic. Use of the WAR file makes deployment of web applications fairly simple since there is only one file to placed in and described to the application server.
To deploy a WAR file
- Copy the file from the development location. Often Doug will put finished war files in a directory like this:
/home/ptagdev/ptagis3/source/WebDev/Apps/CEW_TableMaintenance/sandbox/trunk/PROD
By convention, we store our production war files here:bay:/usr/local/pitweb/src
- Tell Weblogic to deploy the war file through the web admin console http://bay:7001/console/login/LoginForm.jsp (mydomain2 > Deployments > Web Application Modules > Deploy a new web application module)
- Tell it to deploy to all servers in the cluster
- Tell it that you will make the war file available to each machine in the cluster by virtue of the shared filesystem.
- Verify that the application works by browsing to http://www.ptagis.org/{appname}
No comments:
Post a Comment