You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by chris snow <ch...@gmail.com> on 2010/09/23 09:59:59 UTC
dependency on WebSlinger on trunk
I've edited framework\base\config\component-load.xml to look like this:
<component-loader xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/component-loader.xsd">
<load-components parent-directory="framework"/>
<!-- all other components commented out -->
</component-loader>
I've edited framework\component-load.xml to look like this:
<component-loader xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/component-loader.xsd">
<load-component component-location="geronimo"/>
<load-component component-location="entity"/>
<load-component component-location="catalina"/>
<!-- all other components commented out -->
</component-loader>
When I try to start ofbiz, I get the following error:
org.ofbiz.base.start.StartupException: Cannot locate container class
(org.ofbiz.commons.vfs.CommonsVfsContainer)
This error will only stop if I uncomment the webslinger component.
Is this dependency on webslinger ok or shall I raise it as an issue?
Many thanks,
Chris
Re: dependency on WebSlinger on trunk
Posted by chris snow <ch...@gmail.com>.
Thanks Scott!
On 23 Sep 2010 09:36, "Scott Gray" <sc...@hotwaxmedia.com> wrote:
Containers are different from components. If you don't want webslinger then
chances are that you don't want that container either and should comment it
out from ofbiz-containers.xml.
Regards
Scott
HotWax Media
http://www.hotwaxmedia.com
On 23/09/2010, at 7:59 PM, chris snow wrote:
> I've edited framework\base\config\component-load.xm...
Re: dependency on WebSlinger on trunk
Posted by Adam Heath <do...@brainfood.com>.
On 09/23/2010 03:35 AM, Scott Gray wrote:
> Containers are different from components. If you don't want webslinger then chances are that you don't want that container either and should comment it out from ofbiz-containers.xml.
Yeah, I hate that. Those container.xml files really need to be
extendable, something using ServiceLoader, or a similiar algorythm.
I've tried to do this internally a few times, but never get anything
that sits well with me.
Re: dependency on WebSlinger on trunk
Posted by Scott Gray <sc...@hotwaxmedia.com>.
Containers are different from components. If you don't want webslinger then chances are that you don't want that container either and should comment it out from ofbiz-containers.xml.
Regards
Scott
HotWax Media
http://www.hotwaxmedia.com
On 23/09/2010, at 7:59 PM, chris snow wrote:
> I've edited framework\base\config\component-load.xml to look like this:
>
> <component-loader xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/component-loader.xsd">
> <load-components parent-directory="framework"/>
> <!-- all other components commented out -->
> </component-loader>
>
> I've edited framework\component-load.xml to look like this:
>
> <component-loader xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/component-loader.xsd">
> <load-component component-location="geronimo"/>
> <load-component component-location="entity"/>
> <load-component component-location="catalina"/>
> <!-- all other components commented out -->
> </component-loader>
>
> When I try to start ofbiz, I get the following error:
>
> org.ofbiz.base.start.StartupException: Cannot locate container class
> (org.ofbiz.commons.vfs.CommonsVfsContainer)
>
> This error will only stop if I uncomment the webslinger component.
>
> Is this dependency on webslinger ok or shall I raise it as an issue?
>
> Many thanks,
>
> Chris