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
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to