• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2121
  • Last Modified:

Changing jdbc driver classpath in Websphere Administrative console

Some background to the problem:
When I attempt to start my Application server (WAS 4.0.5), using the administrative console, I receive the following error:
java.lang.NoClassDefFoundError: com/microsoft/jdbcx/base/BaseXADataSource

I have a jdbc resource for SQL Server, which currently has a class path pointing to one of a number of .jars required for SQL server.

The problem:
I need to change this classpath to point to either:
- all of the required jars, individully
- the directory containing the .jars

However when I try to 'uninstall' the current jar in the classpath, I get this error:
com.ibm.ejs.sm.exception.JDBCDriverInActiveUseException

I have stopped both the Application Server and the Server Group, unintalled all applications deployed on the AppServer, and even stopped and restarted the node. But I am still getting this error!  
What could possibly be using this driver, and how do I change this classpath? Is there a way to do this via the comand line, or in a configuration file somewhere?

Cheers,
Nathaniel Ramm

0
rambeaux
Asked:
rambeaux
1 Solution
 
jerelwCommented:
Either put the jars in the /usr/WebSphere/AppServer/lib/app directory, or reference each zip and jar directly by adding them individually to the classpath of your application server.

... try doing a ps -elf | grep java to see if there are any processes still using your database drivers.

0
 
rambeauxAuthor Commented:
Thanks - I believe this just worked the next time I revisited it...
Whatever process had been still using the database drivers had terminated, for whatever reason...!?
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now