cancel
Showing results for 
Search instead for 
Did you mean: 

Java engine is not comming up-Solution manager

Former Member
0 Kudos

Hi All,

we have recently upgrade OS(RHEL) on our solution manager (7.1) from then Java stack is not comming up.

as per note 1406548 we tried to modify max heap size as 2048M,but configtool is not comming up.

Giving error

lxxmmm:<SID>adm 103> ./configtool.sh

Warning: Cannot convert string "-*-lucida-medium-r-*-*-*-*-*-*-*-*-iso8859-1" to type FontStruct

java.lang.reflect.InvocationTargetException

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:61)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)

        at java.lang.reflect.Method.invoke(Method.java:391)

        at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)

Caused by: java.lang.InternalError: java/langNullPointerException

        at sun.awt.motif.MComponentPeer.pSetFont(Native Method)

        at sun.awt.motif.MComponentPeer.setFont(MComponentPeer.java:308)

        at sun.awt.motif.MWindowPeer.init(MWindowPeer.java:153)

        at sun.awt.motif.MFramePeer.<init>(MFramePeer.java:93)

        at sun.awt.motif.MToolkit.createFrame(MToolkit.java:301)

        at java.awt.Frame.addNotify(Frame.java:502)

        at java.awt.Window.pack(Window.java:473)

        at com.sap.engine.configtool.visual.ConfigToolView.initGuiCfgTool(ConfigToolView.java:144)

        at com.sap.engine.configtool.visual.ConfigToolView.<init>(ConfigToolView.java:84)

        at com.sap.engine.configtool.visual.ConfigTool.<init>(ConfigTool.java:111)

        at com.sap.engine.configtool.visual.ConfigTool.main(ConfigTool.java:1176)

        ... 6 more

we have 2 server processes.dispatcher and SDM are in run status but server process are stopped

Server0 log:

<verbosegc version="200902_24">

Exception in thread "main" java/lang/NoSuchMethodError: java/lang/ClassLoader.isReflectCacheEnabled()Z
        at java/lang/Class.lookupCachedMethod (Class.java:1696)
        at java/lang/Class.getDeclaredMethod (Class.java:559)
        at sun/misc/Signal.handle (Signal.java:199)
        at java/lang/Terminator.setup (Terminator.java:69)
        at java/lang/System.completeInitialization (System.java:67)
        at java/lang/Thread.<init> (Thread.java:125)
JVMJ9VM015W Initialization error for library jclscar_23(14): JVMJ9VM009E J9VMDllMain failed
</verbosegc>
[Thr 1078511936] *** ERROR => JHVM_LoadJavaVM: Cannot create Java VM (rc=-4) [jhvmxx_mt.c  688]
[Thr 1078511936] *** ERROR => Cannot load Java VM (server) (rc=-1) [jlnchxxi_mt. 836]
[Thr 1078511936] **********************************************************************
[Thr 1078511936] *** ERROR => Java VM initialization failed.
[Thr 1078511936] *** Please see SAP Note 943602 , section 'Java VM initialization issues'
[Thr 1078511936] *** for additional information and trouble shooting.
[Thr 1078511936] **********************************************************************
[Thr 1078511936] SigISetIgnoreAction : SIG_IGN for signal SIGCHLD
[Thr 1078511936] JLaunchCloseProgram: good bye (exitcode = -1)

JCMON :

SAP System Name   : <SID>
SAP System        : 80
MS Host           :
MS Port           : 3983
Process Count     : 4
PID of JControl   : 23328
State of JControl : Some processes running
State inside MS   : Some processes running
Admin URL         :
------------------------------------------------------------

|Idx|Name                |PID     |State               |Error|Restart|
|---|--------------------|--------|--------------------|-----|-------|
|  0|dispatcher          |   24393|Running             |    0|yes    |
|  1|server0             |       0|Stopped             |    4|no     |
|  2|server1             |       0|Stopped             |    4|no     |
|  3|SDM                 |   24396|Running             |    0|yes    |
------------------------------------------------------------


============================================================
JControl Monitor Program - Administration Menu (Local)
Instance : JC_sap<sid>_<SID>_80
============================================================
0  : exit
1  : Refresh list
2  : Shutdown instance
3  : Enable process
4  : Disable process
5  : Restart process
6  : Enable bootstrapping on restart
7  : Disable bootstrapping on restart
8  : Enable debugging
9  : Disable debugging
10 : Dump stacktrace
11 : Process list
12 : Port list
13 : Activate debug session
14 : Deactivate debug session
15 : Increment trace level
16 : Decrement trace level
17 : Enable process restart
18 : Disable process restart
19 : Restart instance
------------------------------------------------------------
40 : Enable bootstrapping for all processes with specified process type
41 : Enable bootstrapping for all processes excluding specified process type
------------------------------------------------------------
99 : Extended process list on/off
------------------------------------------------------------
command =>

Can you please let us know if some one had the same issue,let us know the solution.

please let me know if you need more logs.

Thanks in Advance

Naresh

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Dear naresh

Please post the log

std_server0.out

std_bootstrap.out

Thanks

Former Member
0 Kudos

Hi Hemanth and Mahipal,

Thanks for the response

Issue has been resolved now.

Followed notes 718901, 856909, 797147, 1015184

Steps performed:


removed “vmprop” files, which contain old invalid IBM java version

rm /usr/sap/<SID>DVEBMGSXX/SDM/program/config/sdm_jstartup.properties.vmprop
rm /usr/sap/<SID>/DVEBMGSXX/j2ee/cluster/instance.properties.vmprop

and then restatred j2ee.

Thank you

Naresh K

hemanth2
Product and Topic Expert
Product and Topic Expert
0 Kudos

great news

Answers (1)

Answers (1)

hemanth2
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Naresh ,

Hope you are doing good.

The configtool doesn't start,means that the j2ee is not able to connect to the DB. The jcmon is a online tool; if the server nodes are down, it will not work.

Please remove all the files from (move to another location) :

/usr/sap/<SID>/JC<nr>/work/dev*, std* and jvm* files

and

/usr/sap/<SID>/SCS<nr>/work/*

Then trigger a restart of the server and in the newly generated logs you should be able to see the issue.

Thank you and have a nice day :).

_____________

Kind Regards,

Hemanth