I had a similar problem because I didn't have the java.naming.provider.url
in my jndi.properties file. It sounds like your code is trying to use some
default URL to lookup remote objects.
Make sure that you jndi.properties file is in your classpath and that it has
a line like:
java.naming.provider.url rmi://solaris2.novadev.xxxx.com:9012
Where I have rmi://solaris2.novadev.xxxx.com:9012, put the RMI URL for your
server. That should take care of the problem.
Lucas McGregor([EMAIL PROTECTED])
http://www.novalogic.com
--------------------------------
Java programmers belong barefoot
and programming on Solaris!
--------------------------------
-----Original Message-----
From: Emerson Cargnin [mailto:[EMAIL PROTECTED]]
Sent: Sunday, May 27, 2001 12:04 AM
To: [EMAIL PROTECTED]
Subject: [JBoss-user] Error when getting a reference
These message is appearing in the client (EJB deployment ok, and
InitialContext
too)
:
javax.naming.CommunicationException [Root exception is
java.rmi.ConnectException
: Connection refused to host: 200.215.16.119; nested exception is:
java.net.ConnectException: Connection refused: connect]
by the way : 200.215.16.119 is not my IP number... : )
Emerson from Brazil
[EMAIL PROTECTED]
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user