Access to add and change pages is restricted. See: https://cwiki.apache.org/confluence/display/OFBIZ/Wiki+access

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Under framework/appserver there is 2 folders, one for Tomcat 5.5 (named tomcat55, validated with Tomcat 5.5.26) and another for Tomcat 6 (named tomcat6, validated wit Tomcat 6.0.16). Now the Tomcat server(s) use the Ofbiz SSL keystore. This How to has been given by Ludovic Maître at https://issues.apache.org/jira/browse/OFBIZ-1738 and has not been tested yet by the core team. Please refer to the Jira issue in case of problems.

Get OfBiz and Tomcat

mkdir ofbiz-tomcat
cd ofbiz-tomcat
svn co http://svn.apache.org/repos/asf/ofbiz/trunk ofbiz
wget http://apache.crihan.fr/dist/tomcat/tomcat-6/v6.0.16/bin/apache-tomcat-6.0.16.tar.gz
tar -zxvf apache-tomcat-6.0.16.tar.gz

Compile OfBiz

cd ofbiz
ant clean && ant

Generate Tomcat templates

Tomcat 5.5

java -jar ofbiz.jar -setup tomcat55

Tomcat 6

java -jar ofbiz.jar -setup tomcat6

Install Tomcat templates in server configuration folder

Tomcat 5

cd ../apache-tomcat-5.5.26
cp ../ofbiz/setup/tomcat55/catalina.sh ../ofbiz/setup/tomcat55/catalina.bat bin/
cp ../ofbiz/setup/tomcat55/catalina.properties ../ofbiz/setup/tomcat55/server.xml conf/

Tomcat 6

cd ../apache-tomcat-6.0.16
cp ../ofbiz/setup/tomcat6/catalina.sh ../ofbiz/setup/tomcat6/catalina.bat bin/
cp ../ofbiz/setup/tomcat6/catalina.properties ../ofbiz/setup/tomcat6/server.xml conf/

Run Tomcat

./bin/catalina.sh run

Run a cluster of Tomcats

As usual for a Tomcat (and OfBiz) cluster.

  • No labels