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 :), anyway it seems that I broke the code with my latest changes and I am fixing it :), thanks for your feedback again. -- Thanks - Mohammad Nour
