Startup warnings in the Wildfly log and some metrics greyed out.
search cancel

Startup warnings in the Wildfly log and some metrics greyed out.

book

Article ID: 421089

calendar_today

Updated On:

Products

DX Application Performance Management

Issue/Introduction

If we use the below line, we get the stack overflow error only on startup, not afterwards. 
    -Dcom.wily.introscope.agent.startup.mode=neo -Dcom.wily.introscope.agent.startup.delay=180

If we use JBOSS_MODULES_SYSTEM_PKGS="org.jboss.byteman - then after 10 minutes the agent name is set by what is in profile.  By disabling auto naming, then the agent will not start up

We don't want autonaming, we want the name to stay as is

Resolution

These last settings fixed the issue.  

  • IG logs are clean
  • APM logs are clean
  • agentName does not change.

The settings that resolve the issue are as follows:

introscope.agent.agentName=<name>
introscope.agent.agentAutoNamingEnabled=true
introscope.bootstrapClassesManager.waitAtStartup=5
introscope.agent.agentNameSystemPropertyKey=
introscope.agent.disableLogFileAutoNaming=false
introscope.agent.agentAutoNamingMaximumConnectionDelayInSeconds=120  # default 120
introscope.agent.agentAutoRenamingIntervalInMinutes=0     # default 10