Not directly a tomcat question... but since TC runs on java, maybe someone here has some suggestions.  I am running a development/sandbox server on AWS EC2, Linux 2.  Only I and one other person have access to it.  Yesterday I was browsing through some pages on my site when all of a sudden I started getting errors that all of my java classes were compiled with a later version than the JVM.  I recognized the error from past experiences.  My apps are built with Java 11, and TC is apparently now running on Java 8.  I logged into the console, and yes, my EC2 had somehow changed to default to Java8.  I changed it back, and everything is fine.  Except for the 'what happened?' part of it. We were doing an AMI snapshot around that time which may have rebooted the EC2.  But neither of us were doing anything in the area of changing the default jvm.  We are launching live in a couple of days.  So obviously unexplained magic like this is a bit unnerving.

I know it's just speculation.  But I'm just curious if anybody has experienced anything similar to this.  Any ideas why linux might decide to automatically fall back to an older version of java?

Thx


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to