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 Interchange Server + Adapters » JDBC Adapter with Process server.

Post new topic  Reply to topic
 JDBC Adapter with Process server. « View previous topic :: View next topic » 
Author Message
venky
PostPosted: Wed May 10, 2006 1:12 pm    Post subject: JDBC Adapter with Process server. Reply with quote

Master

Joined: 08 Jul 2003
Posts: 205

Hi All,

Iam trying to start the JDBC Adapter and its giving me the following error. Can anyone please help me in this.

after executing a set of commands, the adapter fails at this point....

C:\IBM\WebSphereAdapters\connectors\Caesar>call "C:\IBM\WebSphereAdapters\bin\start_adapter" -nCaesarConnector -sWMQI_WAS -lcom.crossworlds.connectors.JDBC.JDBCConnectorAgent -cC:\IBM\WebSphereAdapters\connectors\CaesarConnector.cfg

Usage: java [-options] class [args...]
(to execute a class)
or java [-jar] [-options] jarfile [args...]
(to execute a jar file)

where options include:
-cp -classpath <directories and zip/jar files separated by ;>
set search path for application classes and resources
-D<name>=<value>
set a system property
-verbose[:class|gc|jni]
enable verbose output
-version print product version
-showversion print product version and continue
-? -help print this help message
-X print help on non-standard options
-assert print help on assert options

Press any key to continue . . .

Regards
Venky
Back to top
View user's profile Send private message
venky
PostPosted: Wed May 10, 2006 3:59 pm    Post subject: Reply with quote

Master

Joined: 08 Jul 2003
Posts: 205

Hi All,

I have this new problem when starting the JDBC Adapter. My DB2 V is 8.2. I successfuly configured the JDBC Adapter and when trying to start it I got the following error.

The CLASSPATH is set and is pointing to db2jcc.jar

[Time: 2006/05/10 18:53:26.719] [System: ConnectorAgent] [SS: CaesarConnector] [Thread: wbia_main (#723886355)] [Type: Trace] [Mesg: :QueryTimeOut=False]
[Time: 2006/05/10 18:53:26.719] [System: ConnectorAgent] [SS: CaesarConnector] [Thread: wbia_main (#723886355)] [Type: Trace] [Mesg: :SelectiveCommitForPoll=null]
[Time: 2006/05/10 18:53:26.719] [System: ConnectorAgent] [SS: CaesarConnector] [Thread: wbia_main (#723886355)] [Type: Trace] [Mesg: :[Type: Trace] [MsgID: 90019] [Mesg: Exiting Initialization of configuration properties] ]
[Time: 2006/05/10 18:53:26.719] [System: ConnectorAgent] [SS: CaesarConnector] [Thread: wbia_main (#723886355)] [Type: Error] [MsgID: 36001] [Mesg: Could not instantiate the required JDBC driver classes. Reason java.lang.ClassNotFoundException: com.ibm.db2.jcc.DB2Driver.]
[Time: 2006/05/10 18:53:26.719] [System: ConnectorAgent] [SS: CaesarConnector] [Thread: wbia_main (#723886355)] [Type: Error] [MsgID: 90006] [Mesg: Problem with the Connection Pool]
[Time: 2006/05/10 18:53:26.719] [System: ConnectorAgent] [SS: CaesarConnector] [Thread: wbia_main (#723886355)] [Type: Trace] [Mesg: :checkStatus]
[Time: 2006/05/10 18:53:26.719] [System: ConnectorAgent] [SS: CaesarConnector] [Thread: wbia_main (#723886355)] [Type: Fatal Error] [MsgID: 17050] [Mesg: The call to method init() in the application connector failed.][Time: 2006/05/10 18:53:26.734] [System: ConnectorAgent] [SS: CaesarConnector] [Thread: wbia_main (#723886355)] [Type: Trace] [Mesg: :getTypeForDeliveryTransport = JMS]
[Time: 2006/05/10 18:53:26.734] [System: ConnectorAgent] [SS: CaesarConnector] [Thread: wbia_main (#723886355)] [Type: Fatal Error] [MsgID: 17518] [Mesg: Exhausted the configured number of 3 restart retries for serial connector agent CaesarConnector. Shutting down.]
Press any key to continue . . .

Any help is appreciated.

Regards,
Venky..
Back to top
View user's profile Send private message
vennela
PostPosted: Wed May 10, 2006 5:26 pm    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

You should have db2java.zip in the classpath
Back to top
View user's profile Send private message Send e-mail Visit poster's website
venky
PostPosted: Wed May 10, 2006 7:05 pm    Post subject: Reply with quote

Master

Joined: 08 Jul 2003
Posts: 205

Yes, I do have db2java.zip in my classpath - Still Iam facing the same problem.

My DB2 Level is as follows - DB2 v8.1.7.445
Here is a snap shot of my CLASSPATH Variables.

C:\IBM\SQLLIB\java\db2java.zip;
C:\IBM\SQLLIB\java\db2jcc.jar;
C:\IBM\SQLLIB\java\sqlj.zip;
C:\IBM\SQLLIB\java\db2jcc_license_cu.jar;
C:\IBM\SQLLIB\bin;
C:\IBM\SQLLIB\java\common.jar;
C:\IBM\WebSphere MQ\Java\lib\providerutil.jar;
C:\IBM\WebSphere MQ\Java\lib\com.ibm.mqjms.jar;C:\IBM\WebSphere MQ\Java\lib\ldap.jar;
C:\IBM\WebSphere MQ\Java\lib\jta.jar;
C:\IBM\WebSphere MQ\Java\lib\jndi.jar;
C:\IBM\WebSphere MQ\Java\lib\jms.jar;
C:\IBM\WebSphere MQ\Java\lib\connector.jar;
C:\IBM\WebSphere MQ\Java\lib\fscontext.jar;
C:\IBM\WebSphere MQ\Java\lib\com.ibm.mq.jar;
C:\Program Files\IBM\CICS Transaction Gateway\classes\ctgsamples.jar;
C:\Program Files\IBM\CICS Transaction Gateway\classes\cicsj2ee.jar;
C:\Program Files\IBM\CICS Transaction Gateway\classes\ctgserver.jar;
C:\Program Files\IBM\CICS Transaction Gateway\classes\ctgclient.jar;.;

Regards...
Venky
Back to top
View user's profile Send private message
shafi
PostPosted: Mon May 15, 2006 12:21 am    Post subject: Reply with quote

Apprentice

Joined: 19 Mar 2006
Posts: 38

Hi,

I got the same problem: it was due to me not installing JMS along with MQ....once i did that, the problem got resolved.

or, compare with other systems that u've got all jar files in the MQ folder right?

Regards,
Shafi.
Back to top
View user's profile Send private message
vennela
PostPosted: Mon May 15, 2006 1:51 pm    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

shafi wrote:
Hi,

I got the same problem: it was due to me not installing JMS along with MQ....once i did that, the problem got resolved.

I don't agree.
Why would an app complain about DB2 jar files if the MQ jars are not installed?
I think even though the db2java.zip is in systems, CLASSPATH, it is not in the apps CLASSPATH. You should look at the start_adapter or one of those adapters and set some env variables to get rid of the problem.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Interchange Server + Adapters » JDBC Adapter with Process server.
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.