cancel
Showing results for 
Search instead for 
Did you mean: 

SMD agent getting stopped

Former Member
0 Kudos

Hi Guys,

I have dual stack system.

The abap stack is up and running while the java stack is not coming up.

SMD agent is getting stopped.

I have gone through Note 940893 but it has not helped.

Could you please help?

Regards

Abhishek

Accepted Solutions (0)

Answers (1)

Answers (1)

JPReyes
Active Contributor
0 Kudos

And where is the error?... very difficult to help you with no information

Regards

Juan

Former Member
0 Kudos

Hi,

I am getting error while starting the system.

i have gone through the logs from smd agent, earlier it was showing missing jvmx.jar file in exe folder for SMD. i copied it from abap stack EXE folder and that error was gone.Now when i go through the logs for sm agent it is saying refer to sap note 943602.i have gone through that note

the error is for jlaunch.... exit code -11112.

Please tell which logs should i paste here..?

Regards

Abhishek

JPReyes
Active Contributor
0 Kudos

Can you check the defaultTrace and post the errors here?

Regards

Juan

Former Member
0 Kudos

Hi,

Could you please tell me the location for the default trace..?

Regards

Abhishek

Former Member
0 Kudos

hi,

<!LOGHEADER[START]/>

<!HELP[Manual modification of the header may cause parsing problem!]/>

<!LOGGINGVERSION[1.5.3.7185 - 630]/>

<!NAME[./log/defaultTrace.trc]/>

<!PATTERN[defaultTrace.trc]/>

<!FORMATTER[com.sap.tc.logging.ListFormatter]/>

<!ENCODING[UTF8]/>

<!FILESET[5, 20, 10485760]/>

<!PREVIOUSFILE[defaultTrace.4.trc]/>

<!NEXTFILE[defaultTrace.6.trc]/>

<!LOGHEADER[END]/>

#1.5 #02004C4F4F50000B000001DF00000E5C00049F0F20807523#1300787225468#com.sap.engine.services.deploy##com.sap.engine.services.deploy####n/a##485c6971546911e0a07602004c4f4f50#SAPEngine_System_Thread[impl:5]_47##0#0#Error#1#/System/Server#Plain###

Operation startApp over application sap.com/caf~core finished with errors on server 1125250. For more detailed information see traces of Deploy Service.#

#1.5 #02004C4F4F50000B000001E200000E5C00049F0F20807D2F#1300787225468#com.sap.engine.services.deploy##com.sap.engine.services.deploy####n/a##485c6971546911e0a07602004c4f4f50#SAPEngine_System_Thread[impl:5]_47##0#0#Error#1#/System/Server#Java#deploy_5035##Application sap.com/cafcore cannot be started. Reason: it has hard reference to resource caftc with type application, which is not active on the server.#3#sap.com/cafcore#caftc#application#

#1.5 #02004C4F4F50000B000001E300000E5C00049F0F20807D5A#1300787225468#com.sap.engine.services.deploy##com.sap.engine.services.deploy####n/a##485c6971546911e0a07602004c4f4f50#SAPEngine_System_Thread[impl:5]_47##0#0#Error#1#/System/Audit#Java###Exception #1#com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Application sap.com/cafcore cannot be started. Reason: it has hard reference to resource caftc with type application, which is not active on the server.

at com.sap.engine.services.deploy.server.ReferenceResolver.processReferenceToApplication(ReferenceResolver.java:617)

at com.sap.engine.services.deploy.server.ReferenceResolver.processMakeReference(ReferenceResolver.java:399)

at com.sap.engine.services.deploy.server.ReferenceResolver.beforeStartingApplication(ReferenceResolver.java:328)

at com.sap.engine.services.deploy.server.application.StartTransaction.beginCommon(StartTransaction.java:162)

at com.sap.engine.services.deploy.server.application.StartTransaction.beginLocal(StartTransaction.java:141)

at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesLocal(ApplicationTransaction.java:356)

at com.sap.engine.services.deploy.server.application.ParallelAdapter.runInTheSameThread(ParallelAdapter.java:132)

at com.sap.engine.services.deploy.server.application.ParallelAdapter.makeAllPhasesLocalAndWait(ParallelAdapter.java:250)

at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationLocalAndWait(DeployServiceImpl.java:4450)

