View source | Discuss this page | Page history | Printable version   

ERP 2.50:Stack configuration

Contents

Introduction

This article explains in detail how to configure the whole stack required for a Openbravo ERP production environment. This is the configuration used in the Openbravo ERP Appliances, which includes the following software:


General overview

Apache Ant

Sun JDK

Tomcat

--- bin/catalina.sh	2008-09-02 09:27:18.000000000 +0200
+++ bin/catalina.sh	2008-09-02 09:27:10.000000000 +0200
@@ -80,6 +80,9 @@
 Darwin*) darwin=true;;
 esac
 
+# Friendly permissions for openbravo
+umask 002
+
 # resolve links - $0 may be a softlink
 PRG="$0"
<!-- <WatchedResource>WEB-INF/web.xml</WatchedResource> -->
SHUTDOWN_PORT=$(netstat -vtnl|grep $csport|wc -l)
  while [ $SHUTDOWN_PORT -eq 0 ]; do
    sleep 0.5
    SHUTDOWN_PORT=$(netstat -vtnl|grep $csport|wc -l)
done

Tomcat Native

mod_jk

worker.list=ajp13
worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13
worker.ajp13.lbfactor=1
JkWorkersFile /etc/httpd/conf/jk-workers.properties
JkShmFile /etc/httpd/logs/jk-runtime-status
JkLogFile /var/log/httpd/mod_jk.log
JkLogLevel info
JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
JkRequestLogFormat "%w %V %T"
jkAutoAlias /var/lib/tomcat/webapps/
jkMount /openbravo* ajp13
jkMount /manager* ajp13
jkMount /OpenbravoDiagnostics* ajp13

Apache httpd

AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css application/x-javascript text/javascript

PostgreSQL

Openbravo ERP sources

echo umask 002 >> /home/openbravo/.bashrc

Retrieved from "http://wiki.openbravo.com/wiki/ERP_2.50:Stack_configuration"

This page has been accessed 6,414 times. This page was last modified on 14 June 2011, at 11:04. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.