dependency on WebSlinger on trunk

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

dependency on WebSlinger on trunk

chris snow
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
Reply | Threaded
Open this post in threaded view
|

Re: dependency on WebSlinger on trunk

Scott Gray-2
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


smime.p7s (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: dependency on WebSlinger on trunk

chris snow
Thanks Scott!

On 23 Sep 2010 09:36, "Scott Gray" <[hidden email]> 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...
Reply | Threaded
Open this post in threaded view
|

Re: dependency on WebSlinger on trunk

Adam Heath-2
In reply to this post by Scott Gray-2
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.