Author |
Message
|
jwdinkha |
Posted: Fri Jan 06, 2012 7:02 am Post subject: MQTester - HP Vugen 9.52 - lrmq_replay_client.dll error |
|
|
Newbie
Joined: 06 Jan 2012 Posts: 8
|
Greetings all,
I have an MQ script for Vugen 9.52 with MQTester 3.30. I have two client machines which are pretty much identical.
Windows XP SP3
IBM Websphere MQ Series version 6
Vugen 9.52
MQtester 3.30
On client machine 1, the script compiles and runs flawlessly. On client machine 2, it bombs out with the following error:
Warning: LoadLibrary failed for extension lrmq_replay_client.dll. System error: The specified module could not be found.
[MsgId: MWAR-10500]
Warning: Extension lrmq_replay_client.dll is not loaded. [MsgId: MWAR-10593]
Error: Thread Context: Call to service of the driver failed, reason - thread context wasn't initialized on this thread. [MsgId: MERR-10176]
Warning: Extension lrmq_replay_client.dll is not loaded. [MsgId: MWAR-10484]
The mdrv.dat file has the correct references to the file as well.
[MQSeries-Client]
ExtPriorityType=protocol
WINNT_EXT_LIBS=lrmq_replay_client.dll
WIN95_EXT_LIBS=lrmq_replay_client.dll
SOLARIS_EXT_LIBS=lrmq_replay_client.so
AIX_EXT_LIBS=lrmq_replay_client.so
HPUX_EXT_LIBS=lrmq_replay_client.sl
LibCfgFunc=lrmq_configure
UtilityExt=lrun_api
EnableThreads=0
[MQSeries-Server]
ExtPriorityType=protocol
WINNT_EXT_LIBS=lrmq_replay_serv.dll
WIN95_EXT_LIBS=lrmq_replay_serv.dll
SOLARIS_EXT_LIBS=lrmq_replay_serv.so
AIX_EXT_LIBS=lrmq_replay_serv.so
HPUX_EXT_LIBS=lrmq_replay_serv.sl
LibCfgFunc=lrmq_configure
UtilityExt=lrun_api
EnableThreads=0
I've tried repairing/reinstalling MQTester and IBM Websphere MQ. It seems that the DLL is not getting loaded at compile/runtime, but I can't find out why not. Anyone have some advice? |
|
Back to top |
|
 |
bruce2359 |
Posted: Fri Jan 06, 2012 7:21 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Does the .dll exist? _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
jwdinkha |
Posted: Fri Jan 06, 2012 7:24 am Post subject: @bruce2359 |
|
|
Newbie
Joined: 06 Jan 2012 Posts: 8
|
Yes. They do.
I'm looking into the CLASSPATH and the PATH right now... |
|
Back to top |
|
 |
jwdinkha |
Posted: Fri Jan 06, 2012 7:54 am Post subject: |
|
|
Newbie
Joined: 06 Jan 2012 Posts: 8
|
@bruce2359.
CLASSPATH and PATH look good, but did not help. |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Jan 06, 2012 8:06 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
jwdinkha wrote: |
@bruce2359.
CLASSPATH and PATH look good, but did not help. |
Is said dll on the PATH? _________________ MQ & Broker admin |
|
Back to top |
|
 |
jwdinkha |
Posted: Fri Jan 06, 2012 8:13 am Post subject: |
|
|
Newbie
Joined: 06 Jan 2012 Posts: 8
|
@fjb_saper
Yes. Both PATH and CLASS PATH. |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Jan 06, 2012 8:18 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
jwdinkha wrote: |
@fjb_saper
Yes. Both PATH and CLASS PATH. |
on the DEV box or runtime box?
Is the install path for your app different on the runtime box, so that your app could not find the dll? _________________ MQ & Broker admin |
|
Back to top |
|
 |
jwdinkha |
Posted: Fri Jan 06, 2012 8:22 am Post subject: |
|
|
Newbie
Joined: 06 Jan 2012 Posts: 8
|
@fjb_saper
Oddly, on the working box, the dll is not in the PATH or CLASSPATH. On the non-working box, I added it manually to PATH and CLASSPATH. I only added it because I couldn't figure out why it's NOT finding the damn DLL. I tried also using Process Explorer and Process Monitor on both machines to see if I can find the hook that calls the DLL; no luck.
Where is the head banging smiley? |
|
Back to top |
|
 |
