To be able to debug Web applications that are running on the WebSphere® Application
Server, you need to configure the application server so that it starts in
debug mode. Starting the application server in debug mode is supported in WebSphere Application
Server versions 6.0, 6.1, and 7.0.
About this task
To start the application server in debug mode:
Procedure
- Start the application server.
- Launch and log in to the Administrative Console (this
is also called the Integrated Solutions Console in
Version 6.1).
- In the left-hand frame, expand the Servers node
and then select the Application servers link. This
will open the Application Servers page.
- In the Application Servers page, all application servers are listed
by Name and Node. In the Name column,
each server name is displayed as a link which, when selected, takes you to
configuration pages for the server. Follow the link for the server that you
want to set up for debug mode.
- Ensure that the Configuration tab is selected
and scroll to the Debugging Service link in the Additional Properties section.
Select this link to open the Debugging Service configuration page.
- In the General Properties section of the
Configuration tab, select the Startup check
box. This will cause debugging service to be enabled when the server starts.
- Note the value of the JVM debug port (default
7777) field, which might be needed when connecting to the application server
with the debugger. If you want, you can alter the values of this port at this
time (for example, you might want to change the value of the port, if that
port number is being used by another application).
- Click Apply to make the changes to your
local configuration, and then click Save to apply
the configuration changes.
- Proceed with other actions in the Administrative Console or
log out.
- You must restart the application server before the changes that
you have made take effect.