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 » Problem with ANT Script WmbDeployTool

Post new topic  Reply to topic
 Problem with ANT Script WmbDeployTool « View previous topic :: View next topic » 
Author Message
wraymore
PostPosted: Thu Dec 11, 2008 8:42 am    Post subject: Problem with ANT Script WmbDeployTool Reply with quote

Centurion

Joined: 16 Aug 2005
Posts: 114
Location: Burlington, NC USA

I went looking for a sample ANT script and found the one included in the RedBook - Managing WebSphere Message Broker Resources in a Production Environment. Downloaded the files and installed in my WMB Toolkit (6.0.2 with IFix 16).

After replacing the values within the WmbDeployTool.xml with my own Broker/Bar file information, I attempted to RUN from the Toolkit. I received the following messages in the Console:

Buildfile: C:\Workspaces\WMB6WS\WmbDeployTool\WmbDeployTool.xml
deploy:
[echo] Logging will be written to 'c:\DeployLogs\Weldon-12112008-1042.log'.
[get] Getting: file:/c:/Workspaces/WMB6WS/LCSMQ WMB60 BARS/Weldon.bar
[get] .
[deploy] WmbDeployTask:Object{cmHost=bnxmqsda.labcorp.com, cmPort=1414, cmTrace=true, targetBroker=BKRDAA, targetExecutionGroup=Weldon, release=c:\DeployTemp\Weldon.bar}
[deploy] Traces will be written to cmpapi.trc.
[deploy] Disconnecting...
BUILD FAILED: java.lang.NoClassDefFoundError: com/ibm/mq/MQException
Total time: 1 second

The following information was in the cmpapi.trc file:

