cancel
Showing results for 
Search instead for 
Did you mean: 

Not able to login to Application Server Java

Former Member
0 Kudos

Dear All,

I am getting the attached error while trying to access Dev Server with FQDN:8002.

Please help me out for this error.

Regards,

Kunal Kumar

Accepted Solutions (1)

Accepted Solutions (1)

Reagan
Product and Topic Expert
Product and Topic Expert
0 Kudos

Instead of pasting the logs in replies try to attach them in replies in zip format.


Mon Jul 07 15:22:50 2014

388.620: [GC 388.620: [ParNew: 512000K->102400K(512000K), 0.2575089 secs] 516853K->145598K(1994752K), 0.2576140 secs] [Times: user=0.62 sys=0.08, real=0.25 secs]

[Thr 6968] JLaunchISetState: change state from [Starting applications (10)] to [Running (3)]

[Thr 2344] Mon Jul 07 15:30:43 2014

[Thr 2344] JLaunchRequestFunc: receive command:17, argument:0 from pid:3152

[Thr 2344] JLaunchIShutdownInvoke: set shutdown interval (stop:1404727243/end:1404727363/TO:120)

[Thr 2344] JLaunchProcessCommand: Invoke VM Shutdown

[Thr 2344] JHVM_FrameworkShutdownDirect: invoke direct shutdown

[Thr 6768] JLaunchISetState: change state from [Running (3)] to [Waiting for stop (4)]

This confirms that the system was up for 7 minutes before it went down.

I believe this is a Solution Manager system. Is the ABAP working fine ?

What is the status of the J2EE stack in the SAP MMC console ?

Also supply the latest default trace.

Regards

RB

Former Member
0 Kudos

Hi RB,

This is a Dev Server with ECC 6 EHP 3.Abap is working fine. In SAP MMC, SMD with j2ee is not getting up .

Regards,

Kunal k

divyanshu_srivastava3
Active Contributor
0 Kudos

Hi RB,

If you will see the exit code which is -4, I think that server node was started with incompatible JVM and ended after few mins.

Kumar,

Can you give dev_dispatcher, instance.properties.vmprop and instance.properties with default trace with new dev_server0

"Please do not restart your system again and again, as it becomes difficult to trace the issue."

Divyanshu

Reagan
Product and Topic Expert
Product and Topic Expert
0 Kudos

Stop all the applications and reboot the Windows machine.

Start database and SAP.

If the J2EE stack fails then go to the work directory and attach the LATEST dev_server, std_server and the latest default trace file.

Regards

RB

Former Member
0 Kudos

Dear Divyanshu,

Please find the attached  files.

Regards,

Kunal Kumar

Former Member
0 Kudos

Divyanshu,

Please find the trc file

Reagan
Product and Topic Expert
Product and Topic Expert
0 Kudos

And what is blocking you from taking out the AS Java from safe mode ?

Regards

RB

Former Member
0 Kudos

Dear Divyanshu,

have you got the files ?

Just confirm please.

Regards,

Kunal Kumar

Former Member
0 Kudos

Dear RB

While running configtool, I get a message in command prompt.

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

launching Java from JAVA_HOME

   INFO: Loading tool launcher...

   INFO: [OS: Windows Server 2008 R2] [VM vendor: SAP AG] [VM version: 1.4.2_34]

[VM type: SAP Java Server VM]

  FATAL: Current VM is not supported according to the specified compatibility li

st.

  FATAL: com.sap.engine.offline.OfflineToolStart will abort now with exitcode 3

Program terminated abnormally

Press any key to continue . . .

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

REgards,

Kunal k

divyanshu_srivastava3
Active Contributor
0 Kudos

Hi Kunal,

From which version of SAPJVM you migrated.

Can you confirm which version is this: 4.1.019 1.6-b11 ??

Divyanshu

Former Member
0 Kudos

Dear Divyanshu,

SAPJVM Buildinfo.txt info is as below.

platform=NTAMD64

builddate=2012-02-15 08:40:14

buildtype=optU

buildId=292680

codeline=41_REL

vmtype=sapjvm4

latestChange=166760

vmVersion=4.1.019

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

Regards,

Kunal Kumar

divyanshu_srivastava3
Active Contributor
0 Kudos

Hi Kunal,

Goto RUN and type CMD

then type below and enter

"java  -Dsun.java2d.noddraw=true -Duser.language=en -classpath .\lib\launcher.jar;. com.sap.engine.offline.OfflineToolStart com.sap.engine.configtool.visual.ConfigTool ./lib/

endlocal"

If this not works then,

Goto your java SAPJVM folder and find file named "java" in that.. also check in bin/JRE folder inside SAPJVM.

If this not works then,

goto usr/sap/SID/sys/exe/jvm/NTAMD64/sapjvm version/sapjvm_4/bin... then paste the path to me.. i will give you a new command.

Regards,

Divyanshu

Former Member
0 Kudos

Dear Divyanshu,

Please find the command result for every path .

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

C:\Users\d72adm>java  -Dsun.java2d.noddraw=true -Duser.language=en -classpath .\

