Solved

Changing jdbc driver classpath in Websphere Administrative console

Posted on 2004-04-20
2
2,100 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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
tomcat deploy 3 144
Secure cookies 1 67
VS 2015 Apache Cordova mobile app 2 96
AppManager error in Java: package com.oracle.cie.common.ui.gui does not exist 2 63
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…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

808 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