Solved

Changing jdbc driver classpath in Websphere Administrative console

Posted on 2004-04-20
2
2,101 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
ID: 10878352
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
ID: 11064981
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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…
This exercise is about for the following scenario: Dmgr and One node with 2 application server. Each application server contains it owns application. Application server name as follows server1 contains app1 server2 contains app1 Prereq…

680 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