cancel
Showing results for 
Search instead for 
Did you mean: 

Solman java stack upgrade issue

Former Member
0 Kudos

Hi all,

While upgrading the solution manager it prompts for the SDM and J2ee_admin password, even though we provided correct details it is not taking.

Again we reset the new password of SDM

While starting SDM through remotegui.sh is not conncting to the server giving the error as could not establish the connection to the server hostname at port 50018.

And trying the config tool it is giving the error 

Unrecognized option: -Xj9
JVMCI119: Error parsing IBM_JAVA_OPTIONS java options - rc=-6
Could not create the Java virtual machine

Kindly suggest on this please.

Thank you,

Chowdary.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

And trying the config tool it is giving the error

Unrecognized option: -Xj9
JVMCI119: Error parsing IBM_JAVA_OPTIONS java options - rc=-6
Could not create the Java virtual machine

Which JVM you use with Solution Manager? Attach environment output for <sid>adm user.

Former Member
0 Kudos

HI Roman

follwoing is the env for sid adm

TERM=xterm

AUTHSTATE=files

SHELL=/bin/csh

HOME=/home/gspadm

USER=gspadm

PATH=/oracle/GSP/112_64/bin:/usr/java14_64/bin:/home/gspadm:/usr/sap/GSP/SYS/exe/run:/usr/bin:/etc:/usr/sbin:/usr/ucb:/home/gspadm/bin:/usr/bin/X11:/sbin:.

TZ=IST-5:30:00

LANG=en_US

LOCPATH=/usr/lib/nls/loc

LC__FASTMSG=true

ODMDIR=/etc/objrepos

LOGNAME=gspadm

LOGIN=gspadm

SAPSYSTEMNAME=GSP

DIR_LIBRARY=/usr/sap/GSP/SYS/exe/run

JAVA_HOME=/usr/java14_64

IBM_JAVA_OPTIONS=-Xmx256M -Xj9

THREAD=NOPS

dbms_type=ORA

dbs_ora_tnsname=GSP

dbs_ora_schema=SAPSR3

ORACLE_SID=GSP

DB_SID=GSP

ORACLE_BASE=/oracle

TNS_ADMIN=/usr/sap/GSP/SYS/profile/oracle

ORACLE_HOME=/oracle/GSP/112_64

NLS_LANG=AMERICAN_AMERICA.UTF8

SAPDATA_HOME=/oracle/GSP

MAIL=/var/spool/mail/gspadm

MAILMSG=[YOU HAVE NEW MAIL]

NLSPATH=/usr/lib/nls/msg/%L/%N:/usr/lib/nls/msg/%L/%N.cat

LIBPATH=/usr/lib:/lib:/usr/sap/GSP/SYS/exe/run:/oracle/client/11x_64/instantclient

even i treid removing -Xj9 from IBM_JAVA_OPTIONS=-Xmx256M -Xj9

But no use

KIndly help me

Former Member
0 Kudos

Please attach configtool.sh script. And paste output of command (as gspadm user)

java -version

Former Member
0 Kudos

Hi Roman,


When we are trying to access java -version command it also giving same error as above


When we are trying with root user out put is:

java version "1.4.2"

Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2)

Classic VM (build 1.4.2, J2RE 1.4.2 IBM AIX build ca142-20080515 (SR11) (JIT ena                                                                             bled: jitc))


But when we are trying with SIDADM i am getting same error as above.

Unrecognized option: -Xj9
JVMCI119: Error parsing IBM_JAVA_OPTIONS java options - rc=-6
Could not create the Java virtual machine

configtool.sh:

#!/bin/csh

$JAVA_HOME/bin/java -Duser.language=en -classpath ".:./lib/launcher.jar" -Djava.compiler=NONE com.sap.engine.offline.OfflineToolStart com.sap.engine.configtool.visual.ConfigTool ./lib/

Thank you,

Chowdary.

francois_keen
Participant
0 Kudos

Hello

what about before trying running configtool, you do an unsetenv IBM_JAVA_OPTIONS?

hope this helps.

Former Member
0 Kudos

hi,

seems still you are with classical JVM, but sounds you need to update your JVM

Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2)

Classic VM (build 1.4.2, J2RE 1.4.2 IBM AIX build ca142-20080515 (SR11) (JIT ena                                                                             bled: jitc))

check sap note 1039948,1024539 and options to enable j9 technology.

Check this to https://scn.sap.com/thread/343456

Regards,

Jansi

Former Member
0 Kudos

You must switch to SAP JVM (IBM JVM no longer supported) or as minimum you need to update your java version to SR13 last FP.

Try to execute as root user:

# java -Xj9 -version

and provide output here.


Former Member
0 Kudos

Hi,

As a root user: java -Xj9 -version

java version "1.4.2"

Java(TM) 2 Runtime Environment, Standard Edition (build 2.3)

IBM J9 VM (build 2.3, J2RE 1.4.2 IBM J9 2.3 AIX ppc-32 j9ap32142-20080510 (JIT enabled)

J9VM - 20080508_19305_bHdSMr

JIT  - 20080424_1845_r8

GC   - 200804_28)

Former Member
0 Kudos

Hi,

if we use the unsetenv IBM_JAVA_OPTIONS option visual admin tool, SDM tool are opening except config tool.

for config tool is it giving

Unrecognized option: -Xj9

JVMCI119: Error parsing IBM_JAVA_OPTIONS java options - rc=-6

Could not create the Java virtual machine.

Thanks.

Former Member
0 Kudos

Can you attach screenshot with output of the following commands (as gspadm user):

> env | grep -i Xj9

> <path to visual admin>/go

> cd <path to configtool>

> ./configtool.sh