lib\launcher.jar;. com.sap.engine.offline.OfflineToolStart com.sap.engine.config

tool.visual.ConfigTool ./lib/endlocal

Error: Could not find or load main class com.sap.engine.offline.OfflineToolStart

C:\Users\d72adm>e:

E:\>cd E:\usr\sap\D72\DVEBMGS02\exe\sapjvm_4\jre\bin

E:\usr\sap\D72\DVEBMGS02\exe\sapjvm_4\jre\bin>cd\

E:\>cd E:\usr\sap\D72\DVEBMGS02\exe\sapjvm_4\bin

E:\usr\sap\D72\DVEBMGS02\exe\sapjvm_4\bin>java  -Dsun.java2d.noddraw=true -Duser

.language=en -classpath .\lib\launcher.jar;. com.sap.engine.offline.OfflineToolS

tart com.sap.engine.configtool.visual.ConfigTool ./lib/endlocal

Exception in thread "main" java.lang.NoClassDefFoundError: com/sap/engine/offlin

e/OfflineToolStart

Caused by: java.lang.ClassNotFoundException: com.sap.engine.offline.OfflineToolS

tart

        at java.net.URLClassLoader$1.run(URLClassLoader.java:255)

        at java.security.AccessController.doPrivileged(Native Method)

        at java.net.URLClassLoader.findClass(URLClassLoader.java:243)

        at java.lang.ClassLoader.loadClass(ClassLoader.java:354)

        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:318)

        at java.lang.ClassLoader.loadClass(ClassLoader.java:300)

E:\usr\sap\D72\DVEBMGS02\exe\sapjvm_4\bin>cd\

E:\>cd E:\usr\sap\D72\DVEBMGS02\exe\sapjvm_4\jre\bin

E:\usr\sap\D72\DVEBMGS02\exe\sapjvm_4\jre\bin>java  -Dsun.java2d.noddraw=true -D

user.language=en -classpath .\lib\launcher.jar;. com.sap.engine.offline.OfflineT

oolStart com.sap.engine.configtool.visual.ConfigTool ./lib/endlocal

Exception in thread "main" java.lang.NoClassDefFoundError: com/sap/engine/offlin

e/OfflineToolStart

Caused by: java.lang.ClassNotFoundException: com.sap.engine.offline.OfflineToolS

tart

        at java.net.URLClassLoader$1.run(URLClassLoader.java:255)

        at java.security.AccessController.doPrivileged(Native Method)

        at java.net.URLClassLoader.findClass(URLClassLoader.java:243)

        at java.lang.ClassLoader.loadClass(ClassLoader.java:354)

        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:318)

        at java.lang.ClassLoader.loadClass(ClassLoader.java:300)

E:\usr\sap\D72\DVEBMGS02\exe\sapjvm_4\jre\bin>cd\

E:\>cd E:\usr\sap\D72\SYS\exe\jvm\NTAMD64\sapjvm_4.1.019\sapjvm_4\bin

E:\usr\sap\D72\SYS\exe\jvm\NTAMD64\sapjvm_4.1.019\sapjvm_4\bin>java  -Dsun.java2

d.noddraw=true -Duser.language=en -classpath .\lib\launcher.jar;. com.sap.engine

.offline.OfflineToolStart com.sap.engine.configtool.visual.ConfigTool ./lib/endl

ocal

Exception in thread "main" java.lang.NoClassDefFoundError: com/sap/engine/offlin

e/OfflineToolStart

Caused by: java.lang.ClassNotFoundException: com.sap.engine.offline.OfflineToolS

tart

        at java.net.URLClassLoader$1.run(URLClassLoader.java:255)

        at java.security.AccessController.doPrivileged(Native Method)

        at java.net.URLClassLoader.findClass(URLClassLoader.java:243)

        at java.lang.ClassLoader.loadClass(ClassLoader.java:354)

        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:318)

        at java.lang.ClassLoader.loadClass(ClassLoader.java:300)

divyanshu_srivastava3
Active Contributor
0 Kudos

Open configtool.bat in notepad and send me the text.

Former Member
0 Kudos

@echo off

setlocal

title ConfigTool

set JAVA_CMD="${JAVA_HOME}\bin\java.exe"

if EXIST %JAVA_CMD% (

  echo launching Java from ${JAVA_HOME}

) else if DEFINED JAVA_HOME (

  echo launching Java from JAVA_HOME

  set JAVA_CMD="%JAVA_HOME%\bin\java.exe"

) else (

  echo WARNING SAP JVM not found and environment variable JAVA_HOME not set, trying to launch java from current PATH

  set JAVA_CMD=java

)

%JAVA_CMD% -Duser.language=en -classpath .\lib\sap.com~tc~bl~offline_launcher~impl.jar;. com.sap.engine.offline.OfflineToolStart com.sap.engine.configtool.visual.ConfigTool ./lib/

endlocal

if %errorlevel% NEQ 0 (

  echo Program terminated abnormally

  pause

) else (

  rem Program successfully finished

)

