Thanks BJ,

I was aware of where dispatcher and delagator are defined, that was not my
question.
My question was why the test suite fails.
Is there any modification that need to be done before running the test
suites.

-- Vikas

On Dec 1, 2007 11:12 PM, BJ Freeman <[EMAIL PROTECTED]> wrote:

> http://ofbiz.apache.org/docs/services.html
> see Service Dispatcher
>
> The web.xml for each component calls out the local dispatcher and
> delegator.
> the local dispatcher is for the services that that component.
>
> The default delegator is define in the entityengine.xml.
> the
>
> Vikas Mayur sent the following on 12/1/2007 6:42 AM:
> > We have JUnit test cases for few components.
> >
> > I tried to run the accounting test suite, but the test fails with
> following
> > error
> >>> Error in Service [createFinAccount]: You must be logged in to complete
> > the [Create a Financial Account] process.
> >
> > This error is solved when I use
> > delegator = GenericDelegator.getGenericDelegator("default");
> > dispatcher = GenericDispatcher.getLocalDispatcher
> ("accounting-dispatcher",
> > delegator);
> >
> > instead of delegator name = test and and dispatcher name =
> test-dispatcher
> >
> > Is there any configuration that need to be done to run these test
> suites.
> >
> >
>
>


-- 
Vikas Mayur

Reply via email to