008-12-11 10:42:42.0784 main........... i: Configuration Manager Proxy - Basic Information:
System CLASSPATH = C:\Program Files\IBM\Rational\SDP\6.0\eclipse\plugins\org.apache.ant_1.6.2\lib\ant.jar;C:\Program Files\IBM\Rational\SDP\6.0\eclipse\plugins\org.apache.ant_1.6.2\lib\ant-antlr.jar;C:\Program Files\IBM\Rational\SDP\6.0\eclipse\plugins\org.apache.ant_1.6.2\lib\ant-apache-bcel.jar;C:\Program Files\IBM\Rational\SDP\6.0\eclipse\plugins\org.apache.ant_1.6.2\lib\ant-apache-bsf.jar;C:\Program Files\IBM\Rational\SDP\6.0\eclipse\plugins\org.apache.ant_1.6.2\lib\ant-apache-log4j.jar;C:\Program Files\IBM\Rational\SDP\6.0\eclipse\plugins\org.apache.ant_1.6.2\lib\ant-apache-oro.jar;C:\Program Files\IBM\Rational\SDP\6.0\eclipse\plugins\org.apache.ant_1.6.2\lib\ant-apache-regexp.jar;C:\Program Files\IBM\Rational\SDP\6.0\eclipse\plugins\org.apache.ant_1.6.2\lib\ant-apache-resolver.jar;C:\Program Files\IBM\Rational\SDP\6.0\eclipse\plugins\org.apache.ant_1.6.2\lib\ant-commons-logging.jar;C:\Program Files\IBM\Rational\SDP\6.0\eclipse\plugins\org.apache.ant_1.6.2\lib\ant-commons-net.jar;C:\Program Files\IBM\Rational\SDP\6.0\eclipse\plugins\org.apache.ant_1.6.2\lib\ant-icontract.jar;C:\Program Files\IBM\Rational\SDP\6.0\eclipse\plugins\org.apache.ant_1.6.2\lib\ant-jai.jar;C:\Program Files\IBM\Rational\SDP\6.0\eclipse\plugins\org.apache.ant_1.6.2\lib\ant-javamail.jar;C:\Program Files\IBM\Rational\SDP\6.0\eclipse\plugins\org.apache.ant_1.6.2\lib\ant-jdepend.jar;C:\Program Files\IBM\Rational\SDP\6.0\eclipse\plugins\org.apache.ant_1.6.2\lib\ant-jmf.jar;C:\Program Files\IBM\Rational\SDP\6.0\eclipse\plugins\org.apache.ant_1.6.2\lib\ant-jsch.jar;C:\Program Files\IBM\Rational\SDP\6.0\eclipse\plugins\org.apache.ant_1.6.2\lib\ant-junit.jar;C:\Program Files\IBM\Rational\SDP\6.0\eclipse\plugins\org.apache.ant_1.6.2\lib\ant-launcher.jar;C:\Program Files\IBM\Rational\SDP\6.0\eclipse\plugins\org.apache.ant_1.6.2\lib\ant-netrexx.jar;C:\Program Files\IBM\Rational\SDP\6.0\eclipse\plugins\org.apache.ant_1.6.2\lib\ant-nodeps.jar;C:\Program Files\IBM\Rational\SDP\6.0\eclipse\plugins\org.apache.ant_1.6.2\lib\ant-starteam.jar;C:\Program Files\IBM\Rational\SDP\6.0\eclipse\plugins\org.apache.ant_1.6.2\lib\ant-stylebook.jar;C:\Program Files\IBM\Rational\SDP\6.0\eclipse\plugins\org.apache.ant_1.6.2\lib\ant-swing.jar;C:\Program Files\IBM\Rational\SDP\6.0\eclipse\plugins\org.apache.ant_1.6.2\lib\ant-trax.jar;C:\Program Files\IBM\Rational\SDP\6.0\eclipse\plugins\org.apache.ant_1.6.2\lib\ant-vaj.jar;C:\Program Files\IBM\Rational\SDP\6.0\eclipse\plugins\org.apache.ant_1.6.2\lib\ant-weblogic.jar;C:\Program Files\IBM\Rational\SDP\6.0\eclipse\plugins\org.apache.ant_1.6.2\lib\ant-xalan1.jar;C:\Program Files\IBM\Rational\SDP\6.0\eclipse\plugins\org.apache.ant_1.6.2\lib\ant-xslp.jar;C:\Program Files\IBM\Rational\SDP\6.0\eclipse\plugins\org.eclipse.ant.ui_3.0.2\lib\remoteAnt.jar;C:\Workspaces\WMB6WS\WmbDeployTool;C:\Program Files\IBM\Rational\SDP\6.0\wmbt_prod\_jvm\jre\lib\ext\ConfigManagerProxy.jar
System OS Name = Windows XP
System OS Architecture = x86
System OS Version = 5.1
System JRE Version = 1.4.2
System JRE Vendor = IBM Corporation
Configuration Manager Proxy API Version = 6
Configuration Manager Proxy SCCS Version = Config/com/ibm/broker/config/proxy/ConfigManagerProxy.java, Config.Proxy, S600, S600-L60301.1 1.86.1.2
com.ibm.broker.config.proxy.ConfigManagerProxy loaded from file:/C:/Program%20Files/IBM/Rational/SDP/6.0/wmbt_prod/_jvm/jre/lib/ext/ConfigManagerProxy.jar!/com/ibm/broker/config/proxy/ConfigManagerProxy.class
com.ibm.broker.config.common.CommsMessage loaded from file:/C:/Program%20Files/IBM/Rational/SDP/6.0/wmbt_prod/_jvm/jre/lib/ext/ConfigManagerProxy.jar!/com/ibm/broker/config/common/CommsMessage.class
com.ibm.mq.MQEnvironment not found in CLASSPATH.
java.lang.System loaded from file:/C:/Program%20Files/IBM/Rational/SDP/6.0/eclipse/jre/lib/core.jar!/java/lang/System.class

How do I include com.ibm.mq.jar in the CLASSPATH. It is in my local machines ClassPath and I have included it in the JAVA Build Path of the Project:

MQ_PATH- C:\Program Files\IBM\WebSphere MQ\JAVA\lib\com.ibm.mq.jar
Back to top
View user's profile Send private message
wraymore
PostPosted: Thu Dec 11, 2008 8:58 am    Post subject: Reply with quote

Centurion

Joined: 16 Aug 2005
Posts: 114
Location: Burlington, NC USA

I have MQ Client 6.0.2.2 on my local machine.
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 » Problem with ANT Script WmbDeployTool
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.