|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Command line in WMQI (continue) |
« View previous topic :: View next topic » |
Author |
Message
|
ngtanh |
Posted: Sun Aug 03, 2003 6:48 pm Post subject: Command line in WMQI (continue) |
|
|
Novice
Joined: 01 Aug 2003 Posts: 11
|
I want to import and export a XML workspace file, and deploy the configuration data by command line. I download Support Pac "IC01" at IBM website.
I have installed WMQI V2.1 on the path "C:\Program Files\IBM\WebSPhere MQ Integrator 2.1". I have unziped "ic01.zip" file, that I have download, on the path "C:\Program Files\IBM\WebSPhere MQ Integrator 2.1\Tool" follow the guide document. My computer name is "svr-mq", queue manager name is "test", port number of queue manager name is "1415", and modify "mqsicfgutil.ini" file as those parameters.
But when I enter one of commands that IC01 support, I allways have an error: 'java' is not recognized as an internal or external command, operable program or batch file
What can I have to do ?
Thanks. |
|
Back to top |
|
 |
kirani |
Posted: Sun Aug 03, 2003 7:51 pm Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
|
Back to top |
|
 |
ngtanh |
Posted: Mon Aug 04, 2003 10:20 pm Post subject: WMQI command line |
|
|
Novice
Joined: 01 Aug 2003 Posts: 11
|
Hi Kirani
I have done as you suggestion, by modifying "mqsideploy.bat" file with the path "C:\Program Files\IBM\WebSphere MQ Integrator 2.1\Tool" 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
but I have another error:
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 havepermission, 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.
I also make com.ibm.mq.jar file is in my CLASSPATH as:
"C:\Program Files\IBM\WebSphere MQ Integrator 2.1\classes\com.ibm.mq.jar "
I loggon to my computer with account:
UserId:db2admin
Password:db2admin
this account is a member of group: Administrator, mqbrasgn, mqbrtevt, mqbrkrs, mqbrops, mqbrtpic, mqm.
I also very supprise with "..\classes\com.ibm.mq.jar" etc. while there is no folder with the name "classes" in the folder "C:\Program Files\IBM\WebSphere MQ Integrator 2.1\Tool"
Please tell me the way to solve this problem
Thanks |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|