六狼论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博账号登陆

只需一步,快速开始

搜索
查看: 148|回复: 0

RUNNING OFBIZ INSIDE JBOSS 4.2.2

[复制链接]

升级  32%

2

主题

2

主题

2

主题

童生

Rank: 1

积分
16
 楼主| 发表于 2013-1-14 23:05:08 | 显示全部楼层 |阅读模式
RUNNING OFBIZ INSIDE JBOSS 4.2.2

INSTALL

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.
WORKAROUND PATCH:
A patch is included here 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 OFBiz
Once 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
您需要登录后才可以回帖 登录 | 立即注册 新浪微博账号登陆

本版积分规则

快速回复 返回顶部 返回列表