cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to start Java Engine on a dual stack (ABAP+JAVA)

Former Member
0 Kudos

Hi Gurus,

Scenario: Windows Server 2003 with Oracle 10g, SAP Netweaver 2004s

I have uninstalled JSDK 1.4.2_16 and installed JSDK 1.4.2_17 due to unavailability of Java web start on the physical server.

Now when i start the Instance, I am only able to start the ABAP Instance, java instance is not starting up.

I have made the changes in the Envoirenment Variable JAVA_PATH and PATH.

I have also made the changes in the instance profile for the startup JAVA PATH

Is there anywehere else do i need to make the changes??

but still i am not able to start it, Can some please help me on this.

Refer to the below logs of dev_jcontrol

-


[Thr 3784] [Node: bootstrap] java home is set by profile parameter

Java Home: C:\j2sdk1.4.2_17

[Thr 3784] JStartupICheckFrameworkPackage: can't find framework package D:\usr\sap\SID\DVEBMGS01\exe\jvmx.jar

-


dev_bootstrap

-


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

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

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

[Thr 436] **********************************************************************

      • ERROR => Cannot load the Java VM shared library.

      • Please see SAP Note 943602 , section 'Java VM shared library issues'

      • for additional information and trouble shooting.

**********************************************************************

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

[Thr 1888] Sat Feb 12 12:19:00 2011

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

-


Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Shrikishan,

Problem resolved, it was due to JDK Version mismatch, I had installed 64 bit JDK on 32 Bit OS.

Thanks for your help

Former Member
0 Kudos

Hi,

While uninstalling and installing, did you change the path of JDK to some new directory. If yes, then perform the following steps:

1. Take a backup of the instance profile and add

jstartup/vm/home = C:\j2sdk1.4.2_17

2. SET JAVA_HOME to C:\j2sdk1.4.2_17

3. Remove

/usr/sap/<SID>/<INSTANCE>/j2ee/cluster/instance.properties.vmprop

/usr/sap/<SID>/<INSTANCE>/SDM/program/config/sdm_jstartup.properties.vmprop

4. Start SAP

Rgds,

Soujanya

Former Member
0 Kudos

Hi,

Error mentions "Cannot load DLL for Java VM".

Same symptom is referred to in Note 940893. Could you try section 2 of the note? Deleting the *.vmprop files so that they are recreated.

Also please check the compatibility of JDK used and SAP system. If SAP system is 32 bit, then 32bit JDK would be required. Incase the system is 64 bit, then JDK required would be 64 bit.

Regards,

Srikishan