cuba-platform / documentation

CUBA Platform Documentation
https://www.cuba-platform.com
Creative Commons Attribution 4.0 International
26 stars 45 forks source link

tomcat9 sometimes can't find JAVA_HOME #659

Open alexbudarov opened 4 years ago

alexbudarov commented 4 years ago

Environment

Description of the bug or enhancement

We have met case with openjdk8 and tomcat9 packages on Ubuntu. tomcat9 could not find java installation and prompted to set JAVA_HOME environment variable.

Actually one has to modify /etc/default/tomcat9 file and set JAVA_HOME there. Because global environment variables set in /etc/environment are ignored by tomcat9 service for some reason.

Need to reflect this in the documentation.