divyanshu_srivastava3
Active Contributor
0 Kudos

1st use this

java -Duser.language=en -classpath .\lib\sap.com~tc~bl~offline_launcher~impl.jar;. com.sap.engine.offline.OfflineToolStart com.sap.engine.configtool.visual.ConfigTool ./lib/

then

E:\usr\sap\D72\SYS\exe\jvm\NTAMD64\sapjvm_4.1.019\sapjvm_4\bin>java  -Duser.language=en -classpath .\lib\sap.com~tc~bl~offline_launcher~impl.jar;. com.sap.engine.offline.OfflineToolStart com.sap.engine.configtool.visual.ConfigTool ./lib/


and then


\usr\sap\D72\DVEBMGS02\exe\sapjvm_4\bin>java -Duser.language=en -classpath .\lib\sap.com~tc~bl~offline_launcher~impl.jar;. com.sap.engine.offline.OfflineToolStart com.sap.engine.configtool.visual.ConfigTool ./lib/


Regards,

Divyanshu


Former Member
0 Kudos

same mesaages are coming as posted.

divyanshu_srivastava3
Active Contributor
0 Kudos

Hi Kunal.

Goto Configtool folder and from there execute those commands.

Regards,

Divyanshu

Former Member
0 Kudos

Below is the result.

Further for your reference I would like to attach the visual administrator screen.

divyanshu_srivastava3
Active Contributor
0 Kudos

can you email me the details on my mail ID. You can find my mail ID on my profile.

I will take a remote connection of your system to correct this.

This is related to JAVA_HOME variable or incorrect JVM.

Regards,

Divyanshu

Former Member
0 Kudos

Please attach set output from cmd.

Former Member
0 Kudos

Divyanshu,

Thanks for your support.

My AS Java is now up. do we need to upgrade it.

divyanshu_srivastava3
Active Contributor
0 Kudos

1st upgrade your physical memory than go for a

N update.

Divyanshu

Former Member
0 Kudos

Hello,

Now My Visual Admin is not accessible. below message is appearing.

C:\Windows\system32>"E:\usr\sap\D72\DVEBMGS02\exe\sapjvm_4\bin\bin\java" -showve

rsion -Dsun.java2d.noddraw=true -Duser.language=en -DP4ClassLoad=P4Connection -D

p4Cache=clean -jar "E:\usr\sap\D72\DVEBMGS02\j2ee\admin\go.jar"

The system cannot find the path specified.

Program terminated abnormally

Press any key to continue . . .

Regards,

Kunal K

divyanshu_srivastava3
Active Contributor
0 Kudos

Hi Kunal,

Please update the JAVA_HOME and PATH variable. They were changed yesterday.

Regards,

Divyanshu

divyanshu_srivastava3
Active Contributor
0 Kudos

Set - JAVA_HOME as E:\usr\sap\D72\DVEBMGS02\exe\sapjvm_4\jre\bin



divyanshu_srivastava3
Active Contributor
0 Kudos

In fact, it should be till "E:\usr\sap\D72\DVEBMGS02\exe\sapjvm_4\jre"

Former Member
0 Kudos

I have set JAVA_HOME as E:\usr\sap\D72\DVEBMGS02\exe\sapjvm_4\jre only as path is already set to %java_home%\bin. It is working now.

Former Member
0 Kudos

Dear Divyanshu,

SMD 98 Agent on same server is not turning on .

Can you help me.

Regards,

Kunal K.

divyanshu_srivastava3
Active Contributor
0 Kudos

Sure Kunal, Please open a thread with logs.

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi,

Please check status of services using jsmon pf=<profile>

"process view" and "display view" command instance state should be All processes running,

server0   |10270|Running

icm       | 9263|Running

debugproxy|    0|Initial

former_member182307
Contributor
0 Kudos

Hello,

http://FQDN: 50200

Best regards,

Steve.

divyanshu_srivastava3
Active Contributor
0 Kudos

Hi Steve,

We have already told him to use 5xx00 in his last post.

Also, asked him to check from SMICM and work directory for java logs.

Divyanshu

Former Member
0 Kudos

Thanks for your updates.

I am getting below service stopped message while running with 50200 port.

Further I will update you with the jsmon and java log resuults.

Regards,

KUnal Kumar

Former Member
0 Kudos

Please get Jsmon result.

divyanshu_srivastava3
Active Contributor
0 Kudos

Hi Kunal,

After using the 1st command ie. jsmon pf=instance profile (your D72 profile)

type "jsmon view"

and give the result

and then type "process"

and share the result.

Divyanshu

Former Member
0 Kudos

Pease find.

divyanshu_srivastava3
Active Contributor
0 Kudos

Hi Kunal,

Your system is in SAFE MODE.

Disable it from config tool.

and then restart your system

JAVA will work.

Regards,

Divyanshu

divyanshu_srivastava3
Active Contributor
0 Kudos

Use this link from SAP help to understand how to remove your system from SAFE mode and bring it back to NORMAL mode.

