cancel
Showing results for 
Search instead for 
Did you mean: 

java server "Server 0" not running

Former Member
0 Kudos

Hi All,

i did installation of ECC 6.0 on windows 2003 64 bit, DB MS SQL server 2005 yesterday. installation was successful completed . then after i restart server from OS side. now while start of SAP server from MMC , Server 0 (Java server) is not getting start.(its restart automatically)

This installation having both ABAP + Java Stack.

i tried to to resolve by increase /decrease of Heap size from config. tool but not any success. still java stack not running.

please look into pasted log details and advise.

Default Trace:

#1.5 #02004C4F4F5001230000983900001150000476E77995FE97#1256636456250#com.sap.engine.services.deploy##com.sap.engine.services.deploy####n/a##99169040c2dc11de933f02004c4f4f50#SAPEngine_System_Thread[impl:5]_333##0#0#Error#1#/System/Server#Plain###

Operation startApp over application sap.com/com.sap.aii.adapter.rfc.app finished with errors on server 57460950. For more detailed information see traces of Deploy Service.#

#1.5 #02004C4F4F5001230000983C00001150000476E7799606D4#1256636456265#com.sap.engine.services.deploy##com.sap.engine.services.deploy####n/a##99169040c2dc11de933f02004c4f4f50#SAPEngine_System_Thread[impl:5]_333##0#0#Error#1#/System/Server#Java#deploy_5035##Application sap.com/com.sap.aii.adapter.rfc.app cannot be started. Reason: it has hard reference to resource com.sap.aii.adapter.rfc.svc with type service, which is not active on the server

#1.5 #02004C4F4F500066000000090000183C000476E7B9AE93EF#1256637531640#com.sap.aii.af.ra.ms.runtime.Resources##com.sap.aii.af.ra.ms.runtime.Resources.getListener(String, boolean)#J2EE_GUEST#0##n/a##e9109583c2de11de930002004c4f4f50#SAPEngine_Application_Thread[impl:3]_19##0#0#Error##Plain###Failed to create listener localejbs/TestListener for connection test. Reason: java.lang.Exception: Failed to lookup object from JNDI for name localejbs/TestListener within app level thread. Reason: com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Object not found in lookup of TestListener.#

Regards

Gyan

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

.(its restart automatically)

are you saying the java server is restarting itself ?

If so it is to do with an Java memory issue....Check out relevant SAP notes on specific java memory settings.

Mark

Former Member
0 Kudos

Hi Mark,

It seems restart automatically , inside MMC "As Java process Table" server0 shows restarts 15 . in between next count if i try to access http://hostname:50500, some time i am able to access index page but after 2-3 min its start showing

503 Service Unavailable

SAP J2EE Engine/7.00

Application stopped.

Details: You have requested an application that is currently stopped

so i guess its restarted itself. as you advice for java memory issue , can you please let me know any specific sap note

Regards

gyan

Former Member
0 Kudos

Hi Gyan,

Manoj already beat me to it......hope it helps.

Mark

Former Member
0 Kudos

paste the std_server0.out file & dev_bootstrap file.

Former Member
0 Kudos

Hi Mahesh,

May i know file location , which you want me to post . usr\sap\PRD\DVEBMGS05\j2ee\cluster\server0\log inside this location not any file with mentioned name.

Regards

Gyan

Former Member
0 Kudos

/usr/sap/SID/DVEBMGSnr/work

Former Member
0 Kudos

Dev_bootstrap :-

-


trc file: "C:\usr\sap\PRD\DVEBMGS05\work\dev_bootstrap_ID57460950", trc level: 1, release: "700"

-


node name : bootstrap_ID57460950

pid : 8152

system name : PRD

system nr. : 05

started at : Tue Oct 27 15:13:08 2009

arguments :

arg[00] : C:\usr\sap\PRD\DVEBMGS05\exe\jlaunch.exe

arg[01] : pf=C:\usr\sap\PRD\SYS\profile\PRD_DVEBMGS05_sapmi

