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" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 04, 2001 1:13 PM
Subject: Re: Wierd RMI...


> "Roberto B." <[EMAIL PROTECTED]> 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
>

Reply via email to