Hi David...

On 1/31/07, David Blevins <[EMAIL PROTECTED]> wrote:


On Jan 30, 2007, at 2:01 AM, Mohammad Nour El-Din wrote:

> Hi David...
>
> On 1/30/07, David Blevins <[EMAIL PROTECTED]> wrote:
>>
>> Hi Mohammad,
>>
>> On Jan 28, 2007, at 7:21 AM, Mohammad Nour El-Din wrote:
>>
>> > I am facing a new situation here, while tests run during build - as
>> > I wanted
>> > to test the impl of OPENEJB-438 - all tests related to
>> RemoteiTest are
>> > causing errors because of not being able to find the JNDI name "
>> > client/tools/DatabaseHome", this has never happened to me before -
>> > except
>> > while trying to run tests from within eclipse but not while
>> building
>>
>> The "client/tools/DatabaseHome" is just the first bean that the
>> itests try to lookup.  The error is really that the app doesn't exist
>> in the system and wasn't successfully deployed.  My guess is one of
>> your changes for OPENEJB-438 broke something in deployment.
>>
>> Definitely read the maven output for openejb log messages and
>> definitely check out the target/surefire dir for any output that came
>> out of the test.  Those are the sources I primarily use when I break
>> things (which is all the time).  When that doesn't work I run the
>> tests in my IDE with debug.  And for those rare occasions something
>> works in my IDE but not via maven, I have maven run the tests with
>> remote debug turned on and connect via my IDE.
>>
>> If you get frustrated after some time debugging I'll be happy to give
>> your changes a try.
>>
>> -David
>
>
> Thanks for your feedback, I already use the sources you mentioned,
> and I
> already started debugging, but I was hoping to have an answer before
> starting :)

:)  I only wish I was that talented :)


Sure you are :)

, anyway it seems that I broke the code with my latest changes
> and I am fixing it :), thanks for your feedback again.

No problem.  Offer still open if you get stumped!

-David


Well, the whole problem was related to
AnnotatedFieldInjectionStateless\StatefulBean. First the stateful bean was
assigned the EncStatelessObject as its remote interface. And I should add
the new methods for looking-up the extended Env-Entries to the stateless
bean. I have a question but I will dig for and when I fail to get the answer
myself I will ask you talented man ;)


>
>
>
>
> --
> Thanks
> - Mohammad Nour




--
Thanks
- Mohammad Nour

Reply via email to