On Oct 25, 2006, at 11:32 PM, Mohammad Nour El-Din wrote:

Hi all...

I was trying to dig and debug into the
SomeoneBrokeSurefireAndThisIsADirtyHackForItTest test case of the
openejb-ejbd server component from Eclipse, but I receive an
IllegalStateException while the InstantDbTestDatabase is starting as it looks-up for "client/tools/DatabaseHome", but the look-up fails cause this home is not in the JNDI, and while I am debugging I didn't see this home
added to the JNDI, so please help if I am missing something here.

You can just run the RemoteiTest class instead of that other one.

http://svn.apache.org/repos/asf/incubator/openejb/trunk/openejb3/ server/openejb-ejbd/src/test/java/org/apache/openejb/RemoteiTest.java

There's a comment at the top of that class that describes the VM param you must pass to run the test from your IDE. Obviously, you'll need to update the path to be something other than "/Users/ dblevins/...."

Similarly of you want to run the itests on just the openejb-core, you can run this class:

http://svn.apache.org/repos/asf/incubator/openejb/trunk/openejb3/ container/openejb-core/src/test/java/org/apache/openejb/iTest.java

-David

Reply via email to