You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello everyone,
I would like to instrument an application with the Java SpecialAgent, which is deployed as an ear on a JBoss Wildfly application server (v20.0.1.Final). I can integrate the SpecialAgent jar by setting the java options of the application server via the environment variables in my Dockerfile.
However, I have no possibility to static attach the agent to the ear-file when starting the server, because the deployment of the applications is only done after the server is started. A dynamic attachment is also not possible, because to my knowledge no PID is created for the deployments on the Wildfly.
My question now would be, if it is generally possible to attach the Java SpecialAgent to an ear/war in a JEE Application Server like JBoss Wildfly or if it is only possible to attach the Java SpecialAgent to standalone jars.
If it is possible, I would be very grateful for a short instruction.
Many thanks in advance.
The text was updated successfully, but these errors were encountered:
Hello everyone,
I would like to instrument an application with the Java SpecialAgent, which is deployed as an ear on a JBoss Wildfly application server (v20.0.1.Final). I can integrate the SpecialAgent jar by setting the java options of the application server via the environment variables in my Dockerfile.
ENV JAVA_OPTS=" $JAVA_OPTS -javaagent:/opt/jboss/wildfly/standalone/opentracing-specialagent-1.7.4.jar "
ENV JAVA_OPTS=" $JAVA_OPTS -Dsa.exporter=jaeger"
ENV JAVA_OPTS=" $JAVA_OPTS -Dsa.log.level=config"
However, I have no possibility to static attach the agent to the ear-file when starting the server, because the deployment of the applications is only done after the server is started. A dynamic attachment is also not possible, because to my knowledge no PID is created for the deployments on the Wildfly.
My question now would be, if it is generally possible to attach the Java SpecialAgent to an ear/war in a JEE Application Server like JBoss Wildfly or if it is only possible to attach the Java SpecialAgent to standalone jars.
If it is possible, I would be very grateful for a short instruction.
Many thanks in advance.
The text was updated successfully, but these errors were encountered: