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 » MQ Connection Pool

Post new topic  Reply to topic Goto page Previous  1, 2
 MQ Connection Pool « View previous topic :: View next topic » 
Author Message
PeterPotkay
PostPosted: Wed May 18, 2005 4:35 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

Ask your MQSeries Admin to help you.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed May 18, 2005 10:05 am    Post subject: Reply with quote

Grand High Poobah

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

Sorry check using java manual pages 69 to 71.

See MQEnvironment.properties ....

Back to top
View user's profile Send private message Send e-mail
PeterPotkay
PostPosted: Wed May 18, 2005 3:28 pm    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

Wasn't exactly clear myself. Have the MQ Administrator at your shop help you with turning that setting on for the QM, and looking in the queue for the ID that is failing.

For info on the MQEnvironment class, the manual fjb_saper pointed you to is the way to go.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
zen
PostPosted: Thu May 19, 2005 1:30 am    Post subject: Reply with quote

Apprentice

Joined: 11 May 2005
Posts: 32
Location: Singapore

Hi guys,

What a great day isn't it???(well it's daytime here). Anyways, thank you very much for all those who shared their time and expertise for my queries. I was able to make my client program connect to the remote MQ server. For the benefit of those who encountered or will encounter the same problem, the problem is that...well, im quite ashame with this...hehehe....why the hell didn't I ask that on the forum?! The problem was that the userid in the MCAUSER is case-sensitive! As always, we tend to overlook simple things! All along I thought that it isn't because when I altered the MCAUSER I gave it a lowercase parameter but it was automatically converted into uppercase letters. I even re-tried it for 3 times! Fortunately, I just happen to read the MQSC Command Reference documentation (page 16) that says it is case-sensitive and I should use QOUTES('') to specify lowercase characters. The value of reading!

There you go. Anyways, this is such a great forum. Thanks a lot.

Till next....

zen

Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Thu May 19, 2005 5:06 pm    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

zen, glad you got it working. I don't know if you asked the MQ admin to turn that event on for the QM to solve this. That would have shown you the problem immediatly, becaue it tells you exactly what ID is failing, not what ID you *think* is failing. I can't tell you how many times we used to waste trying to figure out why ID1 wasn't working, only to learn that wasn't even the ID in question! It was ID2, or like you ID1 and not id1.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
zen
PostPosted: Thu May 19, 2005 5:44 pm    Post subject: Reply with quote

Apprentice

Joined: 11 May 2005
Posts: 32
Location: Singapore

Hi Peter,

Yes, I did ask our server admin(not exactly our MQ admin -- unfortunately that guy's on out-of-the-country leave). But we enabled the AUTHREV (is what we enabled correct?). I tried to read all the logs and errors but it doesn't show any userid. I'm not really sure why. It could have saved us a lot of time! On the positive side, because of this problem I learned a lot of from you guys based on your explanations, suggestions and ideas...and I hope to learn more. So keep up the good work!

zen
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Thu May 19, 2005 7:25 pm    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

When you turn that setting on, you don't need to go looking through logs and errors. Just look in the SYSTEM.ADMIN.QMGR.EVENT queue, and a message will be there, telling exactly what went wrong and for who if they got a 2035 error.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
zen
PostPosted: Wed May 25, 2005 2:04 am    Post subject: Reply with quote

Apprentice

Joined: 11 May 2005
Posts: 32
Location: Singapore

Hi,

Yes I did try to look at the SYSTEM.ADMIN.QMGR.EVENT but it appears to be a directory, and when I opened that directory, it contained a single executable file with filename "q". Can you kindly discuss to me how can I look at this event log?

Thank you very much.

Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed May 25, 2005 3:24 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

It's not a 'log'.

It's a QUEUE.

You need to use MQ to read it.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
zen
PostPosted: Wed May 25, 2005 8:49 pm    Post subject: Reply with quote

Apprentice

Joined: 11 May 2005
Posts: 32
Location: Singapore

Ok, i'll just wait for our MQ admin so I can ask for his assistance.

Thanks a lot!

zen
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum Index » IBM MQ Java / JMS » MQ Connection Pool
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.