Skip to main content

MQ 4.4 or MQ 4.5 mqcrt1.dll does not work in Citrix

17 replies [Last post]
thompjs
Offline
Joined: 2012-01-23
Points: 0

In 4.4 softokn3.dll fails to load or run. In 4.5 mqcrt1.dll fails to load at all.

This only seems to occur in Citrix XEN environment.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
ebratt
Offline
Joined: 2005-03-07
Points: 0

Can you give the exact version string from the MQ broker log?
Thanks,
-- Ed

On 1/23/2012 8:51 AM, forums@java.net wrote:
>
>
> In 4.4 softokn3.dll fails to load or run. In 4.5 mqcrt1.dll fails to
> load
> at all.
>
> This only seems to occur in Citrix XEN environment.
>
>
> --
>
> [Message sent by forum member 'thompjs']
>
> View Post: http://forums.java.net/node/882926
>
>

thompjs
Offline
Joined: 2012-01-23
Points: 0

Sorry I wasn't clear in original post -- The clients are failing to connect. Broker(s) for both versions start.

ebratt
Offline
Joined: 2005-03-07
Points: 0

We made some changes in how we build the C dll's. See
http://java.net/jira/browse/MQ-127
Have a look and let us know if you think this is your issue.
-- Ed

On 1/23/2012 10:14 AM, forums@java.net wrote:
>
>
> Sorry I wasn't clear in original post -- The clients are failing to
> connect.
> Broker(s) for both versions start.
>
>
> --
>
> [Message sent by forum member 'thompjs']
>
> View Post: http://forums.java.net/node/882926
>
>

ebratt
Offline
Joined: 2005-03-07
Points: 0

You can try the updated DLL, from this link
http://download.java.net/mq/open-mq/4.5.1/windows-capi-fix/mq451-testfix...
-- Ed

On 1/23/2012 1:41 PM, Ed Bratt wrote:
> We made some changes in how we build the C dll's. See
> http://java.net/jira/browse/MQ-127
> Have a look and let us know if you think this is your issue.
> -- Ed
>
> On 1/23/2012 10:14 AM, forums@java.net wrote:
>>
>>
>> Sorry I wasn't clear in original post -- The clients are failing to
>> connect.
>> Broker(s) for both versions start.
>>
>>
>> --
>>
>> [Message sent by forum member 'thompjs']
>>
>> View Post: http://forums.java.net/node/882926
>>
>>

thompjs
Offline
Joined: 2012-01-23
Points: 0

I get this with new mqcrt1.dll

Thanks for the quick replies so far.



GetProcAddress(0x6C300000 [LIBNSPR4.DLL], "UPLoadInitialize") called from "LIBRA.EXE" at address 0x0040A3A0 and returned NULL. Error: The specified procedure could not be found (127).

GetProcAddress(0x6C300000 [LIBNSPR4.DLL], "oeLoadInitialize") called from "LIBRA.EXE" at address 0x0040A3AC and returned NULL. Error: The specified procedure could not be found (127).

GetProcAddress(0x6C300000 [LIBNSPR4.DLL], "MQCreateProperties") called from "LIBRA.EXE" at address 0x0040A5C5 and returned NULL. Error: The specified procedure could not be found (127).

GetProcAddress(0x6C300000 [LIBNSPR4.DLL], "_MQCreateProperties") called from "LIBRA.EXE" at address 0x0040A5E1 and returned NULL. Error: The specified procedure could not be found (127).

LoadLibraryExW("lib\libplc4.dll", 0x00000000, LOAD_WITH_ALTERED_SEARCH_PATH) called from "LIBRA.EXE" at address 0x0040A2D1.

Loaded "LIBPLC4.DLL" at address 0x6DEB0000. Successfully hooked module.

DllMain(0x6DEB0000, DLL_PROCESS_ATTACH, 0x00000000) in "LIBPLC4.DLL" called.

DllMain(0x6DEB0000, DLL_PROCESS_ATTACH, 0x00000000) in "LIBPLC4.DLL" returned 1 (0x1).

LoadLibraryExW("lib\libplc4.dll", 0x00000000, LOAD_WITH_ALTERED_SEARCH_PATH) returned 0x6DEB0000.

GetProcAddress(0x6DEB0000 [LIBPLC4.DLL], "UPLoadInitialize") called from "LIBRA.EXE" at address 0x0040A3A0 and returned NULL. Error: The specified procedure could not be found (127).

GetProcAddress(0x6DEB0000 [LIBPLC4.DLL], "oeLoadInitialize") called from "LIBRA.EXE" at address 0x0040A3AC and returned NULL. Error: The specified procedure could not be found (127).

