I’m getting this error. Any ideas? I have not see this before. Using commandbox 4 with latest lucee.
Yet tools.jar is there in a different path. looks like it eventually found it.
# find . -name "tools.jar"
./usr/lib/jvm/jdk-8-oracle-arm32-vfp-hflt/lib/tools.jar
"Severity","ThreadID","Date","Time","Application","Message"
"INFO","main","05/30/2018","12:56:28","OSGi","add bundle:/root/.CommandBox/server/484FEEDEE58E3D1C8571FF0E5645633D-pol/lucee-5.2.7.62/WEB-INF/lucee-web/context/lucee-admin.lar"
"INFO","main","05/30/2018","12:56:29","OSGi","add bundle:/root/.CommandBox/server/484FEEDEE58E3D1C8571FF0E5645633D-pols/lucee-5.2.7.62/WEB-INF/lucee-web/context/lucee-doc.lar"
"INFO","main","05/30/2018","12:56:29","OSGi","add bundle:/root/.CommandBox/server/484FEEDEE58E3D1C8571FF0E5645633D-pol/lucee-5.2.7.62/WEB-INF/lucee-web/context/lucee-context.lar"
"INFO","XNIO-1 task-4","05/30/2018","12:56:41","Instrumentation","found [lucee.runtime.instrumentation.ExternalAgent] in ClassLoader [sun.misc.Launcher$AppClassLoader@1909752]"
"INFO","XNIO-1 task-4","05/30/2018","12:56:41","Instrumentation","ExternalAgent does not contain a Instrumentation instance"
"INFO","XNIO-1 task-4","05/30/2018","12:56:41","Instrumentation","found [lucee.runtime.instrumentation.ExternalAgent] in ClassLoader [sun.misc.Launcher$AppClassLoader@1909752]"
"INFO","XNIO-1 task-4","05/30/2018","12:56:41","Instrumentation","ExternalAgent does not contain a Instrumentation instance"
"INFO","XNIO-1 task-4","05/30/2018","12:56:41","Instrumentation","found [lucee.runtime.instrumentation.ExternalAgent] in ClassLoader [sun.misc.Launcher$AppClassLoader@1909752]"
"INFO","XNIO-1 task-4","05/30/2018","12:56:41","Instrumentation","ExternalAgent does not contain a Instrumentation instance"
"INFO","XNIO-1 task-4","05/30/2018","12:56:41","Instrumentation","looking for tools.jar"
"INFO","XNIO-1 task-4","05/30/2018","12:56:41","Instrumentation","couldn't find tools.jar at: /usr/lib/jvm/jdk-8-oracle-arm32-vfp-hflt/jre/lib/tools.jar"
"INFO","XNIO-1 task-4","05/30/2018","12:56:41","Instrumentation","tools.jar used:/usr/lib/jvm/jdk-8-oracle-arm32-vfp-hflt/lib/tools.jar"
"INFO","XNIO-1 task-4","05/30/2018","12:56:41","Instrumentation","loaded VirtualMachine class:com.sun.tools.attach.VirtualMachine"
"INFO","XNIO-1 task-4","05/30/2018","12:56:41","Instrumentation","try to load agent (path:/root/.CommandBox/server/484FEEDEE58E3D1C8571FF0E5645633D-pollmodbus/lucee-5.2.7.62/WEB-INF/lucee-server/context/lucee-external-agent.jar)"
"INFO","XNIO-1 task-4","05/30/2018","12:56:41","Instrumentation","pid:1412"
"INFO","XNIO-1 task-4","05/30/2018","12:56:41","Instrumentation","found [lucee.runtime.instrumentation.ExternalAgent] in ClassLoader [sun.misc.Launcher$AppClassLoader@1909752]"
"INFO","XNIO-1 task-4","05/30/2018","12:56:41","Instrumentation","ExternalAgent does contain a Instrumentation instance"
I copied it over cp /usr/lib/jvm/jdk-8-oracle-arm32-vfp-hflt/lib/tools.jar /usr/lib/jvm/jdk-8-oracle-arm32-vfp-hflt/jre/lib/
And that seemed to correct it, but not sure if thats the right thing to do?