Forums Register Login

Help! Can't Connect to Oracle Database Using Tomcat

+Pie Number of slices to send: Send
Hi,
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:

[ February 20, 2002: Message edited by: Rich Knight ]
+Pie Number of slices to send: Send
i had a similar problem with tomcat 3-3. Are you using classes12.zip (as supplied by Oracle) for the Oracle JDBC classes? Try renaming the file to .jar rather than .zip - seems Tomcat (at least with 3-3) has a mysterious problem with the .zip extension. Hope that helps
+Pie Number of slices to send: Send
Thanks for the reply,
Yes I am using classes12.zip, and I renamed it to .rar. Same results .
+Pie Number of slices to send: Send
I'm able to boot up fine now, but when I try to login to my JSP I get the following error generated in my log file. The error is only generated if the user actually exists in the database, so I'm sure I'm connecting and accessing the info. Thanks :

[ February 20, 2002: Message edited by: Rich Knight ]
What's a year in metric? Do you know this metric stuff tiny ad?
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1738 times.
Similar Threads
jdbc problems with tomcat 4.0
Please help correct error in localost_log
Help! Can't Connect to Oracle USing Tomcat 4
Tomcat newbie
Help! Can't Connect to Oracle USing Tomcat 4
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 07:35:18.