You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[jboss@38acdbf922aa /]$ export AB_JOLOKIA_AUTH_OPENSHIFT=true
[jboss@38acdbf922aa /]$ export CATALINA_OPTS="${CATALINA_OPTS} $(/deployments/run-java.sh options) -Djava.security.egd=file:/dev/./urandom"
[jboss@38acdbf922aa /]$ echo $CATALINA_OPTS
-javaagent:/opt/agent-bond/agent-bond.jar=jolokia{{host=0.0.0.0,useSslClientAuthentication=true,extraClientCheck=true,protocol=https,caCert=/var/run/secrets/kubernetes.io/serviceaccount/ca.crt,clientPrincipal=cn=system:master-proxy}},jmx_exporter{{9779:/opt/agent-bond/jmx_exporter_config.yml}} -XX:+UseParallelGC -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -XX:MinHeapFreeRatio=20 -XX:MaxHeapFreeRatio=40 -XX:+ExitOnOutOfMemoryError -Djava.security.egd=file:/dev/./urandom
[jboss@38acdbf922aa /]$ /opt/tomcat/bin/catalina.sh run
Using CATALINA_BASE: /opt/tomcat
Using CATALINA_HOME: /opt/tomcat
Using CATALINA_TMPDIR: /opt/tomcat/temp
Using JRE_HOME: /etc/alternatives/jre
Using CLASSPATH: /opt/tomcat/bin/bootstrap.jar:/opt/tomcat/bin/tomcat-juli.jar
Exception in thread "main" java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:386)
at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:401)
Caused by: java.lang.IllegalArgumentException: No property file jolokia{host=0.0.0.0} found
at io.fabric8.bond.agent.AgentConfiguration.extractProperties(AgentConfiguration.java:107)
at io.fabric8.bond.agent.AgentConfiguration.loadProperties(AgentConfiguration.java:68)
at io.fabric8.bond.agent.AgentConfiguration.<init>(AgentConfiguration.java:43)
at io.fabric8.bond.agent.AgentBondDispatcher.premain(AgentBondDispatcher.java:50)
... 6 more
Caused by: java.io.FileNotFoundException: jolokia{host=0.0.0.0} (No such file or directory)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(FileInputStream.java:195)
at java.io.FileInputStream.<init>(FileInputStream.java:138)
at java.io.FileInputStream.<init>(FileInputStream.java:93)
at java.io.FileReader.<init>(FileReader.java:58)
at io.fabric8.bond.agent.AgentConfiguration.extractProperties(AgentConfiguration.java:103)
... 9 more
FATAL ERROR in native method: processing of -javaagent failed
Aborted
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: