Configure applicare agent in AWS Elastic Beanstalk environment

Community post

Shared by the Applicare community. It has not been re-checked against Applicare 10.0, so confirm the steps in your environment or contact Support.

  1. Create a new AWS instance, download the agent.jar file from applicare server and extract it in Applicare home directory, for example: consider /Applicare directory(create if not exists).

  2. Give read and write access for /Applicare directory.

  3. Create AWS image for this instance.

  4. Put this image's id in your AWS Elastic Beanstalk environment instance's AMI ID and save.

    [Screenshot 1 is not available on this page.]

  5. Go to Software Configuration page's settings page then add below -javaagent and JVM command line arguments -javaagent:/Applicare/applicare-tomcat-aspects.jar=verbosity=0,logfile=false,norestart-intellitrace=false -verbose:gc -noverify -Xloggc:/Applicare/gc/garbage-collection.gc

  6. Make sure the JVM can increase Perm gen to, at least 256MB by adding 256m at Maximum JVM permanent generation size form field.

    [Screenshot 2 is not available on this page.]

  7. Add below JVM arguments in Environment Properties block. arcturus_home=/Applicare AWS_EB_env=true applicare.agent.port=80 applicare.agent.apps=dev_agent(custom)

    [Screenshot 3 is not available on this page.]

  8. Save above configurations.

  9. Deploy the agent war file along with your application(s), by making zip file MyApplication.zip | |-- .ebextensions(optional) |-- applicare_agent.war |-- ROOT.war(your main application)

  10. Finally restart the server(s).

    [Screenshot 4 is not available on this page.]

Join the discussion

Comments, voting and following are kept by Zendesk and need a Help Center account. This button opens the original discussion there.

Opens Zendesk · needs internet and sign-in

Still stuck? Contact support