Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#28986 - [tomcat7] TOMCAT_JAVA_HOME variable in /etc/conf.d/tomcat7 doesn't match installed Java version
Attached to Project:
Arch Linux
Opened by Psycho McStabStab (Leave_This_Place) - Sunday, 18 March 2012, 03:00 GMT
Last edited by Guillaume ALAUX (galaux) - Saturday, 24 March 2012, 22:03 GMT
Opened by Psycho McStabStab (Leave_This_Place) - Sunday, 18 March 2012, 03:00 GMT
Last edited by Guillaume ALAUX (galaux) - Saturday, 24 March 2012, 22:03 GMT
|
DetailsDescription:
On starting Tomcat, the rc.d/tomcat7 script checks /etc/conf.d/tomcat7 for variables, including TOMCAT_JAVA_HOME. It chose Java 7 of the installed JDK/JRE, instead of checking which version of JDK/JRE was installed and JAVA_HOME is set to. In my case, TOMCAT_JAVA_HOME was set to /usr/lib/jvm/java-7-openjdk instead of the installed /usr/lib/jvm/java-6-openjdk. Additional info: tomcat7 7.0.25-1 /etc/conf.d/tomcat7 |
This task depends upon
tomcat7
My mistake! the RELEASE_NOTES packaged in the stock release of Tomcat7 (which are not included with the repo version of Tomcat7) state that tomcat7 requires the NEWEST version of JRE/JDK. It took forever finding this, which could have been avoided had the RELEASE_NOTES been included in the /usr/share/tomcat7/ directory in the first place.
I introduced a /etc/profile.d/jdk.sh file in jdk7-openjdk that could have been useful in such case but unfortunately we have not added it in openjdk6 for compatibility reasons.
> My mistake! the RELEASE_NOTES ...
Then I close this case.