Hi,
When retrieving a TopicConnectionFactory with this call :
TopicConnectionFactory topicFactory = (TopicConnectionFactory) context.lookup("OIL2ConnectionFactory");
I get a javax.naming.CommunicationException.
Root exception is :
java.rmi.ConnectException: Connection refused to host: 127.0.0.1
I printed my JNDI Environment used for the context I use to do the lookup : the java.naming.provider.url is set to something else than localhost (it is not a problem of a forgotten jndi.properties file or something else)
Thus I don't know why it tries to connect to localhost whereas another jndi provider is specified.
It happens in a Swing based application, downloaded by JNLP.
Any ideas welcome,
Please help, I'm lost,
thanks,
ionel
Hi there,
I add a /etc/hosts entry for the server host and it works.
Sorry for disturbing
ionel