GetProcAddress(0x6DEB0000 [LIBPLC4.DLL], "MQCreateProperties") called from "LIBRA.EXE" at address 0x0040A5C5 and returned NULL. Error: The specified procedure could not be found (127).

GetProcAddress(0x6DEB0000 [LIBPLC4.DLL], "_MQCreateProperties") called from "LIBRA.EXE" at address 0x0040A5E1 and returned NULL. Error: The specified procedure could not be found (127).

LoadLibraryExW("lib\libplds4.dll", 0x00000000, LOAD_WITH_ALTERED_SEARCH_PATH) called from "LIBRA.EXE" at address 0x0040A2D1.

Loaded "LIBPLDS4.DLL" at address 0x6D9B0000. Successfully hooked module.

DllMain(0x6D9B0000, DLL_PROCESS_ATTACH, 0x00000000) in "LIBPLDS4.DLL" called.

DllMain(0x6D9B0000, DLL_PROCESS_ATTACH, 0x00000000) in "LIBPLDS4.DLL" returned 1 (0x1).

LoadLibraryExW("lib\libplds4.dll", 0x00000000, LOAD_WITH_ALTERED_SEARCH_PATH) returned 0x6D9B0000.

GetProcAddress(0x6D9B0000 [LIBPLDS4.DLL], "UPLoadInitialize") called from "LIBRA.EXE" at address 0x0040A3A0 and returned NULL. Error: The specified procedure could not be found (127).

GetProcAddress(0x6D9B0000 [LIBPLDS4.DLL], "oeLoadInitialize") called from "LIBRA.EXE" at address 0x0040A3AC and returned NULL. Error: The specified procedure could not be found (127).

GetProcAddress(0x6D9B0000 [LIBPLDS4.DLL], "MQCreateProperties") called from "LIBRA.EXE" at address 0x0040A5C5 and returned NULL. Error: The specified procedure could not be found (127).

GetProcAddress(0x6D9B0000 [LIBPLDS4.DLL], "_MQCreateProperties") called from "LIBRA.EXE" at address 0x0040A5E1 and returned NULL. Error: The specified procedure could not be found (127).

LoadLibraryExW("lib\nss3.dll", 0x00000000, LOAD_WITH_ALTERED_SEARCH_PATH) called from "LIBRA.EXE" at address 0x0040A2D1.

Loaded "NSS3.DLL" at address 0x60CA0000. Successfully hooked module.

Loaded "NSSUTIL3.DLL" at address 0x6C2B0000. Successfully hooked module.

DllMain(0x6C2B0000, DLL_PROCESS_ATTACH, 0x00000000) in "NSSUTIL3.DLL" called.

DllMain(0x6C2B0000, DLL_PROCESS_ATTACH, 0x00000000) in "NSSUTIL3.DLL" returned 1 (0x1).

DllMain(0x60CA0000, DLL_PROCESS_ATTACH, 0x00000000) in "NSS3.DLL" called.

DllMain(0x60CA0000, DLL_PROCESS_ATTACH, 0x00000000) in "NSS3.DLL" returned 1 (0x1).

LoadLibraryExW("lib\nss3.dll", 0x00000000, LOAD_WITH_ALTERED_SEARCH_PATH) returned 0x60CA0000.

GetProcAddress(0x60CA0000 [NSS3.DLL], "UPLoadInitialize") called from "LIBRA.EXE" at address 0x0040A3A0 and returned NULL. Error: The specified procedure could not be found (127).

GetProcAddress(0x60CA0000 [NSS3.DLL], "oeLoadInitialize") called from "LIBRA.EXE" at address 0x0040A3AC and returned NULL. Error: The specified procedure could not be found (127).

GetProcAddress(0x60CA0000 [NSS3.DLL], "MQCreateProperties") called from "LIBRA.EXE" at address 0x0040A5C5 and returned NULL. Error: The specified procedure could not be found (127).

GetProcAddress(0x60CA0000 [NSS3.DLL], "_MQCreateProperties") called from "LIBRA.EXE" at address 0x0040A5E1 and returned NULL. Error: The specified procedure could not be found (127).

LoadLibraryExW("lib\ssl3.dll", 0x00000000, LOAD_WITH_ALTERED_SEARCH_PATH) called from "LIBRA.EXE" at address 0x0040A2D1.

Loaded "SSL3.DLL" at address 0x69C10000. Successfully hooked module.

DllMain(0x69C10000, DLL_PROCESS_ATTACH, 0x00000000) in "SSL3.DLL" called.

DllMain(0x69C10000, DLL_PROCESS_ATTACH, 0x00000000) in "SSL3.DLL" returned 1 (0x1).