Safe Mode in the J2EE Engine (SAP Library - Administration Manual)

Former Member
0 Kudos

Divyanshu,

I would like to share the error while running configtool.bat

I think it was upgraded to SAP JVM 4 as its directory is available in sapmnt\dvebmgs02\exe. and their path is set in Windows Environment variable.

So I would like to know, should I switch to SAPJVM or try to roll back to older Java ?

divyanshu_srivastava3
Active Contributor
0 Kudos

Hi Kunal,

Just change the JAVA_HOME class PATH with compatible JRE and try to re-run configtool.

Regards,

Divyanshu

Former Member
0 Kudos

Divyanshu,

I am not able to launch configtool after setting environment variables.

What should I do now ?

divyanshu_srivastava3
Active Contributor
0 Kudos

Hi Kunal,

Please goto dev_server0 in work directory, check the value of java_home and set that env for this user.

Divyanshu

Former Member
0 Kudos

Divyanshu,

please analyze with below dev_server0 file and suggest.

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

trc file: "dev_server0", trc level: 1, release: "720"

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

node name   : ID25277850

pid         : 4780

system name : D72

system nr.  : 02

started at  : Mon Jul 07 15:16:21 2014

arguments  :

   arg[00] : E:\usr\sap\D72\DVEBMGS02\exe\jlaunch.exe

   arg[01] : pf=E:\usr\sap\D72\SYS\profile\D72_DVEBMGS02_svdevsvr

   arg[02] : -DSAPINFO=D72_02_server

   arg[03] : pf=E:\usr\sap\D72\SYS\profile\D72_DVEBMGS02_svdevsvr

   arg[04] : -DSAPSTART=1

   arg[05] : -DCONNECT_PORT=49300

   arg[06] : -DSAPSYSTEM=02

   arg[07] : -DSAPSYSTEMNAME=D72

   arg[08] : -DSAPMYNAME=svdevsvr_D72_02

   arg[09] : -DSAPPROFILE=E:\usr\sap\D72\SYS\profile\D72_DVEBMGS02_svdevsvr

   arg[10] : -DFRFC_FALLBACK=ON

   arg[11] : -DFRFC_FALLBACK_HOST=localhost

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

Used property files

-> files [00] : E:\usr\sap\D72\DVEBMGS02\j2ee\cluster\instance.properties

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

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

Bootstrap nodes

-> [00] bootstrap            : E:\usr\sap\D72\DVEBMGS02\j2ee\cluster\instance.properties

-> [01] bootstrap_ID25277800 : E:\usr\sap\D72\DVEBMGS02\j2ee\cluster\instance.properties

-> [02] bootstrap_ID25277850 : E:\usr\sap\D72\DVEBMGS02\j2ee\cluster\instance.properties

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

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

Worker nodes

-> [00] ID25277800           : E:\usr\sap\D72\DVEBMGS02\j2ee\cluster\instance.properties

-> [01] ID25277850           : E:\usr\sap\D72\DVEBMGS02\j2ee\cluster\instance.properties

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

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

JStartupReadInstanceProperties: read instance properties [E:\usr\sap\D72\DVEBMGS02\j2ee\cluster\instance.properties]

-> ms host    : svdevsvr

-> ms port    : 3903

-> OS libs    : E:\usr\sap\D72\DVEBMGS02\j2ee\os_libs

-> Admin URL  :

-> run mode   : safe

-> run action : UPGRADE

-> enabled    : yes

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

[Thr 4760] Mon Jul 07 15:16:21 2014

[Thr 4760] JLaunchRequestQueueInit: create named pipe for ipc

[Thr 4760] JLaunchRequestQueueInit: create pipe listener thread

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

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

[Thr 4760] JLaunchInitSignalHandling: signal handling is disabled

[Thr 4760] NiInit3: NI already initialized; param 'maxHandles' ignored (init=2;par=32768;cur=2048)

[Thr 4760] MPI: dynamic quotas disabled.

[Thr 4760] MPI init: pipes=4000 buffers=1279 reserved=383 quota=10%

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

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

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

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

[Thr 4760] JStartupICheckFrameworkPackage: can't find framework package E:\usr\sap\D72\DVEBMGS02\exe\jvmx.jar

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

JStartupIReadSection: read node properties [ID25277850]

-> node name          : server0

-> node type          : server

-> node execute       : yes

-> jlaunch parameters :

-> java path          : E:\usr\sap\D72\DVEBMGS02\exe\sapjvm_4

