-
Notifications
You must be signed in to change notification settings - Fork 115
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
CLASSPATH broken on RHEL6 #143
Comments
It might be a regression, I just tested on centos7 / tomcat7, and it works fine ; step to reproduce:
include tomcat
tomcat::instance {'test':
ensure => present,
http_port => '8080',
}
Returns:
|
I can reproduce the bug with centos 6 / tomcat 6 / openjdk7 (same workflow as in previous comment):
|
OK - so the problem is that the /etc/tomcat6/catalina.properties file is not getting invoked for the CATALINA_BASE instance. After copying /etc/tomcat6/catalina.properties to $CATALINA_BASE/conf/catalina.properties, the libraries are getting loaded correctly, and common.loader includes $CATALINA_BASE: common.loader: ${catalina.base}/lib,${catalina.base}/lib/.jar,${catalina.home}/lib,${catalina.home}/lib/.jar How should we account for this in the module? Drop a catalina.properties file in $CATALINA_BASE RHEL6 is being used? Or, should this be handled outside of the module? |
$CLASSPATH is omitting $CATALINA_BASE/lib on RHEL(6). JARs that get put in $CATALINA_BASE/lib are not loaded, only JARs in $CATALINA_HOME/lib.
The text was updated successfully, but these errors were encountered: