Author |
Message
|
madanCan |
Posted: Tue Jul 06, 2004 7:33 am Post subject: Unable to start the JMS Admin Console in Win2K - urgent help |
|
|
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 |
|
 |
cart_chiu |
Posted: Tue Jul 06, 2004 8:17 am Post subject: |
|
|
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 |
|
 |
madanCan |
Posted: Tue Jul 06, 2004 8:35 am Post subject: JMSAdmin.bat looks like this after editing |
|
|
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 |
|
 |
EddieA |
Posted: Tue Jul 06, 2004 11:26 am Post subject: |
|
|
 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 |
|
 |
fjb_saper |
Posted: Tue Jul 06, 2004 2:09 pm Post subject: |
|
|
 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 |
|
 |
|