LoadLibraryExW("lib\ssl3.dll", 0x00000000, LOAD_WITH_ALTERED_SEARCH_PATH) returned 0x69C10000.

GetProcAddress(0x69C10000 [SSL3.DLL], "UPLoadInitialize") called from "LIBRA.EXE" at address 0x0040A3A0 and returned NULL. Error: The specified procedure could not be found (127).

GetProcAddress(0x69C10000 [SSL3.DLL], "oeLoadInitialize") called from "LIBRA.EXE" at address 0x0040A3AC and returned NULL. Error: The specified procedure could not be found (127).

GetProcAddress(0x69C10000 [SSL3.DLL], "MQCreateProperties") called from "LIBRA.EXE" at address 0x0040A5C5 and returned NULL. Error: The specified procedure could not be found (127).

GetProcAddress(0x69C10000 [SSL3.DLL], "_MQCreateProperties") called from "LIBRA.EXE" at address 0x0040A5E1 and returned NULL. Error: The specified procedure could not be found (127).

LoadLibraryExW("lib\mqcrt1.dll", 0x00000000, LOAD_WITH_ALTERED_SEARCH_PATH) called from "LIBRA.EXE" at address 0x0040A2D1.

Loaded "MQCRT1.DLL" at address 0x08410000. Successfully hooked module.

Unloaded "MQCRT1.DLL" at address 0x08410000.

LoadLibraryExW("lib\mqcrt1.dll", 0x00000000, LOAD_WITH_ALTERED_SEARCH_PATH) returned NULL. Error: The specified module could not be found (126).

GetProcAddress(0x759D0000 [KERNEL32.DLL], "DecodePointer") called from "SCARDHOOK.DLL" at address 0x749B8501 and returned 0x77309D55.

GetProcAddress(0x759D0000 [KERNEL32.DLL], "DecodePointer") called from "SCARDHOOK.DLL" at address 0x749B8501 and returned 0x77309D55.

GetProcAddress(0x759D0000 [KERNEL32.DLL], "EncodePointer") called from "SCARDHOOK.DLL" at address 0x749B8608 and returned 0x7731100B.

GetProcAddress(0x759D0000 [KERNEL32.DLL], "DecodePointer") called from "SCARDHOOK.DLL" at address 0x749B8618 and returned 0x77309D55.

GetProcAddress(0x759D0000 [KERNEL32.DLL], "DecodePointer") called from "MSVCR80.DLL" at address 0x74472C33 and returned 0x77309D55.

GetProcAddress(0x759D0000 [KERNEL32.DLL], "DecodePointer") called from "MSVCR80.DLL" at address 0x74472C33 and returned 0x77309D55.

GetProcAddress(0x759D0000 [KERNEL32.DLL], "EncodePointer") called from "MSVCR80.DLL" at address 0x74472D3A and returned 0x7731100B.

GetProcAddress(0x759D0000 [KERNEL32.DLL], "DecodePointer") called from "MSVCR80.DLL" at address 0x74472D4A and returned 0x77309D55.

GetProcAddress(0x759D0000 [KERNEL32.DLL], "DecodePointer") called from "MSVCR90.DLL" at address 0x74AE3667 and returned 0x77309D55.

GetProcAddress(0x759D0000 [KERNEL32.DLL], "DecodePointer") called from "MSVCR90.DLL" at address 0x74AE3667 and returned 0x77309D55.

GetProcAddress(0x759D0000 [KERNEL32.DLL], "EncodePointer") called from "MSVCR90.DLL" at address 0x74AE379B and returned 0x7731100B.

GetProcAddress(0x759D0000 [KERNEL32.DLL], "DecodePointer") called from "MSVCR90.DLL" at address 0x74AE37AB and returned 0x77309D55.

GetProcAddress(0x759D0000 [KERNEL32.DLL], "DecodePointer") called from "SCARDHOOK.DLL" at address 0x749B8501 and returned 0x77309D55.

GetProcAddress(0x759D0000 [KERNEL32.DLL], "DecodePointer") called from "SCARDHOOK.DLL" at address 0x749B8501 and returned 0x77309D55.

GetProcAddress(0x759D0000 [KERNEL32.DLL], "EncodePointer") called from "SCARDHOOK.DLL" at address 0x749B8608 and returned 0x7731100B.

GetProcAddress(0x759D0000 [KERNEL32.DLL], "DecodePointer") called from "SCARDHOOK.DLL" at address 0x749B8618 and returned 0x77309D55.

GetProcAddress(0x759D0000 [KERNEL32.DLL], "DecodePointer") called from "MSVCR80.DLL" at address 0x74472C33 and returned 0x77309D55.

