RUNNING OFBIZ INSIDE JBOSS 4.2.2
RUNNING OFBIZ INSIDE JBOSS 4.2.2INSTALL
As of OFBiz revision 663736 new templates have been added tothe appserver component in OFBiz. This component contains necessarycode to generate configuration files for deploying ofbiz inside variousapplication servers.
The new templates are included in the directory framework/appserver/templates/jboss422.
Included here are several files:
1. deploy.sh - A template to generate a shell script to package and deploy OFBiz.
2. application.xml - A template to generate an applcation.xml file for the deployment of OFBiz web applications.
3. run.conf - A template which modifies the standard jboss run.conf file to include OFBIZ_HOME and memory settings.
To generate the configuration, install OFBiz into a permanentlocation on the same server where JBoss is installed. Make sure therevision is greater than or equal to 663736. This directory will become OFBIZ_HOME.
http://docs.ofbiz.org/images/icons/emoticons/information.gifWORKAROUND PATCH:
A patch is included herehttp://docs.ofbiz.org/images/icons/linkext7.gif which updates Debug.java to not attempt to load log4j.xml. This file is removed during deployment to not conflict with the log4j configuration which comes with JBoss. This patch will need to be applied before compiling OFBizOnce OFBiz is installed, compile (using ant) and run the following command from the OFBiz directory:
<div class="code"><div class="codeContent">$ java -jar ofbiz.jar -setup jboss422
页:
[1]