-
Notifications
You must be signed in to change notification settings - Fork 828
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
JBoss EAP 7.3 does not start when attaching the javaagent #2546
Comments
hi @DerMuedeJoe! can you run with |
Hi @trask FROM registry.redhat.io/jboss-eap-7/eap73-openjdk8-openshift-rhel7
RUN set -o errexit -o nounset \
&& curl -L "https://github.com/open-telemetry/opentelemetry-java-instrumentation/releases/download/v1.0.0/opentelemetry-javaagent-all.jar" -o /tmp/opentelemetry-javaagent-all.jar
ENV JAVA_OPTS="\
-verbose:class \
-javaagent:/tmp/opentelemetry-javaagent-all.jar "
ENV AB_JOLOKIA_OFF=true |
Hello together, I have tested using the Dockerfile as described above using all combinations of:
Each combination fails with the same error as described above. |
I have investigated it a bit further and I found a few things that worry me a bit. The agent 100% goes into the late component installer initialization path, which is good - but somehow it's still broken.
Second:
This is just a guess, but I think that maybe what's causing this problem is our |
No, that seems not to change anything. |
I will close this ticket as the provided solution works for me and probably won't provide any deeper analysis on this. |
Hello
I try to apply the opentelemetry-java-instrumentation as a javaagent to the JBoss Application Server 7.3.x (also tried 7.2.9).
The documentation states 7.3.x as supported.
Unfortunately, the server does not start after attaching the agent.
The log when starting the server shows following:
This is not the real exception as hidden by the catch.
The original message is
org.jboss.logmanager.Logger cannot be cast to org.jboss.logmanager.Logger
.Also see the screenshot provided of my first glimpse.
With the agent attached, there seem to be an issue with the ClassLoading or some trouble with the ModuleClassLoader from JBoss.
So far, i did not find out, where the "wrong" Loading is coming from.
Maybe i am simply doing something wrong.
I am grateful for every hint.
Thank you in advance.
Roman
Reporducer
Simply build and run the image.
I tried different version and also tired different commands to start.
(The base image defaults to
/opt/eap/bin/openshift-launch.sh
)Dockerfile:
Environment
openjdk version "1.8.0_275"
OpenJDK Runtime Environment (build 1.8.0_275-b01)
OpenJDK 64-Bit Server VM (build 25.275-b01, mixed mode)
What version are you using?
opentelemetry-java-instrumentation 1.0.0
What did you expect to see?
The application server starts normally.
The text was updated successfully, but these errors were encountered: