| Author | 
		  Message
		 | 
		
		  | Meow | 
		  
		    
			  
				 Posted: Sun Sep 07, 2003 8:34 pm    Post subject: mqsicreateconfigmgr | 
				     | 
			   
			 
		   | 
		
		
		    Voyager
 
 Joined: 25 Jun 2003 Posts: 95
  
  | 
		  
		    
			  
				Hi Guys,
 
While creating the configuration manager i am getting this error? what could be the reason?
 
 
The error is:
 
 
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 DBManage 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.
 
 
This is an internal error. Contact your IBM support center.
 
 
Thank u 
 
Paruvan | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | jefflowrey | 
		  
		    
			  
				 Posted: Mon Sep 08, 2003 5:01 am    Post subject: Re: mqsicreateconfigmgr | 
				     | 
			   
			 
		   | 
		
		
		   Grand Poobah
 
 Joined: 16 Oct 2002 Posts: 19981
  
  | 
		  
		    
			  
				
   
	| paruvant wrote: | 
   
  
	Hi Guys,
 
While creating the configuration manager i am getting this error? what could be the reason?
 
 | 
   
 
 
 
"Class not found" means just that.  The command you're running can't find the referenced Java class, in this case the java driver for DB2.  
 
 
Do you have DB2 installed on the same machine?  Is your classpath environment variable set up correctly? | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | Meow | 
		  
		    
			  
				 Posted: Mon Sep 08, 2003 4:05 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Voyager
 
 Joined: 25 Jun 2003 Posts: 95
  
  | 
		  
		    
			  
				I have DB2 installed on the same machine and the environment variables are properly set. Can you tell me for what driver i need to set the classpath?
 
My DB2 is working perfect.
 
I searched for "DB2Driver" on my system but could not find it.
 
I searched for the same thing on the system where MQSI is working properly and again i could not find it.
 
 
so what could be the reason behind it?I have even tried uninstalling and installing the following software on my system...
 
1) MQseries Server 5.2
 
2) MQSI V 2.0.2
 
3) DB2 V7.2 Enterprise Edition
 
4) MQJAVA classes
 
but couldnot succeed.
 
 
Thank you for your help
 
Paruvan | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | sanu_mit | 
		  
		    
			  
				 Posted: Mon Sep 08, 2003 8:05 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Apprentice
 
 Joined: 03 Jul 2003 Posts: 25 Location: Kolkata 
  | 
		  
		    
			  
				May be I'm talking a trivial, but just to be doubly sure, do you have the system ODBC DSNs created for the MRM and ConfigMgr databases? This error of Java may be due to non-availability of proper ODBC.
 
 
Also in the command to create ConfigMgr mention the DSN name of the corresponding databases and not the name of the databases, in case the two are different. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | ourtown | 
		  
		    
			  
				 Posted: Tue Sep 09, 2003 6:48 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Acolyte
 
 Joined: 05 Feb 2002 Posts: 67 Location: Somerset, NJ 
  | 
		  
		    
			  
				COM.ibm.db2.jdbc.app.DB2Driver is in db2java.zip which is in \SQLLIB\java and are the Java classes that DB2 uses
 
 
It is in my System level classpath _________________ Brian S. Crabtree
 
WBI Consultant | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |