Troubleshooting
Problem
This technote explains that you might not be able to hot code replace a class into the debugged JVM from IBM Rational Application Developer for WebSphere Software. Specifically this happens when you hot code replace while stopped on a breakpoint in a constructor, action method or validation method within a JSF managed bean which is running IBM WebSphere Application Server or IBM WebSphere Portal Server.
Symptom
Reproduction steps:
- Create a new Dynamic Web Project
- Create a new web page
index.jsp - Within the view Palette, add from tab Enhanced Faces Commands the component Button - Command.
- Within the view Properties, select Code the action and add as dummy code
System.out.println("action");to the action method within the view Quick Edit. - Within the class
pagecode.Indexadd a constructor and set breakpoints in the action methoddoButton1Actionand the constructor. - Debug the web page
index.jspon the server - Change the text
actiontoaction2within the methoddoButton1Action
Result:
Error dialog "Obsolete method on the Stack" is shown.

[{"Product":{"code":"SSRTLW","label":"Rational Application Developer for WebSphere Software"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Debugging Applications","Platform":[{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"7.5;7.5.1;7.5.2;7.5.3;7.5.4;7.5.5;7.5.5.1;8.0","Edition":"","Line of Business":{"code":"LOB77","label":"Automation Platform"}},{"Product":{"code":"SS4JCV","label":"Rational Software Architect for WebSphere Software"},"Business Unit":{"code":"BU053","label":"Cloud \u0026 Data Platform"},"Component":"Debugging Applications","Platform":[{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"7.5;7.5.1;7.5.2;7.5.3;7.5.4;7.5.5;7.5.5.1;8.0","Edition":"All Editions","Line of Business":{"code":"LOB15","label":"Integration"}}]
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.
Was this topic helpful?
Document Information
Modified date:
29 September 2018
UID
swg21445636