Setup Java Service Wrapper for LAMS

Steps to setup the Java Service Wrapper for LAMS (Linux)

The community Tanuki software wrapper is only for 32 bits operating system. We recommend you use JAWSW instead

http://wrapper.tanukisoftware.org/doc/english/introduction.html

  1. Download by going clicking above link, and selecting 'Bianries' under the 'Download' section in the frame on the left
  2. Unpack
  3. Copy bin/wrapper to $JBOSS_HOME/bin/
  4. Copy src/bin/sh.script.in to $JBOSS_HOME/bin/lams2
  5. Copy lib/libwrapper.so $JBOSS_HOME/lib/
  6. Copy lib/wrapper.jar $JBOSS_HOME/lib/
  7. Create directory $JBOSS_HOME/conf/
  8. Copy src/conf/wrapper.conf.in $JBOSS_HOME/conf/wrapper.conf
  9. Create directory $JBOSS_HOME/logs/
  10. Edit $JBOSS_HOME/bin/lams2
  11. Edit $JBOSS_HOME/bin/run.sh
    From:

    To:

  12. 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)

  13. Link /etc/init.d/lams2 to $JBOSS_HOME/bin/lams2
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.