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

Posted on 2009-02-24
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?
Question by:BSSForests
    LVL 41

    Expert Comment

    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?
    LVL 41

    Accepted Solution

    LVL 41

    Expert Comment

    I'm happy to hear that you found the information useful.

    Thanks for the grade & points.

    Good luck & have a great day.

    Featured Post

    6 Surprising Benefits of Threat Intelligence

    All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

    Join & Write a Comment

    Verbose logging is used to diagnose garbage collector problems. By default, -verbose:gc output is written to either native_stderr.log or native_stdout.log.   It is also possible to redirect the logs to a user-specified file. This article will de…
    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…
    This video is in connection to the article "The case of a missing mobile phone (". It will help one to understand clearly the steps to track a lost android phone.
    In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

    732 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

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now