GetProcAddress(0x759D0000 [KERNEL32.DLL], "DecodePointer") called from "MSVCR80.DLL" at address 0x74472C33 and returned 0x77309D55.

GetProcAddress(0x759D0000 [KERNEL32.DLL], "EncodePointer") called from "MSVCR80.DLL" at address 0x74472D3A and returned 0x7731100B.

GetProcAddress(0x759D0000 [KERNEL32.DLL], "DecodePointer") called from "MSVCR80.DLL" at address 0x74472D4A and returned 0x77309D55.

GetProcAddress(0x759D0000 [KERNEL32.DLL], "DecodePointer") called from "MSVCR90.DLL" at address 0x74AE3667 and returned 0x77309D55.

GetProcAddress(0x759D0000 [KERNEL32.DLL], "DecodePointer") called from "MSVCR90.DLL" at address 0x74AE3667 and returned 0x77309D55.

GetProcAddress(0x759D0000 [KERNEL32.DLL], "EncodePointer") called from "MSVCR90.DLL" at address 0x74AE379B and returned 0x7731100B.

GetProcAddress(0x759D0000 [KERNEL32.DLL], "DecodePointer") called from "MSVCR90.DLL" at address 0x74AE37AB and returned 0x77309D55.

Amy Kang Guest
Offline
Joined: 2010-11-13
Points: 0

>GetProcAddress(0x6C300000 [LIBNSPR4.DLL], "UPLoadInitialize") called
from "LIBRA.EXE" at address 0x0040A3A0 and returned NULL. Error: The
specified procedure could not be found (127).

The error was coming from LIBRA.EXE, which is not an executable from
MQ. It might be a naming mangling issue .. see if using extern "C" in
function declaration helps.

amy

