At 12:13 PM 4/18/01 +0200, you wrote:
>Hi,
>
>I have problem to connect on a linux jboss server with a windows 2000 
>jboss client ( This problem doesn't occur when I use a windows 2000 jboss 
>server ). The client try to connect on the linux server because tcpdump 
>receive informations from the client.
>The client have the following exeception:
>
>javax.naming.CommunicationException [Root exception is 
>java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested 
>exception is:
>  java.net.ConnectException: Connection refused: no further information]

I can tell from the "127.0.0.1" that your client is trying to connect with 
itself, not with the server. You need to specify a property,
   java.naming.provider.url=your_server_address:1099

You can do this on the command line like this:

java -Djava.naming.factory.initial=org.jnp.interfaces.NamingContextFactory 
-Djava.naming.provider.url=localhost:1099 -classpath 
eb;..\..\client\jboss-client.jar;..\..\client\jbosssx-client.jar;..\..\lib\ext\ejb.jar;..\..\lib\ext\jms.jar;..\..\lib\ext\jbossmq.jar
 
com.web_tomorrow.cd.SwingGUIApp

-- Ken Jenks, http://abiblion.com/

    Tools for reading.


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to