at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationsInitially(DeployServiceImpl.java:2610)

at com.sap.engine.services.deploy.server.DeployServiceImpl.clusterElementReady(DeployServiceImpl.java:2464)

at com.sap.engine.services.deploy.server.ClusterServicesAdapter.containerStarted(ClusterServicesAdapter.java:42)

at com.sap.engine.core.service630.container.ContainerEventListenerWrapper.processEvent(ContainerEventListenerWrapper.java:144)

at com.sap.engine.core.service630.container.AdminContainerEventListenerWrapper.processEvent(AdminContainerEventListenerWrapper.java:19)

at com.sap.engine.core.service630.container.ContainerEventListenerWrapper.run(ContainerEventListenerWrapper.java:102)

at com.sap.engine.frame.core.thread.Task.run(Task.java:64)

at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:81)

at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:152)

Caused by: com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Application sap.com/caftc cannot be started. Reason: it has hard reference to resource cafruntime~ear with type application, which is not active on the server.

at com.sap.engine.services.deploy.server.ReferenceResolver.processReferenceToApplication(ReferenceResolver.java:617)

at com.sap.engine.services.deploy.server.ReferenceResolver.processMakeReference(ReferenceResolver.java:399)

at com.sap.engine.services.deploy.server.ReferenceResolver.beforeStartingApplication(ReferenceResolver.java:328)

at com.sap.engine.services.deploy.server.application.StartTransaction.beginCommon(StartTransaction.java:162)

at com.sap.engine.services.deploy.server.application.StartTransaction.beginLocal(StartTransaction.java:141)

at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesLocal(ApplicationTransaction.java:356)

at com.sap.engine.services.deploy.server.application.ParallelAdapter.runInTheSameThread(ParallelAdapter.java:132)

at com.sap.engine.services.deploy.server.application.ParallelAdapter.makeAllPhasesLocalAndWait(ParallelAdapter.java:250)

Former Member
0 Kudos

Hi,

SMD instance is not starting.

This is log file for dev_jcontrol.

-


trc file: "F:\usr\sap\SMD\J98\work\dev_jcontrol", trc level: 1, release: "700"

-


node name : jcontrol

pid : 1936

system name : SMD

system nr. : 98

started at : Tue Apr 05 11:05:18 2011

arguments :

arg[00] : F:\usr\sap\SMD\J98\..\exe\jcontrol.exe

arg[01] : pf=F:\usr\sap\SMD\J98\..\SYS\profile\SMD_J98_google

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

JStartupReadInstanceProperties: read instance properties [F:\usr\sap\SMD\J98\profile\smd.properties]

-> ms host :

-> ms port : 36

-> OS libs : F:\usr\sap\SMD\exe

-> Admin URL :

-> run mode : NORMAL

-> run action : NONE

-> enabled : yes

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

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

Used property files

-> files [00] : F:\usr\sap\SMD\J98\profile\smd.properties

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

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

Instance properties

-> ms host :

-> ms port : 36

-> os libs : F:\usr\sap\SMD\exe

-> admin URL :

-> run mode : NORMAL

-> run action : NONE

-> enabled : yes

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

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

Bootstrap nodes

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

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

Worker nodes

-> [00] smdagent : F:\usr\sap\SMD\J98\profile\smd.properties

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

[Thr 1940] Tue Apr 05 11:05:18 2011

[Thr 1940] *** WARNING => Key profile parameters not set F:\usr\sap\SMD\J98\..\SYS\profile\DEFAULT.PFL:

j2ee/scs/host=

j2ee/scs/system= [jcntrxx.c 1459]

[Thr 1940] *** WARNING => Can't open default profile [F:\usr\sap\SMD\J98\..\SYS\profile\DEFAULT.PFL] for migration [jcntrxx.c 1460]

[Thr 1940] JControlExecuteBootstrap: jcontrol runs in 6.20 compatible mode

[Thr 1940] JControlExecuteBootstrap: jcontrol runs in 6.20 compatible mode

[Thr 1940] JControlIBuildProcessList: Maximum error count is set to 4

[Thr 1972] JControlRequestFunc: Thread 1972 started as listener thread for np messages.

[Thr 1940] [Node: SMDAgent] java home is set by profile parameter

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

