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 6:48 pm    Post subject: Command line in WMQI (continue) Reply with quote

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
View user's profile Send private message Send e-mail
kirani
PostPosted: Sun Aug 03, 2003 7:51 pm    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

This thread might help.
http://www.mqseries.net/phpBB2/viewtopic.php?t=9950&highlight=java
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
ngtanh
PostPosted: Mon Aug 04, 2003 10:20 pm    Post subject: WMQI command line Reply with quote

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
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.