Hi,
in setting up one agent for JBoss with Oracle JVM I'm getting this error:
2015-07-28 08:54:31 [41892940] info [native] Build platform .............. Linux x86 64-bit
2015-07-28 08:54:31 [41892940] info [native] Platform .................... Linux 2.6.18-274.3.1.el5 x86_64
2015-07-28 08:54:31 [41892940] info [native] Bootstrap version ........... 6.0.0.6738
2015-07-28 08:54:31 [41892940] info [native] Log level console ........... info
2015-07-28 08:54:31 [41892940] info [native] Log level file .............. info
2015-07-28 08:54:31 [41892940] info [native] Log file .................... /opt/dynatrace-6.0.0/log/dt_JBOSS_MC_INT01_10632.0.log
2015-07-28 08:54:31 [41892940] info [native] Agent host .................. SRVAQMCINT01
2015-07-28 08:54:31 [41892940] info [native] Agent library ............... /opt/dynatrace-6.0.0/agent/downloads/6.0.0.7153/native/linux-x86-64/libdtagentcore.so
2015-07-28 08:54:31 [41892940] info [native] Options string .............. name=JBOSS_MC_INT01,server=srvdynapro01:9998
2015-07-28 08:54:31 [41892940] info [native] Agent name .................. JBOSS_MC_INT01
2015-07-28 08:54:31 [41892940] info [native] Server/Collector ............ srvdynapro01:9998
2015-07-28 08:54:31 [41892940] info [native] Interface type .............. JVMTI
2015-07-28 08:54:31 [41892940] info [native] Process ID .................. 10632
2015-07-28 08:54:31 [41892940] info [native] JVM name .................... Java HotSpot(TM) 64-Bit Server VM 19.0-b09
2015-07-28 08:54:31 [41892940] info [native] JVM vendor .................. Sun Microsystems Inc.
2015-07-28 08:54:31 [41892940] info [native] JVM info .................... mixed mode, sharing
2015-07-28 08:54:31 [41892940] info [native] Detected application server: JBoss
2015-07-28 08:54:31 [41892940] info [native] Reading LoadBalancing configuration from srvdynapro01:9998
2015-07-28 08:54:31 [41892940] info [native] Storing collector peer list (0 entries) to /opt/dynatrace-6.0.0/agent/conf/collectorlist.JBOSS_MC_INT01
2015-07-28 08:54:31 [41892940] info [native] Trying to connect to Server/Collector for up to 19 seconds
2015-07-28 08:54:32 [41892940] info [native] Instrumentation channel connected successfully
2015-07-28 08:54:32 [41892940] info [native] Received instrumentation blacklist (24980 classes, 1748 KiB)
2015-07-28 08:54:32 [41892940] info [native] Connected to Server/Collector srvdynapro01:9998
Error occurred during initialization of VM
Too small initial heap
should increase the initial inicial heap memory of JBoss to do the instrumentation? Why?
Thanks in advance!
Answer by Reinhard W. ·
Does your machine have enough RAM? Looks like you are running a 64JVM. What heap settings are you using?
Dynatrace requires a little bit additional memory so if your machine is already maxed out you probably want to increase memory.
Also you should probably upgrade your kernel. I just ran into issues with a 2.6 kernel and the Java leap second bug
Answer by Josep C. ·
Thanks reinhard.brandstaedter@dynatrace.com! Adding a little bit of additional memory worked!
JANUARY 15, 3:00 PM GMT / 10:00 AM ET