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 API Support » Application question of how to override windows system

Post new topic  Reply to topic
 Application question of how to override windows system « View previous topic :: View next topic » 
Author Message
4everfsu
PostPosted: Sun Feb 17, 2013 4:21 pm    Post subject: Application question of how to override windows system Reply with quote

Apprentice

Joined: 17 Jan 2008
Posts: 34

enviromental variables?

We did a test last night and first off I am not an application programmer. I believe the appl is a .net and the following lines is the code added to over ride the system variable and point to CRXXXXT qmgr, connection MQXXXX on a backup server, both original and backup have the same qmanager name and connection name. We had network folks moving the DNS name to the backup on a different host. We pinged MQXXXX and the backup server name and MQXXXX and the backup server resolved to the same ip address. But the appl was still sending msgs to the orignial qmanager queues and not the backup server queues. We even opened up a c prompt window on a batch server that was sending msgs to the original qmanager, set mqserver to the backup server and did amqsputc and viewed the backup queues thru appwatch and the msgs was there, did an amqsgetc and pulled the msg off the backup server to the batch window server.

Appl folks recycled their appl and msgs were still being sent to the original qmanager and not the backup qmanager. Any ideals why? Or what to check?

<add key="DEVELOPMENT_QMgr_Override" value="CRXXXXT"/>
<add key="DEVELOPMENT_QChannel_Override" value="CHANNEL1"/>
<add key="DEVELOPMENT_QConnection_Override" value="MQXXXX"/>
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Feb 18, 2013 6:34 am    Post subject: Reply with quote

Grand High Poobah

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

Sounds to me like whereever the app is running, it's in a command shell where those environment variables are not set. Unlike the one you opened up, where they seem to be.
_________________
Honesty is the best policy.
Insanity is the best defence.
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 API Support » Application question of how to override windows system
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.