Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for JBoss Wildfly? #599

Open
joshcode47 opened this issue Sep 25, 2020 · 0 comments
Open

Support for JBoss Wildfly? #599

joshcode47 opened this issue Sep 25, 2020 · 0 comments

Comments

@joshcode47
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant