This wee tutorial explains how to run OFBiz as a Windows Service. It is based on exactly our experience - many other variations probably work but we have never tried them. The same approach could probably be used to run it as a Linux System V service, but I have not tried this (we use a different technique for this).
There is an alternative to this : http://docs.ofbiz.org/pages/editpage.action?pageId=1379
Prerequisites
- Comfortable with installing and running OFBiz weekly build at the Windows Command Line
- JDK 1.5, with JAVA_HOME environment variable set correctly
- MySQL 5.0 installed as a Windows Service called 'MySQL' (we recomend at least 5.0.24 as below this there are some nasty instabilities in MySQL)
- Read this tutorial http://wrapper.tanukisoftware.org/doc/english/integrate.html
...