On 01/24/2012 07:25 AM, forums@java.net wrote:
> I get this with new mqcrt1.dll
>
> Thanks for the quick replies so far.
>
> 
>
> GetProcAddress(0x6C300000 [LIBNSPR4.DLL], "UPLoadInitialize") called from
> "LIBRA.EXE" at address 0x0040A3A0 and returned NULL. Error: The specified
> procedure could not be found (127).
>
> GetProcAddress(0x6C300000 [LIBNSPR4.DLL], "oeLoadInitialize") called from
> "LIBRA.EXE" at address 0x0040A3AC and returned NULL. Error: The specified
> procedure could not be found (127).
>
> GetProcAddress(0x6C300000 [LIBNSPR4.DLL], "MQCreateProperties") called
> from
> "LIBRA.EXE" at address 0x0040A5C5 and returned NULL. Error: The specified
> procedure could not be found (127).
>
> GetProcAddress(0x6C300000 [LIBNSPR4.DLL], "_MQCreateProperties")
> called from
> "LIBRA.EXE" at address 0x0040A5E1 and returned NULL. Error: The specified
> procedure could not be found (127).
>
> LoadLibraryExW("lib\libplc4.dll", 0x00000000,
> LOAD_WITH_ALTERED_SEARCH_PATH)
> called from "LIBRA.EXE" at address 0x0040A2D1.
>
> Loaded "LIBPLC4.DLL" at address 0x6DEB0000. Successfully hooked module.
>
> DllMain(0x6DEB0000, DLL_PROCESS_ATTACH, 0x00000000) in "LIBPLC4.DLL"
> called.
>
> DllMain(0x6DEB0000, DLL_PROCESS_ATTACH, 0x00000000) in "LIBPLC4.DLL"
> returned
> 1 (0x1).
>
> LoadLibraryExW("lib\libplc4.dll", 0x00000000,
> LOAD_WITH_ALTERED_SEARCH_PATH)
> returned 0x6DEB0000.
>
> GetProcAddress(0x6DEB0000 [LIBPLC4.DLL], "UPLoadInitialize") called from
> "LIBRA.EXE" at address 0x0040A3A0 and returned NULL. Error: The specified
> procedure could not be found (127).
>
> GetProcAddress(0x6DEB0000 [LIBPLC4.DLL], "oeLoadInitialize") called from
> "LIBRA.EXE" at address 0x0040A3AC and returned NULL. Error: The specified
> procedure could not be found (127).
>
> GetProcAddress(0x6DEB0000 [LIBPLC4.DLL], "MQCreateProperties") called
> from
> "LIBRA.EXE" at address 0x0040A5C5 and returned NULL. Error: The specified
> procedure could not be found (127).
>
> GetProcAddress(0x6DEB0000 [LIBPLC4.DLL], "_MQCreateProperties") called
> from
> "LIBRA.EXE" at address 0x0040A5E1 and returned NULL. Error: The specified
> procedure could not be found (127).
>
> LoadLibraryExW("lib\libplds4.dll", 0x00000000,
> LOAD_WITH_ALTERED_SEARCH_PATH)
> called from "LIBRA.EXE" at address 0x0040A2D1.
>
> Loaded "LIBPLDS4.DLL" at address 0x6D9B0000. Successfully hooked module.
>
> DllMain(0x6D9B0000, DLL_PROCESS_ATTACH, 0x00000000) in "LIBPLDS4.DLL"
> called.
>
> DllMain(0x6D9B0000, DLL_PROCESS_ATTACH, 0x00000000) in "LIBPLDS4.DLL"
> returned 1 (0x1).
>
> LoadLibraryExW("lib\libplds4.dll", 0x00000000,
> LOAD_WITH_ALTERED_SEARCH_PATH)
> returned 0x6D9B0000.
>
> GetProcAddress(0x6D9B0000 [LIBPLDS4.DLL], "UPLoadInitialize") called from
> "LIBRA.EXE" at address 0x0040A3A0 and returned NULL. Error: The specified
> procedure could not be found (127).
>
> GetProcAddress(0x6D9B0000 [LIBPLDS4.DLL], "oeLoadInitialize") called from
> "LIBRA.EXE" at address 0x0040A3AC and returned NULL. Error: The specified
> procedure could not be found (127).
>
> GetProcAddress(0x6D9B0000 [LIBPLDS4.DLL], "MQCreateProperties") called
> from
> "LIBRA.EXE" at address 0x0040A5C5 and returned NULL. Error: The specified
> procedure could not be found (127).
>
> GetProcAddress(0x6D9B0000 [LIBPLDS4.DLL], "_MQCreateProperties")
> called from
> "LIBRA.EXE" at address 0x0040A5E1 and returned NULL. Error: The specified
> procedure could not be found (127).
>
> LoadLibraryExW("lib\nss3.dll", 0x00000000, LOAD_WITH_ALTERED_SEARCH_PATH)
> called from "LIBRA.EXE" at address 0x0040A2D1.
>
> Loaded "NSS3.DLL" at address 0x60CA0000. Successfully hooked module.
>
> Loaded "NSSUTIL3.DLL" at address 0x6C2B0000. Successfully hooked module.
>
> DllMain(0x6C2B0000, DLL_PROCESS_ATTACH, 0x00000000) in "NSSUTIL3.DLL"
> called.
>
> DllMain(0x6C2B0000, DLL_PROCESS_ATTACH, 0x00000000) in "NSSUTIL3.DLL"
> returned 1 (0x1).
>
> DllMain(0x60CA0000, DLL_PROCESS_ATTACH, 0x00000000) in "NSS3.DLL" called.
>
> DllMain(0x60CA0000, DLL_PROCESS_ATTACH, 0x00000000) in "NSS3.DLL"
> returned 1
> (0x1).
>
> LoadLibraryExW("lib\nss3.dll", 0x00000000, LOAD_WITH_ALTERED_SEARCH_PATH)
> returned 0x60CA0000.
>
> GetProcAddress(0x60CA0000 [NSS3.DLL], "UPLoadInitialize") called from
> "LIBRA.EXE" at address 0x0040A3A0 and returned NULL. Error: The specified
> procedure could not be found (127).
>
> GetProcAddress(0x60CA0000 [NSS3.DLL], "oeLoadInitialize") called from
> "LIBRA.EXE" at address 0x0040A3AC and returned NULL. Error: The specified
> procedure could not be found (127).
>
> GetProcAddress(0x60CA0000 [NSS3.DLL], "MQCreateProperties") called from
> "LIBRA.EXE" at address 0x0040A5C5 and returned NULL. Error: The specified
> procedure could not be found (127).
>
> GetProcAddress(0x60CA0000 [NSS3.DLL], "_MQCreateProperties") called from
> "LIBRA.EXE" at address 0x0040A5E1 and returned NULL. Error: The specified
> procedure could not be found (127).
>
> LoadLibraryExW("lib\ssl3.dll", 0x00000000, LOAD_WITH_ALTERED_SEARCH_PATH)
> called from "LIBRA.EXE" at address 0x0040A2D1.
>
> Loaded "SSL3.DLL" at address 0x69C10000. Successfully hooked module.
>
> DllMain(0x69C10000, DLL_PROCESS_ATTACH, 0x00000000) in "SSL3.DLL" called.
>
> DllMain(0x69C10000, DLL_PROCESS_ATTACH, 0x00000000) in "SSL3.DLL"
> returned 1
> (0x1).
>
> LoadLibraryExW("lib\ssl3.dll", 0x00000000, LOAD_WITH_ALTERED_SEARCH_PATH)
> returned 0x69C10000.
>
> GetProcAddress(0x69C10000 [SSL3.DLL], "UPLoadInitialize") called from
> "LIBRA.EXE" at address 0x0040A3A0 and returned NULL. Error: The specified
> procedure could not be found (127).
>
> GetProcAddress(0x69C10000 [SSL3.DLL], "oeLoadInitialize") called from
> "LIBRA.EXE" at address 0x0040A3AC and returned NULL. Error: The specified
> procedure could not be found (127).
>
> GetProcAddress(0x69C10000 [SSL3.DLL], "MQCreateProperties") called from
> "LIBRA.EXE" at address 0x0040A5C5 and returned NULL. Error: The specified
> procedure could not be found (127).
>
> GetProcAddress(0x69C10000 [SSL3.DLL], "_MQCreateProperties") called from
> "LIBRA.EXE" at address 0x0040A5E1 and returned NULL. Error: The specified
> procedure could not be found (127).
>
> LoadLibraryExW("lib\mqcrt1.dll", 0x00000000,
> LOAD_WITH_ALTERED_SEARCH_PATH)
> called from "LIBRA.EXE" at address 0x0040A2D1.
>
> Loaded "MQCRT1.DLL" at address 0x08410000. Successfully hooked module.
>
> Unloaded "MQCRT1.DLL" at address 0x08410000.
>
> LoadLibraryExW("lib\mqcrt1.dll", 0x00000000,
> LOAD_WITH_ALTERED_SEARCH_PATH)
> returned NULL. Error: The specified module could not be found (126).
>
> GetProcAddress(0x759D0000 [KERNEL32.DLL], "DecodePointer") called from
> "SCARDHOOK.DLL" at address 0x749B8501 and returned 0x77309D55.
>
> GetProcAddress(0x759D0000 [KERNEL32.DLL], "DecodePointer") called from
> "SCARDHOOK.DLL" at address 0x749B8501 and returned 0x77309D55.
>
> GetProcAddress(0x759D0000 [KERNEL32.DLL], "EncodePointer") called from
> "SCARDHOOK.DLL" at address 0x749B8608 and returned 0x7731100B.
>
> GetProcAddress(0x759D0000 [KERNEL32.DLL], "DecodePointer") called from
> "SCARDHOOK.DLL" at address 0x749B8618 and returned 0x77309D55.
>
> GetProcAddress(0x759D0000 [KERNEL32.DLL], "DecodePointer") called from
> "MSVCR80.DLL" at address 0x74472C33 and returned 0x77309D55.
>
> GetProcAddress(0x759D0000 [KERNEL32.DLL], "DecodePointer") called from
> "MSVCR80.DLL" at address 0x74472C33 and returned 0x77309D55.
>
> GetProcAddress(0x759D0000 [KERNEL32.DLL], "EncodePointer") called from
> "MSVCR80.DLL" at address 0x74472D3A and returned 0x7731100B.
>
> GetProcAddress(0x759D0000 [KERNEL32.DLL], "DecodePointer") called from
> "MSVCR80.DLL" at address 0x74472D4A and returned 0x77309D55.
>
> GetProcAddress(0x759D0000 [KERNEL32.DLL], "DecodePointer") called from
> "MSVCR90.DLL" at address 0x74AE3667 and returned 0x77309D55.
>
> GetProcAddress(0x759D0000 [KERNEL32.DLL], "DecodePointer") called from
> "MSVCR90.DLL" at address 0x74AE3667 and returned 0x77309D55.
>
> GetProcAddress(0x759D0000 [KERNEL32.DLL], "EncodePointer") called from
> "MSVCR90.DLL" at address 0x74AE379B and returned 0x7731100B.
>
> GetProcAddress(0x759D0000 [KERNEL32.DLL], "DecodePointer") called from
> "MSVCR90.DLL" at address 0x74AE37AB and returned 0x77309D55.
>
> GetProcAddress(0x759D0000 [KERNEL32.DLL], "DecodePointer") called from
> "SCARDHOOK.DLL" at address 0x749B8501 and returned 0x77309D55.
>
> GetProcAddress(0x759D0000 [KERNEL32.DLL], "DecodePointer") called from
> "SCARDHOOK.DLL" at address 0x749B8501 and returned 0x77309D55.
>
> GetProcAddress(0x759D0000 [KERNEL32.DLL], "EncodePointer") called from
> "SCARDHOOK.DLL" at address 0x749B8608 and returned 0x7731100B.
>
> GetProcAddress(0x759D0000 [KERNEL32.DLL], "DecodePointer") called from
> "SCARDHOOK.DLL" at address 0x749B8618 and returned 0x77309D55.
>
> GetProcAddress(0x759D0000 [KERNEL32.DLL], "DecodePointer") called from
> "MSVCR80.DLL" at address 0x74472C33 and returned 0x77309D55.
>
> GetProcAddress(0x759D0000 [KERNEL32.DLL], "DecodePointer") called from
> "MSVCR80.DLL" at address 0x74472C33 and returned 0x77309D55.
>
> GetProcAddress(0x759D0000 [KERNEL32.DLL], "EncodePointer") called from
> "MSVCR80.DLL" at address 0x74472D3A and returned 0x7731100B.
>
> GetProcAddress(0x759D0000 [KERNEL32.DLL], "DecodePointer") called from
> "MSVCR80.DLL" at address 0x74472D4A and returned 0x77309D55.
>
> GetProcAddress(0x759D0000 [KERNEL32.DLL], "DecodePointer") called from
> "MSVCR90.DLL" at address 0x74AE3667 and returned 0x77309D55.
>
> GetProcAddress(0x759D0000 [KERNEL32.DLL], "DecodePointer") called from
> "MSVCR90.DLL" at address 0x74AE3667 and returned 0x77309D55.
>
> GetProcAddress(0x759D0000 [KERNEL32.DLL], "EncodePointer") called from
> "MSVCR90.DLL" at address 0x74AE379B and returned 0x7731100B.
>
> GetProcAddress(0x759D0000 [KERNEL32.DLL], "DecodePointer") called from
> "MSVCR90.DLL" at address 0x74AE37AB and returned 0x77309D55.
>
>
>
>
> --
>
> [Message sent by forum member 'thompjs']
>
> View Post: http://forums.java.net/node/882926
>
>

