Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6834583
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T23:07:47+00:00 2026-05-26T23:07:47+00:00

In my application I need the tomcat to be powered by SunJDK. But the

  • 0

In my application I need the tomcat to be powered by SunJDK. But the default AWS EBS AMI comes with OpenJDK. So I wanted to change this to Sun JDK. But this simplistic task is turning out to be not-so-simple. Here is what I did –

  • On the EC2 instance that is powering my EBS Environment I installed Sun JDK by downloading the rom manually and then running rpm -i <jdk-rpm-file.rpm> .
  • Then I updated the java alternatives as listed here.
  • Next I restarted the app server to make sure that the feature that requires Sun JDK is working. It works.
  • Next I create an image by right clicking on the EC2 instance and selecting “Create Image (EBS AMI)”
  • I wait for the AMI to be created. Then I get the AMI ID.
  • Set the “Custom AMI ID” in configuration of the test environment to be the newly created AMI.
  • Apply change. This triggers update of environment.
  • Now comes the problem. As soon as it updates the environment it creates a new EC2 instance to connect to this environment.
  • Then after “adding” the instance it starts throwing this warning messages – "Failed to retrieve status of instance 'i-eb800c88' 2 consecutive time(s). Elastic Beanstalk will attempt to retrieve status up to 10 consecutive times before terminating the instance."
  • This continues for 10 tries and then it kills the instance and adds another instance and this continues for a long time.

I am not sure where am I going wrong. Any pointers appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T23:07:47+00:00Added an answer on May 26, 2026 at 11:07 pm

    Recently I got a response from Saad working at AWS Team & it solved my problem. Here is his answer –

    You will need to launch the AMI outside of Elastic Beanstalk (directly from the EC2 console), log into it and do your customizations then burn the AMI. Otherwise, the Host Manager might get corrupted and your instance will fail to come up.

    The following documentation highlights the steps needed to create an AMI compatible with Elastic Beanstalk: http://docs.amazonwebservices.com/elasticbeanstalk/latest/dg/index.html?using-features.customami.html.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an application I need to run on my local tomcat server, but
I need to release some resources in my web application (Tomcat 7). I try
I have a web application running on Tomcat. There are several calculations that need
I need to host an ADF application in a Tomcat Server. Is it possible
I am running a Tomcat application, and I need to display some time values.
We're running a J2EE Application inside a Tomcat WebServer on AIX. We need to
I get this error on my application when i try to run in Tomcat,
My main web application is on apache, but sometimes I need to import some
I have a small application for which I need to implement tomcat authentication. After
I have several files comprising a tomcat web application that I need to import

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.