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

Reply via email to