tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roberto B." <robe...@ipermedianet.com>
Subject Re: Wierd RMI...
Date Tue, 04 Sep 2001 12:16:10 GMT
Pier... you are the best !!!!!!....

another strange question.... what means "WARNING: Wierd RMI server URL:
localhost will be used" ???

R.


----- Original Message -----
From: "Pier Fumagalli" <pier@betaversion.org>
To: <tomcat-user@jakarta.apache.org>
Sent: Tuesday, September 04, 2001 1:13 PM
Subject: Re: Wierd RMI...


> "Roberto B." <roberto@ipermedianet.com> wrote:
>
> > 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..."???
>
> All URLs should be ://
>
> So jdbc:rmi://host/url
>
>     Pier
>


Mime
View raw message