Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

RmiJdbc - newbie question

1 view
Skip to first unread message

Todd McGrath

unread,
Feb 4, 1999, 3:00:00 AM2/4/99
to
Hello-

Client: Debian - Linux 2.0.35
Server: Debian - Linux 2.2.1

Database: MySql
JDK: 1.1.7
JDBC Drivers: twz & mm

I have downloaded the RmiJdbc from
http://dyade.inrialpes.fr/mediation/download/RmiJdbc and I'm trying to
get the demo program to work.

On the server machine I run:
1) rmiregistry &
2) java RmiJdbc.RJJdbcServer -noreg org.gjt.mm.mysql.Driver &

And everything seems fine

On the client machine I compile the sample program, but when I run:

java.rmi.ConnectException: Connection refused to host:
[hostname.captech.com:1099]; nested exception is:
java.net.ConnectException: Connection refused
at
sun.rmi.transport.tcp.TCPChannel.openSocket(TCPChannel.java:257)
at
sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:125)
at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:67)
at
sun.rmi.registry.RegistryImpl_Stub.lookup(RegistryImpl_Stub.java:89)
at RmiJdbc.RJConnection.<init>(RJConnection.java:72)
at RmiJdbc.RJDriver.connect(RJDriver.java:130)
at java.sql.DriverManager.getConnection(DriverManager.java:83)
at java.sql.DriverManager.getConnection(DriverManager.java:141)
at TestClient.main(TestClient.java:20)


Any ideas on what's happening?

todd

0 new messages