cancel
Showing results for 
Search instead for 
Did you mean: 

"Could not create the Java virtual machine" getting this error while executing SWPMSP09

Former Member
0 Kudos

aemsadd4:/software_bwupg/SWPMSP09 # ./sapinst

[==============================] / extracting...  done!

       * The automatic 'backup' configuration has been updated.

       * Future operations will update the backup without prompting.

       * The requested changes have been applied to the currently

         running configuration.

NOTE:    No change to the tunable 'maxdsiz_64bit' was needed.

Tunable              Value  Expression   Changes

maxdsiz_64bit  34359738368  34359738368  Immed

SAPinst build information:

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

Version:       2015.08.0

Build:         1602494

Compile time:  Sep 18 2015 - 16:02:27

Make type:     optu

Codeline:      720-2_REL

Platform:      hpia64

Kernel build:  721, patch 419, changelist 1564913

SAP JRE build: SAP Java Server VM (build 6.1.080 25.51-b02, Aug  6 2015 18:21:32 - 61_REL - optU - hpux ia64 - 6 - bas2:247116 (mixed mode))

SAP JCo build: 3.0.13

Exe directory: /tmp/sapinst_exe.12060.1443712763

guiengine: 2015-10-01 10:19:54 Waiting for client connection (1)

Starting GUIServer using:

  SAPinst port         : pipe:6:10

  GUIServer port       : 21212

  GUI autostart        : on

  GUI mode             : normal

  command       : /tmp/sapinst_exe.12060.1443712763/jre/bin/java -Xmx512M -Dsap.env.var.javahome=SAPINST_JRE_HOME -cp /tmp/sapinst_exe.12060.1443712763/JAR/instgui.jar SDTServer rootdir=//.sdtgui config=jar:sdtserver.xml guiport=21212 -nolock -srvarg=/SAPinstService/host=127.0.0.1 -srvarg=/SAPinstService/port=pipe:6:10

The stack size specified is too small, Specify at least 2688k

Could not create the Java virtual machine.


The SAPinst GUI Server could not be started.

Java has been started with the following command line:

-Xmx512M -Dsap.env.var.javahome=SAPINST_JRE_HOME -cp /tmp/sapinst_exe.12060.1443712763/JAR/instgui.jar SDTServer rootdir=//.sdtgui config=jar:sdtserver.xml guiport=21212 -nolock -srvarg=/SAPinstService/host=127.0.0.1 -srvarg=/SAPinstService/port=pipe:6:10

java -version : -

java version "1.4.2.21"

Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2.21-081211-23:19)

Java HotSpot(TM) Server VM (build 1.4.2 1.4.2.21-081212-04:56-IA64N IA64, mixed mode)

operating system version : -

HP-UX <hostname> B.11.31 U ia64 1616918245 unlimited-user license

its ERP6.0 EHP7 ABAP system.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Guys,

Problem is resolved after making changes in profile parameter & in limit.

'jstartup/native_stack_size' = (2688k min)

& Set limits 'datasize' & 'coredumpsize' to unlimited.

Answers (6)

Answers (6)

Former Member
0 Kudos

Hi Vipul,

We are also facing similar issue.Could you please let me know the solution if the issue is resolved.

Thanks,

Ashwin.

Former Member
0 Kudos

Hi Rahul,

thanks for the info.

According to SAP note # 1329878 - Using non-default memory base page sizes on HP-UX Itanium

we dont have SAPJVM on our landscape. when i try to install jdk switch to SAPJVM its giving me the same error "Could not create the Java virtual machine".

m working with SAP on this issue. will inform you once it get resolved.

regards

Vipul

Former Member
0 Kudos

Hi Vipul,

From Snote: 172747     check parameter "base_pagesize".

HP-UX 11iv2  (11.23)

  • CHECK a kernel parameter:      "kctune <parameter name>"
  • SET a kernel parameter:        "kctune <parameter name>=<value>"
  • check DEFAULT parameter value: "kctune -v <parameter name>"

We followed Snote 1329878, and  set value 4KB. Got resolved our issue.

As per my understading this parameter is related to the HP-UX kernel Not related to the SAPJVM.

Regards,

Rahul

Former Member
0 Kudos

Hi Vipul,

Please run below script instead of just ./sapinst

./sapinst SAPINST_JRE_HOME=/tmp/SAPJVM/sapjvm_6/jre

Please try and revert.

Thanks,

Siddhesh

Former Member
0 Kudos

No luck


aemsadd4:/software_bwupg/SWPMSP09 # ./sapinst SAPINST_JRE_HOME=/tmp/SAPJVM/sapjvm_6/jre
[==============================] / extracting...  done!
       * The automatic 'backup' configuration has been updated.
       * Future operations will update the backup without prompting.
       * The requested changes have been applied to the currently
         running configuration.
