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, use Connection.setExceptionListener() to handle
broken connections (usually by closing the old connection and reconnecting)
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 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 simulates 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.
Question:
Where can I find configurations for alternate databases,
alternate implementations of plugins,
legacy configurations that have been removed.
Answer:
Most of these examples are in docs/examples/jms
Check cvs, to see whether new ones have been added since your jboss release
http://cvs.sourceforge.net/viewcvs.py/jboss/jbossmq/src/etc/server/examples/deploy/
In some circumstances, legacy or configs that require clustering only exist in the all
server configuration.