SourceForge.net
2004-07-19 11:59:36 UTC
Bugs item #993730, was opened at 2004-07-19 13:59
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=474136&aid=993730&group_id=54559
Category: jndi
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: kshiv2001 (kshiv2001)
Assigned to: Nobody/Anonymous (nobody)
Summary: javax.jms.JMSException: Failed to locate server...
Initial Comment:
Hi,
I am running OpenJMS7.6 in linux machine and DB is
sybase. Also there are several MDBs and senders are
listening to this server. Everything works well for
somedays without any problem. But at some point(not in
a regular period) I have a strange problem with
OpenJMS, means just it is not responding any more and
the clients are throwing exceptions like,
java.rmi.ConnectException: Connection refused to host:
<myhost>; nested exception is:
java.net.ConnectException: Connection refused
at
sun.rmi.transport.tcp.TCPEndpoint.newSocket
(TCPEndpoint.java:567)
at
sun.rmi.transport.tcp.TCPChannel.createConnection
(TCPChannel.java:185)
at
sun.rmi.transport.tcp.TCPChannel.newConnection
(TCPChannel.java:171)
at
sun.rmi.server.UnicastRef.invoke(UnicastRef.java:101)
at
org.exolab.jms.server.rmi.RmiJmsServerConnection_Stub.
ping(Unknown
Source)
at
org.exolab.jms.client.rmi.RmiJmsConnectionStub$PingThre
ad.ping(RmiJmsConnectionStub.java:296)
at
org.exolab.jms.client.rmi.RmiJmsConnectionStub$PingThre
ad.run(RmiJmsConnectionStub.java:253)
----
and
avax.jms.JMSException: Failed to locate server,
url=rmi://myhost:1080/OpenJMSServer: Connection
refused to host: myhost; neste
d exception is:
java.net.ConnectException: Connection refused
at
org.exolab.jms.client.rmi.RmiJmsServerStub.getDelegate
(RmiJmsServerStub.java:144)
at
org.exolab.jms.client.rmi.RmiJmsServerStub.createConnec
tion(RmiJmsServerStub.java:198)
at
org.exolab.jms.client.JmsConnection.<init>
(JmsConnection.java:189)
at
org.exolab.jms.client.JmsQueueConnection.<init>
(JmsQueueConnection.java:83)
at
org.exolab.jms.client.JmsQueueConnectionFactory.create
QueueConnection(JmsQueueConnectionFactory.java:114)
If I restart the openJMS server, it all starts
working fine. I dont know and not able to find whats
happening at the time of failure.
If anybody could say some tips,it will be great!
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=474136&aid=993730&group_id=54559
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=474136&aid=993730&group_id=54559
Category: jndi
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: kshiv2001 (kshiv2001)
Assigned to: Nobody/Anonymous (nobody)
Summary: javax.jms.JMSException: Failed to locate server...
Initial Comment:
Hi,
I am running OpenJMS7.6 in linux machine and DB is
sybase. Also there are several MDBs and senders are
listening to this server. Everything works well for
somedays without any problem. But at some point(not in
a regular period) I have a strange problem with
OpenJMS, means just it is not responding any more and
the clients are throwing exceptions like,
java.rmi.ConnectException: Connection refused to host:
<myhost>; nested exception is:
java.net.ConnectException: Connection refused
at
sun.rmi.transport.tcp.TCPEndpoint.newSocket
(TCPEndpoint.java:567)
at
sun.rmi.transport.tcp.TCPChannel.createConnection
(TCPChannel.java:185)
at
sun.rmi.transport.tcp.TCPChannel.newConnection
(TCPChannel.java:171)
at
sun.rmi.server.UnicastRef.invoke(UnicastRef.java:101)
at
org.exolab.jms.server.rmi.RmiJmsServerConnection_Stub.
ping(Unknown
Source)
at
org.exolab.jms.client.rmi.RmiJmsConnectionStub$PingThre
ad.ping(RmiJmsConnectionStub.java:296)
at
org.exolab.jms.client.rmi.RmiJmsConnectionStub$PingThre
ad.run(RmiJmsConnectionStub.java:253)
----
and
avax.jms.JMSException: Failed to locate server,
url=rmi://myhost:1080/OpenJMSServer: Connection
refused to host: myhost; neste
d exception is:
java.net.ConnectException: Connection refused
at
org.exolab.jms.client.rmi.RmiJmsServerStub.getDelegate
(RmiJmsServerStub.java:144)
at
org.exolab.jms.client.rmi.RmiJmsServerStub.createConnec
tion(RmiJmsServerStub.java:198)
at
org.exolab.jms.client.JmsConnection.<init>
(JmsConnection.java:189)
at
org.exolab.jms.client.JmsQueueConnection.<init>
(JmsQueueConnection.java:83)
at
org.exolab.jms.client.JmsQueueConnectionFactory.create
QueueConnection(JmsQueueConnectionFactory.java:114)
If I restart the openJMS server, it all starts
working fine. I dont know and not able to find whats
happening at the time of failure.
If anybody could say some tips,it will be great!
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=474136&aid=993730&group_id=54559