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 Security » MQ Api error 2393

Post new topic  Reply to topic
 MQ Api error 2393 « View previous topic :: View next topic » 
Author Message
yoman
PostPosted: Wed Dec 26, 2012 3:01 am    Post subject: MQ Api error 2393 Reply with quote

Newbie

Joined: 13 Nov 2012
Posts: 9

Good day.
When I try to run my program in eclipse,it works fine. But when I try to run in as jar file, I get error 2393.

I am using CipherSpec SSL_RSA_WITH_AES_256_CBC_SHA, I tried with some other ciphers and it did work. FIPS is set to true, and I made sure that in java security folder policy files are unrestricted.

I in QueueManager log says "Remote channel 'MQ.TEST' did not specify a CipherSpec when the local channel expected one to be specified.".

My main question what i am doing wrong, if it works in eclipse and doesn't work when I call it as jar from console.
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Wed Dec 26, 2012 6:14 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

When your running from the console, you may not be loading the same classes or loading them in the same order. Inspect your class loading order in both situations to see which classes are being loaded when. You may hit an older MQ jar in console where you do not hit it in Eclipse.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Thu Dec 27, 2012 7:54 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

http://publib.boulder.ibm.com/infocenter/wmqv7/v7r0/index.jsp?topic=%2Fcom.ibm.mq.csqzaw.doc%2Fja10290_.htm
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Security » MQ Api error 2393
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.