Solved

Changing jdbc driver classpath in Websphere Administrative console

Posted on 2004-04-20
2
2,103 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Simple, centralized multimedia control

Watch and learn to see how ATEN provided an easy and effective way for three jointly-owned pubs to control the 60 televisions located across their three venues utilizing the ATEN Control System, Modular Matrix Switch and HDBaseT extenders.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
difference between member and local variables. 29 146
Jar file built for jre 6. What happens if i migrate to jre 8? 2 90
oneTwo java challenge 31 700
Setup GlassFish 4 55
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…
Upgrading Tomcat – There are a couple of methods to upgrade Tomcat is to use The Apache Installer is to download and unzip and run the services.bat remove|install Tomcat6 Because of the App that we are working with, we can only use Tomcat 6.…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

737 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