Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker container cannot be started #63

Open
andreas-bayer-snkeos opened this issue Oct 27, 2023 · 2 comments
Open

Docker container cannot be started #63

andreas-bayer-snkeos opened this issue Oct 27, 2023 · 2 comments
Assignees

Comments

@andreas-bayer-snkeos
Copy link

I tried (several times) to run RVF via sudo docker-compose up -d. Unfortunately the rvf container is not starting correctly. In the log is as a last message (before it restarts):

Exception in thread "main" java.lang.UnsupportedClassVersionError: org/ihtsdo/rvf/App has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0

I already changed the version of mysql as mentioned in #57
Are there any recommendations to get that running?

@pgwilliams
Copy link
Member

Thanks for bringing that to our attention @andreas-bayer-snkeos

@CoderMChu for Snowstorm I just had to up the docker base image in the pom to amazoncorretto:17 to support our switch to Java 17, but I can't find the equivalent in the RVF, perhaps because we've not switched to using the jib plugin.

What do you think?

@leonghui
Copy link

Hi all, I managed to get RVF to run and validate a release with the following changes:

  1. [dockerfile] Rebuild the base image on eclipse-temurin:17-alpine
  2. [compose] Instead of changing the mysql version, enable local infile through the jdbc URL
  3. [compose] On my docker host, I had to limit the number of open files to prevent mysql from crashing (see MySQL 5.7 image failed while attempting to check config docker-library/mysql#873)
  4. [docs] Specify the default spring security credentials in curl commands

If these changes are acceptable, I will be happy to open a PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants