cancel
Showing results for 
Search instead for 
Did you mean: 

SAP JAVA doesnt start

Former Member
0 Kudos

Hi,

We have a double stack system but unfortunately JAVA stack doesnt start. On the logs this error is displayed:

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

JControlStartJLaunch: program = D:\usr\sap\MD1\DVEBMGS00\exe\jlaunch.exe

-> arg[00] = D:\usr\sap\MD1\DVEBMGS00\exe\jlaunch.exe

-> arg[01] = pf=D:\usr\sap\MD1\SYS\profile\MD1_DVEBMGS00_DER54BGTEDQ

-> arg[02] = -DSAPINFO=MD1_00_bootstrap

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

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

-> arg[05] = -syncSem=JSTARTUP_WAIT_ON_10096

-> arg[06] = -nodeName=bootstrap_ID2815150

-> arg[07] = -jvmOutFile=D:\usr\sap\MD1\DVEBMGS00\work\jvm_bootstrap_ID2815150.out

-> arg[08] = -stdOutFile=D:\usr\sap\MD1\DVEBMGS00\work\std_bootstrap_ID2815150.out

-> arg[09] = -locOutFile=D:\usr\sap\MD1\DVEBMGS00\work\dev_bootstrap_ID2815150

-> arg[10] = -mode=BOOTSTRAP

-> arg[11] = pf=D:\usr\sap\MD1\SYS\profile\MD1_DVEBMGS00_DER54BGTEDQ

-> arg[12] = -DSAPSTART=1

-> arg[13] = -DCONNECT_PORT=53435

-> arg[14] = -DSAPSYSTEM=00

-> arg[15] = -DSAPSYSTEMNAME=MD1

-> arg[16] = -DSAPMYNAME=DER54BGTEDQ_MD1_00

-> arg[17] = -DSAPPROFILE=D:\usr\sap\MD1\SYS\profile\MD1_DVEBMGS00_DER54BGTEDQ

-> arg[18] = -DFRFC_FALLBACK=ON

-> arg[19] = -DFRFC_FALLBACK_HOST=localhost

-> lib path = PATH=D:\usr\sap\MD1\DVEBMGS00\exe\sapjvm_4\jre\bin\server;D:\usr\sap\MD1\DVEBMGS00\exe\sapjvm_4\jre\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Microsoft Network Monitor 3\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\;C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\;D:\usr\sap\MD1\DVEBMGS04\exe;D:\usr\sap\MD1\SYS\exe\uc\NTAMD64

-> exe path = PATH=D:\usr\sap\MD1\DVEBMGS00\exe\sapjvm_4\bin;D:\usr\sap\MD1\DVEBMGS00\j2ee\os_libs;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Microsoft Network Monitor 3\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\;C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\;D:\usr\sap\MD1\DVEBMGS04\exe;D:\usr\sap\MD1\SYS\exe\uc\NTAMD64

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

[Thr 8044] Wed Mar 16 00:15:53 2016

[Thr 8044] *** ERROR => invalid return code of process [bootstrap_ID2815150] (exitcode = 255) [jstartxx.c   1647]

[Thr 8044] JControlExecuteBootstrap: error executing bootstrap node [bootstrap_ID2815150] (rc = 255)

[Thr 8044] JControlCloseProgram: started (exitcode = 255)

[Thr 8044] JControlCloseProgram: good bye... (exitcode = 255)

We have tried to restart, remove the willy parameters , etc etc but unfortunately no luck

Does anyone know what could be happening?

Thanks a lot, Sapera

Accepted Solutions (1)

Accepted Solutions (1)

yakcinar
Active Contributor
0 Kudos

Hello,

You can check below traoubleshooting page for checking exitcode 255. You can select related links according to your system.

(JAVA) Application Server Java Troubleshooting - SAP Netweaver Application Server Java - SCN Wiki

Regards,

Yuksel AKCINAR

Former Member
0 Kudos

Hi,

I have checked the link but after choosing the different options is recommending me to create an OSS:

Do you have any other idea?

Thanks a lot, Sapera

Sriram2009
Active Contributor
0 Kudos

Hi

1. Could you share the log files dev_bootstrap* & log_bootstrp*

2. Refer the SCN thread with same issue JAVA Stack of our Solution Manager is not commi... | SCN

Regards

SS

Former Member
0 Kudos

Hi,

Link you sent me is referring to SAP note 1015184 - Wily Introscope Agent for IBM J9 Hybrid VM  . On teh instance.propoerties, willy parameter is not present.

This the dev_bootstrap*:

---------------------------------------------------

trc file: "dev_bootstrap_ID2815150", trc level: 1, release: "721"

---------------------------------------------------

node name   : bootstrap_ID2815150

pid         : 952

system name : MD1

system nr.  : 00

started at  : Wed Mar 16 01:06:06 2016

