Why are we getting "Unable to load the Wrapper's native library 'wrapper.dll'" when starting Powerpack for Webservers?


Article ID: 38007


Updated On:


APP PERF MANAGEMENT CA Application Performance Management Agent (APM / Wily / Introscope) CUSTOMER EXPERIENCE MANAGER INTROSCOPE


Why are we getting below wrapper error when starting the Powerpack for Webservers in the WSPPService.log?

INFO | jvm 1 | WARNING - Unable to load the Wrapper's native library 'wrapper.dll'.
INFO | jvm 1 | The file is located on the path at the following location but
INFO | jvm 1 | could not be loaded:
INFO | jvm 1 | C:\Program Files\CA APM \WebServers_Agent9.7.1.16\PPWebServers\jsw-3.2.3\bin\..\lib\wrapper.dll
INFO | jvm 1 | Please verify that the file is readable by the current user
INFO | jvm 1 | and that the file has not been corrupted in any way.
INFO | jvm 1 | One common cause of this problem is running a 32-bit version
INFO | jvm 1 | of the Wrapper with a 64-bit version of Java, or vica versa.
INFO | jvm 1 | This is a 64-bit JVM.
INFO | jvm 1 | Reported cause:
INFO | jvm 1 | C:\Program Files\CA APM \WebServers_Agent9.7.1.16\PPWebServers\jsw-3.2.3\lib\wrapper.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform
INFO | jvm 1 | System signals will not be handled correctly.

Any Windows OS
Powerpack for Webserver

The components of the Power Pack (DLLs) are 32-bit and the wrapper is pointing to a 64-bit JVM

- Modify the wrapper.conf of the powerpack (eg: CA APM\WebServers_Agent\PPWebServers\jsw-3.2.3\conf\wrapper.conf) to point to a 32bit JVM:

# Wrapper Properties

# Java Application

# Java Application
wrapper.java.command=C:\Program Files (x86)\Java\jre7\bin\java

- This way it will use the 32bit JVM rather than 64bit JVM
- Then restart the wrapper service


Release: CEMUGD00200-9.7-Introscope to CA Application-Performance Management-Upgrade Main