X-From-Line: nobody Mon Nov 29 23:01:13 1999
References: <[EMAIL PROTECTED]>
In-Reply-To: Jim Richards's message of "Mon, 29 Nov 1999 09:39:37 +1100"
Message-ID: <[EMAIL PROTECTED]>
X-Mailer: Gnus v5.5/Emacs 20.3
Lines: 50
Xref: herlab.ruhr.de misc-mail:332
X-Gnus-Article-Number: 332   Mon Nov 29 23:01:13 1999

Hello again,

thank you very much for your suggestions. But I'm still not happier: 

> >I guess, it works. Now, I copy the classes ClientOp.class, Op.class,
> >and OpHome.class to the client machine. Install jndi.jar,
> >rmiregistry.jar, and providerutil.jar on that machine. Adjust the
> >CLASSPATH to contain the jndi stuff as well as the client and
> >interface classes.
> 
> You also need to copy the Stub files across to the client as well
> for the rmi to use.
> 
Now, I copied the stub files, too. Unfortunately, same behavier :(

> >When I start the client application on the client machine using
> >the commandline
> >
> >java -Djava.naming.provider.url="rmi://a.b.c.d:1099/" sb.ClientOp
> >
> >where a.b.c.d is the IP address of the network card of my server, I get the 
>following output:
> >
> >Cannot lookup UserTransaction: javax.naming.CommunicationException 
> >     [Root exception is java.rmi.ConnectIOException: 
> >     Error creating connection to: [w.x.y.z:1237]; nested exception is: 
> >     java.net.SocketException: Das Netzwerk ist nicht erreichbar]
> >
> >where w.x.y.z is the IP address of the ISDN card (ippp0) in the server
> >machine.
> 
> You might also check that you can connect to that port, perhaps you have some
> firewall software or somethng blocking incomming packets from your
> client machine (try a telnet w.x.y.z from the client to the server)
> 
Both, server and client pc, are directly connected via ethernet -- no
firewall at all. Telnet to the remote machine is no problem. I guess,
the problem has something to do with the fact, that the server has two
IP address -- one for the ethernet adapter, and one for the isdn
adapter used for internet connections. But I don't understand why the
client wants to create a connection to the isdn IP address. In the
jonas.properties (server side) I used a server hostname related to the
ethernet IP address in /etc/hosts. And in the command to start the
client I used the ethernet IP address of the server, too. 

Any ideas?

Best regards,
Joerg Diederich 

Reply via email to