Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Configure Tomcat 4.0 with Oracle 10g

Status
Not open for further replies.

GoTerps88

Programmer
Apr 30, 2007
174
US
This represents my first effort to configure an Oracle/JSP environment with Tomcat.

I'm trying to configure Tomcat 4.0.1 to work with Oracle 10g. I am using the JDK 1.4.2.

I copied over the .jar files from the Oracle jdbc folder to the drive:\Tomcat...\common\lib folder. Do I need to also configure the server.xml file?

Thanks...
 
Thanks, despite the fact that I have the 1.4.2... jdk and jre installed, it shows as version 1.3.1 when I call the function
Code:
System.out.println("java.version=" + System.getProperty("java.version"));

Any reason why this might be occurring?
 
I think I may have found the culprit. When I looked at my Environment Variables, I discovered I have a reference to C:\Program Files\Oracle\jre\1.3.1\bin from a previous installation of Oracle 9i.

I'm running Windows XP Professional SP2.

I'm thinking perhaps this version of the JRE is overriding the 1.4.2 because an Oracle service is running at startup? Perhaps Oracle needs this in order to run specific services such as the Enterprise Manager. Just taking a stab in the dark here.
 
I removed those two environment variables for Oracle pointing to previous JRE's and now it's showing the correct version.

This is a bit off of my original topic, forgive me.

I decided to upgrade to the .net beans 5.0, which installed the 5.5 Tomcat.

I found a good piece on setting up the 5.5 Tomcat environment. If I have any problems I'll reopen the post.

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top