weblogic

Page 26

2

Deploying Web Applications

Redeploying a Web Application in Exploded Directory Format You can redeploy a Web Application deployed in exploded directory format when using auto-deployment by modifying a special file called REDEPLOY, or you can use the Administration Console, or you can cause a partial redeploy by copying a new version of a class file over an old in the WEB-INF/classes directory.

Touching the REDEPLOY File To re-deploy a Web Application by modifying the REDEPLOY file: 1. Create an empty file called REDEPLOY and place it in the WEB-INF directory of your Web Application. (You may have to create this directory.) 2. Modify the REDEPLOY file by opening it, modifying the contents (adding a space character is the easiest way to do this), and then saving the file. Alternately, on UNIX machines, you can use the touch command on the REDEPLOY file. For example: touch user_domains/mydomain/applications/DefaultWebApp/WEB-INF/REDEPL OY

As soon as the REDEPLOY file is modified, the Web Application is redeployed.

Redeploying with the Administration Console To redeploy a Web Application using the Administration Console: 1. Expand the Deployments node in the left pane. 2. Select the Web Application node. 3. Select the Web Application you want to redeploy. 4. Deselect the Deployed box in the right-hand pane. 5. Click Apply. 6. Check the Deployed box in the right-hand pane. 7. Click Apply.

2-24

Assembling and Configuring Web Applications


Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.