ofbiz-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From BJ Freeman <bjf...@free-man.net>
Subject Re: Ofbiz prepare for deployment
Date Thu, 05 Mar 2009 18:44:26 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

This is a OpenTaps distribution  it has many things added that may cause
you problem.
Please contact them at
https://sourceforge.net/forum/forum.php?forum_id=487771


Mansour Al Akeel sent the following on 3/5/2009 10:15 AM:
> 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.
> 
> 
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD4DBQFJsB2KrP3NbaWWqE4RAnqrAJYuLaSULS1V9K05g8KtHCxZ88mmAJ4sMMnR
LyUuah8Uo+qQ8gI6Sqmqxg==
=OR/4
-----END PGP SIGNATURE-----

Mime
View raw message