RE: Problem to connecting to server

"Tim Anderson" <[email protected]>
Newsgroups gmane.comp.java.openjms.user
Message-ID <[email protected]>
This occurs when RMI runs out of resources.
 
Try avoiding creating connections and sessions dynamically.
In general setting up a connection is an expensive operation.
In 0.7.6, the server also relies on the RMI garbage collector
cleaning up exported objects, rather than cleaning them up
explicitly. This exacerbates the problem.
 
-Tim
 



  _____  

From: openjms-user-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
[mailto:openjms-user-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] On Behalf Of Theoret,
Jean-Francois
Sent: Tuesday, 31 January 2006 7:44 AM
To: [email protected]
Subject: [openjms-user] Problem to connecting to server


I am using OpenJMS 0.7.6.1 on Windows.
 
My application creates connections/sessions on the fly and they are closed
when not needed anymore.
 
Some of my users are getting a Connection Refused exception at times:
 
java.rmi.ConnectException: Connection refused to host: 158.228.179.171;
nested exception is: 
java.net.ConnectException: Connection refused: connect
 
However, the server is up and running.
 
What could be causing the server not responding? Could it be a problem with
the load of the machine on which the OpenJMS server is running?
 
Thanks!
 
Jean-Francois
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.