arg[02] : -DSAPINFO=PRD_05_bootstrap

arg[03] : pf=C:\usr\sap\PRD\SYS\profile\PRD_DVEBMGS05_sapmi

arg[04] : -DSAPSTART=1

arg[05] : -DCONNECT_PORT=3720

arg[06] : -DSAPSYSTEM=05

arg[07] : -DSAPSYSTEMNAME=PRD

arg[08] : -DSAPMYNAME=sapmi_PRD_05

arg[09] : -DSAPPROFILE=C:\usr\sap\PRD\SYS\profile\PRD_DVEBMGS05_sapmi

arg[10] : -DFRFC_FALLBACK=ON

arg[11] : -DFRFC_FALLBACK_HOST=localhost

[Thr 6840] Tue Oct 27 15:13:08 2009

[Thr 6840] *** WARNING => INFO: Unknown property [instance.box.number=PRDDVEBMGS05sapmi] [jstartxx.c 841]

[Thr 6840] *** WARNING => INFO: Unknown property [instance.en.host=sapmi] [jstartxx.c 841]

[Thr 6840] *** WARNING => INFO: Unknown property [instance.en.port=3206] [jstartxx.c 841]

[Thr 6840] *** WARNING => INFO: Unknown property [instance.system.id=5] [jstartxx.c 841]

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

JStartupReadInstanceProperties: read instance properties [C:\usr\sap\PRD\DVEBMGS05\j2ee\cluster\instance.properties]

-> ms host : sapmi

-> ms port : 3906

-> OS libs : C:\usr\sap\PRD\DVEBMGS05\j2ee\os_libs

-> Admin URL :

-> run mode : NORMAL

-> run action : NONE

-> enabled : yes

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

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

Used property files

-> files [00] : C:\usr\sap\PRD\DVEBMGS05\j2ee\cluster\instance.properties

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

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

Instance properties

-> ms host : sapmi

-> ms port : 3906

-> os libs : C:\usr\sap\PRD\DVEBMGS05\j2ee\os_libs

-> admin URL :

-> run mode : NORMAL

-> run action : NONE

-> enabled : yes

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

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

Bootstrap nodes

-> [00] bootstrap : C:\usr\sap\PRD\DVEBMGS05\j2ee\cluster\instance.properties

-> [01] bootstrap_ID57460900 : C:\usr\sap\PRD\DVEBMGS05\j2ee\cluster\instance.properties

-> [02] bootstrap_ID57460950 : C:\usr\sap\PRD\DVEBMGS05\j2ee\cluster\instance.properties

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

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

Worker nodes

-> [00] ID57460900 : C:\usr\sap\PRD\DVEBMGS05\j2ee\cluster\instance.properties

-> [01] ID57460950 : C:\usr\sap\PRD\DVEBMGS05\j2ee\cluster\instance.properties

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

[Thr 6840] JLaunchRequestQueueInit: create named pipe for ipc

[Thr 6840] JLaunchRequestQueueInit: create pipe listener thread

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

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

[Thr 6840] NiInit3: NI already initialized; param 'maxHandles' ignored (1;202)

[Thr 6840] CPIC (version=700.2006.09.13)

[Thr 6840] [Node: server0 bootstrap] java home is set by profile parameter

Java Home: C:\j2sdk1.4.2_13-x64

[Thr 6840] JStartupICheckFrameworkPackage: can't find framework package C:\usr\sap\PRD\DVEBMGS05\exe\jvmx.jar

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

JStartupIReadSection: read node properties [bootstrap_ID57460950]

-> node name : server0 bootstrap

-> node type : bootstrap

-> node execute : yes

-> jlaunch parameters :

-> java path : C:\j2sdk1.4.2_13-x64

-> java parameters : -Djco.jarm=1

-> java vm version : 1.4.2_13-b06

-> java vm vendor : Java HotSpot(TM) 64-Bit Server VM (Sun Microsystems Inc.)

-> java vm type : server

-> java vm cpu : amd64

-> heap size : 256M

