Question:

I get this error what does it mean?

org.jboss.mq.SpyJMSException: Connection Failed; - nested throwable: 
(java.io.IOException: ping timeout.)

Answer:

Each connection pings the server once every PingPeriod. This is configured
on the ConnectionFactory (e.g. jms/deploy/uil2-service.xml) and defaults to 60
seconds.
Its purpose is for the client to be able detect that the connection with the server
has been broken.
The mechanism is as follows:
1) Client sends a ping to the server and rests for the PingPeriod
2) After the PingPeriod has expired it checks that it got a Pong from the server
3) Repeat from 1

Reasons for Ping failure:
1) The connection is broken
2) Something horrible is going on, e.g. very long garbage collections or massive
amounts of paging means the ping/pong doesn't get enough cpu to process in time
i.e. either the client or server is not failing big time to keep up with requests
3) You send a large message that takes more than PingPeriod to send over the
connection, the ping or pong waits behind the message for its turn to be processed
UIL2 has a ChunkSize that similuates a Pong when that many bytes are sent over the
network to avoid this problem.
4) Some other problem like a deadlock (see "Read This First" in this forum) for
how to debug this.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831165#3831165

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831165


-------------------------------------------------------
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

Reply via email to