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

tomcat::instance setenv not applied in centos7? #144

Open
lvarin opened this issue Jul 22, 2015 · 0 comments
Open

tomcat::instance setenv not applied in centos7? #144

lvarin opened this issue Jul 22, 2015 · 0 comments

Comments

@lvarin
Copy link

lvarin commented Jul 22, 2015

Hello,

We are moving from centos6 to 7 and our application fails to load because the variables we set in setenv do not get to tomcat. Here it is the instance declaration:

 tomcat::instance {"jira":
   ensure    => running,
   http_port => 8080,
   ajp_port  => 8010,
   tomcatAuthentication => 'false',
        setenv      => [
        'TZ=`date +%Z`',
        "JAVA_XMX=\"${jira::java_xmx}\"",
        "JAVA_XX_MAXPERMSIZE=\"${jira::java_xx_maxpermsize}\"",
        "ADD_JAVA_OPTS=\"-Xms${jira::java_xms} -Dmail.mime.decodeparameters=true -Dorg.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=true -Duser.timezone=${jira::tz} -Datlassian.plugins.enable.wait=300 -Dfile.encoding=utf-8 -Doracle.net.tns_admin=/etc/ -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=9999 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Djava.rmi.server.hostname=127.0.0.1\"",
        'PATH="/usr/local/bin:$PATH"',
    ],  
 #  packetSize => "${jira::packetSize}",
 }

Do you know what are we doing wrong?

Cheers

@pmauduit pmauduit changed the title tomcat::instance setenv not applied in cnetos7? tomcat::instance setenv not applied in centos7? Jul 22, 2015
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