Steps to setup the Java Service Wrapper for LAMS (Linux)
http://wrapper.tanukisoftware.org/doc/english/introduction.html
- Download by going clicking above link, and selecting 'Bianries' under the 'Download' section in the frame on the left
- Unpack
- Copy bin/wrapper to $JBOSS_HOME/bin/
- Copy src/bin/sh.script.in to $JBOSS_HOME/bin/lams2
- Copy lib/libwrapper.so $JBOSS_HOME/lib/
- Copy lib/wrapper.jar $JBOSS_HOME/lib/
- Create directory $JBOSS_HOME/conf/
- Copy src/conf/wrapper.conf.in $JBOSS_HOME/conf/wrapper.conf
- Create directory $JBOSS_HOME/logs/
- Edit $JBOSS_HOME/bin/lams2
- Edit $JBOSS_HOME/bin/run.sh
From:
To:
- Edit $JBOSS_HOME/conf/wrapper.conf
 |
The default log settings in wrapper.conf set console output to a wrapper.log that has no limit. This captures all of LAMS' console output, and can potentially get very large. Since LAMS' console output is captured in jboss logs as well as the console, you may wish to disable the wrapper's log altogether, or at least configure a maximum file size.
To disable it, set wrapper.logfile.loglevel=NONE (see the man page for this setting)
|
- Link /etc/init.d/lams2 to $JBOSS_HOME/bin/lams2