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

Bug #1437274 reported by Magosányi Árpád
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tomcat7 (Ubuntu)
New
Undecided
Unassigned

Bug Description

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.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.