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 » IBM MQ Java / JMS » Unable to start the JMS Admin Console in Win2K - urgent help

Post new topic  Reply to topic
 Unable to start the JMS Admin Console in Win2K - urgent help « View previous topic :: View next topic » 
Author Message
madanCan
PostPosted: Tue Jul 06, 2004 7:33 am    Post subject: Unable to start the JMS Admin Console in Win2K - urgent help Reply with quote

Newbie

Joined: 25 May 2004
Posts: 8
Location: Chicago, IL

I am unable to starte JMS Admin Console: when I issue from commnad prompt : JMSAdmin.bat -cfg JMSAdmin.config
I am getting the following output
====
Unrecognized option: -
Unable to parse 1.2 format supplied options - rc=-6
Usage: java [-options] class [args...]
(to execute a class)
or java -jar [-options] jarfile [args...]
(to execute a jar file)

where options include:
-cp -classpath <directories and zip/jar files separated by ;>
set search path for application classes and resources
-D<name>=<value>
set a system property
-verbose[:class|gc|jni]
enable verbose output
-version print product version
-showversion print product version and continue
-? -help print this help message
-X print help on non-standard options
Could not create the Java virtual machine.

=====

My ClassPath looks like this:

C:\Sofdev\MQSeries\Java\lib\providerutil.jar;C:\Sofdev\MQSeries\Java\lib\com.ibm.mqjms.jar;C:\Sofdev\MQSeries\Java\lib\ldap.jar;C:\Sofdev\MQSeries\Java\lib\jta.jar;C:\Sofdev\MQSeries\Java\lib\jndi.jar;C:\Sofdev\MQSeries\Java\lib\jms.jar;C:\Sofdev\MQSeries\Java\lib\connector.jar;C:\Sofdev\MQSeries\Java\lib\fscontext.jar;C:\Sofdev\MQSeries\Java\lib\com.ibm.mq.jar;C:\Sofdev\MQSeries\Java\lib\rmm.jar;C:\Program Files\IBM\IBM CICS Transaction Gateway\Classes\CTGCLIENT.JAR;C:\Program Files\IBM\IBM CICS Transaction Gateway\Classes\CTGSERVER.JAR;C:\Program Files\IBM\IBM CICS Transaction Gateway\Classes\CICSJ2EE.JAR;C:\Program Files\IBM\IBM CICS Transaction Gateway\Classes\CTGSAMPLES.JAR;.;C:\Sofdev\SQLLIB\java\db2java.zip;C:\Sofdev\SQLLIB\java\runtime.zip;C:\Sofdev\SQLLIB\java\sqlj.zip;C:\Sofdev\SQLLIB\bin

====


I would really appreciate your help.

thanks
Back to top
View user's profile Send private message
cart_chiu
PostPosted: Tue Jul 06, 2004 8:17 am    Post subject: Reply with quote

Novice

Joined: 30 Jun 2004
Posts: 10

sounds like your JMSAdmin.bat has some invalid parameters. Have you opened the bat file to take a look?
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
madanCan
PostPosted: Tue Jul 06, 2004 8:35 am    Post subject: JMSAdmin.bat looks like this after editing Reply with quote

Newbie

Joined: 25 May 2004
Posts: 8
Location: Chicago, IL

set WAS_HOME=C:\WebSphere\AppServer
set MQM_HOME=C:\Sofdev\MQSeries

%WAS_HOME%\java\jre\bin\java

-Djava.ext.dirs="%WAS_HOME%\java\lib:%WAS_HOME%\java\jre\lib\ext;%WAS_HOME%\lib;%MQM_HOME%\java\lib" - CLASSPATH ...
Back to top
View user's profile Send private message
EddieA
PostPosted: Tue Jul 06, 2004 11:26 am    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

If any of your existing PATH or CLASSPATH contain directories with a space in them (Program Files), then you might need to enclose some of the parameters on the java command line in quotes if these are pulled in.

Cheers,
_________________
Eddie Atherton
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
fjb_saper
PostPosted: Tue Jul 06, 2004 2:09 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Looks like you have conflicting entries as to where your jar files are.
The bat file rewrites your classpath.

Are you running Websphere Application Server ??

If not you will probably need to modify your bat file.

Anyway for WAS I would be running the admin console and define my JMS MQ resource there....

Just my 2 cts
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 » IBM MQ Java / JMS » Unable to start the JMS Admin Console in Win2K - urgent help
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.