JBoss Community

Re: Sockets left in CLOSE_WAIT on server for JMS connections

created by Joseph S in JBoss Remoting - View the full discussion

Hi Ron,

We changed the pingFrequency to 180000 and updated the Remoting Jar to 2.5.4.

 

This issue seems not appearing nowadays :-)

 

But we are facing the issue in our client,

Our client Application is losing the connection sometimes(not consistently) and never comes up,

We need to stop the client(but not server) to recreate the session successfully.

 

These are the below exceptions we see during that time.

 

[12 May 2011 16:52:36]  WARN [Timer-3] (BisocketServerInvoker.java:1281) - org.jboss.remoting.transport.bisocket.BisocketServerInvoker$ControlMonitorTimerTask@6105a6: detected failure on control connection Thread[control: Socket[addr=omcr-rmg3.com/10.255.254.134,port=4481,localport=3132],6,] (4ss2s-vevhkq-gnlg644p-1-gnlg6c36-l: requesting new control connection

[12 May 2011 16:52:36] DEBUG [controlConnectionRecreate:control: Socket[addr=omcr-rmg3.com/10.255.254.134,port=4481,localport=3132]] (BisocketClientInvoker.java:628) - getting secondary locator

[12 May 2011 16:52:36] DEBUG [controlConnectionRecreate:control: Socket[addr=omcr-rmg3.com/10.255.254.134,port=4481,localport=3132]] (BisocketClientInvoker.java:636) - secondary locator: InvokerLocator [null://omcr-rmg3.com:4481/?]

[12 May 2011 16:52:36] DEBUG [controlConnectionRecreate:control: Socket[addr=omcr-rmg3.com/10.255.254.134,port=4481,localport=3132]] (BisocketServerInvoker.java:379) - creating control connection: InvokerLocator [null://omcr-rmg3.com:4481/?]

[12 May 2011 16:52:36] DEBUG [controlConnectionRecreate:control: Socket[addr=omcr-rmg3.com/10.255.254.134,port=4481,localport=3132]] (BisocketServerInvoker.java:463) - SocketServerInvoker[172.28.2.28:345279834] created control connection (4ss2s-vevhkq-gnlg644p-1-gnlg6c36-l): Socket[addr=omcr-rmg3.com/10.255.254.134,port=4481,localport=3153]

 

Also attached the complete log file.

 

Kindly provide your analysis for this issue.

 

Thanks.

Joseph.

Reply to this message by going to Community

Start a new discussion in JBoss Remoting at Community