NOTE:    No change to the tunable 'maxdsiz_64bit' was needed.
Tunable              Value  Expression   Changes
maxdsiz_64bit  17179869184  17179869184  Immed

SAPinst build information:
--------------------------
Version:       2015.08.0
Build:         1602494
Compile time:  Sep 18 2015 - 16:02:27
Make type:     optu
Codeline:      720-2_REL
Platform:      hpia64
Kernel build:  721, patch 419, changelist 1564913
SAP JRE build: SAP Java Server VM (build 6.1.080 25.51-b02, Aug  6 2015 18:21:32 - 61_REL - optU - hpux ia64 - 6 - bas2:247116 (mixed mode))
SAP JCo build: 3.0.13
Exe directory: /tmp/sapinst_exe.16620.1444981556

guiengine: 2015-10-16 02:46:20 Waiting for client connection (1)

Starting GUIServer using:
  SAPinst port         : pipe:6:10
  GUIServer port       : 21212
  GUI autostart        : on
  GUI mode             : normal
  command       : /tmp/SAPJVM/sapjvm_6/jre/bin/java -Xmx512M -Dsap.env.var.javahome=SAPINST_JRE_HOME -cp /tmp/sapinst_exe.16620.1444981556/JAR/instgui.jar SDTServer rootdir=//.sdtgui config=jar:sdtserver.xml guiport=21212 -nolock -srvarg=/SAPinstService/host=127.0.0.1 -srvarg=/SAPinstService/port=pipe:6:10

Oct 16, 2015 2:46:27 AM [Info]: *************************
Oct 16, 2015 2:46:27 AM [Info]: Starting Server
Oct 16, 2015 2:46:27 AM [Info]: Reading server configuration.
Oct 16, 2015 2:46:28 AM [Info]: Reading service configuration SAPinstService.
Oct 16, 2015 2:46:28 AM [Info]: Configuring LogManager ...
Oct 16, 2015 2:46:28 AM [Info]: *************************************************
Oct 16, 2015 2:46:28 AM [Info]: Starting SL Controller listening on port 21212 ...
Oct 16, 2015 2:46:28 AM [Info]: StorageService switched off.
Oct 16, 2015 2:46:28 AM [Info]: Initializing SecurityManager ...
Oct 16, 2015 2:46:34 AM [Info]: Server certificate fingerprint is B4 C2 B3 39 08 8F 80 12 CA BF 0A 70 D0 4F 0E 04
Oct 16, 2015 2:46:34 AM [Info]: HTTPManager switched off.
Oct 16, 2015 2:46:34 AM [Info]: WebstartService switched off.
Oct 16, 2015 2:46:34 AM [Info]: RoleService switched off.
Oct 16, 2015 2:46:34 AM [Info]: AlertService switched off.
Oct 16, 2015 2:46:34 AM [Info]: NotesService switched off.
Oct 16, 2015 2:46:34 AM [Info]: ProcessService switched off.
Oct 16, 2015 2:46:34 AM [Info]: MIDService switched off.
Oct 16, 2015 2:46:34 AM [Info]: Starting FileService ...
Oct 16, 2015 2:46:34 AM [Info]: LogService switched off.
Oct 16, 2015 2:46:34 AM [Info]: MailService switched off.
Oct 16, 2015 2:46:34 AM [Info]: Starting services ...
Oct 16, 2015 2:46:34 AM [Info]: Starting service "SAPinstService" ...
Oct 16, 2015 2:46:35 AM [Info]: Service "SAPinstService" started
Oct 16, 2015 2:46:35 AM [Info]: Services started.
Oct 16, 2015 2:46:35 AM [Info]: SL Controller started.
Oct 16, 2015 2:46:35 AM [Info]: Starting GUI ...
Oct 16, 2015 2:46:35 AM [Info]: /tmp/SAPJVM/sapjvm_6/jre/bin/java -XX:+HeapDumpOnOutOfMemoryError -Xmx256M -cp /tmp/sapinst_exe.16620.1444981556/JAR/instgui.jar SDTGui host=localhost port=21212 service=SAPinstService -noauth
Oct 16, 2015 2:46:35 AM [Info]: GUI started.
Oct 16, 2015 2:46:43 AM [Info]: >> <<< frog.jar: version 7.20.19 03/09/11 sap.theme: null >>>
Oct 16, 2015 2:46:48 AM [Info]: >> Closed input stream
Oct 16, 2015 2:46:48 AM [Error]: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
Oct 16, 2015 2:46:48 AM [Error]: GUI terminated with return code 255
Oct 16, 2015 2:46:48 AM [Info]: >> Closed input stream
Oct 16, 2015 2:46:49 AM [Error]: msg.diag.0002 javax.net.ssl.SSLHandshakeException Remote host closed connection during handshake
Oct 16, 2015 2:46:49 AM [Error]: Network input/output exception has occurred: Remote host closed connection during handshake
Oct 16, 2015 2:46:49 AM [Error]: com.sap.sdt.engine.core.communication.ProxyException