[Thr 1940] JStartupICheckFrameworkPackage: can't find framework package F:\usr\sap\SMD\exe\jvmx.jar

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

JStartupIReadSection: read node properties [smdagent]

-> node name : SMDAgent

-> node type : server

-> node id : 1

-> node execute : yes

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

-> java parameters : -DP4ClassLoad=P4Connection

-> java vm version : 1.4.2_17-b06

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

-> java vm type : server

-> java vm cpu : amd64

-> heap size : 128M

-> init heap size : 128M

-> root path : ..\SMDAgent

-> class path : lib\launcher\smdagentlauncher.jar;..\..\exe\jstartupapi.jar;..\..\exe\jstartupimpl.jar

-> OS libs path : F:\usr\sap\SMD\exe

-> main class : com.sap.smd.agent.launcher.SMDAgentLauncher

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

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

-> framework path : F:\usr\sap\SMD\exe\jstartup.jar;F:\usr\sap\SMD\exe\jvmx.jar

-> shutdown class : com.sap.smd.agent.launcher.SMDAgentLauncher

-> parameters : run jcontrol

-> debuggable : yes

-> debug mode : no

-> debug port : 58981

-> shutdown timeout : 20000

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

[Thr 1940] JControlConnectToMS: jcontrol runs in 6.20 compatible mode without message server

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

JControlStartJLaunch: program = F:\usr\sap\SMD\J98\..\exe\jlaunch.exe

-> arg[00] = F:\usr\sap\SMD\J98\..\exe\jlaunch.exe

-> arg[01] = pf=F:\usr\sap\SMD\J98\..\SYS\profile\SMD_J98_google

-> arg[02] = -DSAPINFO=SMD_98_server

-> arg[03] = -nodeId=0

-> arg[04] = -file=F:\usr\sap\SMD\J98\profile\smd.properties

-> arg[05] = -syncSem=JSTARTUP_WAIT_ON_1936

-> arg[06] = -nodeName=smdagent

-> arg[07] = -jvmOutFile=F:\usr\sap\SMD\J98\work\jvm_SMDAgent.out

-> arg[08] = -stdOutFile=F:\usr\sap\SMD\J98\work\std_SMDAgent.out

-> arg[09] = -locOutFile=F:\usr\sap\SMD\J98\work\dev_SMDAgent

-> arg[10] = -mode=JCONTROL

-> arg[11] = pf=F:\usr\sap\SMD\J98\..\SYS\profile\SMD_J98_google

-> lib path = PATH=C:\j2sdk1.4.2_17-x64\jre\bin\server;C:\j2sdk1.4.2_17-x64\jre\bin;c:\oracle\aba\102_64\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Intel\DMIX;C:\j2sdk1.4.2_17-x64;F:\usr\sap\SMD\exe

-> exe path = PATH=C:\j2sdk1.4.2_17-x64\bin;F:\usr\sap\SMD\exe;c:\oracle\aba\102_64\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Intel\DMIX;C:\j2sdk1.4.2_17-x64;F:\usr\sap\SMD\exe

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

[Thr 1940] JControlICheckProcessList: process SMDAgent started (PID:1976)

[Thr 1940] Tue Apr 05 11:05:23 2011

[Thr 1940] JControlICheckProcessList: process SMDAgent (pid:1976) died (RUN-FLAG)

[Thr 1940] JControlIResetProcess: reset process SMDAgent

[Thr 1940] JControlIResetProcess: [SMDAgent] not running -> increase error count (1)

[Thr 1940] JControlICheckProcessList: shutdown node from console -> restart off

[Thr 1968] Tue Apr 05 14:39:58 2011

[Thr 1968] JControlSigInt: signal = 2

[Thr 1968] JControlIStopInstance: shutting down (command: 0)

[Thr 1940] Tue Apr 05 14:40:01 2011

[Thr 1940] JControlCloseProgram: started (exitcode = 0)

[Thr 1940] JControlCloseProgram: good bye... (exitcode = 0)

Former Member
0 Kudos

Hi,

This is log for Dev_smd agent

[Thr 5060] Tue Apr 05 14:40:18 2011

[Thr 5060] JLaunchRequestQueueInit: create named pipe for ipc

[Thr 5060] JLaunchRequestQueueInit: create pipe listener thread

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

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

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