thompjs
Offline
Joined: 2012-01-23
Points: 0

LIBRA.EXE is my code. It has been working on Windows xP, and Windows 7 32 and 64 bit with MQ 4.4 for a long time.

This code is in production at 20 customer sites without issue.

For some reason it is failing in the Citrix XEN Windows 7 environment.

BTW, Firefox 9.01 fails to run in this environment, so there are some strange things going on.

Amy Kang Guest
Offline
Joined: 2010-11-13
Points: 0

Maybe you can try to run dependency walker to see what's missing in that
environment ..

amy

On 01/24/2012 12:45 PM, forums@java.net wrote:
> LIBRA.EXE is my code. It has been working on Windows xP, and Windows
> 7 32
> and 64 bit with MQ 4.4 for a long time.
>
> This code is in production at 20 customer sites without issue.
>
> For some reason it is failing in the Citrix XEN Windows 7 environment.
>
> BTW, Firefox 9.01 fails to run in this environment, so there are some
> strange
> things going on.
>
>
> --
>
> [Message sent by forum member 'thompjs']
>
> View Post: http://forums.java.net/node/882926
>
>

thompjs
Offline
Joined: 2012-01-23
Points: 0

I posted the dump from Dependency Walker previously.

I'll look at a static look at mqcrt1.dll

