cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Not able to login to Application Server Java

Former Member
0 Likes
3,207

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

View Entire Topic
Reagan
Product and Topic Expert
Product and Topic Expert
0 Likes

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 Likes

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 Likes

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 Likes

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 Likes

Dear Divyanshu,

Please find the attached  files.

Regards,

Kunal Kumar

Former Member
0 Likes

Divyanshu,

Please find the trc file

Reagan
Product and Topic Expert
Product and Topic Expert
0 Likes

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

Regards

RB

Former Member
0 Likes

Dear Divyanshu,

have you got the files ?

Just confirm please.

Regards,

Kunal Kumar

Former Member
0 Likes

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 Likes

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 Likes

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 Likes

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 Likes

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 Likes

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

Former Member
0 Likes

@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 Likes

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 Likes

same mesaages are coming as posted.

divyanshu_srivastava3
Active Contributor
0 Likes

Hi Kunal.

Goto Configtool folder and from there execute those commands.

Regards,

Divyanshu

Former Member
0 Likes

Below is the result.

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

divyanshu_srivastava3
Active Contributor
0 Likes

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 Likes

Please attach set output from cmd.

Former Member
0 Likes

Divyanshu,

Thanks for your support.

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

divyanshu_srivastava3
Active Contributor
0 Likes

1st upgrade your physical memory than go for a

N update.

Divyanshu

Former Member
0 Likes

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 Likes

Hi Kunal,

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

Regards,

Divyanshu

divyanshu_srivastava3
Active Contributor
0 Likes

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



divyanshu_srivastava3
Active Contributor
0 Likes

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

Former Member
0 Likes

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 Likes

Dear Divyanshu,

SMD 98 Agent on same server is not turning on .

Can you help me.

Regards,

Kunal K.

divyanshu_srivastava3
Active Contributor
0 Likes

Sure Kunal, Please open a thread with logs.