Menu
AWS Elastic Beanstalk
Developer Guide (API Version 2010-12-01)

Configuring Java Containers Using AWS Toolkit for Eclipse

The Container/JVM Options panel lets you fine-tune the behavior of the Java Virtual Machine on your Amazon EC2 instances and enable or disable Amazon S3 log rotation. You can use the AWS Toolkit for Eclipse to configure your container information. For more information on the options available for Tomcat environments, see Configuring Your Tomcat Environment in the AWS Management Console

Note

You can modify your configuration settings with zero downtime by swapping the CNAME for your environments. For more information, see Blue/Green Deployments with AWS Elastic Beanstalk.

To access the Container/JVM Options panel for your Elastic Beanstalk application

  1. If Eclipse isn't displaying the AWS Explorer view, in the menu click Window > Show View > AWS Explorer. Expand the Elastic Beanstalk node and your application node.

  2. In the AWS Explorer, double-click your Elastic Beanstalk environment.

  3. At the bottom of the pane, click the Configuration tab.

  4. Under Container, you can configure container options.

Remote Debugging

To test your application remotely, you can run your application in debug mode.

To enable remote debugging

  1. Select Enable remote debugging.

  2. For Remote debugging port, specify the port number to use for remote debugging.

    The Additional Tomcat JVM command line options setting is filled automatically.

To start remote debugging

  1. In the AWS Toolkit for Eclipse menu, click Window > Show View > Other.

  2. Expand the Server folder, and then click Servers. Click OK.

  3. In the Servers pane, right-click the server your application is running on, and then click Restart in Debug.

On this page: