cancel
Showing results for 
Search instead for 
Did you mean: 

Instance Java not start

Former Member
0 Kudos

Hi, I need help, run command startsap but instance java no start. attach show the error in the file log "dev_bootstrap"

Operatation System AIX, Memory 4 GB RAM, EP Netweaver 7.0 SP17

file dev_bootstrap

-> arg[ 13]: -Dmemory.manager=200M

-> arg[ 14]: -Xmx200M

-> arg[ 15]: -Xms200M

-> arg[ 16]: -DLoadBalanceRestricted=no

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

-> arg[ 18]: -Djstartup.ownProcessId=2228374

-> arg[ 19]: -Djstartup.ownHardwareId=J2009552840

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

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

-> arg[ 22]: -DSAPINFO=NWD_00_bootstrap

-> arg[ 23]: -DSAPSTARTUP=1

-> arg[ 24]: -DSAPSYSTEM=00

-> arg[ 25]: -DSAPSYSTEMNAME=NWD

-> arg[ 26]: -DSAPMYNAME=cgsapnw1_NWD_00

-> arg[ 27]: -DSAPDBHOST=cgsapnw1

-> arg[ 28]: -Dj2ee.dbhost=cgsapnw1

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

[Thr 772] *** ERROR => JHVM_LoadJavaVM: Cannot create Java VM (rc=-4) [jhvmxx_mt.c 559]

[Thr 772] *** ERROR => Cannot load Java VM (server) (rc=-1) [jlnchxxi_mt. 752]

[Thr 772] **********************************************************************

      • ERROR => Java VM initialization failed.

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

      • for additional information and trouble shooting.

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

[Thr 772] SigISetIgnoreAction : SIG_IGN for signal 20

[Thr 772] JLaunchCloseProgram: good bye (exitcode = -1)

Accepted Solutions (1)

Accepted Solutions (1)

blanca_serrano
Advisor
Advisor
0 Kudos

Hello Eli,

In order to see the exact cause of the error, please, open the jvm_bootstrap and std_bootstrap trace,they should contain more details about the error.

Regards,

Blanca

Former Member
0 Kudos

Hi Blanca, attach file bootstrap error:

-


trc file: "/usr/sap/NWD/JC00/work/dev_bootstrap", trc level: 1, release: "700"

-


node name : bootstrap

pid : 8781944

system name : NWD

system nr. : 00

started at : Mon Nov 14 02:53:26 2011

arguments :

arg[00] : /usr/sap/NWD/JC00/exe/jlaunch

arg[01] : pf=/usr/sap/NWD/SYS/profile/NWD_JC00_cgsapnw1

arg[02] : -DSAPINFO=NWD_00_bootstrap

arg[03] : pf=/usr/sap/NWD/SYS/profile/NWD_JC00_cgsapnw1

[Thr 1] Mon Nov 14 02:53:26 2011

[Thr 1] *** WARNING => INFO: Unknown property [instance.box.number=NWDJC00cgsapnw1] [jstartxx_mt. 841]

[Thr 1] *** WARNING => INFO: Unknown property [instance.en.host=cgsapnw1] [jstartxx_mt. 841]

[Thr 1] *** WARNING => INFO: Unknown property [instance.en.port=3201] [jstartxx_mt. 841]

[Thr 1] *** WARNING => INFO: Unknown property [instance.system.id=0] [jstartxx_mt. 841]

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

JStartupReadInstanceProperties: read instance properties [/usr/sap/NWD/JC00/j2ee/cluster/instance.properties]

-> ms host : cgsapnw1

-> ms port : 3901

-> OS libs : /usr/sap/NWD/JC00/j2ee/os_libs

-> Admin URL :

-> run mode : NORMAL

-> run action : NONE

-> enabled : yes

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

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

Used property files

-> files [00] : /usr/sap/NWD/JC00/j2ee/cluster/instance.properties

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

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

Instance properties

-> ms host : cgsapnw1

-> ms port : 3901

-> os libs : /usr/sap/NWD/JC00/j2ee/os_libs

-> admin URL :

-> run mode : NORMAL

-> run action : NONE

-> enabled : yes

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

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

Bootstrap nodes

-> [00] bootstrap : /usr/sap/NWD/JC00/j2ee/cluster/instance.properties

-> [01] bootstrap_ID8080200 : /usr/sap/NWD/JC00/j2ee/cluster/instance.properties

-> [02] bootstrap_ID8080250 : /usr/sap/NWD/JC00/j2ee/cluster/instance.properties

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

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

Worker nodes

-> [00] ID8080200 : /usr/sap/NWD/JC00/j2ee/cluster/instance.properties

-> [01] ID8080250 : /usr/sap/NWD/JC00/j2ee/cluster/instance.properties

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

[Thr 1] JLaunchRequestQueueInit: create named pipe for ipc

[Thr 1] JLaunchRequestQueueInit: create pipe listener thread

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

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

[Thr 1] Mon Nov 14 02:53:27 2011

[Thr 1] SigISetDefaultAction : default handling for signal 20

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

[Thr 1] CPIC (version=700.2009.02.11)

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

