|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQ and WAS: JMSAdmin does not accept DEF WSQCF() command |
« View previous topic :: View next topic » |
Author |
Message
|
hopsala |
Posted: Fri Sep 24, 2004 2:13 pm Post subject: MQ and WAS: JMSAdmin does not accept DEF WSQCF() command |
|
|
 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 |
|
 |
vennela |
Posted: Fri Sep 24, 2004 3:41 pm Post subject: |
|
|
 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 |
|
 |
|
|
 |
|
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
|
|
|
|