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 » JDBC Connector Startup problem

Post new topic  Reply to topic
 JDBC Connector Startup problem « View previous topic :: View next topic » 
Author Message
MSV
PostPosted: Fri Dec 08, 2006 2:31 am    Post subject: JDBC Connector Startup problem Reply with quote

Acolyte

Joined: 11 Apr 2006
Posts: 59

I'm working with a JDBC Connector for fetching Oracle data to MessageBroker.The Connector is giving the following errors while starting it.


Quote:
java.lang.NoClassDefFoundError: com/ibm/mq/jms/MQQueueConnectionFactory at CxCommon.Messaging.jms.IBMMQSeriesFactory.getQueueConnectionFactory(IBMMQSeriesFactory.java:55)
... 18 more
[Type: Trace]
[Mesg: :Can NOT create JMS connection to queue manager -- WBRK6_DEFAULT_QUEUE_MANAGER]

[Type: Error] [MsgID: 9052]
[Mesg: Unable to get a MQ series Queue Manager or Queue Connection.
Reason: failed to create connection --java.lang.reflect.InvocationTargetException.]
Press any key to continue . . .


I gave all the relevant classpaths in Start_JDBC.bat file.
Even i re-started all the services and tried again.But still, no progress is found.

Anyone guide me with a workaround..
Back to top
View user's profile Send private message
Gaya3
PostPosted: Fri Dec 08, 2006 2:37 am    Post subject: Reply with quote

Jedi

Joined: 12 Sep 2006
Posts: 2493
Location: Boston, US

Hi

Its clearly mentioned that

java.lang.NoClassDefFoundError

so its looking some jar files to function

Thanks and Regards
Gayathri
_________________
Regards
Gayathri
-----------------------------------------------
Do Something Before you Die
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Dec 08, 2006 2:46 am    Post subject: Re: JDBC Connector Startup problem Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

MSV wrote:
I gave all the relevant classpaths in Start_JDBC.bat file.


Not the one with the MQ files in it I suspect....
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
MSV
PostPosted: Fri Dec 08, 2006 3:06 am    Post subject: Re: JDBC Connector Startup problem Reply with quote

Acolyte

Joined: 11 Apr 2006
Posts: 59

Vitor wrote:
MSV wrote:
I gave all the relevant classpaths in Start_JDBC.bat file.


Not the one with the MQ files in it I suspect....


Apart from the default paths, I mentioned the following at JDBCDRIVERPATH and JCLASSES.

C:\oracle\ora92\jdbc\lib\classes12.zip;
C:\IBM\WebSphereAdapters\lib\jms.jar;
C:\IBM\WebSphereAdapters\lib\mqjms.jar;
C:\IBM\WebSphereAdapters\lib\db2java.zip;
C:\IBM\WebSphereAdapters\connectors\JDBC\db2jdbc.dll;

Where can i find MQQueueConnectionFactory class ?
Is there anything else that i'm missing ?
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Fri Dec 08, 2006 3:10 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You need com.ibm.mq.jar.

In fact, you need a full MQ installation.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
MSV
PostPosted: Sun Dec 10, 2006 10:18 pm    Post subject: Reply with quote

Acolyte

Joined: 11 Apr 2006
Posts: 59

jefflowrey wrote:
You need com.ibm.mq.jar.

In fact, you need a full MQ installation.


I have added com.ibm.mq.jar as suggested.


As per the information gathered, Reason for my errors/exceptions is as follows:
Quote:
JMSException thrown at compile time

The com.ibm.mq.jms.MQQueueConnectionFactory and
com.ibm.mq.jms.MQTopicConnectionFactory APIs have changed in WebSphere
MQ Version 6.0: some methods in these classes can now throw exceptions
of type JMSException. JMS applications that were compiled against
earlier versions of the WebSphere MQ classes for JMS will continue to
run successfully but if they are recompiled against the version 6.0
classes compilation errors might result. These errors contain text
similar to the following: "unreported exception javax.jms.JMSException;
must be caught or declared to be thrown" and also reference the
connection factory methods in question. To fix this, you must modify
your applications to handle these exceptions



Is there any way of getting rid of this problem without going for MQ V6.0.1.1 ?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » JDBC Connector Startup problem
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.