IBM Support

Updating JSP files in an application results in the JSP being not deleted and not recompiled

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
  1. Open WebSphere Application Server administrative console

  2. Navigate [Application Server] > [Server] > [Server Types] > [WebSphere application servers] > [Server Name]

  3. Under [Server Infrastructure] section, navigate to [Java and Process Management] > [Process Definition] > [Java Virtual Machine] > [Custom Properties]

  4. Click "New" button set following property

    Name : com.ibm.websphere.deletejspclasses
    Value : true

  5. Save and restart the server

[{"Product":{"code":"SSRTLW","label":"Rational Application Developer for WebSphere Software"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Server Tooling","Platform":[{"code":"PF033","label":"Windows"}],"Version":"7.0;7.0.0.1;7.0.0.10;7.0.0.2;7.0.0.3;7.0.0.4;7.0.0.5;7.0.0.6;7.0.0.7;7.0.0.8;7.0.0.9;7.5;7.5.1;7.5.2;7.5.3;7.5.4;7.5.5;7.5.5.1;7.5.5.2;7.5.5.3;8.0;8.0.1;8.0.2;8.0.3","Edition":"","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
16 June 2018

UID

swg21502076