-> java parameters    : -XX:MaxNewSize=600M -XX:NewSize=600M -XX:MaxPermSize=512M -XX:PermSize=512M -XX:+DisableExplicitGC -XX:TargetSurvivorRatio=90 -XX:SurvivorRatio=4 -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -verbose:gc -XX:SoftRefLRUPolicyMSPerMB=1 -Djco.jarm=1 -Djava.awt.headless=true -Djava.security.policy=./java.policy -Djava.security.egd=file:/dev/urandom -Dsun.io.useCanonCaches=false -Dorg.omg.CORBA.ORBClass=com.sap.engine.system.ORBProxy -Dorg.omg.CORBA.ORBSingletonClass=com.sap.engine.system.ORBSingletonProxy -Djavax.rmi.CORBA.PortableRemoteObjectClass=com.sap.engine.system.PortableRemoteObjectProxy -XX:+UseConcMarkSweepGC -XX:HeapDumpPath=OOM.hprof -XX:+HeapDumpOnOutOfMemoryError -Dorg.omg.PortableInterceptor.ORBInitializerClass.com.sap.engine.services.ts.jts.ots.PortableInterceptor.JTSInitializer -Dcom.sap.jvm.scenario=j2ee -Dstartup.mode=SAFE -Dstartup.action=UPGRADE

-> java vm version    : 4.1.019 1.6-b11

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

-> java vm type       : server

-> java vm cpu        : amd64

-> heap size          : 2048M

-> init heap size     : 2048M

-> stack size         : 2M

-> root path          : E:\usr\sap\D72\DVEBMGS02\j2ee\cluster\server0

-> class path         : .\bin\boot\boot.jar;.\bin\boot\jaas.jar;.\bin\system\bytecode.jar;.

-> OS libs path       : E:\usr\sap\D72\DVEBMGS02\j2ee\os_libs

-> main class         : com.sap.engine.boot.Start

-> framework class    : com.sap.bc.proj.jstartup.JStartupFramework

-> registr. class     : com.sap.bc.proj.jstartup.JStartupNatives

-> framework path     : E:\usr\sap\D72\DVEBMGS02\exe\jstartup.jar;E:\usr\sap\D72\DVEBMGS02\exe\jvmx.jar

-> shutdown class     : com.sap.engine.boot.Start

-> parameters         :

-> debuggable         : no

-> debug mode         : no

-> debug port         : 50221

-> shutdown timeout   : 120 sec.

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

[Thr 4760] JLaunchISetDebugMode: set debug mode [no]

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

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

JHVM_LoadJavaVM: VM Arguments of node [server0]

-> stack   : 2097152 Bytes

-> arg[  0]: exit

-> arg[  1]: abort

-> arg[  2]: vfprintf

-> arg[  3]: -XX:MaxNewSize=600M

-> arg[  4]: -XX:NewSize=600M

-> arg[  5]: -XX:MaxPermSize=512M

-> arg[  6]: -XX:PermSize=512M

-> arg[  7]: -XX:+DisableExplicitGC

-> arg[  8]: -XX:TargetSurvivorRatio=90

-> arg[  9]: -XX:SurvivorRatio=4

-> arg[ 10]: -XX:+PrintGCDetails

-> arg[ 11]: -XX:+PrintGCTimeStamps

-> arg[ 12]: -verbose:gc

-> arg[ 13]: -XX:SoftRefLRUPolicyMSPerMB=1

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

-> arg[ 15]: -Djava.awt.headless=true

-> arg[ 16]: -Djava.security.policy=./java.policy

-> arg[ 17]: -Djava.security.egd=file:/dev/urandom

-> arg[ 18]: -Dsun.io.useCanonCaches=false

-> arg[ 19]: -Dorg.omg.CORBA.ORBClass=com.sap.engine.system.ORBProxy

-> arg[ 20]: -Dorg.omg.CORBA.ORBSingletonClass=com.sap.engine.system.ORBSingletonProxy

-> arg[ 21]: -Djavax.rmi.CORBA.PortableRemoteObjectClass=com.sap.engine.system.PortableRemoteObjectProxy

-> arg[ 22]: -XX:+UseConcMarkSweepGC

-> arg[ 23]: -XX:HeapDumpPath=OOM.hprof

-> arg[ 24]: -XX:+HeapDumpOnOutOfMemoryError

-> arg[ 25]: -Dorg.omg.PortableInterceptor.ORBInitializerClass.com.sap.engine.services.ts.jts.ots.PortableInterceptor.JTSInitializer

-> arg[ 26]: -Dcom.sap.jvm.scenario=j2ee

-> arg[ 27]: -Dstartup.mode=SAFE

-> arg[ 28]: -Dstartup.action=UPGRADE

-> arg[ 29]: -Dsys.global.dir=E:\usr\sap\D72\SYS\global

-> arg[ 30]: -Dapplication.home=E:\usr\sap\D72\DVEBMGS02\exe

-> arg[ 31]: -Djava.class.path=E:\usr\sap\D72\DVEBMGS02\exe\jstartup.jar;E:\usr\sap\D72\DVEBMGS02\exe\jvmx.jar;.\bin\boot\boot.jar;.\bin\boot\jaas.jar;.\bin\system\bytecode.jar;.

