Troubleshooting
Problem
Attempts to update JSP files in application results in the JSP being not deleted and not recompiled when using IBM Rational Application Developer for WebSphere Software, even if the custom property com.ibm.websphere.deletejspclasses is set to true in IBM WebShere Application Server.
Symptom
In case setting the custom property com.ibm.websphere.deletejspclasses to true in WebSphere Application Server, if JSP has the static include %@include file="xxx" %, when the included child JSP has an update, then the old class file is deleted and recompiled. This is in accordance with WebSphere Application Server specification.
But if deploying the application from Rational Application Developer for WebSphere Software, the deleting and recompiling is not happening even if the property is set.
How to set custom property com.ibm.websphere.deletejspclasses
- Open WebSphere Application Server administrative console
- Navigate [Application Server] > [Server] > [Server Types] > [WebSphere application servers] > [Server Name]
- Under [Server Infrastructure] section, navigate to [Java and Process Management] > [Process Definition] > [Java Virtual Machine] > [Custom Properties]
- Click "New" button set following property
Name : com.ibm.websphere.deletejspclasses
Value : true
- Save and restart the server
Log InLog in to view more of this document
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21502076