WLSAgent: java error
Posted: Wed Jun 29, 2016 9:48 am
Hello.
I have installed WLSAgent on a WebLogic Server, following the steps listed in "https://assets.nagios.com/downloads/nag ... ios-XI.pdf"
Agent Version:
wlsagent-r185.tar.gz
Linux Version:
Red Hat Enterprise Linux Server release 6.7 (Santiago)
Java Version:
1.7.0_51
When I execute the agent, it outputs the following error:
"java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Long|"
Example:
./wlsagent.sh 'hostname=localhost&port=7001&username=weblogic&password=welcome&jvm=UsedMemory,90,95'
Does anyone have any idea to solve this error? Thanks in advance.
I have installed WLSAgent on a WebLogic Server, following the steps listed in "https://assets.nagios.com/downloads/nag ... ios-XI.pdf"
Agent Version:
wlsagent-r185.tar.gz
Linux Version:
Red Hat Enterprise Linux Server release 6.7 (Santiago)
Java Version:
1.7.0_51
When I execute the agent, it outputs the following error:
"java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Long|"
Example:
./wlsagent.sh 'hostname=localhost&port=7001&username=weblogic&password=welcome&jvm=UsedMemory,90,95'
Does anyone have any idea to solve this error? Thanks in advance.