Can't see how this is a tomcat question, but the Oracle connect string
should be:

jdbc:oracle:thin:@<hostname>:<port>:<DBID>

so using your example, it should be something like:

jdbc.oracle:thin:@hostname:1521:dbname


----- Original Message -----
From: "The Duke" <[EMAIL PROTECTED]>
To: "Tomcat-user Mailinglist" <[EMAIL PROTECTED]>
Sent: Wednesday, October 24, 2001 3:26 AM
Subject: JDBC Problem


> When I want to open a connection to the oracle database I get a sql
exception and the message that the Network Adapter could not establish the
connection.
>
> I use following :
> - oracle.jdbc.driver.OracleDriver
> - jdbc:oracle:thin://hostname/dbname
>
> Can anyone help?
>
> Dennis
>
>
> Make a difference, help support the relief efforts in the U.S.
> http://clubs.lycos.com/live/events/september11.asp

Reply via email to