File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes Tomcat and jdbc problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat and jdbc problem" Watch "Tomcat and jdbc problem" New topic

Tomcat and jdbc problem

Nate Balon

Joined: Nov 28, 2002
Posts: 2
I installed tomcat on my computer and it is working fine. The problem I'm have is with using the oracle driver oracle.jdbc.driver.OracleDriver I can not connect to my oracle database. Is there any extra configuration you must do. I added the class12.jar file to common/lib folder. I would greatly appreciate any help.
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

What is the error message (stack trace) you are getting ?
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63852

common/lib is not the correct place for your shared jars. Try putting the jars in shared/lib.

[Asking smart questions] [About Bear] [Books by Bear]
Nate Balon

Joined: Nov 28, 2002
Posts: 2
This is the error i am getting now. SQL Exception ORA-00600: internal error code, arguments: [ttcgcshnd-1], [0], [], [], [], [], [], [] I think my problem is with my database and not the jdbc driver. I connected to another oracle database with a JSP. If anyone has any idea of the problem I would appreciate any feed back.
Rene Larsen
Ranch Hand

Joined: Oct 12, 2001
Posts: 1179

This is what the error code mean:

[ November 29, 2002: Message edited by: Rene Larsen ]

Regards, Rene Larsen
Dropbox Invite
I agree. Here's the link:
subject: Tomcat and jdbc problem
It's not a secret anymore!