Disabling an Enterprise Application from starting when WebSphere Application Server starts
 Technote (troubleshooting)
 
Problem(Abstract)
Is it possible to configure WebSphere® Application Server so that the enterprise applications on which it is installed do not start up when the Application Server is started? If so, how?
 
Resolving the problem
To disable the Enterprise Application from starting when an Application Server is started in WebSphere Application Server version 5.0 releases.

Note, you cannot disable a system application in version 6.0 (adminconsole, filetransfer, etc).

Follow these steps on the Administrative Console to accomplish this:

  1. Expand Application and choose Enterprise Applications.

  2. Select an Enterprise Application you do not want to start during startup.

  3. In the Additional Properties section choose Target Mapping.

  4. Select the Application Server you do not want to start during startup.

  5. De-select the Enabled box.

  6. Click OK, then save.

Here is an example using wsadmin to disable the sample application enterprise application from starting:

  • # ./wsadmin.sh -conntype NONE

  • wsadmin>set a [$AdminConfig getid /Deployment:sampleapp/] adminconsole(cells/ibmNetwork/applications/sampleapp.ear/deployments/sampleapp:deployment.xml#Deployment_1)

  • wsadmin>set b [$AdminConfig showAttribute $a deployedObject] (cells/ibmNetwork/applications/sampleapp.ear/deployments/sampleapp:deployment.xml#ApplicationDeployment_1)

  • wsadmin>set c [lindex [$AdminConfig showAttribute $b targetMappings] 0] (cells/ibmNetwork/applications/sampleapp.ear/deployments/sampleapp:deployment.xml#DeploymentTargetMapping_1)

  • wsadmin>$AdminConfig modify $c {{enable false}}

  • wsadmin>$AdminConfig save

If you have problems, call IBM support at 800-IBM-SERV.
 
 
Cross Reference information
Segment Product Component Platform Version Edition
Application Servers Runtimes for Java Technology Java SDK
 
 


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > Servlet Engine/Web Container
Operating system(s): Windows
Software version: 6.0
Software edition:
Reference #: 1140292
IBM Group: Software Group
Modified date: Sep 15, 2006