arguments      :

      arg[00] : D:\usr\sap\MD1\DVEBMGS00\exe\jlaunch.exe

      arg[01] : pf=D:\usr\sap\MD1\SYS\profile\MD1_DVEBMGS00_DER54BGTEDQ

      arg[02] : -DSAPINFO=MD1_00_bootstrap

      arg[03] : pf=D:\usr\sap\MD1\SYS\profile\MD1_DVEBMGS00_DER54BGTEDQ

      arg[04] : -DSAPSTART=1

      arg[05] : -DCONNECT_PORT=54802

      arg[06] : -DSAPSYSTEM=00

      arg[07] : -DSAPSYSTEMNAME=MD1

      arg[08] : -DSAPMYNAME=DER54BGTEDQ_MD1_00

      arg[09] : -DSAPPROFILE=D:\usr\sap\MD1\SYS\profile\MD1_DVEBMGS00_DER54BGTEDQ

      arg[10] : -DFRFC_FALLBACK=ON

      arg[11] : -DFRFC_FALLBACK_HOST=localhost

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

Used property files

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

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

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

Bootstrap nodes

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

-> [01] bootstrap_ID2815100  : D:\usr\sap\MD1\DVEBMGS00\j2ee\cluster\instance.properties

-> [02] bootstrap_ID2815150  : D:\usr\sap\MD1\DVEBMGS00\j2ee\cluster\instance.properties

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

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

Worker nodes

-> [00] ID2815100            : D:\usr\sap\MD1\DVEBMGS00\j2ee\cluster\instance.properties

-> [01] ID2815150            : D:\usr\sap\MD1\DVEBMGS00\j2ee\cluster\instance.properties

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

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

JStartupReadInstanceProperties: read instance properties [D:\usr\sap\MD1\DVEBMGS00\j2ee\cluster\instance.properties]

-> ms host    : DER54BGTEDQ

-> ms port    : 3902

-> OS libs    : D:\usr\sap\MD1\DVEBMGS00\j2ee\os_libs

-> Admin URL  :

-> run mode   : safe

-> run action : UPGRADE

-> enabled    : yes

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

[Thr 3504] Wed Mar 16 01:06:06 2016

[Thr 3504] JLaunchRequestQueueInit: create named pipe for ipc

[Thr 3504] JLaunchRequestQueueInit: create pipe listener thread

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

[Thr 3504] CCMS: Detected Double Stack (parameter "rdisp/j2ee_start" is active)

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

[Thr 3504] CCMS: SemInMgt: Semaphore Management initialized by AlAttachShm_Doublestack.

[Thr 3504] CCMS: SemInit: Semaphore 38 initialized by AlAttachShm_Doublestack.

[Thr 3504] CCMS: CCMS Monitoring Initialization finished, rc=0.

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

[Thr 3504]     Java Home: D:\usr\sap\MD1\DVEBMGS00\exe\sapjvm_4

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

JStartupIReadSection: read node properties [bootstrap_ID2815150]

-> node name          : server0 bootstrap

-> node type          : bootstrap

-> node execute       : yes

-> jlaunch parameters :

-> java path          : D:\usr\sap\MD1\DVEBMGS00\exe\sapjvm_4

-> java parameters    : -Djco.jarm=1

-> java vm version    : 4.1.030 23.5-b02

-> java vm vendor     : SAP Java Server VM (SAP AG)

-> java vm type       : server

-> java vm cpu        : amd64

-> heap size          : 256M

-> root path          : D:\usr\sap\MD1\DVEBMGS00\j2ee\cluster

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

-> OS libs path       : D:\usr\sap\MD1\DVEBMGS00\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\MD1\DVEBMGS00\exe\jstartup.jar;D:\usr\sap\MD1\DVEBMGS00\exe\jvmx.jar

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

-> debuggable         : yes

-> debug mode         : no

-> debug port         : 60000

-> shutdown timeout   : 120 sec.

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

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

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

JHVM_LoadJavaVM: VM Arguments of node [server0 bootstrap]

-> stack   : 2097152 Bytes

-> arg[  0]: exit

-> arg[  1]: abort

-> arg[  2]: vfprintf

-> arg[  3]: -Djco.jarm=1

-> arg[  4]: -Dsys.global.dir=D:\usr\sap\MD1\SYS\global

-> arg[  5]: -Dapplication.home=D:\usr\sap\MD1\DVEBMGS00\exe

-> arg[  6]: -Djava.class.path=D:\usr\sap\MD1\DVEBMGS00\exe\jstartup.jar;D:\usr\sap\MD1\DVEBMGS00\exe\jvmx.jar;.\bootstrap\launcher.jar

-> arg[  7]: -Djava.library.path=D:\usr\sap\MD1\DVEBMGS00\exe\sapjvm_4\jre\bin\server;D:\usr\sap\MD1\DVEBMGS00\exe\sapjvm_4\jre\bin;D:\usr\sap\MD1\DVEBMGS00\exe\sapjvm_4\bin;D:\usr\sap\MD1\DVEBMGS00\j2ee\os_libs;D:\usr\sap\MD1\DVEBMGS00\exe\sapjvm_4\jre\bin\server;D:\usr\sap\MD1\DVEBMGS00\exe\sapjvm_4\jre\bin;D:\usr\sap\MD1\DVEBMGS00\exe\sapjvm_4\bin;D:\usr\sap\MD1\DVEBMGS00\j2ee\os_libs;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Microsoft Network Monitor 3\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\;C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\;D:\usr\sap\MD1\DVEBMGS04\exe;D:\usr\sap\MD1\SYS\exe\uc\NTAMD64