bruce2359 |
Posted: Fri Jan 06, 2012 8:33 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
 _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Jan 06, 2012 8:41 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
jwdinkha wrote: |
@fjb_saper
Oddly, on the working box, the dll is not in the PATH or CLASSPATH. On the non-working box, I added it manually to PATH and CLASSPATH. I only added it because I couldn't figure out why it's NOT finding the damn DLL. I tried also using Process Explorer and Process Monitor on both machines to see if I can find the hook that calls the DLL; no luck.
Where is the head banging smiley? |
I'd suspect your environment is not what you think it is.
Log the output of SET before starting your program...  _________________ MQ & Broker admin |
|
Back to top |
|
 |
jwdinkha |
Posted: Fri Jan 06, 2012 11:35 am Post subject: |
|
|
Newbie
Joined: 06 Jan 2012 Posts: 8
|
@fjp_saper
Well, that took some time. Removed VuGen 9.52, remove Load Generator 9.52, removed MQTester 3.30. Renamed the old folder for Load Generator and VuGen. Rebooted a couple of times. Reinstalled all the above software in the following order:
VuGen 9.50 + QFE 9.51 and QFE 9.52 + IE8 patch
Load Generator 9.50 +QFE 9.51 and QFE 9.52
Rebooted a couple of times.
Installed MQTester.
Outputted my two PATH's and did a compare. There are very minor differences in them, specifically indicating some applications that are not installed on the second machine completely unrelated to VuGen / Load Generator (e.g. SSH).
Launched VuGen. Created an MQ Script hit compile.
Guess what?
Warning: LoadLibrary failed for extension lrmq_replay_client.dll. System error: The specified module could not be found.
[MsgId: MWAR-10500]
Warning: Extension lrmq_replay_client.dll is not loaded. [MsgId: MWAR-10593]
Error: Thread Context: Call to service of the driver failed, reason - thread context wasn't initialized on this thread. [MsgId: MERR-10176]
Warning: Extension lrmq_replay_client.dll is not loaded. [MsgId: MWAR-10484]
GAH!!!!!!
 |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Jan 06, 2012 11:53 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Are you per chance missing a step in your compile?
Do you need to pre-compile the libraries before launching the make?
Do you need to configure VuGen once launched for it to find the libraries in question? _________________ MQ & Broker admin |
|
Back to top |
|
 |
jwdinkha |
Posted: Fri Jan 06, 2012 12:11 pm Post subject: |
|
|
Newbie
Joined: 06 Jan 2012 Posts: 8
|
@fjp_saper
Of your three options, I'm thinking there is a potential for:
Do you need to configure VuGen once launched for it to find the libraries in question?
On my prior installs, I didn't have to do something per se. My suspicion is that there is some call that is not being made to grab the DLL. In desperation, I even moved over the entire VuGen install from my working machine. To no avail.
I've done a compare on the two folders (working and non) and there are some differences. I'm not necessarily surprised since a well used install will get peppered with configs/temp files/setting changes etc. But, somewhere there must be a call to the DLL.
I love these problems. Especially when I solve them. But this one is making me not happy. |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Jan 06, 2012 2:22 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
I figure in one of the config files for VuGen you have the library path or external library path or default library path etc... You get my drift...  _________________ MQ & Broker admin |
|
Back to top |
|
 |
jwdinkha |
Posted: Tue Jan 10, 2012 12:00 pm Post subject: SOLVED |
|
|
Newbie
Joined: 06 Jan 2012 Posts: 8
|
@all,
Greetings all,
Since no one likes a missing solution, here it how I solved it.
While the lrmq_replay_client.dll was being thrown as the error, the issue was actually with a missing DLL as part of the IBM Websphere MQ install: AMQZSAIC.DLL
I modified my installation of Websphere MQ to install "everything" and then the script compiled with no errors.
To find the missing dependency, I used a program called Dependency Walker (http://www.dependencywalker.com/)
I selected the lrmq_replay_client.dll and it threw and error that AMQZSAIC.DLL was missing. Tracked that back to Websphere MQ with Dependency Walker. Done.
Feel much better now.
Thanks for any advice. |
|
Back to top |
|
 |
|