File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes Connection timed out: connect Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark " Connection timed out: connect" Watch " Connection timed out: connect" New topic
Author Connection timed out: connect

praneeth gajji

Joined: Apr 12, 2012
Posts: 24
Hi,I am very new to webservices.I am developing Axis2 web services .

I am trying to consume web service which exists externally in internet while consuming I am getting exception trace provided below.
Please provide me any solution to the issue How I can come out of this problem .I am using jboss application server . Thanks in Advance..
13:26:12,477 INFO [HttpMethodDirector] Retrying request
13:26:33,506 INFO [HttpMethodDirector] I/O exception ( caught when processing request: Connection timed out: connect
13:26:33,506 INFO [HttpMethodDirector] Retrying request
13:26:54,536 INFO [HttpMethodDirector] I/O exception ( caught when processing request: Connection timed out: connect
13:26:54,536 INFO [HttpMethodDirector] Retrying request
13:27:15,565 INFO [HTTPSender] Unable to sendViaPost to url[] Connection timed out: connect
at Method)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(
at org.apache.commons.httpclient.protocol.ReflectionSocketFactory.createSocket(Unknown Source)
at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(Unknown Source)
at Source)
I agree. Here's the link:
subject: Connection timed out: connect
jQuery in Action, 3rd edition