Amy Kang Guest
Offline
Joined: 2010-11-13
Points: 0

Since it's your LIBRA.EXE program calls the function GetProcAddress
[LIBNSPR4.DLL] that is complained 'could not be found', it seems that
you could try to temporarily eliminate other DLL dependencies one by one
from your LIBRA program to see if that helps you isolate the problem.
Other thing to check is to make sure you have used the NSPR DLLs comes
with MQ, not Firefox or other programs on the system.

amy

On 24/01/12 01:24 PM, forums@java.net wrote:
> I posted the dump from Dependency Walker previously.
>
>
>
> I'll look at a static look at mqcrt1.dll
>
>
>
>
>
>
> --
>
> [Message sent by forum member 'thompjs']
>
> View Post: http://forums.java.net/node/882926
>
>

scatari
Offline
Joined: 2005-06-17
Points: 0

There are bunch of tools available from MS site(earlier these used to be
part of sysinternals.com).
http://technet.microsoft.com/en-us/sysinternals/bb795533

ListDLLs, ProcessExplorer are very handy tools to identify these
dependencies.

HTH
Thanks
Sathyan

On 1/24/12 4:57 PM, Amy Kang wrote:
> Since it's your LIBRA.EXE program calls the function GetProcAddress
> [LIBNSPR4.DLL] that is complained 'could not be found', it seems that
> you could try to temporarily eliminate other DLL dependencies one by
> one from your LIBRA program to see if that helps you isolate the
> problem. Other thing to check is to make sure you have used the
> NSPR DLLs comes with MQ, not Firefox or other programs on the system.
>
> amy
>
> On 24/01/12 01:24 PM, forums@java.net wrote:
>> I posted the dump from Dependency Walker previously.
>>
>>
>>
>> I'll look at a static look at mqcrt1.dll
>>
>>
>>
>>
>>
>>
>> --
>>
>> [Message sent by forum member 'thompjs']
>>
>> View Post: http://forums.java.net/node/882926
>>
>>
>

