Hello Ben,
It seems that we have the same issue with Xshareclasses:None and IBM J9 JVM when monitoring IBM Websphere Portal.
With Xshareclasses:None Websphere Portal does not started correctly.
We will try enableBCI.
My question is about addition of the instana-javaagent-1.0.0.jar ?
Why this added?
Where this jar located ?.
We have On Prem backend with static host agents.
I see only file here: /opt/instana-agent/system/com/instana/sensor-java-javaagent/1.0.18/sensor-java-javaagent-1.2.215.jar .
Thanks in advance,
------------------------------
Shimon Zaidman
MATAF
TEL-AVIV
------------------------------
Original Message:
Sent: Thu October 27, 2022 04:22 PM
From: Ben Stern
Subject: Having java issues when monitoring IIB & MQ in Instana
With the IBM J9 JVM, you typically have either set Xshareclasses to None or to enableBCI. And, add the instana-javaagent-1.0.0.jar. You can see the JVM arguments below on my environment.
-javaagent:/media/instana-javaagent-1.0.0.jar -Xshareclasses:enableBCI -Dcom.ibm.tools.attach.enable=yes -Xscmx512m -Xcodecachetotal200M -Xgcpolicy:gencon -Xjit:iprofilerMemoryConsumptionLimit=67108864 -Xdump:stack:events=allocation,filter=#300m -Xgc:preferredHeapBase=0x100000000 -Xdisableexplicitgc -Xss2048k -Dsun.net.http.allowRestrictedHeaders=true -Declipse.bundle.setTCCL=false "-javaagent:${WAS_INSTALL_ROOT}/lib/ext/agent.jar"
------------------------------
Ben Stern
Executive IT Specialist / Monitoring and Analytics Best Practices and Technical Evangelist
IBM
Durham NC
919-224-1593
Original Message:
Sent: Thu October 27, 2022 04:27 AM
From: MJ Hassan
Subject: Having java issues when monitoring IIB & MQ in Instana
Hello,
My company is a partner with IBM and we are currently deploying Instana on-prem on our client's server.
The issue we are facing right now is with the Java class sharing enabled (please refer to the attachments).
Is this some combability issue with the JDK of Instana agent and the JDK of IIB & MQ ?
Please help us and guide us with this issue of ours its showing the same error in Linux and Windows machines.
Regards
------------------------------
MJ Hassan
------------------------------