'internal server error' might be a jdbc problem, but i also could be
something else.
look at the jserv server log for the actual exception thrown. or better: put
a try{} around your code for testing, and write the thrown exception to the
browser. this should show you where exactly the problem is.
this is just general tip, i have no idea about the oracle problem. but i
hope it helps anyway.
- martin
/ martin gloeckle / senior software engineer / [EMAIL PROTECTED]
/
/ think new ideas, san francisco / http://www.thinkinc.com
<http://www.thinkinc.com/> /
/ san francisco - new york - los angeles - boston - atlanta - seattle -
london - sofia /
-----Original Message-----
From: Gaurav Kishore [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 01, 1999 3:18 PM
To: [EMAIL PROTECTED]
Subject: JDBC via Servlet!
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
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html