File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Help! Can't Connect to Oracle USing Tomcat 4 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Reply locked New topic

Help! Can't Connect to Oracle USing Tomcat 4

Rich Knight

Joined: Feb 05, 2002
Posts: 14
I'm trying to use Tomcat 4's JDBCRealm to authenticate users. When I ran
tests with mySQL, everything went fine. However now that I need to move the
JSP application to production I have to connect to an Oracle 8i database. I
set everthing up the same way by editing the server.xml file, but now Tomcat
won't start. I even tested getting the connection and accessing the
database in one of my jsp's and it works fine, so I don't believe it's the
connectionURL. It gives me the error that I pasted below. Please help,
this unforseen dip has placed me behind schedule at work.
Code added to server.xml (worked fine using mySQL):

Error when I attempt to launch Tomcat:
Matthew Phillips
Ranch Hand

Joined: Mar 09, 2001
Posts: 2676
Please do not double post. Your other post received 1 reply, so I am closing this one.

Matthew Phillips
I agree. Here's the link:
subject: Help! Can't Connect to Oracle USing Tomcat 4
jQuery in Action, 3rd edition