Application stops while connecting to mysap.com Java 2 Platform, Enterprise Edition (J2EE) SAP Connector
 Technote (FAQ)
 
Problem
WebSphere® Application Server makes a call to the mysap.com J2EE SAP connector and then stops. The javacore files show that the application loads the RfcConnectionFactory and makes a Java™ Native Interface (JNI) call to load native libraries and then stops on the following Java class:

java.lang.ClassLoader$NativeLibrary.load(Native Method)
 
Cause
This can be caused by an error in the PATH environment variable or by a missing DLL file.

Review the text of the pop-up message in the system event logger. Determine which file is missing, and determine if it is installed on the system. If it is not, download a copy of the missing file or, if appropriate, reinstall the software that provides it.

 
Solution
Open the operating system event logger for entries during the time of the hang. To open the Windows® event logger, click Start > Settings > Control Panel, open Administrative Tools; and then the Event Viewer.

An error such as this is logged::

Application popup: java.exe - Unable To Locate DLL : The dynamic link library MSVCP60.dll could not be found in the specified path
C:\WebSphere\AppServer\java\jre\bin;.;C:\WINNT\System32;C:\WINNT\system;C:\WINNT;C:\\WebSphere\\AppServer\\bin;C:\\PROGRA~1\\SQLLIB\\bin;C:\\PROGRA~1\\SQLLIB\\function;C:\\WebSphere\\AppServer\\java\\bin;C:\ProgramFiles\ibm\gsk5\lib;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\ProgramFiles\ResourceKit\;C:\ntreskit;C:\PROGRA~1\IBM\IMNNQ;C:\ProgramFiles\SQLLIB\BIN;C:\ProgramFiles\SQLLIB\FUNCTION;C:\ProgramFiles\SQLLIB\SAMPLES\REPL;C:\ProgramFiles\SQLLIB\HELP;C:\WebSphere\AppServer\bin

In this particular case, the system file MSVCP60.dll was missing from the WINNT\System32 directory. This is the C runtime library for Windows. MSVCP60.dll is available on Windows NT®, 2000, and XP recovery CDs or from the Microsoft® Web site.

 
 
 


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > Java 2 Connectivity (J2C)
Operating system(s): Windows
Software version: 4.0.7
Software edition:
Reference #: 1111453
IBM Group: Software Group
Modified date: Sep 16, 2004