Hi!
I've tried to run 'Simple Client' application on different machine than
JBoss server.
I copied client java file, modified line with naming provider url
property
to point to JBoss machine IP addres (changed "localhost:1099" to
"10.1.0.33:1099" on my network)
I copied also ejb.jar, jboss-client.jar, jnpserver.jar (without this I
got 'ClassNotFound...' for NamingContextFactory class) and 3 EJB classes
(for interface) to the client machine (IP=10.1.0.35)
After compilation and run I got:

Got context
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]

What is missed ?
Maybe I need to change default configuration or add another jar file on
client machine ?
Server is JBoss 2.0 Final.

I'm sorry if the question appeared before, but I didn't find it in the
archive

Thx, Tomek


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]

Reply via email to