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 » Command line in WMQI (continue)

Post new topic  Reply to topic
 Command line in WMQI (continue) « View previous topic :: View next topic » 
Author Message
ngtanh
PostPosted: Sun Aug 03, 2003 11:54 pm    Post subject: Command line in WMQI (continue) Reply with quote

Novice

Joined: 01 Aug 2003
Posts: 11

Hi.
I have a problem with command line in WMQI. I want to deploy configuration data by command line. I used support pac IC01 and have an error: 'java' is not recognized as an internal or external command, operable program or batch file. The original mqsideploy.bat in IC01 is like this:

@echo off

set DEP_CLASSPATH=.;.\ic01.jar;..\classes\com.ibm.mq.jar;..\classes\jfaceall.jar;..\classes\swingall.jar;..\classes;..\classes\xml4j.jar;..\classes\broker.jar;..\classes\config.jar;..\classes\argo.jar;..\classes\webdav.jar;..\lib;..\lib\rt.jar;..\lib\math.jar;..\lib\i18n.jar;%classpath%

if not exist mqsi.dtd goto nodtd
if %1""=="" goto noparam

java -cp "%DEP_CLASSPATH%" com.ibm.broker.config.util.Deploy %1 %2 %3 %4 %5 %6 %7
goto end

:nodtd
echo.
echo The file 'mqsi.dtd' does not exist in this directory.
echo.
echo Please ensure this program is launched from the mqsi_root_dir\Tool
echo directory.
goto end

:noparam

java -cp "%DEP_CLASSPATH%" com.ibm.broker.config.util.Deploy -?

:end


then I modify mqsideploy.bat as follow:

@echo off

set DEP_CLASSPATH=.;.\ic01.jar;..\classes\com.ibm.mq.jar;..\classes\jfaceall.jar;..\classes\swingall.jar;..\classes;..\classes\xml4j.jar;..\classes\broker.jar;..\classes\config.jar;..\classes\argo.jar;..\classes\webdav.jar;..\lib;..\lib\rt.jar;..\lib\math.jar;..\lib\i18n.jar;%classpath%

if not exist mqsi.dtd goto nodtd
if %1""=="" goto noparam

.\bin\java -cp "%DEP_CLASSPATH%" com.ibm.broker.config.util.Deploy %1 %2 %3 %4 %5 %6 %7
goto end

:nodtd
echo.
echo The file 'mqsi.dtd' does not exist in this directory.
echo.
echo Please ensure this program is launched from the mqsi_root_dir\Tool
echo directory.
goto end

:noparam

.\bin\java -cp "%DEP_CLASSPATH%" com.ibm.broker.config.util.Deploy -?

:end


After modifying, I have another error like this:

file:/C:/Program Files/IBM/WebSphere MQ Integrator 2.1/Tool/Parser: 1, 0: Invalid document structure.
file:/C:/Program Files/IBM/WebSphere MQ Integrator 2.1/Tool/Parser: 1, 11: Document must start with "<?xml".

BIP1036S: Unexpected WebDAV exception in utility Deploy; method getUUID.

A WebDAV exception was caught by the Deploy utility in method getUUID. The exception text is: BIP1361S: Unable to locate MQSeries Java classes. When connecting to the MQSeries queue manager at Configuration Manager startup, the MQSeries Java classes could not be located. The Control Center is unable to communicate with the Configuration Manager. Ensure that the required level of MQSeries Java classes are installed and have been correctly added to the classpath. You must also ensure that the userid under which you are running has permission to access the directory where the MQSeries Java classes are installed. If you do not have permission, either change the permissions on the directory or add your userid to the Administrators group. . The current operation will end.

Retry the operation if possible. If the exception still occurs, contact your IBM support center.


Please give me some suggestions
Thanks
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Command line in WMQI (continue)
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.