Java Home: /usr/java14_64

[Thr 1] JStartupICheckFrameworkPackage: can't find framework package /usr/sap/NWD/JC00/exe/jvmx.jar

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

JStartupIReadSection: read node properties [bootstrap]

-> node name : bootstrap

-> node type : bootstrap

-> node execute : yes

-> java path : /usr/java14_64

-> java parameters : -Djco.jarm=1 -Xmn70M -Xgcpolicy:gencon -verbose:gc -Xj9 -Xdump:system:events=systhrow,filter=java/lang/OutOf

MemoryError,request=exclusive+prepwalk

-> java vm version : J2RE 1.4.2 IBM J9 2.3 AIX ppc64-64 j9ap64142-20060421 (JIT enabled)

-> java vm vendor : IBM J9 VM (IBM Corporation)

-> java vm type : server

-> java vm cpu : ppc64

-> heap size : 200M

-> init heap size : 200M

-> root path : /usr/sap/NWD/JC00/j2ee/cluster

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

-> OS libs path : /usr/sap/NWD/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 : /usr/sap/NWD/JC00/exe/jstartup.jar:/usr/sap/NWD/JC00/exe/jvmx.jar

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

-> debuggable : yes

-> debug mode : no

-> debug port : 60000

-> shutdown timeout : 120000

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

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

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

JHVM_LoadJavaVM: VM Arguments of node [bootstrap]

-> stack : 1048576 Bytes

-> arg[ 0]: exit

-> arg[ 1]: abort

-> arg[ 2]: vfprintf

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

-> arg[ 4]: -Xmn70M

-> arg[ 5]: -Xgcpolicy:gencon

-> arg[ 6]: -verbose:gc

-> arg[ 7]: -Xj9

-> arg[ 8]: -Xdump:system:events=systhrow,filter=java/lang/OutOfMemoryError,request=exclusive+prepwalk

-> arg[ 9]: -Dsys.global.dir=/usr/sap/NWD/SYS/global

-> arg[ 10]: -Dapplication.home=/usr/sap/NWD/JC00/exe

-> arg[ 11]: -Djava.class.path=/usr/sap/NWD/JC00/exe/jstartup.jar:/usr/sap/NWD/JC00/exe/jvmx.jar:./bootstrap/launcher.jar

-> arg[ 12]: -Djava.library.path=/usr/java14_64/jre/bin:/usr/java14_64/jre/bin/classic:/usr/java14_64/jre/bin:/usr/sap/NWD/JC00/exe:

/usr/sap/NWD/JC00/exe:/tmp/sapinst_exe.6750438.1321045393:/usr/sap/NWD/SYS/exe/run:/sapmnt/NWD/exe:/oracle/client/10x_64/instantclie

nt:/usr/sap/NWD/JC00/exe::/usr/lib:/usr/sap/NWD/JC00/j2ee/os_libs:/usr/sap/NWD/JC00/exe:/usr/sap/NWD/JC00/exe:/usr/lib:/lib:/usr/sap

/NWD/SYS/exe/run:/sapmnt/NWD/exe:/oracle/client/10x_64/instantclient

-> arg[ 13]: -Dmemory.manager=200M

-> arg[ 14]: -Xmx200M

-> arg[ 15]: -Xms200M

-> arg[ 16]: -DLoadBalanceRestricted=no

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

-> arg[ 18]: -Djstartup.ownProcessId=8781944

-> arg[ 19]: -Djstartup.ownHardwareId=J2009552840

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

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

-> arg[ 22]: -DSAPINFO=NWD_00_bootstrap

-> arg[ 23]: -DSAPSTARTUP=1

-> arg[ 24]: -DSAPSYSTEM=00

-> arg[ 25]: -DSAPSYSTEMNAME=NWD

-> arg[ 26]: -DSAPMYNAME=cgsapnw1_NWD_00

-> arg[ 27]: -DSAPDBHOST=cgsapnw1

-> arg[ 28]: -Dj2ee.dbhost=cgsapnw1

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

[Thr 772] *** ERROR => JHVM_LoadJavaVM: Cannot create Java VM (rc=-4) [jhvmxx_mt.c 559]

[Thr 772] *** ERROR => Cannot load Java VM (server) (rc=-1) [jlnchxxi_mt. 752]

[Thr 772] **********************************************************************

      • ERROR => Java VM initialization failed.

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

      • for additional information and trouble shooting.

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

[Thr 772] SigISetIgnoreAction : SIG_IGN for signal 20

[Thr 772] JLaunchCloseProgram: good bye (exitcode = -1)

Former Member
0 Kudos

Hi Eli,

Java startup failed since it could not create Java virtual memory. As Sunny suggested, please increase the following heap memory parameters for all server nodes and do fresh restart. You should be able to modify them in config tool or instance.properties file.

-Xmx200M

-Xms200M

Please go through note 723909 for better understanding. Good luck!!

Thanks,

Siva Kumar

Former Member
0 Kudos

Hi Siva, thanks for information

-Xmx2000M

-Xms2000M

