tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Schneider <cschneiderpub...@gmail.com>
Subject Using the bin/daemon.sh script on ubuntu.
Date Tue, 30 Jul 2013 09:58:54 GMT
Hi,
could someone point me to a good source how to use that (with ubuntu and
Tomcat 7)?

The internet is full of selfmade /etc/init.d/ scripts, but mostly it isn't
used it as a real service (jsvc). Keyword: bin/*daemon.sh*
Even the books "Apache Tomcat 7" and "Tomcat 7 Essentials" are not talking
about it.

On the docs I've found this [0]:

cd $CATALINA_HOME/bin
tar xvfz commons-daemon-native.tar.gz
cd commons-daemon-1.0.x-native-src/unix
./configure
make
cp jsvc ../..
cd ../..

But what about:
* set env. variables (maybe: catalina.sh?, /etc/profiles?)
* adjust the heap size
* logging to the right directory (like: /var/log/tomcat/...)
* specifying the User: "tomcat"


Best Regards,
Christian.


[0]: http://tomcat.apache.org/tomcat-7.0-doc/setup.html#Unix_daemon

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message