-
1. Re: Connection Timeout Exception on request to jboss AS 7
jaikiran Aug 13, 2015 12:52 PM (in response to prashamsjain)javax.servlet.ServletException: javax.servlet.jsp.JspException: org.apache.commons.httpclient.ConnectTimeoutException: The host did not accept the connection within timeout of 600 ms
java.net.SocketTimeoutException: connect timed out
java.net.PlainSocketImpl.socketConnect(Native Method)
java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
java.net.Socket.connect(Socket.java:529)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:597)
org.apache.commons.httpclient.protocol.ReflectionSocketFactory.createSocket(ReflectionSocketFactory.java:140)
org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:125)
org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1349)
org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346)
com.bupa.fwk.applite.taglib.BupaImportTag.doStartTag(BupaImportTag.java:111)
You'll have to check where/why that taglib is trying to connect to and whether that connection timeout value is too low.
-
2. Re: Connection Timeout Exception on request to jboss AS 7
prashamsjain Aug 18, 2015 10:31 AM (in response to prashamsjain)Hi Jaikiran,
The same ear file works well in Jboss 4.3 not sure why there is an issue with jboss 7. Tag file mentioned interacts with a customised jar library which sets host configuration with 600ms timeout.
Do you have any idea if this can be configured/overrriden in jboss as 7 server ?
-
3. Re: Connection Timeout Exception on request to jboss AS 7
jaikiran Aug 18, 2015 11:15 AM (in response to prashamsjain)I have no idea about that tag library. You will have to check with the documentation of that library or contact someone who knows about it.