I miss some points.

The port number is the port  that the lisener process is attached  this is defined in the listener.ora file.

bye :)

Gaurav Kishore wrote:

Hi!,

I am trying to run a servlet on Apache JServ on Unix. The servlet tries to connect to Oracle 7.x  (which is on a different server) using JDBC drivers.

I have the following code in the servlet :

con = DriverManager.getConnection("jdbc:oracle:xxx.yyy.com:dbname","username","pwd");

Do I need to mention the port no. of the database server also, because though the code is compiling without an error but while running the servlet I am getting "Internal Server Error".

Any help is appreciated.

Thanks in advance
Gaurav

S/MIME Cryptographic Signature

Reply via email to