ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » ERROR:java.net.SocketException: Socket Closed

Post new topic  Reply to topic
 ERROR:java.net.SocketException: Socket Closed « View previous topic :: View next topic » 
Author Message
praveenmq
PostPosted: Tue Jul 17, 2012 11:21 pm    Post subject: ERROR:java.net.SocketException: Socket Closed Reply with quote

Voyager

Joined: 28 Mar 2009
Posts: 96

Hi All,

I am testing SSL between Soap ui and Message broker. I have passed the certificate of Message broker to SOAP UI and when i test my application by hitting the request am seeing socket exception.

I am not sure why am getting Socket closed exception in soap UI. Please see the logs below, The request fails again and again

Wed Jul 18 10:07:25 AST 2012:ERROR:java.net.SocketException: Socket Closed
java.net.SocketException: Socket Closed
at java.net.PlainSocketImpl.setOption(Unknown Source)
at java.net.Socket.setTcpNoDelay(Unknown Source)
at com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.setTcpNoDelay(Unknown Source)
at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:721)
at com.eviware.soapui.impl.wsdl.support.http.SoapUIMultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(SoapUIMultiThreadedHttpConnectionManager.java:1637)
at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
at com.eviware.soapui.impl.wsdl.submit.transports.http.HttpClientRequestTransport.sendRequest(HttpClientRequestTransport.java:202)
at com.eviware.soapui.impl.wsdl.WsdlSubmit.run(WsdlSubmit.java:123)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

_________________
Jack
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Jul 18, 2012 4:21 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

How do you know this is an SSL problem rather a network one?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
praveenmq
PostPosted: Wed Jul 18, 2012 4:23 am    Post subject: Reply with quote

Voyager

Joined: 28 Mar 2009
Posts: 96

Vitor wrote:
How do you know this is an SSL problem rather a network one?


Because Telnet worked perfectly fine, So thats why i ruled out network
_________________
Jack
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Jul 18, 2012 4:33 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

praveenmq wrote:
Vitor wrote:
How do you know this is an SSL problem rather a network one?


Because Telnet worked perfectly fine, So thats why i ruled out network


How much Java does telnet use?

Does telnet use the same port as a web service request?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
praveenmq
PostPosted: Wed Jul 18, 2012 10:25 pm    Post subject: Reply with quote

Voyager

Joined: 28 Mar 2009
Posts: 96

Vitor wrote:
How much Java does telnet use?

Does telnet use the same port as a web service request?


Yeah telnet uses the same port as a web service request.

I fixed the problem. The problem was due to wrong configuration in sharing the soap ui certificate to broker trustore.
I shared it correctly again and am able to see a successful response.

Thanks for your help
_________________
Jack
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Jul 19, 2012 4:45 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

praveenmq wrote:
Yeah telnet uses the same port as a web service request.


From which I assume you to mean that you used the web service port in your telnet.

Or you're using a fairly non-standard port for your web service.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
praveenmq
PostPosted: Thu Jul 19, 2012 4:50 am    Post subject: Reply with quote

Voyager

Joined: 28 Mar 2009
Posts: 96

Yeah i used the webservice port in telnet
_________________
Jack
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » ERROR:java.net.SocketException: Socket Closed
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.