Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

How to determine what OJDBC driver file is being used when referencing oracle.jdbc.driver.OracleDriver

Posted on 2009-02-24
3
Medium Priority
?
2,448 Views
Last Modified: 2013-12-10
I administer Websphere and one of the apps I have installed does not have a datasource associated to it.  All of the other applications that are installed use their own datasources and are associated to a certain OJDBC14.jar file.  I am in the process of upgrading this jar file.  I need to find out how Websphere associates an OJDBC driver to the oracle.jdbc.driver.OracleDriver class.  The application in question simply uses the following code to connect the database: jdbc.driverClassName=oracle.jdbc.driver.OracleDriver...connection info.
Is the link between oracle.jdbc.driver.OracleDriver and the OJDBC14.jar driver associated in a CLASSPATH?  If so, how do I modify this in Websphere environment?
0
Comment
Question by:BSSForests
  • 3
3 Comments
 
LVL 41

Expert Comment

by:HonorGod
ID: 23733598
Well it sounds like the easy way would be to add "-verbose" option to the java JVM arguments.  This will cause the JVM to write out (to SystemOut.log I believe) the class files that are loaded, and the path to the file in which this particular class file was found.

Do you know how to set JVM options/arguments?
0
 
LVL 41

Accepted Solution

by:
HonorGod earned 1000 total points
ID: 23733607
0
 
LVL 41

Expert Comment

by:HonorGod
ID: 23932290
I'm happy to hear that you found the information useful.

Thanks for the grade & points.

Good luck & have a great day.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Configure Web Service (server application) I. Configure security for Web Services methods First, we need to protect Session bean which implements the service: 1. Open EJB deployment descriptor (ejb-jar.xml) in the EJB project that contains you…
Most of the developers using Tomcat find it easy to configure the datasource in Server.xml and use the JNDI name in the code to get the connection.  So the default connection pool using DBCP (or any other framework) is made available and the life go…
Integration Management Part 2
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
Suggested Courses
Course of the Month20 days, 23 hours left to enroll

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question