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#36417 - [tomcat7] only first parameter from CATALINA_OPTS is used
Attached to Project:
Arch Linux
Opened by Martin Minka (k2s) - Sunday, 04 August 2013, 19:14 GMT
Last edited by Dave Reisner (falconindy) - Monday, 05 August 2013, 13:19 GMT
Opened by Martin Minka (k2s) - Sunday, 04 August 2013, 19:14 GMT
Last edited by Dave Reisner (falconindy) - Monday, 05 August 2013, 13:19 GMT
|
DetailsDescription:
Changing Environment=CATALINA_OPTS= in tomcat7.service seams to apply only first parameter to tomcat server. I tried without quotes and also with single/double quotes. Additional info: * tomcat7: 7.0.42-1 Steps to reproduce: 1. I copied provided tomcat7.service file to /etc/systemd/system 2. then changed line: Environment=CATALINA_OPTS=-Xms1024m -Xmx2048m 3. start tomcat 4. ps ax | grep Xmx2048m |
This task depends upon
Closed by Dave Reisner (falconindy)
Monday, 05 August 2013, 13:19 GMT
Reason for closing: Works for me
Monday, 05 August 2013, 13:19 GMT
Reason for closing: Works for me
2b systemctl --system daemon-reload
Environment=CATALINA_OPTS="-Xms1024m -Xmx2048m"
As I mentioned in my ticket: I tried without quotes and also with single/double quotes.
No one of them works, only first parameter is added.
It works if I add this parameters after $CATALINA_OPTS in ExecStart, but $CATALINA_OPTS is not substituted correctly by systemd.