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 » error connecting to a mainframes QM from unix using JMS &

Post new topic  Reply to topic
 error connecting to a mainframes QM from unix using JMS & « View previous topic :: View next topic » 
Author Message
pratik_oze
PostPosted: Fri Mar 20, 2009 2:47 am    Post subject: error connecting to a mainframes QM from unix using JMS & Reply with quote

Apprentice

Joined: 22 Jun 2004
Posts: 34

I am trying to connect to an mainframes queue manager from java code running on unix box. the ssl properties have been set correctly as its been used by other codes as well.
following is the error seen on console

The hastable is: {SleepTime=10000, WaitIntervalWhileGet=100, MsgHeaderDestinationName=DEST, MsgType=FILE, SrcDirPath=/apps/test, StopFileName=/apps/test/stopfiles/receipteng.stopfile, QueueManagerName=QM, QueueName=CC.TEST.IN, SSLFile=SSL.properties, PortNumber=20032, HostName=200.1.19.1, ChannelName=CC.TEST.SVRCONN}
MQJMSHandler - ServCon Channel Details Found...
MQJMSHandler - SSL File Name: SSL.properties
MQJMSHandler - SSL File Name:SSL
Congifuring SSL from input file: SSL
MQJMSHandler - SSL Details found for the above channel...
MQJMSHandler - SSL PeerName: CN=ibmWebSphereMQQM
MQJMSHandler - SSL Chip: SSL_RSA_WITH_3DES_EDE_CBC_SHA
ssl.keyStore: /var/wmq_security/ismqsi_d/ismqsi_d.jks
ssl.keyStorePassword: tgbredsx
ssl.trustStore: /var/wmq_security/ismqsi_d/ismqsi_d.jks
ssl.trustStorePasswordtgbredsx
MQJE001: An MQException occurred: Completion Code 2, Reason 2059
MQJE013: Error accessing socket streams
MQJE001: An MQException occurred: Completion Code 2, Reason 2059
MQJE013: Error accessing socket streams
============================================

following is the error in java logger
ERROR:::MQJMS2005: failed to create MQQueueManager for 'QM'Cause- null
MQJMS2005: failed to create MQQueueManager for 'QM'
javax.jms.JMSException: MQJMS2005: failed to create MQQueueManager for 'QM'
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Mar 20, 2009 2:54 am    Post subject: Re: error connecting to a mainframes QM from unix using JMS Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

pratik_oze wrote:
I am trying to connect to an mainframes queue manager from java code running on unix box. the ssl properties have been set correctly as its been used by other codes as well.


By which you mean other Java apps have successfully connected to the mainframe using non-SSL channels, or that those SSL properties have been used in unix-unix comms?

If this is the first time you've tried to connect to the mainframe (SSL or non-SSL) ask the sys progs if they've got CAF running.
_________________
Honesty is the best policy.
Insanity is the best defence.


Last edited by Vitor on Fri Mar 20, 2009 2:55 am; edited 1 time in total
Back to top
View user's profile Send private message
pratik_oze
PostPosted: Fri Mar 20, 2009 2:55 am    Post subject: Reply with quote

Apprentice

Joined: 22 Jun 2004
Posts: 34

Same as I am trying for this one.
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Mar 20, 2009 2:57 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

pratik_oze wrote:
Same as I am trying for this one.




So which is the "same"? Java apps connecting or the SSL question?


_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Mar 20, 2009 2:58 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

If other Java is already connected to the mainframe successfully proceed as you would normally for a 2059. Especially if you're confident of the SSL.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sat Mar 21, 2009 9:00 am    Post subject: Reply with quote

Grand High Poobah

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

Quote:
ssl.trustStorePasswordtgbredsx
Missing a colon somewhere there?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
pratik_oze
PostPosted: Tue Mar 24, 2009 1:13 am    Post subject: Reply with quote

Apprentice

Joined: 22 Jun 2004
Posts: 34

Where do you mean?
we have the following lines included
===============================
sslKeyStorePassword = tgbredsx
sslTrustStorePassword = tgbredsx
sslCiph = TRIPLE_DES_SHA_US
sslPeerName=CN=ibmwebspheremqismqsi_d
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 Java / JMS » error connecting to a mainframes QM from unix using JMS &
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.