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

Reply via email to