View source | Discuss this page | Page history | Printable version   
Main Page
Upload file
What links here
Recent changes

PDF Books
Add page
Show collection (0 pages)
Collections help


Deploy Openbravo ERP to JBoss



This is my findings when deploying Openbravo ERP to JBoss, and also any fixes I have done to get it working nicer.

This is in relation to Openbravo ERP 2.40.

First deployment

If you try and deploy the openbravo.war file to JBoss, it will complain about being unable to write to a log file.

### will place log extract here ###

There are also logged WARN messages:

2008-12-06 20:20:51,578 WARN  [org.jboss.wsf.container.jboss42.JAXWSDeployerHookPreJSE] Cannot load servlet class: org.openbravo.erpWindows.OutgoingShipment.Shipmentoutline
2008-12-06 20:20:51,583 WARN  [org.jboss.wsf.container.jboss42.JAXWSDeployerHookPreJSE] Cannot load servlet class: org.openbravo.erpCommon.ad_callouts.ComboReloads501
2008-12-06 20:20:51,587 WARN  [org.jboss.wsf.container.jboss42.JAXWSDeployerHookPreJSE] Cannot load servlet class: org.openbravo.erpCommon.ad_reports.ReportGLItems


Log location

build.xml includes a log.path that we set.

It is currently being set to


I have added a quick condition to the build.xml file

<condition property="log.path" value="${jboss.base}/logs" else="${jakarta.base}/logs">
    <equals arg1="jboss" arg2="${servlet.container}" />

The snippet above checks a few extra variables I have defined within config/

log4j.lcf also includes some definitions of the log directory.

This however, is a bit more different, I am not sure how to "nicely" configure this, so I just modified the log4j.lcf file directly, and changed both log4j.appender.R.File and log4j.appender.HB.File to point to the JBoss log directory



I will place my findings here.

Currently, things seem to be working fine.

Retrieved from ""

This page has been accessed 7,473 times. This page was last modified on 12 March 2009, at 15:32. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.