archiva-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henri Yandell" <flame...@gmail.com>
Subject Re: pssForceAdminUserInterceptor error
Date Tue, 03 Oct 2006 17:59:54 GMT
Sorry for the delay - Monday's a work day rather than an open source day.

I think it was because I had an out of date database schema. There was
a missing column that was breaking the auth stuff.

Thanks for looking into it - user error :(

Hen

On 10/1/06, Jesse McConnell <jesse.mcconnell@gmail.com> wrote:
> hm, and actually I can't replicate this with trunk svn & no local changes.
>
> have you been editing the application.xml file at all?
>
> or actually, that is complaining of an unknown field on a
> component...and looking through the application.xml on archiva trunk
> it looks fine and the plexus-security UserSecurityPolicy object has
> the field so my bet is your snapshots are out of date...
>
> mvn -U jetty:run
>
> give that a whirl and lemme know
>
> jesse
>
>
>
> On 10/1/06, Jesse McConnell <jesse.mcconnell@gmail.com> wrote:
> > that would be something missing in the application.xml file...
> >
> > I had the same problem on the rbac-integration continuum branch
> > because of a missing role-hint for the jdo setup.  we had switched to
> > a users role hit or something.
> >
> > I'll try and take a peak real quick, I think there has been a little
> > push to try and enforce specific role-hints on some items, least I
> > heard something about that fridayish.
> >
> > jesse
> >
> >
> >
> > On 10/1/06, Henri Yandell <flamefew@gmail.com> wrote:
> > > Plexus runtime wise, the stdout had:
> > >
> > > 2006-10-01 00:23:19,444 [SocketListener0-1] ERROR ObjectFactory:plexus
> > >           - Unable look up
> > > com.opensymphony.xwork.interceptor.Interceptor:pssForceAdminUserInterceptor
> > > due to plexus misconfiguration.
> > > org.codehaus.plexus.xwork.ComponentCreationException: Unable look up
> > > com.opensymphony.xwork.interceptor.Interceptor:pssForceAdminUserInterceptor
> > > due to plexus misconfiguration.
> > >         at org.codehaus.plexus.xwork.PlexusObjectFactory.lookup(PlexusObjectFactory.java:399)
> > >
> > > with the lowest Caused By being:
> > >
> > > Caused by: org.codehaus.plexus.component.composition.CompositionException:
> > > Component Composition failed. No field of name:
> > > 'userValidationSettings' exists in component: role:
> > > 'org.codehaus.plexus.security.policy.UserSecurityPolicy',
> > > implementation:
> > > 'org.codehaus.plexus.security.policy.DefaultUserSecurityPolicy', role
> > > hint: 'default'
> > >         at org.codehaus.plexus.component.composition.FieldComponentComposer.getFieldByName(FieldComponentComposer.java:155)
> > >         at org.codehaus.plexus.component.composition.FieldComponentComposer.findMatchingField(FieldComponentComposer.java:102)
> > >
> > > Hen
> > >
> > > On 10/1/06, Brett Porter <brett@apache.org> wrote:
> > > > There isn't any additional info in there?
> > > >
> > > > On 01/10/2006, at 5:27 PM, Henri Yandell wrote:
> > > >
> > > > > Using the latest SVN I get the following error for the plexus runtime:
> > > > >
> > > > > Caught Exception while registering Interceptor class
> > > > > pssForceAdminUserInterceptor
> > > > >
> > > > > Within Tomat I get the same thing:
> > > > >
> > > > > Caught Exception while registering Interceptor class
> > > > > pssForceAdminUserInterceptor - [unknown location]
> > > > >       org.codehaus.plexus.xwork.PlexusObjectFactory.buildInterceptor
> > > > > (PlexusObjectFactory.java:134)
> > > > >
> > > > > com.opensymphony.xwork.config.providers.InterceptorBuilder.constructIn
> > > > > terceptorReference(InterceptorBuilder.java:48)
> > > > >
> > > > >
> > > > > Hen
> > > >
> > >
> >
> >
> > --
> > jesse mcconnell
> > jesse.mcconnell@gmail.com
> >
>
>
> --
> jesse mcconnell
> jesse.mcconnell@gmail.com
>

Mime
View raw message