Author |
Message
|
In_love_with_MQ |
Posted: Fri Mar 10, 2006 4:36 am Post subject: mirrorQ ISSUE :Please do provide some light |
|
|
Acolyte
Joined: 10 Jul 2005 Posts: 70
|
Hi,
I am trying to use MIRRORQ on aix .
I downloaded the mirrorq and mirrorq_r and put them into my /var/mqm/exits
The module '/var/mqm/exits/mirrorq_r' for API Exit 'mirrorq' could not be
loaded for reason xecU_S_LOAD_FAILED.
xecU_S_LOAD_FAILED
I doubt the code needs to be recompiled as i am on AIX 5.3 and MQ 6.0 ?
Hope i am right . My problem is i dont possess any compilers which IBM says is supported for MQ like xlc etc .
I could see from MQSERIES some mentioning that MIRRORQ can be compiled and linked using gcc ?
IS it so .can u use gcc to compile on AIX ?
IS GSS FREE ? I HOPE ?
please if somebody has compiled mirror q using gcc on aix .kindly provide the steps as IBM docs shows only using xlc ? |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Mar 10, 2006 6:01 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
I just did this successfully yesterday. It was for MQ 5.3, though.
Can you show us the stanza you put into your qm.ini? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
clindsey |
Posted: Fri Mar 10, 2006 6:09 am Post subject: |
|
|
Knight
Joined: 12 Jul 2002 Posts: 586 Location: Dallas, Tx
|
There are a couple of things you will need to do.
The mirrorq and mirrorq_r you have are ok for 32 bits apps. Copy these to /var/mqm/exits and set permissions to 755. You will need to compile a 64 bit version of mirrorq and mirrorq_r and copy them to /var/mqm/exits64.
In the qm.ini, do not put the full path to the binaries.
Code: |
ApiExitLocal:
Name=mirrorq
Function=EntryPoint
Module=mirrorq
Data=mirrorq
Sequence=100
|
not Module=/var/mqm/exits/mirrorq
Charlie |
|
Back to top |
|
 |
In_love_with_MQ |
Posted: Fri Mar 10, 2006 7:13 am Post subject: how to recompile 64 bit mirrorq |
|
|
Acolyte
Joined: 10 Jul 2005 Posts: 70
|
Hi ,
My qm.ini details are as follows
ApiExitLocal:
Name=mirrorq
Function=EntryPoint
Module=mirrorq
Data=mirrorq
Sequence=100
My mq is 6.0 which is 64 bit qm .
so in 6 am i supposed to recompile ?
where can i get the 64 bit mirrorq ?
If so how to recompile using gcc ? |
|
Back to top |
|
 |
clindsey |
Posted: Fri Mar 10, 2006 7:42 am Post subject: |
|
|
Knight
Joined: 12 Jul 2002 Posts: 586 Location: Dallas, Tx
|
You will need to recompile for V6. A 64 bit version of mirrorq is not available. I have not done a gcc compile so I can't help with that. If you do get it compiled, be sure to use the directory structure in my last post.
Charlie |
|
Back to top |
|
 |
|