Show TOC Start of Content Area

Background documentation Invalid Shared Library Path (in dev_<component name>)  Locate the document in its SAP Library structure

The VM detection builds the library path to find the JVM shared library. If this path is incorrect, you will receive the following error messages in the dev_<node name> trace file:

Syntax

*** ERROR => DlLoadLib: LoadLibrary(jvm.dll) Error 126

        Error 126 = "The specified module could not be found."

*** ERROR => Can't load VM shared library (jvm.dll) (rc=-2)

*** ERROR => Can't load DLL for Java VM

*** ERROR => can't launch program (rc=-2)

JLaunchCloseProgram: close program (exitcode=-2)

Solution

Check the javaVMLibPath property in the VM property file (instance.properties.vmprop). The file is located in the cluster directory of the J2EE instance. In the example below, the incorrect property line is in bold (instead of “jre” the path contains “lall”). The <component name> can be bootstrap, dispatcher, server<n>, and so on.

Example

#test1. : ----------------------------------------

#test1. : generated VM parameters

#test1. : Tue May 06 08:26:28 2003

#test1. : ----------------------------------------

<component name>.javaVMPath=C:\jdk1.4.2

<component name>.javaVMVersion=1.4.2

<component name>.javaVMVendor=Java HotSpot(TM) Client VM (build 1.4.2, mixed mode)

<component name>.javaVMType=classic

<component name>.javaVMLibPath=C:\jdk1.4.2\lall\bin\classic;C:\jdk1.4.2\jre\bin

<component name>.javaVMExePath=C:\jdk1.4.2\bin

<component name>.javaVMPropVers=1.0

 

 

 

End of Content Area