How to use TCPMon with an already deployed Web service.
 Technote (FAQ)
 
Problem
In certain circumstances, it is not convenient to change a Web service client to point to a different URL. Instead, it is sometimes easier to change the port where the Web service provider is listening. This Technote shows you how.
 
Cause
You need to change the Web service provider port information in two places: for the virtual hosts and for the Web container.
 
Solution
In this example, we are assuming you are using WebSphere® Application Server with all the default settings. Moreover, we assume that you have a Web service client sending traffic to localhost:9080 and now want a way to use TCPMon to record that traffic.

In WebSphere Application Server V6.0.x,

1) Go to Environment > Virtual Hosts > default_host > Host Aliases

Change "9080" to "9081"

2) Go to Servers > Application Servers > server1 > Ports > WC_defaulthost

Change "9080" to "9081"

In WebSphere Application Server V5.x,

1) Go to Environment > Virtual Hosts > default_host > Host Aliases

Change "9080" to "9081"

2) Go to Servers > Application Servers > server1 > Web Container > HTTP transports

Change "9080" to "9081"

Now, you can run TCPMonitor to listen to port 9080 and redirect traffic to 9081.

Please note that performing the above task will change anything running on the Web container from port 9080 to 9081.

 
 
 


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > Web Services (for example: SOAP or UDDI or WSGW or WSIF)
Operating system(s): Windows
Software version: 6.0
Software edition:
Reference #: 1233582
IBM Group: Software Group
Modified date: Mar 30, 2006