ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Unexpected exception when starting Configuation Manager

Post new topic  Reply to topic
 Unexpected exception when starting Configuation Manager « View previous topic :: View next topic » 
Author Message
kumarp
PostPosted: Tue Jul 12, 2005 7:10 am    Post subject: Unexpected exception when starting Configuation Manager Reply with quote

Novice

Joined: 20 May 2003
Posts: 23

Hi,
I have been having trouble starting the config manager on my window's machine. I go to a command prompt and start the config manager using mqsistart configmgr as usual, and I get the usual message:
BIP8096I: Successful command initiation.....

BUT...when I check in the Windows event viewer, I see the following two error messages:

------------------------------------------------------------
( ConfigMgr ) Unexpected exception in the Configuration Manager DBManager class constructor method; exception text: 'java.lang.ClassNotFoundException: COM.ibm.db2.jdbc.app.DB2Driver', 'COM.ibm.db2.jdbc.app.DB2Driver'.

While attempting a database operation on the configuration repository, an exception was caught by the Configuration Manager DBManager class constructor method. The database operation did not complete successfully. The exception text is: java.lang.ClassNotFoundException: COM.ibm.db2.jdbc.app.DB2Driver, COM.ibm.db2.jdbc.app.DB2Driver.

The exception text may indicate that the DB2 JDBC Driver could be found; check that the system CLASSPATH variable contains access to the DB2 runtime classes. If the DB2 classes are present in the CLASSPATH or if the exception text indicates a different problem, please contact your IBM support center.

----------------------------------------------------------

( ConfigMgr ) The Configuration Manager is not available for use.

A problem has been encountered while trying to start the Configuration Manager. The problem is not expected to be transient.

Stop the Configuration Manager using the mqsistop command. Look at previous error messages for the Configuration Manager in the event log. Determine and correct the cause of the problem before attempting to start the Configuration Manager again. If the problem persists contact your IBM support center.
------------------------------------------------------------

The config manager used to work, and I don't think I made any changes to DB2 or the CLASSPATH...I checked that the DB2 runtime classes are in the CLASSPATH, and it appears that they are...any suggestions of what's going on here?

A little info about what we're running:
--> WBIMB 5.0 (I downloaded latest service for toolkit recently -- fixPack 5), brokers are on z/OS and are also at FixPack 05, but seeing as how I can't get the config manager to start, I don't think it matters where the brokers are
--> Windows 2000 Service Pack 4
--> DB2:
============================================================
About DB2 Administration Tools Environment
============================================================
DB2 administration tools level:
Product identifier SQL08020
Level identifier 03010106
Level DB2 v8.1.7.664
Build level s040914
PTF WR21342
============================================================
Java development kit (JDK):
Level IBM Corporation 1.4.1
============================================================



Please help, I need to deploy new message flows!

Thanks,
Parul
Back to top
View user's profile Send private message
mqmatt
PostPosted: Tue Jul 12, 2005 8:37 am    Post subject: Reply with quote

Grand Master

Joined: 04 Aug 2004
Posts: 1213
Location: Hursley, UK

I know you said that you hadn't made any changes in this area, but all the signs point to missing DB2 client classes on the CLASSPATH

Check that all the DB2 zips are there on the classpath and that they can be loaded and read.

-Matt
Back to top
View user's profile Send private message
kumarp
PostPosted: Wed Aug 03, 2005 1:16 pm    Post subject: Reply with quote

Novice

Joined: 20 May 2003
Posts: 23

Hi,
I did double, and then triple check that the path of the java class mentioned in the error is in the CLASSPATH and Classpath environment vars on my Windows machine
( i.e. C:\Program Files\IBM\SQLLIB\java\COM\ibm\db2\jdbc\app is in CLASSPATH and Classpath)

Is there a list somewhere of which DB2 zips should be in the CLASSPATH?

And how can I check that they can be loaded and read?

The strange part is that the configuration manager used to work, and then one day I logged into the machine, and it didn't. However, other people use this machine too, so there is a small chance that someone made some sort of software change...though I can't figure out what.

What kinds of changes (DB2 service? MQ service? Windows updates?) could cause this config mgr error?

THanks!
Parul
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Aug 03, 2005 2:21 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

On windows, ALWAYS use shortpaths in classpaths.

Secondly, make sure that the classpath is *correct*, and that the classes are there.

Also, try moving the DB2 entries to the front of the classpath.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
kumarp
PostPosted: Thu Aug 04, 2005 5:52 am    Post subject: Reply with quote

Novice

Joined: 20 May 2003
Posts: 23

Sorry for the stupid question, but what do you mean by short paths? Can you give me an example?

Thanks!
Parul
Back to top
View user's profile Send private message
wschutz
PostPosted: Thu Aug 04, 2005 5:58 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

In windows, you can have LONG names like:
Code:

C:\>dir doc*
 Volume in drive C is Local Disk
 Volume Serial Number is 74A3-8E68

 Directory of C:\

05/05/2005  12:26 PM    <DIR>          Documents and Settings

And windows has a "short name" (left over from DOS days):
Code:

C:\>dir /x doc*
 Volume in drive C is Local Disk
 Volume Serial Number is 74A3-8E68

 Directory of C:\

05/05/2005  12:26 PM    <DIR>          DOCUME~1     Documents and Settings

DOCUME~1 is the "short name"
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
kumarp
PostPosted: Mon Aug 08, 2005 6:57 am    Post subject: Reply with quote

Novice

Joined: 20 May 2003
Posts: 23

Ok, I have been using short paths, and I checked that the directory that the .zip file for the DB2 class is indeed at the front of my CLASSPATH.

I am at a loss for what to do next...any suggestions?

Thanks,
Parul
Back to top
View user's profile Send private message
wschutz
PostPosted: Mon Aug 08, 2005 7:14 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

post your classpath variable ....
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
kumarp
PostPosted: Mon Aug 08, 2005 7:22 am    Post subject: Reply with quote

Novice

Joined: 20 May 2003
Posts: 23

System Variables: CLASSPATH:
.;C:\PROGRA~1\IBM\SQLLIB\java\db2java.zip;C:\PROGRA~1\IBM\SQLLIB\java\db2jcc.jar;C:\PROGRA~1\IBM\SQLLIB\java\sqlj.zip;C:\PROGRA~1\IBM\SQLLIB\bin;C:\PROGRA~1\IBM\SQLLIB\tools\db2XTrigger.jar;C:\PROGRA~1\IBM\SQLLIB\java\common.jar;C:\PROGRA~1\IBM\SQLLIB\java\db2jcc_license_cisuz.jar;C:\PROGRA~1\IBM\SQLLIB\java\db2jcc_license_cu.jar;C:\PROGRA~1\IBM\SQLLIB\java;C:\PROGRA~1\IBM\SQLLIB\java\COM\ibm\db2\jdbc\app

User Variables: Classpath:
C:\Program Files\IBM\WebSphere Studio Workload Simulator\jsoap\iwlJSoap.jar;C:\PROGRA~1\IBM\SQLLIB\java\COM\ibm\db2\jdbc\app
Back to top
View user's profile Send private message
wschutz
PostPosted: Mon Aug 08, 2005 7:28 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

Which user is that for??? Is that the same user that run's configmgr? If so, the problem is the "user classpath"

(me thinks the user classpath needs at least: C:\PROGRA~1\IBM\SQLLIB\java\db2java.zip)
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Unexpected exception when starting Configuation Manager
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.