archiva-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jan Nielsen" <jan.sture.niel...@gmail.com>
Subject Re: org.jpox.exceptions.ConnectionFactoryNotFoundException: Connection Factory
Date Thu, 17 May 2007 16:09:31 GMT
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


On 5/16/07, Jan Nielsen <jan.sture.nielsen@gmail.com> wrote:
> Hi Joakim, et al.:
>
> My apologies - I should have included more information:
>
> C:\dev\apache-archiva>mvn clean install
> [INFO] Scanning for projects...
> [INFO] Reactor build order:
> [INFO]   Archiva
> [INFO]   Archiva Base
> [INFO]   Archiva Base :: Common
> [INFO]   Archiva Base :: Policies
> [INFO]   Archiva Base :: XML Tools
> [INFO]   Archiva Base :: Configuration
> [INFO]   Archiva Base :: Model
> [INFO]   Archiva Consumers
> ...
> Running org.apache.maven.archiva.security.RoleManagerTest
> log4j:WARN No appenders could be found for logger (JPOX.General).
> log4j:WARN Please initialize the log4j system properly.
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.779
> sec <<< FAILURE!
>
> Results :
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
>
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] There are test failures.
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 1 minute 57 seconds
> [INFO] Finished at: Wed May 16 13:46:13 MDT 2007
> [INFO] Final Memory: 35M/63M
> [INFO] ------------------------------------------------------------------------
>
> C:\dev\apache-archiva>java -version
> java version "1.5.0_11"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_11-b03)
> Java HotSpot(TM) Client VM (build 1.5.0_11-b03, mixed mode, sharing)
>
> C:\dev\apache-archiva>mvn -v
> Maven version: 2.0.6
>
> C:\dev\apache-archiva>svn ?
> usage: svn <subcommand> [options] [args]
> Subversion command-line client, version 1.4.3.
>
> C:\dev\apache-archiva>svn info
> Path: .
> URL: http://svn.apache.org/repos/asf/maven/archiva/trunk
> Repository Root: http://svn.apache.org/repos/asf
> Repository UUID: 13f79535-47bb-0310-9956-ffa450edef68
> Revision: 538389
> Node Kind: directory
> Schedule: normal
> Last Changed Author: carlos
> Last Changed Rev: 538291
> Last Changed Date: 2007-05-15 13:50:50 -0600 (Tue, 15 May 2007)
>
>
> Executing the build identically but with JDK 6, it fails in the exact same way.
>
> C:\dev\apache-archiva>java -version
> java version "1.6.0_01"
> Java(TM) SE Runtime Environment (build 1.6.0_01-b06)
> Java HotSpot(TM) Client VM (build 1.6.0_01-b06, mixed mode, sharing)
>
>
> Thanks for your help.
>
> -Jan
>
>
> On 5/16/07, Joakim Erdfelt <joakim@erdfelt.com> wrote:
> > Just for the record.
> > I use JDK 1.4.2_12-b03 on linux to build.
> > And use JDK 1.5.0_11-b03 on linux to run the webapp.
> >
> > - Joakim Erdfelt
> >   joakime@apache.org
> >   joakime@codehaus.org
> >   Archiva Developer
> >   Alpaca Founding Member
> >
> > Joakim Erdfelt wrote:
> > > I'd like to know ...
> > >
> > > 1) What revision of trunk you are on?
> > > 2) What JDK revision (1.5.0_11) you are running?
> > > 3) What Maven version (2.0.6) you are running?
> > > 4) What command you used to execute the build (and in what working
> > > directory)?
> > > (And since you are on windows ...)
> > > 5) What directory do you have archiva trunk checked out in? (this is
> > > important, as many unit tests create deep, and sometimes incompatible
> > > with windows, repository trees)
> > > 6) What tool (and version of that tool) did you use to checkout the
> > > archiva trunk? (Tortoisesvn, Win32 native svn, cygwin subversion client).
> > >
> > > Thanks.
> > >
> > > - Joakim Erdfelt
> > >  joakime@apache.org
> > >  joakime@codehaus.org
> > >  Archiva Developer
> > >  Alpaca Founding Member
> > >
> > >
> > > Jan Nielsen wrote:
> > >> I switched from JDK 6 to JDK 5 to avoid the NCDF exception (I sent a
> > >> note to "users"...probably should have sent it to "dev"), but the
> > >> build from trunk still fails - see below. Any ideas?
> > >>
> > >> Thanks,
> > >>
> > >> -Jan
> > >>
> > >> Windows JDK 1.5.0_11 (b03)
> > >>
> > >>
> > >> -------------------------------------------------------------------------------
> > >>
> > >> Test set: org.apache.maven.archiva.security.RoleManagerTest
> > >> -------------------------------------------------------------------------------
> > >>
> > >> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.819
> > >> sec <<< FAILURE!
> > >> testExpectedRoles(org.apache.maven.archiva.security.RoleManagerTest)
> > >> Time elapsed: 0.772 sec  <<< ERROR!
> > >> org.jpox.exceptions.ConnectionFactoryNotFoundException: Connection
> > >> Factory "java:comp/env/jdbc/users" not found
> > >>     at
> > >> org.jpox.AbstractPersistenceManagerFactory.lookupDataSource(AbstractPersistenceManagerFactory.java:163)
> > >>
> > >>     at
> > >> org.jpox.AbstractPersistenceManagerFactory.freezeConfiguration(AbstractPersistenceManagerFactory.java:200)
> > >>
> > >>     at
> > >> org.jpox.PersistenceManagerFactoryImpl.getPersistenceManagerFactory(PersistenceManagerFactoryImpl.java:99)
> > >>
> > >>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > >>     at
> > >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > >>
> > >>     at
> > >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > >>
> > >>     at java.lang.reflect.Method.invoke(Method.java:585)
> > >>     at
> > >> javax.jdo.JDOHelper.getPersistenceManagerFactory(JDOHelper.java:534)
> > >>     at
> > >> javax.jdo.JDOHelper.getPersistenceManagerFactory(JDOHelper.java:478)
> > >>     at
> > >> org.codehaus.plexus.jdo.AbstractConfigurableJdoFactory.doConfigure(AbstractConfigurableJdoFactory.java:134)
> > >>
> > >>     at
> > >> org.codehaus.plexus.jdo.AbstractConfigurableJdoFactory.configure(AbstractConfigurableJdoFactory.java:101)
> > >>
> > >>     at
> > >> org.codehaus.plexus.jdo.AbstractConfigurableJdoFactory.getPersistenceManagerFactory(AbstractConfigurableJdoFactory.java:64)
> > >>
> > >>     at
> > >> org.codehaus.plexus.redback.rbac.jdo.JdoTool.initialize(JdoTool.java:72)
> > >>     at
> > >> org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializePhase.execute(InitializePhase.java:33)
> > >>
> > >>     at
> > >> org.codehaus.plexus.lifecycle.AbstractLifecycleHandler.start(AbstractLifecycleHandler.java:128)
> > >>
> > >>     at
> > >> org.codehaus.plexus.component.manager.AbstractComponentManager.startComponentLifecycle(AbstractComponentManager.java:142)
> > >>
> > >>     at
> > >> org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManager.java:132)
> > >>
> > >>     at
> > >> org.codehaus.plexus.component.manager.ClassicSingletonComponentManager.getComponent(ClassicSingletonComponentManager.java:90)
> > >>
> > >>     at
> > >> org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponentLookupManager.java:147)
> > >>
> > >>     at
> > >> org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:333)
> > >>
> > >>     at
> > >> org.codehaus.plexus.component.composition.AbstractComponentComposer.findRequirement(AbstractComponentComposer.java:232)
> > >>
> > >>     at
> > >> org.codehaus.plexus.component.composition.FieldComponentComposer.assignRequirementToField(FieldComponentComposer.java:66)
> > >>
> > >>     at
> > >> org.codehaus.plexus.component.composition.FieldComponentComposer.assignRequirement(FieldComponentComposer.java:57)
> > >>
> > >>     at
> > >> org.codehaus.plexus.component.composition.AbstractComponentComposer.assembleComponent(AbstractComponentComposer.java:142)
> > >>
> > >>     at
> > >> org.codehaus.plexus.component.composition.DefaultComponentComposerManager.assembleComponent(DefaultComponentComposerManager.java:72)
> > >>
> > >>     at
> > >> org.codehaus.plexus.personality.plexus.lifecycle.phase.CompositionPhase.execute(CompositionPhase.java:46)
> > >>
> > >>     at
> > >> org.codehaus.plexus.lifecycle.AbstractLifecycleHandler.start(AbstractLifecycleHandler.java:128)
> > >>
> > >>     at
> > >> org.codehaus.plexus.component.manager.AbstractComponentManager.startComponentLifecycle(AbstractComponentManager.java:142)
> > >>
> > >>     at
> > >> org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManager.java:132)
> > >>
> > >>     at
> > >> org.codehaus.plexus.component.manager.ClassicSingletonComponentManager.getComponent(ClassicSingletonComponentManager.java:90)
> > >>
> > >>     at
> > >> org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponentLookupManager.java:147)
> > >>
> > >>     at
> > >> org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:333)
> > >>
> > >>     at
> > >> org.codehaus.plexus.component.composition.AbstractComponentComposer.findRequirement(AbstractComponentComposer.java:232)
> > >>
> > >>     at
> > >> org.codehaus.plexus.component.composition.FieldComponentComposer.assignRequirementToField(FieldComponentComposer.java:66)
> > >>
> > >>     at
> > >> org.codehaus.plexus.component.composition.FieldComponentComposer.assignRequirement(FieldComponentComposer.java:57)
> > >>
> > >>     at
> > >> org.codehaus.plexus.component.composition.AbstractComponentComposer.assembleComponent(AbstractComponentComposer.java:142)
> > >>
> > >>     at
> > >> org.codehaus.plexus.component.composition.DefaultComponentComposerManager.assembleComponent(DefaultComponentComposerManager.java:72)
> > >>
> > >>     at
> > >> org.codehaus.plexus.personality.plexus.lifecycle.phase.CompositionPhase.execute(CompositionPhase.java:46)
> > >>
> > >>     at
> > >> org.codehaus.plexus.lifecycle.AbstractLifecycleHandler.start(AbstractLifecycleHandler.java:128)
> > >>
> > >>     at
> > >> org.codehaus.plexus.component.manager.AbstractComponentManager.startComponentLifecycle(AbstractComponentManager.java:142)
> > >>
> > >>     at
> > >> org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManager.java:132)
> > >>
> > >>     at
> > >> org.codehaus.plexus.component.manager.ClassicSingletonComponentManager.getComponent(ClassicSingletonComponentManager.java:90)
> > >>
> > >>     at
> > >> org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponentLookupManager.java:147)
> > >>
> > >>     at
> > >> org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:333)
> > >>
> > >>     at
> > >> org.codehaus.plexus.component.composition.AbstractComponentComposer.findRequirement(AbstractComponentComposer.java:232)
> > >>
> > >>     at
> > >> org.codehaus.plexus.component.composition.FieldComponentComposer.assignRequirementToField(FieldComponentComposer.java:66)
> > >>
> > >>     at
> > >> org.codehaus.plexus.component.composition.FieldComponentComposer.assignRequirement(FieldComponentComposer.java:57)
> > >>
> > >>     at
> > >> org.codehaus.plexus.component.composition.AbstractComponentComposer.assembleComponent(AbstractComponentComposer.java:142)
> > >>
> > >>     at
> > >> org.codehaus.plexus.component.composition.DefaultComponentComposerManager.assembleComponent(DefaultComponentComposerManager.java:72)
> > >>
> > >>     at
> > >> org.codehaus.plexus.personality.plexus.lifecycle.phase.CompositionPhase.execute(CompositionPhase.java:46)
> > >>
> > >>     at
> > >> org.codehaus.plexus.lifecycle.AbstractLifecycleHandler.start(AbstractLifecycleHandler.java:128)
> > >>
> > >>     at
> > >> org.codehaus.plexus.component.manager.AbstractComponentManager.startComponentLifecycle(AbstractComponentManager.java:142)
> > >>
> > >>     at
> > >> org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManager.java:132)
> > >>
> > >>     at
> > >> org.codehaus.plexus.component.manager.ClassicSingletonComponentManager.getComponent(ClassicSingletonComponentManager.java:90)
> > >>
> > >>     at
> > >> org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponentLookupManager.java:147)
> > >>
> > >>     at
> > >> org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:333)
> > >>
> > >>     at
> > >> org.codehaus.plexus.component.composition.AbstractComponentComposer.findRequirement(AbstractComponentComposer.java:232)
> > >>
> > >>     at
> > >> org.codehaus.plexus.component.composition.FieldComponentComposer.assignRequirementToField(FieldComponentComposer.java:66)
> > >>
> > >>     at
> > >> org.codehaus.plexus.component.composition.FieldComponentComposer.assignRequirement(FieldComponentComposer.java:57)
> > >>
> > >>     at
> > >> org.codehaus.plexus.component.composition.AbstractComponentComposer.assembleComponent(AbstractComponentComposer.java:142)
> > >>
> > >>     at
> > >> org.codehaus.plexus.component.composition.DefaultComponentComposerManager.assembleComponent(DefaultComponentComposerManager.java:72)
> > >>
> > >>     at
> > >> org.codehaus.plexus.personality.plexus.lifecycle.phase.CompositionPhase.execute(CompositionPhase.java:46)
> > >>
> > >>     at
> > >> org.codehaus.plexus.lifecycle.AbstractLifecycleHandler.start(AbstractLifecycleHandler.java:128)
> > >>
> > >>     at
> > >> org.codehaus.plexus.component.manager.AbstractComponentManager.startComponentLifecycle(AbstractComponentManager.java:142)
> > >>
> > >>     at
> > >> org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManager.java:132)
> > >>
> > >>     at
> > >> org.codehaus.plexus.component.manager.ClassicSingletonComponentManager.getComponent(ClassicSingletonComponentManager.java:90)
> > >>
> > >>     at
> > >> org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponentLookupManager.java:147)
> > >>
> > >>     at
> > >> org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:327)
> > >>
> > >>     at
> > >> org.codehaus.plexus.PlexusTestCase.lookup(PlexusTestCase.java:175)
> > >>     at
> > >> org.apache.maven.archiva.security.RoleManagerTest.setUp(RoleManagerTest.java:44)
> > >>
> > >>     at junit.framework.TestCase.runBare(TestCase.java:125)
> > >>     at junit.framework.TestResult$1.protect(TestResult.java:106)
> > >>     at junit.framework.TestResult.runProtected(TestResult.java:124)
> > >>     at junit.framework.TestResult.run(TestResult.java:109)
> > >>     at junit.framework.TestCase.run(TestCase.java:118)
> > >>     at junit.framework.TestSuite.runTest(TestSuite.java:208)
> > >>     at junit.framework.TestSuite.run(TestSuite.java:203)
> > >>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > >>     at
> > >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > >>
> > >>     at
> > >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > >>
> > >>     at java.lang.reflect.Method.invoke(Method.java:585)
> > >>     at
> > >> org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
> > >>
> > >>     at
> > >> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
> > >>
> > >>     at
> > >> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
> > >>
> > >>     at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
> > >>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > >>     at
> > >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > >>
> > >>     at
> > >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > >>
> > >>     at java.lang.reflect.Method.invoke(Method.java:585)
> > >>     at
> > >> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
> > >>
> > >>     at
> > >> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
> > >>
> > >> NestedThrowablesStackTrace:
> > >> javax.naming.NoInitialContextException: Need to specify class name in
> > >> environment or system property, or as an applet parameter, or in an
> > >> application resource file:  java.naming.factory.initial
> > >>     at
> > >> javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:645)
> > >>     at
> > >> javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
> > >>     at
> > >> javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:284)
> > >>
> > >>     at javax.naming.InitialContext.lookup(InitialContext.java:351)
> > >>     at
> > >> org.jpox.AbstractPersistenceManagerFactory.lookupDataSource(AbstractPersistenceManagerFactory.java:159)
> > >>
> > >>     at
> > >> org.jpox.AbstractPersistenceManagerFactory.freezeConfiguration(AbstractPersistenceManagerFactory.java:200)
> > >>
> > >>     at
> > >> org.jpox.PersistenceManagerFactoryImpl.getPersistenceManagerFactory(PersistenceManagerFactoryImpl.java:99)
> > >>
> > >>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > >>     at
> > >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > >>
> > >>     at
> > >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > >>
> > >>     at java.lang.reflect.Method.invoke(Method.java:585)
> > >>     at
> > >> javax.jdo.JDOHelper.getPersistenceManagerFactory(JDOHelper.java:534)
> > >>     at
> > >> javax.jdo.JDOHelper.getPersistenceManagerFactory(JDOHelper.java:478)
> > >>     at
> > >> org.codehaus.plexus.jdo.AbstractConfigurableJdoFactory.doConfigure(AbstractConfigurableJdoFactory.java:134)
> > >>
> > >>     at
> > >> org.codehaus.plexus.jdo.AbstractConfigurableJdoFactory.configure(AbstractConfigurableJdoFactory.java:101)
> > >>
> > >>     at
> > >> org.codehaus.plexus.jdo.AbstractConfigurableJdoFactory.getPersistenceManagerFactory(AbstractConfigurableJdoFactory.java:64)
> > >>
> > >>     at
> > >> org.codehaus.plexus.redback.rbac.jdo.JdoTool.initialize(JdoTool.java:72)
> > >>     at
> > >> org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializePhase.execute(InitializePhase.java:33)
> > >>
> > >>     at
> > >> org.codehaus.plexus.lifecycle.AbstractLifecycleHandler.start(AbstractLifecycleHandler.java:128)
> > >>
> > >>     at
> > >> org.codehaus.plexus.component.manager.AbstractComponentManager.startComponentLifecycle(AbstractComponentManager.java:142)
> > >>
> > >>     at
> > >> org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManager.java:132)
> > >>
> > >>     at
> > >> org.codehaus.plexus.component.manager.ClassicSingletonComponentManager.getComponent(ClassicSingletonComponentManager.java:90)
> > >>
> > >>     at
> > >> org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponentLookupManager.java:147)
> > >>
> > >>     at
> > >> org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:333)
> > >>
> > >>     at
> > >> org.codehaus.plexus.component.composition.AbstractComponentComposer.findRequirement(AbstractComponentComposer.java:232)
> > >>
> > >>     at
> > >> org.codehaus.plexus.component.composition.FieldComponentComposer.assignRequirementToField(FieldComponentComposer.java:66)
> > >>
> > >>     at
> > >> org.codehaus.plexus.component.composition.FieldComponentComposer.assignRequirement(FieldComponentComposer.java:57)
> > >>
> > >>     at
> > >> org.codehaus.plexus.component.composition.AbstractComponentComposer.assembleComponent(AbstractComponentComposer.java:142)
> > >>
> > >>     at
> > >> org.codehaus.plexus.component.composition.DefaultComponentComposerManager.assembleComponent(DefaultComponentComposerManager.java:72)
> > >>
> > >>     at
> > >> org.codehaus.plexus.personality.plexus.lifecycle.phase.CompositionPhase.execute(CompositionPhase.java:46)
> > >>
> > >>     at
> > >> org.codehaus.plexus.lifecycle.AbstractLifecycleHandler.start(AbstractLifecycleHandler.java:128)
> > >>
> > >>     at
> > >> org.codehaus.plexus.component.manager.AbstractComponentManager.startComponentLifecycle(AbstractComponentManager.java:142)
> > >>
> > >>     at
> > >> org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManager.java:132)
> > >>
> > >>     at
> > >> org.codehaus.plexus.component.manager.ClassicSingletonComponentManager.getComponent(ClassicSingletonComponentManager.java:90)
> > >>
> > >>     at
> > >> org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponentLookupManager.java:147)
> > >>
> > >>     at
> > >> org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:333)
> > >>
> > >>     at
> > >> org.codehaus.plexus.component.composition.AbstractComponentComposer.findRequirement(AbstractComponentComposer.java:232)
> > >>
> > >>     at
> > >> org.codehaus.plexus.component.composition.FieldComponentComposer.assignRequirementToField(FieldComponentComposer.java:66)
> > >>
> > >>     at
> > >> org.codehaus.plexus.component.composition.FieldComponentComposer.assignRequirement(FieldComponentComposer.java:57)
> > >>
> > >>     at
> > >> org.codehaus.plexus.component.composition.AbstractComponentComposer.assembleComponent(AbstractComponentComposer.java:142)
> > >>
> > >>     at
> > >> org.codehaus.plexus.component.composition.DefaultComponentComposerManager.assembleComponent(DefaultComponentComposerManager.java:72)
> > >>
> > >>     at
> > >> org.codehaus.plexus.personality.plexus.lifecycle.phase.CompositionPhase.execute(CompositionPhase.java:46)
> > >>
> > >>     at
> > >> org.codehaus.plexus.lifecycle.AbstractLifecycleHandler.start(AbstractLifecycleHandler.java:128)
> > >>
> > >>     at
> > >> org.codehaus.plexus.component.manager.AbstractComponentManager.startComponentLifecycle(AbstractComponentManager.java:142)
> > >>
> > >>     at
> > >> org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManager.java:132)
> > >>
> > >>     at
> > >> org.codehaus.plexus.component.manager.ClassicSingletonComponentManager.getComponent(ClassicSingletonComponentManager.java:90)
> > >>
> > >>     at
> > >> org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponentLookupManager.java:147)
> > >>
> > >>     at
> > >> org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:333)
> > >>
> > >>     at
> > >> org.codehaus.plexus.component.composition.AbstractComponentComposer.findRequirement(AbstractComponentComposer.java:232)
> > >>
> > >>     at
> > >> org.codehaus.plexus.component.composition.FieldComponentComposer.assignRequirementToField(FieldComponentComposer.java:66)
> > >>
> > >>     at
> > >> org.codehaus.plexus.component.composition.FieldComponentComposer.assignRequirement(FieldComponentComposer.java:57)
> > >>
> > >>     at
> > >> org.codehaus.plexus.component.composition.AbstractComponentComposer.assembleComponent(AbstractComponentComposer.java:142)
> > >>
> > >>     at
> > >> org.codehaus.plexus.component.composition.DefaultComponentComposerManager.assembleComponent(DefaultComponentComposerManager.java:72)
> > >>
> > >>     at
> > >> org.codehaus.plexus.personality.plexus.lifecycle.phase.CompositionPhase.execute(CompositionPhase.java:46)
> > >>
> > >>     at
> > >> org.codehaus.plexus.lifecycle.AbstractLifecycleHandler.start(AbstractLifecycleHandler.java:128)
> > >>
> > >>     at
> > >> org.codehaus.plexus.component.manager.AbstractComponentManager.startComponentLifecycle(AbstractComponentManager.java:142)
> > >>
> > >>     at
> > >> org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManager.java:132)
> > >>
> > >>     at
> > >> org.codehaus.plexus.component.manager.ClassicSingletonComponentManager.getComponent(ClassicSingletonComponentManager.java:90)
> > >>
> > >>     at
> > >> org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponentLookupManager.java:147)
> > >>
> > >>     at
> > >> org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:333)
> > >>
> > >>     at
> > >> org.codehaus.plexus.component.composition.AbstractComponentComposer.findRequirement(AbstractComponentComposer.java:232)
> > >>
> > >>     at
> > >> org.codehaus.plexus.component.composition.FieldComponentComposer.assignRequirementToField(FieldComponentComposer.java:66)
> > >>
> > >>     at
> > >> org.codehaus.plexus.component.composition.FieldComponentComposer.assignRequirement(FieldComponentComposer.java:57)
> > >>
> > >>     at
> > >> org.codehaus.plexus.component.composition.AbstractComponentComposer.assembleComponent(AbstractComponentComposer.java:142)
> > >>
> > >>     at
> > >> org.codehaus.plexus.component.composition.DefaultComponentComposerManager.assembleComponent(DefaultComponentComposerManager.java:72)
> > >>
> > >>     at
> > >> org.codehaus.plexus.personality.plexus.lifecycle.phase.CompositionPhase.execute(CompositionPhase.java:46)
> > >>
> > >>     at
> > >> org.codehaus.plexus.lifecycle.AbstractLifecycleHandler.start(AbstractLifecycleHandler.java:128)
> > >>
> > >>     at
> > >> org.codehaus.plexus.component.manager.AbstractComponentManager.startComponentLifecycle(AbstractComponentManager.java:142)
> > >>
> > >>     at
> > >> org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManager.java:132)
> > >>
> > >>     at
> > >> org.codehaus.plexus.component.manager.ClassicSingletonComponentManager.getComponent(ClassicSingletonComponentManager.java:90)
> > >>
> > >>     at
> > >> org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponentLookupManager.java:147)
> > >>
> > >>     at
> > >> org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:327)
> > >>
> > >>     at
> > >> org.codehaus.plexus.PlexusTestCase.lookup(PlexusTestCase.java:175)
> > >>     at
> > >> org.apache.maven.archiva.security.RoleManagerTest.setUp(RoleManagerTest.java:44)
> > >>
> > >>     at junit.framework.TestCase.runBare(TestCase.java:125)
> > >>     at junit.framework.TestResult$1.protect(TestResult.java:106)
> > >>     at junit.framework.TestResult.runProtected(TestResult.java:124)
> > >>     at junit.framework.TestResult.run(TestResult.java:109)
> > >>     at junit.framework.TestCase.run(TestCase.java:118)
> > >>     at junit.framework.TestSuite.runTest(TestSuite.java:208)
> > >>     at junit.framework.TestSuite.run(TestSuite.java:203)
> > >>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > >>     at
> > >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > >>
> > >>     at
> > >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > >>
> > >>     at java.lang.reflect.Method.invoke(Method.java:585)
> > >>     at
> > >> org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
> > >>
> > >>     at
> > >> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
> > >>
> > >>     at
> > >> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
> > >>
> > >>     at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
> > >>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > >>     at
> > >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > >>
> > >>     at
> > >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > >>
> > >>     at java.lang.reflect.Method.invoke(Method.java:585)
> > >>     at
> > >> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
> > >>
> > >>     at
> > >> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
> > >>
> > >>
> > >
> >
> >
>

Mime
View raw message