I'm working on a fix for this.
It's due to a missing configuration / setup of a test local hsqldb.
The default construction of the JdoFactory is to use jndi, which is valid everywhere but in unit testing.

Jan Nielsen wrote:
Okay - a bit more information. I've updated to r5838983, using
Maven-2.0.6 and JDK 5 or 6 on Windows, but I still get the same
failure. It appears that the "default" JNDI context is not defined:

   protected void setUp()
       throws Exception
   {
       super.setUp();

       roleManager = (RoleManager) lookup( RoleManager.ROLE, "default" );
   }

To save me a bit of digging, does anyone know how this is supposed to work?


Thanks,

-Jan
--
- Joakim Erdfelt
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 Archiva Developer
Alpaca Founding Member

Reply via email to