EPAgent fails to start with the error : STATUS | TERM trapped. Shutting down

book

Article ID: 143247

calendar_today

Updated On:

Products

CA Application Performance Management Agent (APM / Wily / Introscope) CA Application Performance Management (APM / Wily / Introscope) INTROSCOPE DX Application Performance Management

Issue/Introduction

 EPAgent wrapper failure via  | STATUS | TERM trapped.  Shutting down

########################################################################

#

# EPAgent Example Properties File

#

# @@CA Wily Introscope(R) Version 10.5.1 Release [email protected]@

# @@Copyright (c) 2016 CA. All Rights [email protected]@

# @@Introscope(R) is a registered trademark of [email protected]@

########################################################################

 

Waiting for CA APM Environment Performance Agent......

...ERROR: CA APM Environment Performance Agent has failed to start. See /opt/cawily/epagent/bin/wrapper.log for details.

 

2018/09/13 18:03:17 | STATUS | --> Wrapper Started as Daemon

2018/09/13 18:03:17 | STATUS | Java Service Wrapper Standard Edition 64-bit 3.5.25

2018/09/13 18:03:17 | STATUS |   Copyright (C) 1999-2014 Tanuki Software, Ltd. All Rights Reserved.

2018/09/13 18:03:17 | STATUS |     http://wrapper.tanukisoftware.com

2018/09/13 18:03:17 | STATUS |   Licensed to CA, Inc. for EPAgent

2018/09/13 18:03:17 | STATUS |

2018/09/13 18:03:17 | STATUS | Launching a JVM...

2018/09/13 18:03:17 | STATUS | Java Command Line:

2018/09/13 18:03:17 | STATUS |   Command[0] : /opt/cawily/jdk8/jdk1.8.0_151/jre/bin/java

2018/09/13 18:03:17 | STATUS |   Command[1] : -Dcom.wily.introscope.epagent.properties=../IntroscopeEPAgent.properties

2018/09/13 18:03:17 | STATUS |   Command[2] : -Djava.library.path=../lib

2018/09/13 18:03:17 | STATUS |   Command[3] : -classpath

2018/09/13 18:03:17 | STATUS |   Command[4] : ../lib/wrapper.jar

2018/09/13 18:03:17 | STATUS |   Command[5] : -Dwrapper.key=azCi-qHDhsK2EcUcaWscXxa6i02iYVZO

2018/09/13 18:03:17 | STATUS |   Command[6] : -Dwrapper.port=32000

2018/09/13 18:03:17 | STATUS |   Command[7] : -Dwrapper.jvm.port.min=31000

2018/09/13 18:03:17 | STATUS |   Command[8] : -Dwrapper.jvm.port.max=31999

2018/09/13 18:03:17 | STATUS |   Command[9] : -Dwrapper.disable_console_input=TRUE

2018/09/13 18:03:17 | STATUS |   Command[10] : -Dwrapper.pid=31961

2018/09/13 18:03:17 | STATUS |   Command[11] : -Dwrapper.version=3.5.25-st

2018/09/13 18:03:17 | STATUS |   Command[12] : -Dwrapper.native_library=wrapper

2018/09/13 18:03:17 | STATUS |   Command[13] : -Dwrapper.arch=x86

2018/09/13 18:03:17 | STATUS |   Command[14] : -Dwrapper.service=TRUE

2018/09/13 18:03:17 | STATUS |   Command[15] : -Dwrapper.cpu.timeout=10

2018/09/13 18:03:17 | STATUS |   Command[16] : -Dwrapper.jvmid=1

2018/09/13 18:03:17 | STATUS |   Command[17] : -Dwrapper.lang.domain=wrapper

2018/09/13 18:03:17 | STATUS |   Command[18] : -Dwrapper.lang.folder=../lang

2018/09/13 18:03:17 | STATUS |   Command[19] : org.tanukisoftware.wrapper.WrapperJarApp

2018/09/13 18:03:17 | STATUS |   Command[20] : ../lib/EPAgent.jar

2018/10/16 17:44:13 | STATUS | TERM trapped.  Shutting down.

2018/10/16 17:44:14 | STATUS | <-- Wrapper Stopped

Cause

STATUS | TERM trapped. Shutting down

This message basically means the application was not gracefully stopped. This may be due to a runtime conflict and it crashed. Sent a TERM Signal. Causing a problem starting up.

Environment

Release : 10.5

Component : APM Agents

Resolution

To ensure nobody is issuing a restart, stop script command as that would trigger the termination signal. 

Additional Information

What are the different ways that I can shutdown my Java application?l