Dashboard > LAMS Documents (Japanese) > ... > System Administration > Setup Java Service Wrapper for LAMS
  LAMS Documents (Japanese) Log In | Sign Up   View a printable version of the current page.  
  Setup Java Service Wrapper for LAMS
Added by Jeremy Page , last edited by Jeremy Page on Feb 06, 2008
Labels: 
(None)

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

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

Powered by a free Atlassian Confluence Open Source Project License granted to Learning Activity Management System (LAMS). Evaluate Confluence today.
Powered by Atlassian Confluence 2.7.3, the Enterprise Wiki. Bug/feature request - Atlassian news - Contact administrators