Former Member
0 Kudos

Hi Vipul,

Have you done below steps?

1. Create a file called ".sapjvmrc" in "/tmp/SAPJVM/sapjvm_6/jre/lib/ia64/server" directory

In that .sapjvmrc file write one line: -Xss3M


If not please do it and try.


Thanks,

Siddhesh

Former Member
0 Kudos

No Luck same error

aemsadd4:de1adm 29> cd /tmp/SAPJVM/sapjvm_6/jre/lib/ia64/server

aemsadd4:de1adm 30> ls -a

.           ..          .sapjvmrc   Xusage.txt  libjsig.so  libjvm.so

aemsadd4:de1adm 31> more .sapjvmrc

-Xss3M

aemsadd4:de1adm 32>

Error:

Oct 16, 2015 3:28:20 AM [Info]: GUI started.

Oct 16, 2015 3:28:28 AM [Info]: >> <<< frog.jar: version 7.20.19 03/09/11 sap.theme: null >>>

Oct 16, 2015 3:28:33 AM [Info]: >> Closed input stream

Oct 16, 2015 3:28:33 AM [Error]: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake

Oct 16, 2015 3:28:33 AM [Error]: GUI terminated with return code 255

Oct 16, 2015 3:28:33 AM [Info]: >> Closed input stream

Oct 16, 2015 3:28:34 AM [Error]: msg.diag.0002 javax.net.ssl.SSLHandshakeException Remote host closed connection during handshake

Oct 16, 2015 3:28:34 AM [Error]: Network input/output exception has occurred: Remote host closed connection during handshake

Oct 16, 2015 3:28:34 AM [Error]: com.sap.sdt.engine.core.communication.ProxyException

Former Member
0 Kudos

Hi Vipul,

Please do all steps from ROOT user not from <sid>adm user.

Former Member
0 Kudos

Yeah did all steps from Root user but same result

Former Member
0 Kudos

Hi Vipul,

Is your issue resolve??

Former Member
0 Kudos

No Siddhesh,

It has not been resolved yet. Working with SAP

will share if issue get resolved ..

thanks for your help.

regards

Vipul

Former Member
0 Kudos

Hi Vipul

Please check this sap note: 1943545 - Start SAPinst with external SAP JVM binaries

It can also be used for HP-UX environment.

Please try and let me know.

Former Member
0 Kudos

Thanks Siddhesh ,

That error has gone. now getting another error.

aemsadd4:/ # export SAPINST_JRE_HOME=/tmp/SAPJVM/sapjvm_6/jre

aemsadd4:/ # export DISPLAY=192.168.248.90:0.0

aemsadd4:/ # cd /software_bwupg/SWPMSP09

aemsadd4:/software_bwupg/SWPMSP09 # ./sapinst

[==============================] / extracting...  done!

       * The automatic 'backup' configuration has been updated.

       * Future operations will update the backup without prompting.

       * The requested changes have been applied to the currently

         running configuration.

NOTE:    No change to the tunable 'maxdsiz_64bit' was needed.

Tunable              Value  Expression   Changes

maxdsiz_64bit  17179869184  17179869184  Immed

SAPinst build information:

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

Version:       2015.08.0

Build:         1602494

Compile time:  Aug 21 2015 - 16:02:32

Make type:     optu

Codeline:      720-2_REL

Platform:      hpia64

Kernel build:  721, patch 419, changelist 1564913

SAP JRE build: SAP Java Server VM (build 6.1.080 25.51-b02, Aug  6 2015 18:21:32 - 61_REL - optU - hpux ia64 - 6 - bas2:24                                    7116 (mixed mode))

SAP JCo build: 3.0.13

Exe directory: /tmp/sapinst_exe.14534.1444895279

Starting GUIServer using:

  SAPinst port         : pipe:6:10

  GUIServer port       : 21212

  GUI autostart        : on

  GUI mode             : normal

  command       : /tmp/SAPJVM/sapjvm_6/jre/bin/java -Xmx512M -Dsap.env.var.javahome=SAPINST_JRE_HOME -cp /tmp/sapinst_exe.                                    14534.1444895279/JAR/instgui.jar SDTServer rootdir=//.sdtgui config=jar:sdtserver.xml guiport=21212 -nolock -srvarg=/SAPin                                    stService/host=127.0.0.1 -srvarg=/SAPinstService/port=pipe:6:10

guiengine: 2015-10-15 02:48:27 Waiting for client connection (1)

