RunningObjectRemoveException occurs during EnterpriseApp removal using wscp if the application CurrentState shows Stopped and the DesiredState shows Running
 Technote (FAQ)
 
Problem
WSCP0144E: /EnterpriseApp:ApplicationName/ cannot be removed because it is running
exception was com.ibm.ejs.sm.exception.RunningObjectRemoveException.
 
Cause
Working as designed.
 
Solution
During an explicit start or stop of an application, the application first sets its own desired state and startTime, then continues starting the modules of which it is comprised.
When an Application Server or ServerGroup start occurs, the application starts the modules deployed on it, then updates the desired state and starttime of these modules; the desired state of the application as a whole is not updated.

When you issue an EnterpriseApp show on wscp, the updated information displays as part of an explicit start/stop of the application.

You must issue an explicit stop of an application before removing it to avoid the SCP0144E - RunningObjectException .

The results returned by wscp are correct and are working as designed.
 
 
 


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > Administrative Console (all non-scripting)
Operating system(s): HP-UX
Software version: 4.0.7
Software edition:
Reference #: 1171459
IBM Group: Software Group
Modified date: Jun 10, 2004