Where to put jars for -javaagent in JBoss

Solution Verified - Updated -

Issue

We are using a jar will be loaded by run.conf entry "-javaagent:<place-to-agent.jar>".
Our developers placed the lib into the $JBOSS_HOME/lib directory. Because this is the system-lib directory I would place the file into the jboss/server/lib/ directory. Is this the correct approach? Where should we place the aspectjweaver.jar to use with -javaagent parameter?

Environment

  • JBoss

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content