-> root path : C:\usr\sap\PRD\DVEBMGS05\j2ee\cluster

-> class path : .\bootstrap\launcher.jar

-> OS libs path : C:\usr\sap\PRD\DVEBMGS05\j2ee\os_libs

-> main class : com.sap.engine.offline.OfflineToolStart

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

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

-> framework path : C:\usr\sap\PRD\DVEBMGS05\exe\jstartup.jar;C:\usr\sap\PRD\DVEBMGS05\exe\jvmx.jar

-> parameters : com.sap.engine.bootstrap.Bootstrap ./bootstrap ID057460950

-> debuggable : yes

-> debug mode : no

-> debug port : 60000

-> shutdown timeout : 120000

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

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

[Thr 5720] [JHVM_PrepareVMOptions] use java parameters set by profile parameter

Java Parameters: -Xss2m

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

JHVM_LoadJavaVM: VM Arguments of node [server0 bootstrap]

-> stack : 1048576 Bytes

-> arg[ 0]: exit

-> arg[ 1]: abort

-> arg[ 2]: vfprintf

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

-> arg[ 4]: -Dsys.global.dir=C:\usr\sap\PRD\SYS\global

-> arg[ 5]: -Dapplication.home=C:\usr\sap\PRD\DVEBMGS05\exe

-> arg[ 6]: -Djava.class.path=C:\usr\sap\PRD\DVEBMGS05\exe\jstartup.jar;C:\usr\sap\PRD\DVEBMGS05\exe\jvmx.jar;.\bootstrap\launcher.jar

-> arg[ 7]: -Djava.library.path=C:\j2sdk1.4.2_13-x64\jre\bin\server;C:\j2sdk1.4.2_13-x64\jre\bin;C:\j2sdk1.4.2_13-x64\bin;C:\usr\sap\PRD\DVEBMGS05\j2ee\os_libs;C:\j2sdk1.4.2_13-x64\bin;C:\j2sdk1.4.2_13-x64\bin;C:\j2sdk1.4.2_13-x64\lib;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\wbem;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\usr\sap\PRD\SYS\exe\uc\NTAMD64

-> arg[ 8]: -Dmemory.manager=256M

-> arg[ 9]: -Xmx256M

-> arg[ 10]: -DLoadBalanceRestricted=no

-> arg[ 11]: -Djstartup.mode=BOOTSTRAP

-> arg[ 12]: -Djstartup.ownProcessId=8152

-> arg[ 13]: -Djstartup.ownHardwareId=L1561221010

-> arg[ 14]: -Djstartup.whoami=bootstrap

-> arg[ 15]: -Djstartup.debuggable=yes

-> arg[ 16]: -Xss2m

-> arg[ 17]: -DSAPINFO=PRD_05_bootstrap

-> arg[ 18]: -DSAPSTART=1

-> arg[ 19]: -DCONNECT_PORT=3720

-> arg[ 20]: -DSAPSYSTEM=05

-> arg[ 21]: -DSAPSYSTEMNAME=PRD

-> arg[ 22]: -DSAPMYNAME=sapmi_PRD_05

-> arg[ 23]: -DSAPPROFILE=C:\usr\sap\PRD\SYS\profile\PRD_DVEBMGS05_sapmi

-> arg[ 24]: -DFRFC_FALLBACK=ON

-> arg[ 25]: -DFRFC_FALLBACK_HOST=localhost

-> arg[ 26]: -DSAPSTARTUP=1

-> arg[ 27]: -DSAPSYSTEM=05

-> arg[ 28]: -DSAPSYSTEMNAME=PRD

-> arg[ 29]: -DSAPMYNAME=sapmi_PRD_05

-> arg[ 30]: -DSAPDBHOST=SAPMI

-> arg[ 31]: -Dj2ee.dbhost=SAPMI

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

CompilerOracle: exclude com/sapportals/portal/pb/layout/taglib/ContainerTag addIviewResources

CompilerOracle: exclude com/sap/engine/services/keystore/impl/security/CodeBasedSecurityConnector getApplicationDomain