-> arg[ 32]: -Djava.library.path=E:\usr\sap\D72\DVEBMGS02\exe\sapjvm_4\jre\bin\server;E:\usr\sap\D72\DVEBMGS02\exe\sapjvm_4\jre\bin;E:\usr\sap\D72\DVEBMGS02\exe\sapjvm_4\bin;E:\usr\sap\D72\DVEBMGS02\j2ee\os_libs;E:\usr\sap\D72\DVEBMGS02\exe\sapjvm_4\jre\bin\server;E:\usr\sap\D72\DVEBMGS02\exe\sapjvm_4\jre\bin;E:\usr\sap\D72\DVEBMGS02\exe\sapjvm_4\bin;E:\usr\sap\D72\DVEBMGS02\j2ee\os_libs;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\j2sdk1.4.2_17-x64\bin;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn\;C:\Program Files (x86)\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;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 SQL Server\100\DTS\Binn\;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\Windows\System32\WindowsPowerShell\v1.0\;E:\usr\sap\D72\SYS\exe\uc\NTAMD64

-> arg[ 33]: -Dmemory.manager=2048M

-> arg[ 34]: -Xmx2048M

-> arg[ 35]: -Xms2048M

-> arg[ 36]: -Xss2M

-> arg[ 37]: -DLoadBalanceRestricted=no

-> arg[ 38]: -Djstartup.mode=JCONTROL

-> arg[ 39]: -Djstartup.ownProcessId=4780

-> arg[ 40]: -Djstartup.ownHardwareId=R1260714277

-> arg[ 41]: -Djstartup.whoami=server

-> arg[ 42]: -Djstartup.debuggable=no

-> arg[ 43]: -Xjvmx

-> arg[ 44]: -XsapSystem=02

-> arg[ 45]: -XmonGcCallback

-> arg[ 46]: -DSAPINFO=D72_02_server

-> arg[ 47]: -DSAPSTART=1

-> arg[ 48]: -DCONNECT_PORT=49300

-> arg[ 49]: -DSAPSYSTEM=02

-> arg[ 50]: -DSAPSYSTEMNAME=D72

-> arg[ 51]: -DSAPMYNAME=svdevsvr_D72_02

-> arg[ 52]: -DSAPPROFILE=E:\usr\sap\D72\SYS\profile\D72_DVEBMGS02_svdevsvr

-> arg[ 53]: -DFRFC_FALLBACK=ON

-> arg[ 54]: -DFRFC_FALLBACK_HOST=localhost

-> arg[ 55]: -DSAPSTARTUP=1

-> arg[ 56]: -DSAPSYSTEM=02

-> arg[ 57]: -DSAPSYSTEMNAME=D72

-> arg[ 58]: -DSAPMYNAME=svdevsvr_D72_02

-> arg[ 59]: -DSAPDBHOST=SVDEVSVR

-> arg[ 60]: -Dj2ee.dbhost=SVDEVSVR

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

(CompilerOracle read from file E:\usr\sap\D72\DVEBMGS02\exe\sapjvm_4\jre\.hotspot_compiler)

[Thr 4612] JHVM_LoadJavaVM: Java VM created OK.

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

JHVM_BuildArgumentList: main method arguments of node [server0]

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

[Thr 5136] Mon Jul 07 15:16:24 2014

[Thr 5136] JHVM_RegisterNatives: com.sap.bc.krn.perf.PerfTimes

[Thr 5136] JHVM_RegisterNatives: 8 of 9 methods in com.sap.bc.krn.perf.PerfTimes registered.

Mon Jul 07 15:16:25 2014

3.861: [GC 3.862: [ParNew: 409600K->1964K(512000K), 0.0122099 secs] 409600K->1964K(1994752K), 0.0122882 secs] [Times: user=0.06 sys=0.00, real=0.02 secs]

[Thr 5136] JHVM_RegisterNatives: com.sap.bc.proj.jstartup.JStartupFramework

[Thr 5136] Mon Jul 07 15:16:26 2014

[Thr 5136] JLaunchISetClusterId: set cluster id 25277850

[Thr 5136] JLaunchISetState: change state from [Initial (0)] to [Waiting for start (1)]

[Thr 5136] JLaunchISetState: change state from [Waiting for start (1)] to [Starting (2)]

Mon Jul 07 15:16:42 2014

21.228: [GC 21.228: [ParNew: 411564K->14472K(512000K), 0.0262361 secs] 411564K->14472K(1994752K), 0.0263599 secs] [Times: user=0.09 sys=0.00, real=0.03 secs]

[Thr 5924] Mon Jul 07 15:16:50 2014

[Thr 5924] JHVM_RegisterNatives: com.sap.mw.rfc.driver.CpicDriver

[Thr 5924] JHVM_RegisterNatives: com.sap.i18n.cp.ConverterJNI

[Thr 5924] JHVM_RegisterNatives: 16 of 18 methods in com.sap.i18n.cp.ConverterJNI registered.

[Thr 5924] Mon Jul 07 15:16:52 2014

[Thr 5924] JHVM_RegisterNatives: com.sap.mw.rfc.engine.Compress

Mon Jul 07 15:16:59 2014

37.707: [GC 37.707: [ParNew: 424072K->36554K(512000K), 0.0505249 secs] 424072K->36554K(1994752K), 0.0506584 secs] [Times: user=0.20 sys=0.00, real=0.06 secs]

