Hi Group,

   I am using axis 1.0 production releas for publishing web services as well as 
consuming them at the client side. All works well when I am using JBOSS 3.0.4 and 
Tomcat 4.1.12 ( the bundled version from JBoss). 

   I have another small project comming up where I need to access the same web service 
under tomcat 3.3.1a. I cannot upgrade the tomcat version because there is already some 
other applications running under it which are not yet migrated. I am using the axis 
client to access the web service but I am getting the following exception ...

63101 [Thread-8] DEBUG org.apache.axis.client.AxisClient  - Exception:
AxisFault
 faultCode: {http://xml.apache.org/axis/}Server.userException
 faultString: java.net.ConnectException: Operation timed out: connect
 faultActor: null
 faultDetail: 
        stackTrace: java.net.ConnectException: Operation timed out: connect
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:320)
        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:133)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:120)
        at java.net.Socket.<init>(Socket.java:273)
        at java.net.Socket.<init>(Socket.java:100)
        at 
org.apache.axis.components.net.DefaultSocketFactory.create(DefaultSocketFactory.java:136)
        at org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:175)
        at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:118)
        at 
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71)
        at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:156)
        at org.apache.axis.SimpleChain.invoke(SimpleChain.java:126)
        at org.apache.axis.client.AxisClient.invoke(AxisClient.java:182)
        at org.apache.axis.client.Call.invokeEngine(Call.java:2113)
        at org.apache.axis.client.Call.invoke(Call.java:2102)
        at org.apache.axis.client.Call.invoke(Call.java:1851)
        at org.apache.axis.client.Call.invoke(Call.java:1777)
        at org.apache.axis.client.Call.invoke(Call.java:1315) 

I have already tested the web service endpoint by opening a browser on the same box 
and it can get to the web service endpoint properly. I also tried putting a  TCPmon ( 
Port Monitor) to see if the client request is even getting to the server or not. 
Surprising enough, the client request is never reaching the port on the server. So the 
question is why the client cannot connect to the server in Tomcat 3.3.1a where as the 
same application works under JBoss or Weblogic ??

I will really appreciate your help !!

Thanks
Bhabesh Patel

Reply via email to