-> arg[  8]: -Dmemory.manager=256M

-> arg[  9]: -Xmx256M

-> arg[ 10]: -DLoadBalanceRestricted=no

-> arg[ 11]: -Djstartup.mode=BOOTSTRAP

-> arg[ 12]: -Djstartup.ownProcessId=952

-> arg[ 13]: -Djstartup.ownHardwareId=M1831583090

-> arg[ 14]: -Djstartup.whoami=bootstrap

-> arg[ 15]: -Djstartup.debuggable=yes

-> arg[ 16]: -Xjvmx

-> arg[ 17]: -XsapSystem=00

-> arg[ 18]: -XmonGcCallback

-> arg[ 19]: -XdebugPortRange:60000-60000

-> arg[ 20]: -XdebugStateChangeCallback

-> arg[ 21]: -DSAPINFO=MD1_00_bootstrap

-> arg[ 22]: -DSAPSTART=1

-> arg[ 23]: -DCONNECT_PORT=54802

-> arg[ 24]: -DSAPSYSTEM=00

-> arg[ 25]: -DSAPSYSTEMNAME=MD1

-> arg[ 26]: -DSAPMYNAME=DER54BGTEDQ_MD1_00

-> arg[ 27]: -DSAPPROFILE=D:\usr\sap\MD1\SYS\profile\MD1_DVEBMGS00_DER54BGTEDQ

-> arg[ 28]: -DFRFC_FALLBACK=ON

-> arg[ 29]: -DFRFC_FALLBACK_HOST=localhost

-> arg[ 30]: -DSAPSTARTUP=1

-> arg[ 31]: -DSAPSYSTEM=00

-> arg[ 32]: -DSAPSYSTEMNAME=MD1

-> arg[ 33]: -DSAPMYNAME=DER54BGTEDQ_MD1_00

-> arg[ 34]: -DSAPDBHOST=DER54BGTEDQ

-> arg[ 35]: -Dj2ee.dbhost=DER54BGTEDQ

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

Log_bootstrap, but this file wasnt updated:

[Mar 4, 2016 8:37:15 AM  ] Synchronizing file [D:\usr\sap\MD1\DVEBMGS00\j2ee\cluster\server0\dtd\monitor-configuration.dtd].

[Mar 4, 2016 8:37:15 AM  ] ...Synched ok!

[Mar 4, 2016 8:37:15 AM  ] Synchronizing file [D:\usr\sap\MD1\DVEBMGS00\j2ee\cluster\server0\dtd\application-j2ee-engine.dtd].

[Mar 4, 2016 8:37:15 AM  ] ...Synched ok!

[Mar 4, 2016 8:37:15 AM  ] Synchronizing file [D:\usr\sap\MD1\DVEBMGS00\j2ee\cluster\server0\dtd\application-client-additional.dtd].

[Mar 4, 2016 8:37:15 AM  ] ...Synched ok!

[Mar 4, 2016 8:37:15 AM  ] Synchronizing file [D:\usr\sap\MD1\DVEBMGS00\j2ee\cluster\server0\dtd\db-init.dtd].

[Mar 4, 2016 8:37:15 AM  ] ...Synched ok!

[Mar 4, 2016 8:37:15 AM  ] Ok! (104 ms)

[Mar 4, 2016 8:37:15 AM  ] Done!

[Mar 4, 2016 8:37:15 AM  ] Synch time: 9768 ms

Thanks a lot, Sapera

yakcinar
Active Contributor
0 Kudos

Hello Sapera,

bootstrap log seems okey.

Did you find exitcodes going through the links?

What is the status of your system?

Can you send sapmmc screenshot?

Regards,

Yuksel AKCINAR

Sriram2009
Active Contributor
0 Kudos

Hi

From the log it shows normal,  If possible do the full system restart and then attach the latest log files

Regards

SS

Answers (1)

Answers (1)

former_member185239
Active Contributor
0 Kudos

Hi Sapera,

Have you completed the upgrade process?

if you have completed the upgrade process , the java engine is still running in safe mode.

[D:\usr\sap\MD1\DVEBMGS00\j2ee\cluster\instance.properties]

-> ms host    : DER54BGTEDQ

-> ms port    : 3902

-> OS libs    : D:\usr\sap\MD1\DVEBMGS00\j2ee\os_libs

-> Admin URL  :

-> run mode   : safe

-> run action : UPGRADE

-> enabled    : yes

Follow the below steps.

- Open the configtool

if your syncronistaion is correct with database , then config tool will open.

- Click on File-->Safe mode

- Select No from the dropdown from the safe mode option

- Save the value

Restart the sap system.

With Regards

Ashutosh Chaturvedi