Unable to run PerfServlet in a WebSphere Application Server Network Deployment environment
 Technote (troubleshooting)
 
Problem(Abstract)
WebSphere® Application Server V5 includes a servlet that can be used for performance monitoring called the PerfServlet. You must install PerfServletApp.ear, from the <WebSphere Application Server home>/installableApps directory, via the Administrative Console or wsadmin to be able to use the PerfServlet.

Once the application is installed and started, you can invoke it using the URL:
http://hostname/wasPerfTool/servlet/perfservlet
where hostname is the host name of the machine where your application server is running.

You may observe that the PerfServlet runs with no problem in a WebSphere Application Server Base environment, but when you federate your node to a cell in WebSphere Application Server Network Deployment, the "PerfServlet Error Page" loads when you try to access the PerfServlet with the same URL.
 
Cause
In order to run the PerfServlet in a Network Deployment environment, the deployment manager must be running, and you must specify the deployment manager host name and the deployment manager's SOAP connector port in the URL.
 
Resolving the problem
To run the PerfServlet in a Network Deployment environment, invoke it using the URL:

http://hostname/wasPerfTool/servlet/perfservlet?host=myhost&port=8879.

Replace myhost with the host name of the deployment manager system, and 8879 with the SOAP connector port for the deployment manager. You can get the SOAP connector port in the Administrative Console. Expand System Administration, then select Deployment Manager. Then select End Points and SOAP_CONNECTOR_ADDRESS. The port number will then be shown.

When using this URL to access the PerfServlet, the PerfServlet will run successfully in a Network Deployment environment.

 
 
Cross Reference information
Segment Product Component Platform Version Edition
Application Servers Runtimes for Java Technology Java SDK
 
 


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > PMI/Performance Tools
Operating system(s): Windows
Software version: 5.1.1.7
Software edition:
Reference #: 1221235
IBM Group: Software Group
Modified date: Oct 31, 2005