[Thr 5952] JHVM_RegisterNatives: com.sap.security.core.server.vsi.service.jni.VirusScanInterface

[Thr 5920] Mon Jul 07 15:22:30 2014

[Thr 5920] JHVM_RegisterNatives: com.sap.mona.api.JMonAPI

[Thr 5920] CCMS: openMonitoringSegment(): inside static JMON Lib: already connected.

Mon Jul 07 15:22:45 2014

383.363: [GC 383.363: [ParNew: 446154K->102400K(512000K), 0.1070989 secs] 446154K->107253K(1994752K), 0.1071863 secs] [Times: user=0.25 sys=0.03, real=0.09 secs]

[Thr 5136] Mon Jul 07 15:22:49 2014

[Thr 5136] JLaunchISetState: change state from [Starting (2)] to [Starting applications (10)]

Mon Jul 07 15:22:50 2014

388.620: [GC 388.620: [ParNew: 512000K->102400K(512000K), 0.2575089 secs] 516853K->145598K(1994752K), 0.2576140 secs] [Times: user=0.62 sys=0.08, real=0.25 secs]

[Thr 6968] JLaunchISetState: change state from [Starting applications (10)] to [Running (3)]

[Thr 2344] Mon Jul 07 15:30:43 2014

[Thr 2344] JLaunchRequestFunc: receive command:17, argument:0 from pid:3152

[Thr 2344] JLaunchIShutdownInvoke: set shutdown interval (stop:1404727243/end:1404727363/TO:120)

[Thr 2344] JLaunchProcessCommand: Invoke VM Shutdown

[Thr 2344] JHVM_FrameworkShutdownDirect: invoke direct shutdown

[Thr 6768] JLaunchISetState: change state from [Running (3)] to [Waiting for stop (4)]

[Thr 4760] Mon Jul 07 15:32:45 2014

[Thr 4760] *** WARNING => Reached shutdown timeout -> terminate [jlnchxxi.c   377]

[Thr 4760] JLaunchCloseProgram: good bye (exitcode = -4)

divyanshu_srivastava3
Active Contributor
0 Kudos

Hi Kunal,

Use E:\usr\sap\D72\DVEBMGS02\exe\sapjvm_4\ as your sapjvm.

Divyanshu

divyanshu_srivastava3
Active Contributor
0 Kudos

Hi Kumar,

Refer the below link on setting JAVA_HOME and PATH.

http://help.sap.com/saphelp_crm50/helpdata/en/d1/81763c9220114be10000000a11402f/content.htm

Divyanshu

Former Member
0 Kudos

do I have to keep same  java_home path of instance profile ?

Kunal k

divyanshu_srivastava3
Active Contributor
0 Kudos

Hi Kunal,

Use the one in SAPMNT.

Divyanshu

Former Member
0 Kudos

/usr/sap/<SID>/<instance name>/j2ee/configtool/configtool.bat is still not terminating and

http://svdevsvr.svg.com:50200/is still giving same message, application Stopped.

Regards,

Kunal K

divyanshu_srivastava3
Active Contributor
0 Kudos

Hi Kunal,

Ok, let me tell you the issue.

Your JAVA system is still in upgrade mode and is therefore set-in SAFE mode.

Also, from dev_server0 logs, you can see that your server node is down because of time out.

[Thr 4760] *** WARNING => Reached shutdown timeout -> terminate [jlnchxxi.c   377]

As you said sometime back that you have changed the JVM. I would suggest you to correct your JVM, may be bring back your OLD JVM and try again.

Before that, please give std_server0.out trace file. I think this problem is with your JVM only.(exit code 4)

Divyanshu

Former Member
0 Kudos

Please find the below std_server0.out file.

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

stdout/stderr redirect

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

node name   : server0

pid         : 3368

system name : D72

system nr.  : 02

started at  : Mon Jul 07 16:52:07 2014

[Thr 4408] MtxInit: 10001 0 2

(CompilerOracle read from file E:\usr\sap\D72\DVEBMGS02\exe\sapjvm_4\jre\.hotspot_compiler)

SAP J2EE Engine Version 7.00 SP 30   PatchLevel 122045.450 is starting...

Loading: LogManager ... 1374 ms.

Loading: PoolManager ... 0 ms.

Loading: ApplicationThreadManager ... 3.781: [GC 3.791: [ParNew: 409600K->1725K(512000K), 0.0448598 secs] 409600K->1725K(1994752K), 0.0449414 secs] [Times: user=0.00 sys=0.00, real=0.05 secs]

1342 ms.

Loading: ThreadManager ... 4.483: [GC 4.483: [ParNew: 411325K->3253K(512000K), 0.0057208 secs] 411325K->3253K(1994752K), 0.0058235 secs] [Times: user=0.00 sys=0.00, real=0.00 secs]

79 ms.

Loading: IpVerificationManager ... 15 ms.

Loading: ClassLoaderManager ... 63 ms.

Loading: ClusterManager ... 421 ms.

Loading: LockingManager ... 203 ms.

Loading: ConfigurationManager ... 7585 ms.

