How do I debug RTC Extensions deployed on Websphere?
Robert Carter (429●2●87●90)
| asked Jun 10 '15, 3:11 p.m.
edited Jun 10 '15, 10:46 p.m. by Geoffrey Clemm (30.1k●3●30●35)
What are the instructions on how to debug RTC Extensions on Websphere?
|
One answer
Geoffrey Clemm (30.1k●3●30●35)
| answered Jun 10 '15, 10:46 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Self-Answer from Robert Carter:
To remotely connect to WAS, first, from the WebSphere Integrated Solutions Console: Navigate to the application server's Debugging Service: Servers > Server Types > WebSphere application servers > [serverName] > Debugging Service Check the "Enable service at server startup" checkbox Add/modify the "JVM debug port" if necessary (the port must not already be in use on the server) Add/modify the "JVM debug arguments" if necessary (this may already appear by default): -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=7777 Apply the changes, Save the new configuration, and Restart the application server Then, from the Eclipse IDE: Open the "Debug" dialog (e.g. Run > Debug Configurations...) Right-click "Remote Java Application" and select "New" Configure the Remote Java Application: Name the debug configuration Browse to select the project to debug (optional) Use the "Standard (Socket Attach)" Connection Type Specify the hostname of your WAS server Specify the port number that was set in the WAS debug options Click Apply Click Debug |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.