tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roberto B." <robe...@ipermedianet.com>
Subject Wierd RMI...
Date Tue, 04 Sep 2001 08:17:46 GMT
I'm using a linux (debian) box and a win2000 server box. On both I use
Tomcat 3.2.3
I use a RMIJDBC (type 3) driver to connect to an Access DB.
The following code give me an error:

:
Class.forName("RmiJdbc.RJDriver");
String sourceURL = "jdbc:odbc:rjdemo";
Connection databaseConnection =
DriverManager.getConnection("jdbc:rmi:213.188.200.25/" + sourceURL, "user",
"pasword");
java.sql.Statement st = databaseConnection.createStatement();
String strSQL = "SELECT * FROM contact";
ResultSet rs = st.executeQuery(strSQL);
:

The error start with:

WARNING: Wierd RMI server URL: localhost will be used.
:
:

and then I suppose that the rest of the error is caused by the lack of the
server RMIJDBC.

Any idea what means "wierd RMI..."???

Thanks!

Roberto.




Mime
View raw message