archiva-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joakim Erdfelt <joak...@apache.org>
Subject Re: org.jpox.exceptions.ConnectionFactoryNotFoundException: Connection Factory
Date Thu, 17 May 2007 16:22:34 GMT
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
  joakime@apache.org
  joakime@codehaus.org
  Archiva Developer
  Alpaca Founding Member 


Mime
View raw message