Enabling the Java Virtual Machine Profiler Interface (JVMPI) on WebSphere Application Server Express V5.0 causes server startup to fail
 Technote (troubleshooting)
 
Problem(Abstract)
After enabling the Java™ Virtual Machine Profiler Interface (JVMPI) and then subsequently starting the application server, the server startup fails and the following errors are logged in the native_stderr.log:

On UNIX® (AIX®):
JVMCI158: Can't load "libpmiJvmpiProfiler.a", because No such file or
directory
JVMCI098: xmloadJVMHelperLib pmiJvmpiProfiler, failed
Could not create the Java Virtual Machine.

or

On Windows®:
JVMCI158: Can't load "pmiJvmpiProfiler.dll", because Cannot find
dependent libraries
JVMCI098: xmloadJVMHelperLib pmiJvmpiProfiler, failed
Could not create the Java virtual machine.
 
Cause
The error occurs because the JVMPI is not supported on IBM® WebSphere® Application Server Express V5.0. The native libraries required to take advantage of this feature are not included with this product.
 
Resolving the problem
The solution to the problem is:

1. Do not use the JVMPI with WebSphere Application Server Express V5.0.
2. Upgrade to the full WebSphere Application Server V5.0 product, either BASE or ND.
3. Upgrade to WebSphere Application Server Express V6.0.

To get the server back to a running state, do the following:

Network Deployment environment:

Use the administrative console to reverse the steps taken to enable JVMPI.

Steps for this task

  1. Open the administrative console.
  2. Click Servers > Application Servers in the console navigation tree.
  3. Click the application server for which JVMPI was enabled.
  4. Click Process Definition.
  5. Click the Java Virtual Machine.
  6. Remove -XrunpmiJvmpiProfiler from the Generic JVM arguments field.
  7. Click Apply or OK.
  8. Click Save.
  9. Start the application server.

Non-federated environment:

Since the application server cannot start, the server.xml file will need to be modified by hand.

Steps for this task

1. Open the server.xml file in a text editor:

<WASEXPRESS_HOME>/config/cells/DefaultNode/nodes/DefaultNode
/servers/<SERVER_NAME>/server.xml.

2. Find the section for the 'processDefinition':

<processDefinition xmi:type="processexec:JavaProcessDef"
...genericJvmArguments="-XrunpmiJvmpiProfiler"
</processDefinition>.
3. Remove -XrunpmiJvmpiProfiler from the genericJvmArguments list.
4. Save the server.xml file.
5. Start the application server.
 
 
 


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server - Express > General
Operating system(s): Windows
Software version: 5.1.1.6
Software edition:
Reference #: 1215892
IBM Group: Software Group
Modified date: Aug 31, 2005