cancel
Showing results for 
Search instead for 
Did you mean: 

J2EE instance not starting after modification of JRE

Former Member
0 Kudos

Dear board,

I am working on Microsoft(R) Windows(R) Server 2003 Enterprise x64 Edition with SQL Server 2005 installed. I was installing an additional Java runtime for SAP NetWeaver Identity Management and apparently changed the JAVA environment on the system as my J2EE instance is not coming up anymore. <br>

<br>

The developer trace is the following

<br>

<br>

-


trc file: "D:\usr\sap\JP8\JC00\work\dev_jcontrol", trc level: 1, release: "700"

-


node name : jcontrol

pid : 3724

system name : JP8

system nr. : 00

started at : Tue Jul 13 09:46:06 2010

arguments :

arg[00] : D:\usr\sap\JP8\JC00\exe\jcontrol.EXE

arg[01] : pf=D:\usr\sap\JP8\SYS\profile\JP8_JC00_DEHDSV0029

<br>

<br>

[Thr 3776] Tue Jul 13 09:46:06 2010

[Thr 3776] *** WARNING => INFO: Unknown property [instance.box.number=JP8JC00dehdsv0029] [jstartxx.c 841]

[Thr 3776] *** WARNING => INFO: Unknown property [instance.en.host=DEHDSV0029] [jstartxx.c 841]

[Thr 3776] *** WARNING => INFO: Unknown property [instance.en.port=3201] [jstartxx.c 841]

[Thr 3776] *** WARNING => INFO: Unknown property [instance.system.id=0] [jstartxx.c 841]

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

JStartupReadInstanceProperties: read instance properties [D:\usr\sap\JP8\JC00\j2ee\cluster\instance.properties;D:\usr\sap\JP8\JC00\SDM\program\config\sdm_jstartup.properties]

-> ms host : DEHDSV0029

-> ms port : 3901

-> OS libs : D:\usr\sap\JP8\JC00\j2ee\os_libs

-> Admin URL :

-> run mode : normal

-> run action : NONE

-> enabled : yes

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

<br>

<br>

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

Used property files

-> files [00] : D:\usr\sap\JP8\JC00\j2ee\cluster\instance.properties

-> files [01] : D:\usr\sap\JP8\JC00\SDM\program\config\sdm_jstartup.properties

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

<br>

<br>

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

Instance properties

-> ms host : DEHDSV0029

-> ms port : 3901

-> os libs : D:\usr\sap\JP8\JC00\j2ee\os_libs

-> admin URL :

-> run mode : normal

-> run action : NONE

-> enabled : yes

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

<br>

<br>

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

Bootstrap nodes

-> [00] bootstrap : D:\usr\sap\JP8\JC00\j2ee\cluster\instance.properties

-> [01] bootstrap_ID3617800 : D:\usr\sap\JP8\JC00\j2ee\cluster\instance.properties

-> [02] bootstrap_ID3617850 : D:\usr\sap\JP8\JC00\j2ee\cluster\instance.properties

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

<br>

<br>

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

Worker nodes

-> [00] ID3617800 : D:\usr\sap\JP8\JC00\j2ee\cluster\instance.properties

-> [01] ID3617850 : D:\usr\sap\JP8\JC00\j2ee\cluster\instance.properties

-> [02] sdm : D:\usr\sap\JP8\JC00\SDM\program\config\sdm_jstartup.properties

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

[Thr 3776] JControlExecuteBootstrap: execute bootstrap process [bootstrap]

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

Java Home: C:\j2sdk1.4.2_17-x64

[Thr 3776] JStartupICheckFrameworkPackage: can't find framework package D:\usr\sap\JP8\JC00\exe\jvmx.jar

<br>

<br>

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

JStartupIReadSection: read node properties [bootstrap]

-> node name : bootstrap

-> node type : bootstrap

-> node execute : yes

-> java path : C:\j2sdk1.4.2_17-x64

-> java parameters : -Djco.jarm=1

-> java vm version : 1.4.2_17-b06

-> java vm vendor : Java HotSpot(TM) 64-Bit Server VM (Sun Microsystems Inc.)

-> java vm type : server

-> java vm cpu : amd64

-> heap size : 256M

-> root path : D:\usr\sap\JP8\JC00\j2ee\cluster

-> class path : .\bootstrap\launcher.jar

-> OS libs path : D:\usr\sap\JP8\JC00\j2ee\os_libs

-> main class : com.sap.engine.offline.OfflineToolStart

-> framework class : com.sap.bc.proj.jstartup.JStartupFramework

-> registr. class : com.sap.bc.proj.jstartup.JStartupNatives

-> framework path : D:\usr\sap\JP8\JC00\exe\jstartup.jar;D:\usr\sap\JP8\JC00\exe\jvmx.jar

-> parameters : com.sap.engine.bootstrap.Bootstrap ./bootstrap ID0036178

-> debuggable : yes

-> debug mode : no

-> debug port : 60000

-> shutdown timeout : 120000

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

<br>

<br>

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

