Hello all:
I need to develop on top of ofbiz for an ecommerce solutions. At this point, I 'd like to disable/remove the rest of the component that we don't need. Some posts on this list suggested commenting out the components in "applications/component-load.xml". Other posts reported a success with deleting the whole directory of the applications that are not needed. None of these approaches worked for us. As we are starting with ofbiz, we would like to work with a minimal version, and add optional components as we need.

If removing these components are not possible, then at least how do I disable external access to them. Normally, only some services need to be exposed to the public. Definitely, more to be added in the future.

Another thing, is mounting the e-commerce component on the root. This page explains it http://docs.ofbiz.org/display/OFBTECH/Apache+OFBiz+Technical+Production+Setup+Guide

However, this didn't work as well. That's what I have from the log file

2009-03-05 13:49:21,909 (main) [ UtilXml.java:246:DEBUG] XML Read 0.01s: file:/home/mansour/opentaps-1.0.3/framework/catalina/config/mime-type.xml
java.lang.IllegalArgumentException: addChild:  Child name '/' is not unique
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:749) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524) at org.ofbiz.catalina.container.CatalinaContainer.createContext(CatalinaContainer.java:558) at org.ofbiz.catalina.container.CatalinaContainer.loadComponents(CatalinaContainer.java:600) at org.ofbiz.catalina.container.CatalinaContainer.init(CatalinaContainer.java:202) at org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:144) at org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:68)
       at org.ofbiz.base.start.Start.initStartLoaders(Start.java:251)
       at org.ofbiz.base.start.Start.init(Start.java:90)
       at org.ofbiz.base.start.Start.main(Start.java:406)

It looks like I have to mess with the catalina/config. I will keep this as the last resort. If someone have an idea, please advice me.


I am using the latest from SVN.

Thank you in advance.

Reply via email to