Dear All,
When i try topicSession.createTopicConnection(userId, password) i am getting
Connection Time out problem. if i dont pass userId and password i am getting Topic
Connection. But i have to use Durable Subscription thus i need to pass userid and
password in createTopicConnection method.
If i try this in with in the network it is working fine. But i try from a remote
system (through internet) i am getting this exception. I have tried all the options to
increase Time out but could not able to find any.
I have serached all forums but no luck. Could you please tell me fix for my problem.
I am using jboss3.2.3 .
My Log is as follows..
org.jboss.mq.SpyJMSException: Cannot start a the client IL service; - nested
throwable: (java.net.ConnectException: Connection timed out: connect)
at org.jboss.mq.Connection.startILService(Connection.java:962)
at org.jboss.mq.Connection.(Connection.java:249)
at org.jboss.mq.SpyConnection.(SpyConnection.java:49)
at
org.jboss.mq.SpyConnectionFactory.createTopicConnection(SpyConnectionFactory.java:113)
Caused by: java.net.ConnectException: Connection timed out: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
at java.net.Socket.connect(Socket.java:452)
at java.net.Socket.connect(Socket.java:402)
at sun.net.NetworkClient.doConnect(NetworkClient.java:139)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:402)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:618)
at sun.net.www.http.HttpClient.(HttpClient.java:306)
at sun.net.www.http.HttpClient.(HttpClient.java:267)
at sun.net.www.http.HttpClient.New(HttpClient.java:339)
at sun.net.www.http.HttpClient.New(HttpClient.java:320)
at sun.net.www.http.HttpClient.New(HttpClient.java:315)
at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:512)
at
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:489)
at
sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:560)
at org.jboss.mq.il.http.HTTPClient.post(HTTPClient.java:119)
at
org.jboss.mq.il.http.HTTPClientILService.getClientILIdentifier(HTTPClientILService.java:240)
at org.jboss.mq.il.http.HTTPClientILService.init(HTTPClientILService.java:88)
at
org.jboss.mq.GenericConnectionFactory.createClientILService(GenericConnectionFactory.java:72)
at org.jboss.mq.Connection.startILService(Connection.java:953)
... 6 more
Regds,
Srini.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831562#3831562
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831562
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user