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

parts of the tomcat config files from /etc/default ignored ? #97

Open
pmauduit opened this issue Mar 21, 2022 · 1 comment
Open

parts of the tomcat config files from /etc/default ignored ? #97

pmauduit opened this issue Mar 21, 2022 · 1 comment

Comments

@pmauduit
Copy link
Member

I tried to configure the tomcat-georchestra so that it uses the openjdk11 installed, but modifying the /etc/default/tomcat-georchestra configuration file did not make it.

It seems that the way to change the jre being used by the service is to edit /etc/systemd/system/multi-user.target.wants/[email protected].

So we might remove the JAVA_HOME env varible from the /etc/default/tomcat* files, as spawning the JRE is systemd's job actually, and can't be configured there.

@pmauduit pmauduit changed the title tomcat config files from /etc/default ignored ? parts of the tomcat config files from /etc/default ignored ? Mar 21, 2022
@pmauduit
Copy link
Member Author

the systemd service file is calling startup.sh from tomcat catalina home. So we can still select the JRE via the /etc/default/tomcat* env variable, but it is unclear to me which one (between JAVA_HOME & JRE_HOME) does it.

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

1 participant