JControlStartJLaunch: program = D:\usr\sap\JP8\JC00\exe\jlaunch.exe

-> arg[00] = D:\usr\sap\JP8\JC00\exe\jlaunch.exe

-> arg[01] = pf=D:\usr\sap\JP8\SYS\profile\JP8_JC00_DEHDSV0029

-> arg[02] = -DSAPINFO=JP8_00_bootstrap

-> arg[03] = -nodeId=-1

-> arg[04] = -file=D:\usr\sap\JP8\JC00\j2ee\cluster\instance.properties

-> arg[05] = -syncSem=JSTARTUP_WAIT_ON_3724

-> arg[06] = -nodeName=bootstrap

-> arg[07] = -jvmOutFile=D:\usr\sap\JP8\JC00\work\jvm_bootstrap.out

-> arg[08] = -stdOutFile=D:\usr\sap\JP8\JC00\work\std_bootstrap.out

-> arg[09] = -locOutFile=D:\usr\sap\JP8\JC00\work\dev_bootstrap

-> arg[10] = -mode=BOOTSTRAP

-> arg[11] = pf=D:\usr\sap\JP8\SYS\profile\JP8_JC00_DEHDSV0029

-> lib path = PATH=C:\j2sdk1.4.2_17-x64\jre\bin\server;C:\j2sdk1.4.2_17-x64\jre\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn\;C:\Program Files (x86)\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files (x86)\Dell\SysMgt\oma\bin;D:\usr\sap\JP8\SYS\exe\uc\NTAMD64

-> exe path = PATH=C:\j2sdk1.4.2_17-x64\bin;D:\usr\sap\JP8\JC00\j2ee\os_libs;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn\;C:\Program Files (x86)\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files (x86)\Dell\SysMgt\oma\bin;D:\usr\sap\JP8\SYS\exe\uc\NTAMD64

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

<br>

<br>

[Thr 3776] Tue Jul 13 09:46:10 2010

[Thr 3776] *** ERROR => invalid return code of process [bootstrap] (exitcode = -2) [jstartxx.c 1642]

[Thr 3776] JControlExecuteBootstrap: error executing bootstrap node [bootstrap] (rc = -2)

[Thr 3776] JControlCloseProgram: started (exitcode = -2)

[Thr 3776] JControlCloseProgram: good bye... (exitcode = -2)

<br>

<br>

I have to admit that I am not a basis administrator. The following message inidicates changes to the JAVA variables, is that correct?

<br>

<br>

[Thr 3776] JControlExecuteBootstrap: execute bootstrap process [bootstrap]

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

Java Home: C:\j2sdk1.4.2_17-x64

[Thr 3776] JStartupICheckFrameworkPackage: can't find framework package D:\usr\sap\JP8\JC00\exe\jvmx.jar

<br>

<br>

I did not touch the previous JAVA files, what do I need to to to reenable it again? I have uninstalled the new JRE in the meantime and rebooted the box.

<br>

Kind regards and many thanks in advance,

<br>

R.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Dear all,

<br>

this is my bootstrap log. <br>

-


trc file: "D:\usr\sap\JP8\JC00\work\dev_bootstrap", trc level: 1, release: "700"

-


node name : bootstrap

pid : 1788

system name : JP8

system nr. : 00

started at : Tue Jul 13 09:46:07 2010

arguments :

arg[00] : D:\usr\sap\JP8\JC00\exe\jlaunch.exe

arg[01] : pf=D:\usr\sap\JP8\SYS\profile\JP8_JC00_DEHDSV0029

arg[02] : -DSAPINFO=JP8_00_bootstrap

arg[03] : pf=D:\usr\sap\JP8\SYS\profile\JP8_JC00_DEHDSV0029

[Thr 860] Tue Jul 13 09:46:07 2010

[Thr 860] *** WARNING => INFO: Unknown property [instance.box.number=JP8JC00dehdsv0029] [jstartxx.c 841]

[Thr 860] *** WARNING => INFO: Unknown property [instance.en.host=DEHDSV0029] [jstartxx.c 841]

[Thr 860] *** WARNING => INFO: Unknown property [instance.en.port=3201] [jstartxx.c 841]

[Thr 860] *** WARNING => INFO: Unknown property [instance.system.id=0] [jstartxx.c 841]

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

JStartupReadInstanceProperties: read instance properties [D:\usr\sap\JP8\JC00\j2ee\cluster\instance.properties]

-> ms host : DEHDSV0029

-> ms port : 3901

-> OS libs : D:\usr\sap\JP8\JC00\j2ee\os_libs

-> Admin URL :

-> run mode : normal

-> run action : NONE

-> enabled : yes

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

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

Used property files

-> files [00] : D:\usr\sap\JP8\JC00\j2ee\cluster\instance.properties

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

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

Instance properties

-> ms host : DEHDSV0029

-> ms port : 3901

-> os libs : D:\usr\sap\JP8\JC00\j2ee\os_libs

-> admin URL :

-> run mode : normal

-> run action : NONE

-> enabled : yes

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

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

Bootstrap nodes

