So we have a production EC2 instance running Amazon Linux 2013.03 and apache Tomcat 7. Sadly due to the configuration of the web application in question, the server cannot be updated except for specific packages to keep security concerns down. There is a plan to completely rebuild the application but we need the current system to keep working till that can be done.

That said, after November 30th 2022 the instance mentioned shutdown and could not be started up again. It was a C1.Medium instance size and running in the US-West-2b availability zone, the error given was that AWS did not have the capacity to start the instance type specified. So I started a new instance as a C3.Large from an AMI that had recently been used (and worked) but this time, the application seemed to stop working immediately no matter how I started it up. It behaved as though updates had been applied although there is no reason for them to occur. The CloudWatch log pulled from the instance showed that something had been updated but we don’t know how or why, this occurs no matter what AMI we spin up going back for years. Currently I am trying to get the application to either work despite the updates, even if this requires updating code or components.
I am not a developer, so I am not sure how to do that. The application is built on Java 7. I have been able to confirm that Tomcat itself is working fine, it seems to be something within the application.
If you are a Java and/or Tomcat expert, I could definitely use assistance on this ASAP. I have plenty more details but for security reasons and privacy of data within the application I cannot reveal too much here.

@Amazon_Web_Services_AWS

6 Spice ups

Anything in the event logs? Any backups? EBS snapshots?

Sadly nothing in the event logs seem to indicate the issue. When we go to sign in to the application you get 3 notifications at the top of the screen, the first says “Login Failed” then the HTML of a page that says service will be restored soon, then the last one says “[Ljava.lang.StackTraceElement;@a7”. If you try again WITHOUT refreshing the page, the "a7 at the end changes to “a8” then “a9” and so on. If you refresh the page, it goes back to “a7”. Also, it does not matter what you type into the login field, it will fail with the same error every time.

As I mentioned, we have several years worth of Snapshots and AMI images of various states of the instance. No matter what AMI or snapshot I load, the issue appears immediately after coming online. This one is throwing me for a hell of a loop. And the developer of the application refused to help because of a legal fallout with the company. I would even be happy to screenshare and walk someone thought this one to see if they have any fresh ideas, I have tried all I can think of at this point.

Java 7 is no longer publicly supported. The current supported versions is Java 15-19.

In layman terms, some of the scripts are not compatible. Else there may also be functions and/or features that are now blocked or stopped.

The AWS AMI should be a much newer OS version as well…

Sadly, I think you have delayed the upgrade for way past too long…

If you can you may be able to forcefully remove the existing instance of Java and if you can track it down install a version of Java 7 on your instance. Here’s a link to Oracles archive. Java Archive Downloads - Java SE 7 Seriously update that app as soon as you can. If it would be easier you may also be able to find someone like myself who can update the existing app to be compatible with a newer version of Java in the interim.

@randyfreiermuth2