APAR status
Closed as program error.
Error description
When uninstalling an enterprise application the temporary JSP
files located in <WAS_HOME>/temp directory are still left there.
If the client installs a new ear file where the JSP will need
to be compiled, but the jsp file was not directly updated, this
fails. This fix will clean up the temporary JSP files when the
ear file uninstalled.
Local fix Problem summary
****************************************************************
* USERS AFFECTED: WebSphere Application Server v5.x users *
****************************************************************
* PROBLEM DESCRIPTION: During an application uninstall, the *
* compiled JSP files in WAS_HOME/temp *
* directory are not removed. *
* Also, application failed to be expanded *
* into installedApps directory when *
* serverindex.xml is corrupted *
****************************************************************
* RECOMMENDATION: *
****************************************************************
This APAR allows the compiled JSP files in WAS_HOME/temp
directory be deleted when the application is deleted/updated.
One of the following system properties should be set for the
node agent of the node where the application will be
uninstalled/updated:
(To set the properties, log on to the admin console, go to
System Administration --> Node Agent --> {NodeAgent Server}
--> Process Definition --> Java Virtual Machine -->
Custom Properties, and create a new custom properity.)
1) com.ibm.websphere.deletejspclasses=true
This deletes jsp classes for ALL apps after it is deleted or
updated
2) com.ibm.websphere.deletejspclasses.delete=true
This deletes jsp classes for ALL apps after they are deleted
but not after they are updated
3) com.ibm.websphere.deletejspclasses.update=true
This deletes jsp classes for ALL apps after they are updated
but not after they are deleted
4) com.ibm.websphere.deletejspclasses.{appname}=true
This deletes jsp classes for a specific app with name={appname}
after it is deleted or updated
5) com.ibm.websphere.deletejspclasses.delete.{appname}=true
This deletes jsp classes for app with name=appname after it is
deleted but not after it is updated
6) com.ibm.websphere.deletejspclasses.update.{appname}=true
This deletes jsp classes for app with name={appname} after it
is updated but not after it is deleted.
.
When serverindex.xml file is corrupted, ie. containing
references of applications that no longer exist in the
repository, application expanding logic will run into a
NullPointerException and fail to proceed to expand other
applications
Problem conclusion
Updated the app management code to allow removing of compiled
JSP classes from WAS_HOME/temp directory. A system property
needs to be set for the node agent to enable this option.
For more details on how to enable this, see Problem Summary
section of this APAR.
.
Modified the application expanding code to handle the
NullPointerException, log the error and continue.
Temporary fix Comments
APAR information |
APAR number |
PQ87615 |
Reported component name |
WAS BASE 5.0 |
Reported component ID |
5630A3600 |
Reported release |
00S |
Status |
CLOSED PER |
PE |
NoPE |
HIPER |
NoHIPER |
Special Attention |
NoSpecatt |
Submitted date |
2004-04-15 |
Closed date |
2004-05-17 |
Last modified date |
2004-07-26 |
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
PQ91999
Modules/Macros
Publications Referenced
Applicable component levels |
R00A PSY |
UP |
R00H PSY |
UP |
R00I PSY |
UP |
R00P PSY |
UP |
R00S PSY |
UP |
R00W PSY |
UP |
R10A PSY |
UP |
R10H PSY |
UP |
R10I PSY |
UP |
R10P PSY |
UP |
R10S PSY |
UP |
R10W PSY |
UP |
|