Loading: LicensingManager ... 156 ms.

Loading: CacheManager ... 343 ms.

Loading: ServiceManager ...

Loading services.:

  Service memory started. (31 ms).

  Service runtimeinfo started. (15 ms).

  Service cross started. (94 ms).

  Service timeout started. (47 ms).

  Service trex.service started. (266 ms).

  Service p4 started. (499 ms).

  Service classpath_resolver started. (78 ms).

  Service userstore started. (124 ms).

  Service jmx_notification started. (94 ms).

  Service log_configurator started. (4432 ms).

  Service locking started. (0 ms).

22.645: [GC 22.646: [ParNew: 412853K->18992K(512000K), 0.0356683 secs] 412853K->18992K(1994752K), 0.0357974 secs] [Times: user=0.13 sys=0.00, real=0.03 secs]

  Service naming started. (515 ms).

  Service failover started. (15 ms).

  Service http started. (484 ms).

  Service licensing started. (63 ms).

  Service appclient started. (47 ms).

  Service ts started. (63 ms).

  Service javamail started. (141 ms).

  Service jmsconnector started. (187 ms).

  Service connector started. (234 ms).

  Service iiop started. (281 ms).

  Service deploy started. (7132 ms).

  Service MigrationService started. (15 ms).

  Service bi~mmr~deployer started. (15 ms).

  Service dbpool started. (1201 ms).

  Service UT started. (0 ms).

  Service com.sap.security.core.ume.service started. (7913 ms).

  Service security started. (1171 ms).

  Service applocking started. (78 ms).

  Service shell started. (93 ms).

  Service tc~eCATTPing~service started. (0 ms).

  Service telnet started. (16 ms).

  Service classload started. (297 ms).

  Service file started. (265 ms).

  Service configuration started. (156 ms).

  Service tc~di~sdic~srv started. (1685 ms).

  Service dsr started. (218 ms).

  Service ejb started. (468 ms).

  Service keystore started. (437 ms).

  Service servlet_jsp started. (749 ms).

  Service tc~sec~securestorage~service started. (94 ms).

  Service ssl started. (78 ms).

  Service caf~um~metadata~imp started. (640 ms).

  Service tc~sec~certrevoc~service started. (93 ms).

  Service jmx started. (547 ms).

  Service tc~sec~destinations~service started. (203 ms).

  Service tc~sec~wssec~service started. (78 ms).

  Service tc~lm~ctc~confs~service_sda started. (343 ms).

  Service CUL started. (328 ms).

  Service caf~um~relgroups~imp started. (453 ms).

  Service rfcengine started. (187 ms).

  Service apptracing started. (94 ms).

  Service tc~sec~vsi~service started. (265 ms).

  Service pmi started. (94 ms).

  Service basicadmin started. (905 ms).

  Service sld started. (1092 ms).

  Service caf~runtime~connectivity~impl started. (19446 ms).

  Service webdynpro started. (780 ms).

  Service com.adobe~LicenseService started. (16 ms).

  Service com.adobe~DocumentServicesConfiguration started. (156 ms).

  Service com.adobe~DocumentServicesDestProtoService started. (827 ms).

  Service com.adobe~DocumentServicesLicenseSupportService started. (936 ms).

  Service com.adobe~DataManagerService started. (796 ms).

  Service com.adobe~DocumentServicesBinaries2 started. (952 ms).

  Service adminadapter started. (281 ms).

  Service com.adobe~TrustManagerService started. (109 ms).

  Service com.adobe~XMLFormService started. (1607 ms).

  Service jms_provider started. (2076 ms).

  Service webservices started. (2170 ms).

  Service com.adobe~PDFManipulation started. (2638 ms).

  Service com.adobe~FontManagerService started. (4027 ms).

330.690: [GC 330.690: [ParNew: 428592K->59019K(512000K), 0.0594596 secs] 428592K->59019K(1994752K), 0.0595835 secs] [Times: user=0.16 sys=0.02, real=0.05 secs]

  Service monitor started. (293278 ms).

347.023: [GC 347.023: [ParNew: 468619K->102400K(512000K), 0.1255040 secs] 468619K->115584K(1994752K), 0.1255976 secs] [Times: user=0.33 sys=0.06, real=0.13 secs]

  Service tc.monitoring.logviewer started. (312204 ms).

ServiceManager started for 336817 ms.

Framework started for 348834 ms.

SAP J2EE Engine Version 7.00 SP 30   PatchLevel 122045.450 is running! PatchLevel 122045.450 October 20, 2013 16:01 GMT

divyanshu_srivastava3
Active Contributor
0 Kudos

Hi Kunal,

Execute jsmon pf=instance profile

And then type process.

Share the results here.

Regards,

Divyanshu

former_member188883
Active Contributor
0 Kudos

Hi Kunal,

For application server JAVA the URL should be as follows

http://FQDN: 5<NR>00

8002 seems to be abap port and will not work for JAVA instance.

Replace NR : with JAVA instance number.

Hope this helps.

Regards,

Deepak Kori