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 » [solved] use of MQC constants in JavaComputeNode

Post new topic  Reply to topic
 [solved] use of MQC constants in JavaComputeNode « View previous topic :: View next topic » 
Author Message
j.f.sorge
PostPosted: Wed Jun 16, 2010 1:28 am    Post subject: [solved] use of MQC constants in JavaComputeNode Reply with quote

Master

Joined: 27 Feb 2008
Posts: 218

I want to manipulate the MQMD / MQRFH2 within my JavaComputeNode and have to use a lot of MQC constants. It would be easy to add com.ibm.mq.jar to the classpath in order to use them but as com.ibm.mq.jar has already been added to the broker-user CLASSPATH variable I'm not sure if it has negative effect to add it (I'm thinking about newer versions of MQ where I do not want to redeploy all my flows). Do I have to clean up my bar before deployment in order to remove the com.ibm.mq.jar?

Thanks in advance!
_________________
IBM Certified Solution Designer - WebSphere MQ V6.0
IBM Certified Solution Developer - WebSphere Message Broker V6.0
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0


Last edited by j.f.sorge on Wed Jun 16, 2010 5:27 am; edited 1 time in total
Back to top
View user's profile Send private message
mqmatt
PostPosted: Wed Jun 16, 2010 4:18 am    Post subject: Reply with quote

Grand Master

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

This is mentioned in the docs: see the paragraph beginning "You do not have to redeploy JAR files..." here: http://publib.boulder.ibm.com/infocenter/wmbhelp/v7r0m0/topic/com.ibm.etools.mft.doc/af03880_.htm
But essentially, you're correct in that you shouldn't separately deploy com.ibm.mq.jar for the reasons you already mention.

Finally, if you're on v7 then you probably be using MQConstants rather than MQC.
Back to top
View user's profile Send private message
j.f.sorge
PostPosted: Wed Jun 16, 2010 4:38 am    Post subject: Reply with quote

Master

Joined: 27 Feb 2008
Posts: 218

mqmatt wrote:
This is mentioned in the docs: see the paragraph beginning "You do not have to redeploy JAR files..." here: http://publib.boulder.ibm.com/infocenter/wmbhelp/v7r0m0/topic/com.ibm.etools.mft.doc/af03880_.htm
But essentially, you're correct in that you shouldn't separately deploy com.ibm.mq.jar for the reasons you already mention.

Finally, if you're on v7 then you probably be using MQConstants rather than MQC.

Thanks a lot for the information!

As we are using WMB 6.1 and an automated deployment procedure (which creates the bar files, too) I have added the com.ibm.mq.jar to the build path and added a task which delets this jar after creation of bar has completed.
_________________
IBM Certified Solution Designer - WebSphere MQ V6.0
IBM Certified Solution Developer - WebSphere Message Broker V6.0
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
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 » [solved] use of MQC constants in JavaComputeNode
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.