Hello there,
For some reason, it seems that both methods (manual and automatic), crash the JVM of my JBOSS applicattion. This applicattion runs Java 7. I have tried running both agents with Java 8 and the same Java as the JBOSS applicattion uses.
Kibana version : 7.9.0
Elasticsearch version : 7.9.2
APM Server version : 7.9.2
APM Agent language and version : Java Oracle 8, 1.18.0
Browser version : Google Chrome 80.0.3987.149
Original install method (e.g. download page, yum, deb, from source, etc.) and version : The agents were installed from the following links:
- https://search.maven.org/remotecontent?filepath=co/elastic/apm/apm-agent-attach/1.18.0/apm-agent-attach-1.18.0-standalone.jar
- https://search.maven.org/remotecontent?filepath=co/elastic/apm/elastic-apm-agent/1.18.0/elastic-apm-agent-1.18.0.jar
Fresh install or upgraded from other version? Fresh install
Is there anything special in your setup? The communication between the agent and the APM server is plain within an internal network. The problem is the agent won't attach to the Java VM, so it has nothing to do with a communication issue with APM server.
Description of the problem including expected versus actual behavior. Please include screenshots (if relevant) :
/apps/bin/comerzzia/jboss-as-7.1.1/bin/standalone.sh: línea 178: 14707 Aborted "/apps/bin/comerzzia/jdk1.7.0_80/bin/java" -D"[Standalone]" -se
rver -XX:+UseCompressedOops -XX:+TieredCompilation -Duser.timezone=Europe/Madrid -Xms8192m -Xmx8192m -XX:MaxPermSize=2048m -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true
-Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true -Djboss.server.default.config=standalo
ne.xml -Dfile.encoding=UTF-8 -Dorg.apache.catalina.connector.URI_ENCODING=UTF-8 -Dclient.encoding.override=UTF-8 -XX:+TieredCompilation -XX:ReservedCodeCacheSize=256m -XX:+UseCodeCacheFlush
ing "-Dorg.jboss.boot.log.file=/apps/bin/comerzzia/jboss-as-7.1.1/standalone/log/boot.log" "-Dlogging.configuration=file:/apps/bin/comerzzia/jboss-as-7.1.1/standalone/configuration/logging.
properties" -jar "/apps/bin/comerzzia/jboss-as-7.1.1/jboss-modules.jar" -mp "/apps/bin/comerzzia/jboss-as-7.1.1/modules" -jaxpmodule javax.xml.jaxp-provider org.jboss.as.standalone -Djboss.
home.dir="/apps/bin/comerzzia/jboss-as-7.1.1"
You will find the JVM crash log here: https://pastebin.pl/view/b7c86f3f
According to the Supported technologies (https://www.elastic.co/guide/en/apm/agent/java/current/supported-technologies-details.html#supported-java-versions) Java 7 and Java 8 both are supported.
Is this happenning because of a bug? Is there any additional requirement I am not bearing in mind?
Thanks in advance,