search cancel

Unable to connect CloudFoundry application to CA APM


Article ID: 105985


Updated On:


CA Application Performance Management Agent (APM / Wily / Introscope) INTROSCOPE


Deploy a java application on cloud foundry (see documentation )
but when the application starts , it cannot connect to the Enterprise Manager . 

From the Agent logs file (in CloudFoundry container), note the following error :
   ...[WARN] [IntroscopeAgent.ConnectionThread] Failed to connect to the Introscope Enterprise Manager   at <my Url Hidden>:80, 
   (Connection refused (Connection refused)).:80, (Connection refused (Connection refused)).


from the documentation , there is no way to configure the port connection with the Enterprise Manager


APM 10.5.x


The following command is a bit different than the one on the docops link. 
Run the following command :

Create the Introscope Service 
Create the user-provided service that is named introscope. 

Follow these steps: 
Provide the host name and port for the Enterprise Manager. 
The Introscope agent requires these values to connect to the Enterprise Manager. 

At a command prompt, run this command: 
$ cf cups introscope -p "host-name,port" 
When prompted, type the Enterprise Manager host name, and press Enter. 
When prompted, provide the port, and press Enter. 


Add the right port number to the Url -DagentManager.url.1=http://<hidden-url>:<rightPort>
( from file