ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

CF java buildpack does not add agent

book

Article ID: 200493

calendar_today

Updated On:

Products

CA Application Performance Management SaaS

Issue/Introduction

We are running an application in cloudfoundry using the java buildpack version 4.32.

We followed steps at https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/dx-apm-saas/SaaS/implementing-agents/java-agent/install-the-java-agent/deploy-and-monitor-a-java-application-on-cloud-foundry.html

However the application command line does not change and no agent is downloaded.  We are unsure why.

The CF environment accesses internet by proxy only, so we are not sure if that is the problem.  The document does not cover proxy configuration, or mention offline configuration.

Environment

Release : SAAS

Component : APM Agents

Resolution

The command for defining the user-provided service in the document is seems inaccurate for the recent java buildpack. That command may works for the older buildpack.

Here is the correct command to define the service to trigger the buildpack to download the Agent:

cf cups introscope -p "agentManager_url_1, agent_manager_credential"


The buildpack looks for the "agentManager_url_1" or "agentManager_url" keyword. If it finds the keyword, it will download the Agent, otherwise it will not download it.