Problems running sample EP agent plug-in on APM IA

Document ID : KB000125573
Last Modified Date : 31/01/2019
Show Technical Document Details
Issue:
We have installed the APM Infrastructure agent on our application server and upon that deployed the EP agent sample plugins but these are failing and we get the following format errors in teh log file

1/28/19 10:40:50 AM GMT [ERROR] [IntroscopeAgent.EPAgent HTTP] [ stderr ] Can't open perl script "C:\apm": No such file or directory

The definition in the bundle.properties has the script defined as follows

introscope.epagent.stateless.EpaSamples.HTTP.command=perl {ApmExtensionHome}\\bin\\httpSvcAvailability.pl -url http://www.yahoo.com
Environment:
APM IA 10.7 Windows
Cause:
The expansion of {ApmExtensionHome} is not able to handle spaces in the path - the APM IA  in this case was installed in "C:\apm ia"
 
Resolution:
The APM IA must be installed in a location that does not contain spaces in the full path - a defect has been raised for this restriction to be addressed

No other workardounds have been identified - enclsong the path in quotes does not help