Amy Kang Guest
Offline
Joined: 2010-11-13
Points: 0

>GetProcAddress [LIBNSPR4.DLL] that is complained 'could not be found',
'short-circuited' my sentence in my previous posting - should be -
GetProcAddress(0x6C300000 [LIBNSPR4.DLL], "xxx") is complained "The
specified procedure could not be found".

amy

On 24/01/12 05:03 PM, Sathyan Catari wrote:
> There are bunch of tools available from MS site(earlier these used to
> be part of sysinternals.com).
> http://technet.microsoft.com/en-us/sysinternals/bb795533
>
> ListDLLs, ProcessExplorer are very handy tools to identify these
> dependencies.
>
> HTH
> Thanks
> Sathyan
>
> On 1/24/12 4:57 PM, Amy Kang wrote:
>> Since it's your LIBRA.EXE program calls the function GetProcAddress
>> [LIBNSPR4.DLL] that is complained 'could not be found', it seems
>> that you could try to temporarily eliminate other DLL dependencies
>> one by one from your LIBRA program to see if that helps you isolate
>> the problem. Other thing to check is to make sure you have used
>> the NSPR DLLs comes with MQ, not Firefox or other programs on the
>> system.
>>
>> amy
>>
>> On 24/01/12 01:24 PM, forums@java.net wrote:
>>> I posted the dump from Dependency Walker previously.
>>>
>>>
>>>
>>> I'll look at a static look at mqcrt1.dll
>>>
>>>
>>>
>>>
>>>
>>>
>>> --
>>>
>>> [Message sent by forum member 'thompjs']
>>>
>>> View Post: http://forums.java.net/node/882926
>>>
>>>
>>

thompjs
Offline
Joined: 2012-01-23
Points: 0

I have no idea what to do next here.

[LIBNSPR4.DLL] that is complained 'could not be found', it seems that
you could try to temporarily eliminate other DLL dependencies one by one
from your LIBRA program to see if that helps you isolate the problem.
Other thing to check is to make sure you have used the NSPR DLLs comes

All the dlls loaded as a result of mqcrt1.dll are from the MQ distribution.

I don't have any idea what you mean about " eliminate other DLL dependencies"

Amy Kang Guest
Offline
Joined: 2010-11-13
Points: 0

The recent 4.5.1 mqcrt1.ddl has been tested and confirmed working on
Windows 7 by other user and you mentioned early that even firefox fails
to start in this environment, it seems that the problem could likely be
in the environment, e.g. make sure it has lastest Windows
updates/service packs, ...

>what you mean about " eliminate other DLL dependencies"

e.g. by temporarily modify your LIBRA program (if possible) or write a
simple program to access a NSPR function or a function in some other
DLL - so that the possible factors can be narrowed to isolate the issue.

amy

On 01/31/2012 08:28 AM, forums@java.net wrote:
> I have no idea what to do next here.
>
>
>
> [LIBNSPR4.DLL] that is complained 'could not be found', it seems that
> you could try to temporarily eliminate other DLL dependencies one by one
> from your LIBRA program to see if that helps you isolate the problem.
> Other thing to check is to make sure you have used the NSPR DLLs comes
>
>
>
> All the dlls loaded as a result of mqcrt1.dll are from the MQ
> distribution.
>
> I don't have any idea what you mean about " eliminate other DLL
> dependencies"
>
>
> --
>
> [Message sent by forum member 'thompjs']
>
> View Post: http://forums.java.net/node/882926
>
>

thompjs
Offline
Joined: 2012-01-23
Points: 0

I got back to experimenting with this again. I copied MVSCR90.dll to my \lib directory. I see mqcrt1.dll load then MVSCR90.dll load which then of course fails with a C++ run time error.

I'm guessing that I don't have the correct side by side assemblies for this to work.

Let me know what you think.

thompjs
Offline
Joined: 2012-01-23
Points: 0

Now I've got a customer running 4.4 that everything was working until recently and now they are calling with failures with Terminal Servers.

thompjs
Offline
Joined: 2012-01-23
Points: 0

On two of my "problem" boxes, using the lib folder from MQ 4.3 solves the issue.