This value corrects?? with this values can create java virtual machine memory??

Former Member
0 Kudos

Hi Eli,

Make it 2048 M (2GB) for both parameters and give a try. Please make sure you clear ipcs/shared memory before restart.

Good luck!!

Thanks,

Siva Kumar

Former Member
0 Kudos

HI, thanks for all, i solved problem, reinstall the portal.

Answers (6)

Answers (6)

0 Kudos

Hi,

Please refer the note 940893 for J2EE engine startup issues.

with regards,

samarth j h

blanca_serrano
Advisor
Advisor
0 Kudos

Hello Eli,

Thank you for the std file. It, as you can see, shows the exact error that is causing the start up problem:

JVMDUMP001E Dump Event unrecognised: ...systhrow,filter=java/lang/OutOfMemoryError,request=exclusive+prepwalk

The reason is that option

-Xdump:system:events=systhrow,filter=java/lang/OutOfMemoryError,request=exclusive+prepwalk

is not present in your JDK version.

Then, you have 2 options:

1.- Please, update the JDK to SR13 (see note 716927 regarding recommended JDK versions). Note 718901 shows you how to change JDK. This is the option I recommend you, as the one you are using isvery old, from 2006.

2.- If it is too complicated to update the JDK you can run the box without this parameter.

I hope this helps you.

Regards,

Blanca

MarceloPinheiro
Advisor
Advisor
0 Kudos

Hi Eli,

the information showed in #723909 is regarding a dispatcher and server nodes, not to bootstrap. To bootstrat use Xmn and Xmx=256m.

To bootstrap issue, use SAP note #997510.

Tks

Marcelo Pinheiro

Former Member
0 Kudos

Hi Eli

What is the size of heap memory of server node. Big heaps can also cause such issues.

BTW, the log file you have provided also has a SAP note which i think is really nice

Below are some contents from refrence of that note

Problems with initializing the VM are often caused by incorrect parameters in the VM. For more detailed information, refer to the dev_<node> trace file (for example, dev_server0) or std_<node>.out trace file (for example, std_server0.out).

If std_<node>.out does not exist, check whether the checkmark for the console is set in the config tool. You can also verify this in the instance.properties file. The parameter console is set to 'Yes'. Change this using the config tool.

Examples of incorrect parameters:

- The defined heap is too big. There is not enough contiguous virtual address space to define the heap.

As a result, the system issues the following error message:

could not reserve enough space for object heap.

This error often occurs on 32-bit Windows systems (Note 835704).

You can use the address space viewer (Note 736462) and preload DLL (Note 853696) to resolve this issue.

- Unknown parameters, for example, -XX:<name> on IBM JDK result in the following error messages:

Command-line option unrecognised: -XX:+PrintGCTimeStamps

These error messages are in std_bootstrap.out.

If the system issues this type of error message, open the instance.properties file and delete the parameter. The bootstrap process does not read this information from the database, but from this file.

Let me know if i can be of further assistance

Cheers !

Manish

blanca_serrano
Advisor
Advisor
0 Kudos

Hello Eli,

Please, do not modify any value, first of all, please, see the error detail in std_bootstrap or jvm_bootstrap, then, knowing the exact cause of the problem we can look for a solution.

Regards,

Blanca

Former Member
0 Kudos

Hi blanca attach the file STD_bootstrap

stdout/stderr redirect

-


node name : bootstrap

pid : 4260058

system name : NWD

system nr. : 00

started at : Mon Nov 14 06:44:41 2011

JVMDUMP001E Dump Event unrecognised: ...systhrow,filter=java/lang/OutOfMemoryError,request=exclusive+prepwalk

Capture raw process image:

-Xdump:system[:defaults][:<option>=<value>, ...]

Dump options:

events=<name> Trigger dump on named events

[+<name>...] (see -Xdump:events)

filter=[]<name>[] Filter on class (for load,throw,catch,uncaught)

#<n>..<m> Filter on exit code (for vmstop)

file=<label> Output file

range=<n>..<m> Limit dumps

priority=<n> Highest first

request=<name> Request additional VM actions

[+<name>...] (see -Xdump:request)

opts=<NONE>

Default -Xdump:system settings:

events=gpf+user

filter=

file=/usr/sap/NWD/JC00/j2ee/cluster/core.%Y%m%d.%H%M%S.%pid.dmp

range=1..0

priority=999

request=serial

opts=

sunny_pahuja2
Active Contributor
0 Kudos

Hi,

> -> arg[ 13]: -Dmemory.manager=200M

> -> arg[ 14]: -Xmx200M

> -> arg[ 15]: -Xms200M

> -> arg[ 16]: -DLoadBalanceRestricted=no

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

> -> arg[ 18]: -Djstartup.ownProcessId=2228374

> -> arg[ 19]: -Djstartup.ownHardwareId=J2009552840

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

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

Value of Heap memory parameters are very less. Please increase Heap memory. Check SAP note 723909.

Please also check default trace file.

Thanks

Sunny

Former Member
0 Kudos

Hi, Sunny Pahuja, what value should I add?

Modify Xmx and Xms??