Solved

Changing jdbc driver classpath in Websphere Administrative console

Posted on 2004-04-20
2
2,090 Views
Last Modified: 2013-12-10
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
Comment
Question by:rambeaux
2 Comments
 
LVL 3

Accepted Solution

by:
jerelw earned 125 total points
Comment Utility
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
 

Author Comment

by:rambeaux
Comment Utility
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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

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…
There are numerous questions about how to setup an IBM HTTP Server to be administered from WebSphere Application Server administrative console. I do hope this article will wrap things up and become a reference for this task. You need three things…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

771 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

12 Experts available now in Live!

Get 1:1 Help Now