We cannot get startMQMonitor.sh to start. Seeing the following message.
./startMQMonitor.sh ./MQMonitor.jar:./lib/Agent.jar:./lib/jline-0.9.94.jar:./lib/com.ibm.mq.pcf.jar:./lib/com.ibm.mq.jar:./lib/connector.jar:./lib/IntegrationAPI.jar:./lib/com.ibm.mqjms.jar:./lib/dhbcore.jar:./lib/j2ee.jar:./lib/com.ibm.mq.headers.jar:./lib/com.ibm.mq.commonservices.jar:./lib/com.ibm.mq.jmqi.jar:./lib/ibmjsseprovider2.jar:./lib/jetty-io.jar:./lib/jetty-util.jar:./lib/websocket-api.jar:./lib/websocket-client.jar:./lib/websocket-common.jar:./lib/jms.jar
Error: Could not find or load main class com.wily.powerpack.websphereMQ.agent.MQMonitor.MQMonitor
It appears that all the paths statement to the file locations were correct but we are not able to call the class path without the error.
Because the script would not work correctly, we created a new script file and added this line below. This was more generic but does call all the same files from original script.
java -cp ./lib/*:MQMonitor.jar -Dcom.wily.introscope.agentProfile=./properties/IntroscopeAgent.profile -DProperties=./properties/ com.wily.powerpack.websphereMQ.agent.MQMonitor.MQMonitor
If using this line, then make sure that the paths in this script are correct for your configuration.