Hi Tim/all,
I am currently working on a similar topic. I am getting the same error as above,
10/08/19 01:43:40 PM EDT [ERROR] [EPAgent] EPAgent failed to start because: Class 'com.ca.caSARMBridge' not found for plugin SARM.10/08/19 01:43:40 PM EDT [ERROR] [EPAgent] EPAgent failed to start because: Class 'com.ca.caSARMBridge' not found for plugin SARM.com.wily.introscope.epagent.IllegalConfigurationException: Class 'com.ca.caSARMBridge' not found for plugin SARM. at com.wily.introscope.epagent.ClassPlugin.<init>(ClassPlugin.java:58) at com.wily.introscope.epagent.EPAConfig.parseConfig(EPAConfig.java:222) at com.wily.introscope.epagent.EPAConfig.parseConfigFile(EPAConfig.java:150) at com.wily.introscope.epagent.EPAgent.start(EPAgent.java:260) at com.wily.introscope.epagent.EPAgent.main(EPAgent.java:553) at com.wily.introscope.api.IntroscopeEPAgent.main(IntroscopeEPAgent.java:55) 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 org.tanukisoftware.wrapper.WrapperJarApp.run(WrapperJarApp.java:394) at java.lang.Thread.run(Thread.java:748)
I have added the
caSARMBridge.jar to the classpath of your EPAgent,
set EpaCmd=" -Xms${MIN_HEAP_VAL_IN_MB}m -Xmx${MAX_HEAP_VAL_IN_MB}m -cp lib/EPAgent.jar:lib/IntroscopeServices.jar:lib/Agent.jar:epaplugins/sarm/lib/caSARMBridge.jar:epaplugins/epaMQMonitor/epaMQMonitor.jar"
The caSARMBridge.prop file content,
bridge.min.byte.process.size=1000
bridge.check.match.instance.regex=false
bridge.last.run.time=1257188454191
bridge.ignore.last.run.time=true
siebel.sarm.xml.commandline.options=-a details
siebel.sarm.directory=remotelocationtosiebellogdirectory
bridge.cleanup.purge.days=1
bridge.purge.sarm.dir=false
bridge.working.dir=SARM_temp
#dictionary.file.list=caSARMBridge.dictionary
dictionary.file.list=D\:\\CA\\epagent\\epaplugins\\sarm\\caSARMBridge.dictionary
bridge.match.user.instances.regex=.*
siebel.sarm.xml.commandline=D\:\\CA\\epagent\epaplugins\\sarm\\copySarmanalyzer.exe -q
DEBUG=false
and have added in stateless property,
introscope.epagent.plugins.stateless.names=SARM
introscope.epagent.stateless.SARM.class=com.ca.caSARMBridge
introscope.epagent.stateless.SARM.delayInSeconds=300
Also,
D:\CA\epagent\epaplugins\sarm\lib\caSARMBridge.jar
D:\CA\epagent\epaplugins\sarm\caSARMBridge.dictionary
D:\CA\epagent\epaplugins\sarm\caSARMBridge.properties
D:\CA\epagent\epaplugins\sarm\copySarmanalyzer
Please, let me know if I am missing anything here!
Thank you,
Surya
Original Message:
Sent: 12-02-2016 02:21 PM
From: Tim McGaughey
Subject: Re: CAAPM and EPagent for XML file Monitor
The instructions definitely leave a few things out, especially if you do not work with EPAgent regularly.
Hemant-CTS, your diagram is very good. You have the right layout.
nayak1985, here are some of the steps that are not clear:
1. You need to add the caSARMBridge.jar to the classpath of your EPAgent. If you are starting the agent using the EPACtrl script, you'll need to the path to the .jar file to the "EpaCmd" line. Example:
java <there's stuff here> -cp lib/EPAgent.jar:lib/IntroscopeServices.jar:lib/Agent.jar:epaplugins/sarm/lib/caSARMBridge.jar:epaplugins/epaMQMonitor/epaMQMonitor.jar
2. The multiple executions (introscope.epagent.plugins.stateless.names=SARM,SARM2) are only of interest if you have content coming from multiple properties files. This could be the case if you have multiple shares.
See the diagram from HK:
To start, only one plugin execution is necessary, and it will read from caSARMBridge.properties by default.
You therefore only need the following lines in IntroscopeEPAgent.properties:
introscope.epagent.plugins.stateless.names=SARM
introscope.epagent.stateless.SARM.class=com.ca.caSARMBridge
introscope.epagent.stateless.SARM.delayInSeconds=300
That should at least get the plugin executing, which will give you a better idea of which things you may need to change in the caSARMBridge.properties file.
Regards,
Tim