[Bug 1437274] [NEW] /usr/share/tomcat7/bin/setenv.sh

Magosányi Árpád 1437274 at bugs.launchpad.net
Fri Mar 27 11:38:07 UTC 2015


Public bug reported:

I have to modify the -classpath argument for the java running tomcat.
catalina.sh sources /usr/share/tomcat7/bin/setenv.sh in the right
timeslot if it exists. But that is not a config file per FHS. I use the
following workaround in /etc/defaults/tomcat7 for now:

------
# workaround so config change can be found in /etc ...
echo export CLASSPATH="/usr/local/lib/tomcat7/agafua.jar" >/usr/share/tomcat7/bin/setenv.sh
-----

Please include a /usr/share/tomcat7/bin/setenv.sh which reads some configuration file.
For example an empty /etc/tomcat7/environment and
the following content in /usr/share/tomcat7/bin/setenv.sh would help:
-------
source /etc/tomcat7/environment
-------

Thank you.

** Affects: tomcat7 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to tomcat7 in Ubuntu.
https://bugs.launchpad.net/bugs/1437274

Title:
  /usr/share/tomcat7/bin/setenv.sh

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/tomcat7/+bug/1437274/+subscriptions



More information about the Ubuntu-server-bugs mailing list