cancel
Showing results for 
Search instead for 
Did you mean: 

J2ee Server stopped with exit code = -2

Former Member
0 Kudos

Hi,

We have an Xi system on Windows 2000 server. and when starting the SAP on the system SAP instance is up and running but in the java instance it shows that the J2ee server status is stopped with exit code= -2. And the jcontrol.exe is showing some processes are running.

this is the information that i got from the trace file.

trc file: "D:\usr\sap\SMD\J90\work\dev_SMDAgent", trc level: 1, release: "640"

-


node name : smdagent

pid : 4832

system name : SMD

system nr. : 90

started at : Sun Jun 17 16:13:08 2007

arguments :

arg[00] : D:\usr\sap\SMD\J90/exe\jlaunch.exe

arg[01] : pf=D:\usr\sap\SMD\J90/profile\SMD_J90_localhost

arg[02] : -DSAPINFO=SMD_90_server

arg[03] : pf=D:\usr\sap\SMD\J90/profile\SMD_J90_localhost

[Thr 4580] Sun Jun 17 16:13:08 2007

[Thr 4580] JLaunchRequestQueueInit: create named pipe for ipc

[Thr 4580] JLaunchRequestQueueInit: create pipe listener thread

[Thr 4716] JLaunchRequestFunc: Thread 4716 started as listener thread for np messages.

[Thr 4828] WaitSyncSemThread: Thread 4828 started as semaphore monitor thread.

[Thr 4580] NiInit2: NI already initialized; param 'maxHandles' ignored

[Thr 4580] [Node: SMDAgent] java home is set by profile parameter

Java Home: D:\java\j2sdk1.4.2_08

[Thr 4580] JLaunchISetDebugMode: set debug mode [no]

[Thr 4844] JLaunchIStartFunc: Thread 4844 started as Java VM thread.

[Thr 4844] *** ERROR => DlLoadLib: LoadLibrary(jvm.dll) Error 126 [dlnt.c 237]

[Thr 4844] Error 126 = "The specified module could not be found."

[Thr 4844] *** ERROR => Can't load VM shared library (jvm.dll) (rc=-2) [jhvmxx.c 1434]

[Thr 4844] *** ERROR => Cannot load DLL for Java VM [jlnchxxi.c 561]

[Thr 4580] Sun Jun 17 16:13:10 2007

[Thr 4580] JLaunchCloseProgram: good bye (exitcode=-2)

Please Help !

Thanks,

Swaroop.

Accepted Solutions (0)

Answers (1)

Answers (1)

desiree_matas
Contributor
0 Kudos

Hello Swaroop

This seems to be a problem with the JDK. Verify that you have the proper version and that it is correctly installed as per SAP note 718901.

Regards,

Désiré

Former Member
0 Kudos

Thank you for the help. We are looking into it.

I would like to know the difference between the batch user and background user.And batch process and background process?

I appreciate your help.

Thanks,

Swaroop.