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 Installation/Configuration Support » Reason Code 2085 on Remote Queues for Java App

Post new topic  Reply to topic
 Reason Code 2085 on Remote Queues for Java App « View previous topic :: View next topic » 
Author Message
paulgroo
PostPosted: Wed Jul 05, 2006 6:23 am    Post subject: Reason Code 2085 on Remote Queues for Java App Reply with quote

Centurion

Joined: 07 Jul 2005
Posts: 138
Location: Ireland

Hi everyone.

Okay I have a real brain teaser: I have WebSphere MQ 5.3 running on iSeries. Using a java application (home grown), messages are put from the file system onto a remote queue in MQSeries and passed across onto a Windows machine.
When I run the java program, the error logs are giving me loads of 2085 messages (cannot find queue...). When I specify an alias queue, and point that alias queue at the remote queue, the java application posts the message across onto the central windows server but it's simply 'null' instead of having text content. I've checked permissions, compared the configuration with several other servers that use the same utility, recreated all MQ objects...(more or less everything except put a hammer through the side of the server).
Has anyone ever come across a simular problem?
Back to top
View user's profile Send private message MSN Messenger
Hassan
PostPosted: Wed Jul 05, 2006 7:30 am    Post subject: Reply with quote

Voyager

Joined: 01 Apr 2004
Posts: 81
Location: Toronto, Canada

I know it sounds kinda simple but have you made sure that case is not the culprit here. iSeries automatically reverts to upppercase so if there is mixed case or lower case then ' ' have to be used.
Back to top
View user's profile Send private message
paulgroo
PostPosted: Fri Jul 07, 2006 2:59 am    Post subject: Workaround Reply with quote

Centurion

Joined: 07 Jul 2005
Posts: 138
Location: Ireland

I ended up using a workaround for this one. I couldnt get the java app to connect to any of the remote queues, so I created a few alias queues which in turn pointed to the remote queues. Everything's working fine now. Still don't understand what the problem was though...
Back to top
View user's profile Send private message MSN Messenger
jefflowrey
PostPosted: Fri Jul 07, 2006 3:20 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

A 2085 on a put, when you know the queue exists, usually means that you've specified a queue manager name incorrectly on the put. Like you've connected to qmgr A and put to a qlocal on A, but specified qmgr B in the put call.

Working with remote queues, it probably means that your remote queue definition isn't quite right - maybe you spelled the transmission queue name wrong?

On the other hand, if that were true, then using an alias queue instead shouldn't fix the problem.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
paulgroo
PostPosted: Fri Jul 07, 2006 3:28 am    Post subject: Reply with quote

Centurion

Joined: 07 Jul 2005
Posts: 138
Location: Ireland

Yes, that's the thing... I recreated the queue manager objects to make sure that they were pristine, but still it wouldnt through the messages onto the RemoteQ. I would have thought the same problem would arise with the Alias queues, but it's grand! Pah, I dunno. Maybe it's more of a java issue (?!). I'm going to recreate everything on a test box on Monday and see what's really going with this malarcky.

Thanks for the feedback though!
Back to top
View user's profile Send private message MSN Messenger
jefflowrey
PostPosted: Fri Jul 07, 2006 3:38 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Well, yeah, "maybe it's a java issue" is what I mean. Your java code might be specifying a queue manager name somewhere that it shouldn't be.

This is extremely easy to do with JMS - just put one in the queue destination instead of just the QCF.
_________________
I am *not* the model of the modern major general.
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 Installation/Configuration Support » Reason Code 2085 on Remote Queues for Java App
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.