I have Windows 2003 32 bit system in which two ip adresses are present. On doing a cmd (command prompt) - ipconfig i get the following 2 IP adresses 3.151.21.248 and 3.151.28.89.
I have Apache 2.2.4 configured with ModJK and ModSSL, behind it is tomcat 6.0.35. Apache listens on port 9090 (HTTP) and 9999 (SSL) and Tomcat listens on port 8080 (HTTP) and 8888 (SSL).
I have a JAX WS web service (WS A) in an Web Application (WebApp A) deployed in Tomcat and accessed via Apache (HTTPS request) through ModJK and thus ajp. I have a servlet (Servlet B) in the same Web Application (WebApp A) accessed directly in tomcat (HTTP request).
Both WS A and Servlet B invoke another Web Service (WS C). But the Ip address being printed out on the console is different for the 2 types of requests, i mean WS A -> WS C and Servlet B -> WS C.
Please help me i am not able to understand how this can happen. I am a newbee. All answers are valued and welcomed.
Regards Abinash