This content has been marked as final. Show 6 replies
The new method is to use the ECXpert JMS agents. A requirement is that the version of MQSeries you are using is new enough that it can manage JMS.
Regarding how easy or difficult, I'm not sure. However I do know it that the engineers have tested ECXpert with IBM's MQSeries using JMS.
Stacy Thurston, ex-ECXpert product manager
We tried using the standard Legacy Server (MQSeries) outgoing protocol to send but we are running into some ECX/MQ errors. Outside of ECX we can successfully send a message to the queue using amqsputc, but when we use ECX the following appears in the AMQERR01.LOG:
AMQ6119: An internal MQSeries error has occurred ('Invalid argument' from shmget.)
AMQ6175: The system could not dynamically load the library /opt/mqm/lib/amqcctca. The error message was ld.so.1: /app/ns-home/ecxpert/NS-apps/ECXpert/bin/legacyroled: fatal: relocation error:
file /opt/mqm/lib/amqcctca: symbol xihProcess: referenced symbol not found.
In ECXpert.log.legacyserver.dat we see:
8810:MQSeriesRole::Connect-MQCONN failed with MQSeries reason code : 2059, refer to ECXPert or MQSeries documentation to get the corresponding message string
Any help with this would be much appreciated.
Looks like you have not set the LD_LIBRARY_PATH properly in your ECX environment. Please make sure that you have set it correctly and are able to use amqsputc using the same Unix user as ECXpert.
On a separate note, as Stacy mentioned, it is better to use the JMS connectors for MQSeries connectivity from within ECXpert. My experience with Legacy MQSeries connectors has been relatively more problematic.
Hope this helps.
Prior to 3.6.* (no JMS), we wound up writing C programs to the MQ API. We defined the PUT programs as user-defined-* protocols in the ecx.ini file (it called a shell script that set up the environment & called the program). As for the receive side, all of our queues are trigger queues (from several mainframe environments). The trigger program is actually a script which figures out which queue has data & which program to run - that program is subsequently run. We have various character set requirements etc. We even had to write a special set of programs to overcome MQs message size limitation!!!
All this was done way back in ECXpert 3.0 when it was still an iPlanet product - we have not gone back to the baked-in MQ support....
Hope this gives you some other ideas....