It's all about the answers!

Ask a question

How do I debug RTC Extensions deployed on Websphere?


0
1
Robert Carter (42928789) | asked Jun 10 '15, 3:11 p.m.
edited Jun 10 '15, 10:46 p.m. by Geoffrey Clemm (30.1k33035)
What are the instructions on how to debug RTC Extensions on Websphere?


One answer



permanent link
Geoffrey Clemm (30.1k33035) | 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


Register or to post 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.