Connection lost in heartbeat
Joshua Liu <[email protected]> Wed, 19 Sep 2012 10:14:05 -0700
| Newsgroups | gmane.comp.java.openjms.user |
|---|---|
| Message-ID | <CAKXbYpG204jz4r-STNYobJi5tj8JujBN9R4-x4UQz3+keX5sMQ@mail.gmail.com> |
--===============6307566056351624124==
Content-Type: multipart/alternative; boundary=f46d0401686d1d786704ca1124a6
--f46d0401686d1d786704ca1124a6
Content-Type: text/plain; charset=ISO-8859-1
Hi,
I'm trying to build an OpenJMS heartbeat function. When running the code
for long periods of time and sending large amounts of messages to the
topic, it appears that the connection is lost. Initially, the heartbeats
(sent every 2 seconds, for testing purposes), are sent and received without
incident. However, while leaving the program on overnight, I find the
following error message:
javax.jms.JMSException: Connection lost
at
org.exolab.jms.client.net.JMSExceptionAdapter.adapt(JMSExceptionAdapter.java:79)
at
org.exolab.jms.server.net.RemoteServerSession__Proxy.send(RemoteServerSession__Proxy.java:393)
at
org.exolab.jms.client.net.JmsSessionStubImpl.send(JmsSessionStubImpl.java:153)
at org.exolab.jms.client.JmsSession.sendMessage(JmsSession.java:1164)
at
org.exolab.jms.client.JmsMessageProducer.send(JmsMessageProducer.java:359)
at
org.exolab.jms.client.JmsMessageProducer.send(JmsMessageProducer.java:247)
at HBSignalProducer.startHeartbeatSignal(HBSignalProducer.java:65)
at HBSignalProducer.run(HBSignalProducer.java:205)
at java.lang.Thread.run(Thread.java:722)
Thanks.
--f46d0401686d1d786704ca1124a6
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Hi,<br><br>I'm trying to build an OpenJMS heartbeat function. When runn=
ing the code for long periods of time and sending large amounts of messages=
to the topic, it appears that the connection is lost. Initially, the heart=
beats (sent every 2 seconds, for testing purposes), are sent and received w=
ithout incident. However, while leaving the program on overnight, I find th=
e following error message:<br>
<br>javax.jms.JMSException: Connection lost<br>=A0=A0=A0 at org.exolab.jms.=
client.net.JMSExceptionAdapter.adapt(JMSExceptionAdapter.java:79)<br>=A0=A0=
=A0 at org.exolab.jms.server.net.RemoteServerSession__Proxy.send(RemoteServ=
erSession__Proxy.java:393)<br>
=A0=A0=A0 at org.exolab.jms.client.net.JmsSessionStubImpl.send(JmsSessionSt=
ubImpl.java:153)<br>=A0=A0=A0 at org.exolab.jms.client.JmsSession.sendMessa=
ge(JmsSession.java:1164)<br>=A0=A0=A0 at org.exolab.jms.client.JmsMessagePr=
oducer.send(JmsMessageProducer.java:359)<br>
=A0=A0=A0 at org.exolab.jms.client.JmsMessageProducer.send(JmsMessageProduc=
er.java:247)<br>=A0=A0=A0 at HBSignalProducer.startHeartbeatSignal(HBSignal=
Producer.java:65)<br>=A0=A0=A0 at HBSignalProducer.run(HBSignalProducer.jav=
a:205)<br>=A0=A0=A0 at java.lang.Thread.run(Thread.java:722)<br>
<br><br>Thanks.<br>
--f46d0401686d1d786704ca1124a6--
--===============6307566056351624124==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
--===============6307566056351624124==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
openjms-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openjms-user
--===============6307566056351624124==--