|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
user context on a message exit during receive() |
« View previous topic :: View next topic » |
Author |
Message
|
HenriqueS |
Posted: Fri Nov 16, 2007 12:21 pm Post subject: user context on a message exit during receive() |
|
|
 Master
Joined: 22 Sep 2006 Posts: 235
|
Hello,
I have a message exit that checks on which kind of channel is called. If it is a sender channel, it performs some operations on the message flowing out. If it is a receiver channel, it performs some other operations.
Funny thing is that to make it sure everything is fine I write a log file to check it later...using regular C functions as fopen() and fprintf()...
If the exit is called over a sender channel (when sending messages), the file is written into /var/mqm .
If the exit is called over a receiver channel (when receiving messages), the file is written into /home/mqm
Any idea why? _________________ HenriqueS
Certified Websphere MQ 6.0 System Administrator |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Nov 16, 2007 12:36 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
chinit vs runmqlsr. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
RogerLacroix |
Posted: Fri Nov 16, 2007 7:37 pm Post subject: |
|
|
 Jedi Knight
Joined: 15 May 2001 Posts: 3264 Location: London, ON Canada
|
Hi,
I'm guessing the exits are on 2 different servers. Basically, the mqm account has a different 'home' directory on each server. You can verify this by doing:
Code: |
grep mqm /etc/passwd |
Why don't you explicitly write to a particular path and file.
i.e.
/var/mqm/exits/myexit.log
Regards,
Roger Lacroix
Capitalware Inc. _________________ Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|