-> [00] bootstrap : D:\usr\sap\JP8\JC00\j2ee\cluster\instance.properties

-> [01] bootstrap_ID3617800 : D:\usr\sap\JP8\JC00\j2ee\cluster\instance.properties

-> [02] bootstrap_ID3617850 : D:\usr\sap\JP8\JC00\j2ee\cluster\instance.properties

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

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

Worker nodes

-> [00] ID3617800 : D:\usr\sap\JP8\JC00\j2ee\cluster\instance.properties

-> [01] ID3617850 : D:\usr\sap\JP8\JC00\j2ee\cluster\instance.properties

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

[Thr 860] JLaunchRequestQueueInit: create named pipe for ipc

[Thr 860] JLaunchRequestQueueInit: create pipe listener thread

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

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

[Thr 860] NiInit3: NI already initialized; param 'maxHandles' ignored (1;202)

[Thr 860] CPIC (version=700.2006.09.13)

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

Java Home: C:\j2sdk1.4.2_17-x64

[Thr 860] JStartupICheckFrameworkPackage: can't find framework package D:\usr\sap\JP8\JC00\exe\jvmx.jar

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

JStartupIReadSection: read node properties [bootstrap]

-> node name : bootstrap

-> node type : bootstrap

-> node execute : yes

-> java path : C:\j2sdk1.4.2_17-x64

-> java parameters : -Djco.jarm=1

-> java vm version : 1.4.2_17-b06

-> java vm vendor : Java HotSpot(TM) 64-Bit Server VM (Sun Microsystems Inc.)

-> java vm type : server

-> java vm cpu : amd64

-> heap size : 256M

-> root path : D:\usr\sap\JP8\JC00\j2ee\cluster

-> class path : .\bootstrap\launcher.jar

-> OS libs path : D:\usr\sap\JP8\JC00\j2ee\os_libs

-> main class : com.sap.engine.offline.OfflineToolStart

-> framework class : com.sap.bc.proj.jstartup.JStartupFramework

-> registr. class : com.sap.bc.proj.jstartup.JStartupNatives

-> framework path : D:\usr\sap\JP8\JC00\exe\jstartup.jar;D:\usr\sap\JP8\JC00\exe\jvmx.jar

-> parameters : com.sap.engine.bootstrap.Bootstrap ./bootstrap ID0036178

-> debuggable : yes

-> debug mode : no

-> debug port : 60000

-> shutdown timeout : 120000

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

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

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

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

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

[Thr 3364] **********************************************************************

      • 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 3364] *** ERROR => Cannot load DLL for Java VM [jlnchxxi.c 717]

[Thr 860] Tue Jul 13 09:46:09 2010

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

<br>

Does this provide more information?

Kind regards,

Richard

sunny_pahuja2
Active Contributor
0 Kudos

Reason why are you facing this error because you tried to change JDK in between which you mentioned in your earlier reply. Note which I suggested above is to cross check when you have changed JDK then have you taken all steps or not.

Also, bootstrap logs which you pasted looks like the problem with JDK only. Check SAP note 940893.

Thanks

Sunny

Former Member
0 Kudos

Hi Sunny,

many thanks again for your swift reply. Some questions coming out of the Notes you advised me to look at.

I.) 940893 Section 1: I am not able to use the Java -version command in the cmd line. Do I have to execute it in a specific directory. Nevertheless I have verified the path in the instance profile JP8_JC00_DEHDSV0029

jstartup/trimming_properties = off

jstartup/protocol = on

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

jstartup/max_caches = 500

jstartup/release = 700

jstartup/instance_properties = $(jstartup/j2ee_properties);$(jstartup/sdm_properties)

Which files am I supposed to find in that directory?

II:) "can't find framework package D:\usr\sap\JP8\JC00\exe\jvmx.jar" --> This file is nowhere on my complete system.

III.) Even when I start the offline log viewer, it says something like path not specified?

IV.) I have checked the section 2 in 940893, seems to be not the problem.

I am sorry, that I do not get it. What is your recommendation as next step to investigate or repair?

Kind regards,

R.

sunny_pahuja2
Active Contributor
0 Kudos

Hi,

As per your logs:

> ERROR => Can't load VM shared library

Check below link:

http://help.sap.com/saphelp_nw04/helpdata/en/7f/28074152aff323e10000000a155106/content.htm

Thanks

Sunny

Former Member
0 Kudos

Hi Sunny,

thanks for this note. It brought me to the learning, that the uninstall procedure of the other JRE obviously damaged my other JRE as it deleted complete folders and files.

So, I went to http://www.sun.com/software/javaforbusiness/sap_download.jsp and took the same release, installed it, everything works again.

Kind regards and many thanks,

R.

Answers (1)

Answers (1)

sunny_pahuja2
Active Contributor
0 Kudos

Hi,

Have you changed JDK version as per SAP Note 718901 - How to Change the JDK of the J2EE Engine ?

Thanks

Sunny

Former Member
0 Kudos

HI Sunny,

as I do not want to touch the JDK of the J2EE Engine, I have not used the note you have provided.

Kind regards,

R.