[Thr 5060] CPIC (version=700.2006.09.13)

[Thr 5060] [Node: SMDAgent] java home is set by profile parameter

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

[Thr 5060] JStartupICheckFrameworkPackage: can't find framework package F:\usr\sap\SMD\exe\jvmx.jar

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

JStartupIReadSection: read node properties [smdagent]

-> node name : SMDAgent

-> node type : server

-> node id : 1

-> node execute : yes

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

-> java parameters : -DP4ClassLoad=P4Connection

-> java vm version : 1.4.2_17-b06

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

-> java vm type : server

-> java vm cpu : amd64

-> heap size : 128M

-> init heap size : 128M

-> root path : ..\SMDAgent

-> class path : lib\launcher\smdagentlauncher.jar;..\..\exe\jstartupapi.jar;..\..\exe\jstartupimpl.jar

-> OS libs path : F:\usr\sap\SMD\exe

-> main class : com.sap.smd.agent.launcher.SMDAgentLauncher

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

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

-> framework path : F:\usr\sap\SMD\exe\jstartup.jar;F:\usr\sap\SMD\exe\jvmx.jar

-> shutdown class : com.sap.smd.agent.launcher.SMDAgentLauncher

-> parameters : run jcontrol

-> debuggable : yes

-> debug mode : no

-> debug port : 58981

-> shutdown timeout : 20000

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

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

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

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

Java Parameters: -Xss2m

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

JHVM_LoadJavaVM: VM Arguments of node [SMDAgent]

-> stack : 1048576 Bytes

-> arg[ 0]: exit

-> arg[ 1]: abort

-> arg[ 2]: vfprintf

-> arg[ 3]: -DP4ClassLoad=P4Connection

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

-> arg[ 5]: -Dapplication.home=F:\usr\sap\SMD\exe

-> arg[ 6]: -Djava.class.path=F:\usr\sap\SMD\exe\jstartup.jar;F:\usr\sap\SMD\exe\jvmx.jar;lib\launcher\smdagentlauncher.jar;..\..\exe\jstartupapi.jar;..\..\exe\jstartupimpl.jar

-> arg[ 7]: -Djava.library.path=C:\j2sdk1.4.2_17-x64\jre\bin\server;C:\j2sdk1.4.2_17-x64\jre\bin;C:\j2sdk1.4.2_17-x64\bin;F:\usr\sap\SMD\exe;c:\oracle\aba\102_64\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Intel\DMIX;C:\j2sdk1.4.2_17-x64;F:\usr\sap\SMD\exe

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

-> arg[ 9]: -Xmx128M

-> arg[ 10]: -Xms128M

-> arg[ 11]: -DLoadBalanceRestricted=no

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

-> arg[ 13]: -Djstartup.ownProcessId=5056

-> arg[ 14]: -Djstartup.ownHardwareId=N2027036245

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

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

-> arg[ 17]: -Xss2m

-> arg[ 18]: -DSAPINFO=SMD_98_server

-> arg[ 19]: -DSAPSTARTUP=1

-> arg[ 20]: -DSAPSYSTEM=98

-> arg[ 21]: -DSAPSYSTEMNAME=SMD

-> arg[ 22]: -DSAPMYNAME=google_SMD_98

-> arg[ 23]: -DSAPDBHOST=

-> arg[ 24]: -Dj2ee.dbhost=

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

[Thr 5088] JHVM_LoadJavaVM: Java VM created OK.

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

JHVM_BuildArgumentList: main method arguments of node [SMDAgent]

-> arg[ 0]: run

-> arg[ 1]: jcontrol

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

[Thr 5088] Tue Apr 05 14:40:19 2011

[Thr 5088] JHVM_RegisterNatives: registering methods in com.sap.bc.proj.jstartup.JStartupFramework

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

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

[Thr 5088] JLaunchISetState: change state from [Initial (0)] to [Starting (2)]

[Thr 5092] JLaunchIExitJava: exit hook is called (rc = -11112)

[Thr 5092] **********************************************************************

      • ERROR => The Java VM terminated with a non-zero exit code.

      • Please see SAP Note 943602 , section 'J2EE Engine exit codes'

      • for additional information and trouble shooting.

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

[Thr 5092] JLaunchCloseProgram: good bye (exitcode = -11112)

Please help.