CompilerOracle: exclude com/sap/engine/services/rmi_p4/P4StubSkeletonGenerator generateStub

CompilerOracle: exclude com/sapportals/portal/prt/util/StringUtils escapeToJS

CompilerOracle: exclude com/sapportals/portal/prt/core/broker/PortalServiceItem startServices

CompilerOracle: exclude com/sap/engine/services/webservices/server/deploy/WSConfigurationHandler downloadFile

CompilerOracle: exclude com/sapportals/portal/prt/jndisupport/util/AbstractHierarchicalContext lookup

CompilerOracle: exclude com/sapportals/portal/navigation/cache/CacheNavigationNode getAttributeValue

CompilerOracle: exclude com/sapportals/portal/navigation/TopLevelNavigationiView PrintNode

CompilerOracle: exclude com/sapportals/wcm/service/ice/wcm/ICEPropertiesCoder encode

CompilerOracle: exclude com/sap/lcr/pers/delta/importing/ObjectLoader loadObjects

CompilerOracle: exclude com/sap/engine/services/webservices/jaxrpc/encoding/InstanceBuilder readElement

CompilerOracle: exclude com/sap/engine/services/webservices/jaxrpc/encoding/InstanceBuilder readSequence

CompilerOracle: exclude com/sap/engine/services/webservices/jaxrpc/encoding/TypeMappingImpl initializeRelations

CompilerOracle: exclude com/sap/engine/services/webservices/jaxrpc/encoding/GeneratedComplexType _loadInto

[Thr 5720] JHVM_LoadJavaVM: Java VM created OK.

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

JHVM_BuildArgumentList: main method arguments of node [server0 bootstrap]

-> arg[ 0]: com.sap.engine.bootstrap.Bootstrap

-> arg[ 1]: ./bootstrap

-> arg[ 2]: ID057460950

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

[Thr 5720] JHVM_RegisterNatives: registering methods in com.sap.bc.krn.perf.PerfTimes

[Thr 8480] Tue Oct 27 15:13:10 2009

[Thr 8480] JLaunchIExitJava: exit hook is called (rc = 0)

[Thr 8480] JLaunchCloseProgram: good bye (exitcode = 0)

Former Member
0 Kudos

Check your settings for parameters like heap memory, Xms etc. Please check Note 723909 - Java VM settings for J2EE 6.40/7.0for more details.

Also check dev_bootstrap

Former Member
0 Kudos

What is HW configuration, if there is any memory issues you will be getting the information in std_server0.out file.

And also heap size should not be more than 2.5 GB.

And also try rebooting the server once.

Mahesh

Former Member
0 Kudos

@mahesh,

And also heap size should not be more than 2.5 GB.

I believe for 32 bit platform max size is 2 GB. If you have any other info/link please let me know.

Former Member
0 Kudos

Hi Mahesh,

Hw config. is as below:-

RAM 8 GB, HDD : 500GB , CPU: Intel Xeone 2.5 Ghz 64 bit , OS : windows 2003 ent. server 64 bit. Virtual memory 40 GB.

Current Heap Size : 1024 MB.

also i notice that , if i leave server for 4-5 hours after reboot then server0 turns in green(java start working), in restart section of SAP MMC no. of count 15 or more .

Regards

Gyan

former_member759680
Contributor
0 Kudos

have you installed a permanent license on this system?

Check if license is valid.

Former Member
0 Kudos

Hi Gautam,

i installed ECC 2 days back , after installtion facing this issue . also dont think license may cause such type of error.

Pls correct me if i am wrong.

Regards

Gyan

Former Member
0 Kudos

Hi All ,

Thanks for all kind help. problem solved by change java memory parameters in config tool .

Heap Size 2 GB

-Xmx 2048m -Xms2048m

For dispatcher nodes : 256m

-XX:NewSize=341m -XX:MaxNewSize=341m

Regards

Gyan

Former Member
0 Kudos

Its for 64 Bit machines.