« Return to Thread: Re: LoanBroker ESB test failing...

Re: LoanBroker ESB test failing...

by ARGCRP-CARLSON, TRAVIS :: Rate this Message:

Reply to Author | View in Thread

Ross,
I actually found 3 problems with the LoanBroker-ESB:

1. The OpenEJB config was wrong for the test case (I had just
copy/pasted it from the live config)

2. There was some code disabled in org.mule.impl.MuleSession which was
causing a regression in the LoanBroker (the
"CreditProfileXmlToCreditProfile" transformer was not getting applied)

3. There is a race condition which causes the unit test to _sometimes_
fail.

#1 and #2 were fixed outright.

As a workaround for #3, I added a minimal log4j.properties to the
loanbroker-esb and this makes the test pass, at least in my environment.

For a definite solution, I guess I'll have to finish reading the JCIP
book. :-(

Travis


-----Original Message-----
From: "Andrew Perepelytsya" <aperepel@...>
Sent: Mon, September 4, 2006 22:31
Subject: Re: LoanBroker ESB test failing...

I think this is a problem with m2 and surefire, which results in EJB not
deployed in the container under /local/CreditAgency.

At the same time it doesn't fail if run directly by Mule. Though I
didn't do more thorough testing to confirm all paths. I was thinking of
excluding the test in the short run until we resolve the issue (it could
be just a classloader policy switch for the test run).

Andrew

On 9/4/06, Ross Mason <ross@...> wrote:

>
> Hi,
>
> org.mule.samples.loanbroker.esb.LoanBrokerESBTestCase is failing, is
> this supposed to work or is it my environment? Cheers,
>
> Ross Mason
> MuleSource
>
> Malta Tel:       +356 99 575067
> UK Tel:           +44 20 8133 3118
> US Tel:           +1 415 315 9511
> Skype:            rossjmason


Esta comunicacion es confidencial y puede contener informacion cuya divulgacion este restringida por la ley o en virtud de obligaciones de confidencialidad asumidas por acuerdos escritos. Si usted no es su destinatario, por favor advierta que cualquier divulgacion, distribucion o copia de esta comunicacion le esta estrictamente prohibida. Si usted recibio este mail por error, agradeceremos tenga a bien informar esa circunstancia al remitente mediante comunicacion a la direccion de e-mail o al numero telefonico : (5411) 5170-0000, y le solicitamos asimismo que por favor proceda a borrarlo de su computadora. Por favor no copie ni use la informacion contenida en este mail para ningun proposito y no divulgue su contenido a ninguna otra persona.


This communication is confidential and may contain information that is exempt from disclosure by law or pursuant to confidentiality obligations assumed by written agreement. If you are not the intended recipient, please note that any dissemination, distribution, or copying of this communication is strictly prohibited. If you receive this e-mail in error, please notify the sender immediately at the electronic mail address or phone number : (5411) 5170-0000  and delete the information from your computer. Please do not copy or use it for any purpose nor disclose its contents to any other person.

 


---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

 « Return to Thread: Re: LoanBroker ESB test failing...