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 » General IBM MQ Support » MQ and WAS: JMSAdmin does not accept DEF WSQCF() command

Post new topic  Reply to topic
 MQ and WAS: JMSAdmin does not accept DEF WSQCF() command « View previous topic :: View next topic » 
Author Message
hopsala
PostPosted: Fri Sep 24, 2004 2:13 pm    Post subject: MQ and WAS: JMSAdmin does not accept DEF WSQCF() command Reply with quote

Guardian

Joined: 24 Sep 2004
Posts: 960

Hi there,
after reading much of the material on the internet - both here and, in IBM books and in other sites - I have not been able to solve this problem, so I would appreciate your support.

When trying to type in JMSAdmin the command:
DEF WSQCF(SSL) QMANAGER(SSLQMGR) TRANSPORT(CLIENT) HOSTNAME(localhost) PORT(1414) CHANNEL(SSL.SVRCONN) SSLCIPHERSUITE(SSL_RSA_WITH_RC4_128_MD5)

or any other similar variation I receive this error message:
"InitCtx> Unable to create a valid object, please check the parameters supplied
Unable to create a WebSphere MQ specific class. The WebSphere MQ classes may not have been installed or added to the classpath."


Now, this command I took from the wonderfull book "WAS and MQ Family Integration" (sg246878) in chapter 15.3.1.
However, in yusufs article "Configuring SSL Connections between JMS Clients and the WebSphere MQ JMS Provider" and in most other references to this subject, I have noticed people use the "DEF QCF" command instead of my "DEF WSQCF".
Btw, the "DEF QCF" command works, though I have not tried connecting the namespace to WAS as of yet.

What I'd like to know is what's the exact difference between QCF and WSQCF and which I should use.
Also, all documentation I found was for WAS 5.0, is there no way in WAS 5.1 to use SSL channels without using JMSAdmin and all this hassle? It seems incredible to me that you cannot define it from within the administration console (though I have not found how).


I have tried this on several machines with the following properties:
WAS 5.1/5.0, MQ 5.3.0/5.3.1, windows 2000/xp/2000 proffesional.
my CLASSPATH includes all that is stated in the books and many of the articles i've read here and in other places (providerutil.jar, mqjms.jar etc etc) and my JMSAdmin.config has been taylored according with your instructions on previous posts.

CLASSPATH=.;D:\Program Files\IBM\WebSphere MQ\Java\lib\providerutil.jar;D:\Program Files\IBM\WebSphere MQ\Java\lib\com.ibm.mqjms.jar;D:\Program Files\IBM\WebSphere MQ\Java\lib\ldap.jar;D:\Program Files\IBM\WebSphere MQ\Java\lib\jta.jar;D:\Program Files\IBM\WebSphere MQ\Java\lib\jndi.jar;D:\Program Files\IBM\WebSphere MQ\Java\lib\jms.jar;D:\Program Files\IBM\WebSphere MQ\Java\lib\connector.jar;D:\Program Files\IBM\WebSphere MQ\Java\lib\fscontext.jar;D:\Program Files\IBM\WebSphere MQ\Java\lib\com.ibm.mq.jar

in JMSAdmin.config
INITIAL_CONTEXT_FACTORY=com.sun.jndi.fscontext.RefFSContextFactory
PROVIDER_URL=file:/E:/JNDI/
SECURITY_AUTHENTICATION=none


That's it, a little lengthy I know, but I think it necessary.

Tnx!
Back to top
View user's profile Send private message
vennela
PostPosted: Fri Sep 24, 2004 3:41 pm    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

Do not post a question in multiple forums.
See my answer in the Java/JMS forum
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » MQ and WAS: JMSAdmin does not accept DEF WSQCF() command
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.