Ocelot and Wildfly

40 views
Skip to first unread message

Chris Badman

unread,
Aug 8, 2019, 9:20:13 AM8/8/19
to inspectIT
Does this documentation still hold true for Wildfly 16.0.0 used with inspectIT Ocelot 0.3 agent?



Marius

unread,
Aug 9, 2019, 2:56:44 AM8/9/19
to inspectIT
Hi Chris,

this workaround with adding the additional Java options regarding the log manager should not be necessary anymore when using the inspectIT Ocelot agent. I verified that using version 10 and 16 of WildFly.

So, when adding the agent to WildFly, for example, by adding the following line to the "standalone.conf":

JAVA_OPTS="$JAVA_OPTS -javaagent:/path/to/agent/inspectit-ocelot-agent-0.3.jar"

or for Windows (standalone.conf.bat):
set "JAVA_OPTS=-javaagent:C:/path/to/agent/inspectit-ocelot-agent-0.3.jar %JAVA_OPTS%"

it should be fine and working without any problems.


All the best,
Marius

Chris Badman

unread,
Aug 12, 2019, 1:44:08 PM8/12/19
to inspectIT
Hey Marius,
Thanks for the answer.

I was having trouble getting WildFly to start with inspectIT ocelot attached.

So apparently the problem is in the WAR file we're deploying onto Wildfly. When I undeployed all of our stuff, everything started up and both Wildfly and InspectIT worked. Once I tried to deploy a new WAR, Wildfly crashed again.

I looked in the logs but didn't see anything. There's nothing in the wildfly logs or the inspectit agent log that shows an error.

Any thoughts on what I can investigate or enable to get some better ideas on why it would be crashing?

Chris
Reply all
Reply to author
Forward
0 new messages