AnsweredAssumed Answered

Stateful plugin not getting started in EPAgent on Windows Platform

Question asked by Balram.Deswal on Jul 7, 2015
Latest reply on Jun 20, 2017 by Hiko_Davis

Hi Team,


I have created a jar file Test.jar, in which main class is TestPlugin (in which main method is defined). This class is in package com.gic.wily.monitoring. Then I added this jar file in epagent/lib folder. After that I configured a stateful plugin in file in the following manner:





Now when I run the EPAgent, it gives the following error in the log file:


7/06/15 05:47:03 PM PDT [ERROR] [EPAgent] EPAgent failed to start because: Class 'com.gic.wily.monitoring.TestPlugin' not found for plugin DemoPlugin.

com.wily.introscope.epagent.IllegalConfigurationException: Class 'com.gic.wily.monitoring.TestPlugin' not found for plugin DemoPlugin.

  at com.wily.introscope.epagent.ClassPlugin.<init>(

  at com.wily.introscope.epagent.EPAConfig.parseConfig(

  at com.wily.introscope.epagent.EPAConfig.parseConfigFile(

  at com.wily.introscope.epagent.EPAgent.start(

  at com.wily.introscope.epagent.EPAgent.main(

  at com.wily.introscope.api.IntroscopeEPAgent.main(


When I configure this plugin on EPAgent on unix platform. It is getting started successfully. The only additional step I perform there is to define Test.jar in file in epagent/bin folder like this:

EpaCmd="java -Xms${MIN_HEAP_VAL_IN_MB}m -Xmx${MAX_HEAP_VAL_IN_MB}m -cp lib/EPAgent.jar:lib/Test.jar:lib/IntroscopeServices.jar:lib/Agent.jar:epaplugins/epaMQMonitor/epaMQMonitor.jar:epaplugins/epaMQMonitor:epaplugins/epaMQMonitor/lib/ com.wily.introscope.api.IntroscopeEPAgent"


Now I want to know, how I define Test.jar on Windows platform??



Balram Singh Deswal