Oct 15, 2015 2:48:34 AM [Info]: *************************

Oct 15, 2015 2:48:34 AM [Info]: Starting Server

Oct 15, 2015 2:48:34 AM [Info]: Reading server configuration.

Oct 15, 2015 2:48:35 AM [Info]: Reading service configuration SAPinstService.

Oct 15, 2015 2:48:35 AM [Info]: Configuring LogManager ...

Oct 15, 2015 2:48:35 AM [Info]: *************************************************

Oct 15, 2015 2:48:35 AM [Info]: Starting SL Controller listening on port 21212 ...

Oct 15, 2015 2:48:35 AM [Info]: StorageService switched off.

Oct 15, 2015 2:48:35 AM [Info]: Initializing SecurityManager ...

Oct 15, 2015 2:48:40 AM [Info]: Server certificate fingerprint is B2 68 B7 89 5F 2A 75 8A F8 2B 90 20 28 36 34 DC

Oct 15, 2015 2:48:40 AM [Info]: HTTPManager switched off.

Oct 15, 2015 2:48:40 AM [Info]: WebstartService switched off.

Oct 15, 2015 2:48:40 AM [Info]: RoleService switched off.

Oct 15, 2015 2:48:40 AM [Info]: AlertService switched off.

Oct 15, 2015 2:48:40 AM [Info]: NotesService switched off.

Oct 15, 2015 2:48:40 AM [Info]: ProcessService switched off.

Oct 15, 2015 2:48:40 AM [Info]: MIDService switched off.

Oct 15, 2015 2:48:40 AM [Info]: Starting FileService ...

Oct 15, 2015 2:48:40 AM [Info]: LogService switched off.

Oct 15, 2015 2:48:40 AM [Info]: MailService switched off.

Oct 15, 2015 2:48:40 AM [Info]: Starting services ...

Oct 15, 2015 2:48:40 AM [Info]: Starting service "SAPinstService" ...

Oct 15, 2015 2:48:41 AM [Info]: Service "SAPinstService" started

Oct 15, 2015 2:48:41 AM [Info]: Services started.

Oct 15, 2015 2:48:41 AM [Info]: SL Controller started.

Oct 15, 2015 2:48:41 AM [Info]: Starting GUI ...

Oct 15, 2015 2:48:41 AM [Info]: /tmp/SAPJVM/sapjvm_6/jre/bin/java -XX:+HeapDumpOnOutOfMemoryError -Xmx256M -cp /tmp/sapins                                    t_exe.14534.1444895279/JAR/instgui.jar SDTGui host=localhost port=21212 service=SAPinstService -noauth

Oct 15, 2015 2:48:41 AM [Info]: GUI started.

Oct 15, 2015 2:48:49 AM [Info]: >> <<< frog.jar: version 7.20.19 03/09/11 sap.theme: null >>>

Oct 15, 2015 2:48:54 AM [Info]: >> Closed input stream

Oct 15, 2015 2:48:54 AM [Error]: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake

Oct 15, 2015 2:48:54 AM [Info]: >> Closed input stream

Oct 15, 2015 2:48:54 AM [Error]: GUI terminated with return code 255

Oct 15, 2015 2:48:55 AM [Error]: msg.diag.0002 javax.net.ssl.SSLHandshakeException Remote host closed connection during ha                                    ndshake

Oct 15, 2015 2:48:55 AM [Error]: Network input/output exception has occurred: Remote host closed connection during handsha                                    ke

Oct 15, 2015 2:48:55 AM [Error]: com.sap.sdt.engine.core.communication.ProxyException

Mofizur
Contributor
0 Kudos

Hi Vipul,

I can see you are running sapinst from ".../solman7.1diagnosticsagent/SAPJVM".Are you sure you are running it from correct location?


Thanks,

Mofizur

Former Member
0 Kudos

Hi Vipul,

Can you try with SWPMSP08 because i also had a same problem but later i had taken export from SWPMSP08.

Try and update here if you'll get the same error ....

Former Member
0 Kudos

Hi Rahaman,

m trying to install SAPJVM as well as diagnostics agent for solman.

so no problem with sapinst.

regards

vipul

Former Member
0 Kudos

Hi purushottam,

i wanted to install SAP diagnostics agent & for that SAP has recommended to have sapjvm on your server.

so when i try install sapjvm from sapjvm tool and if i execute sapinst from SWPMSP09 i m getting that error.

regards

Vipul

Sriram2009
Active Contributor
0 Kudos

Hi Vipul

1. Could you share the full log as attachment?

2. Check this SAP Note 172747 - SAP on HP-UX: OS kernel parameter recommendations

Regards

SS

Former Member
Former Member
0 Kudos

Even i'm facing the exact same issue...

can someonce share the solution please.