You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@archiva.apache.org by Henri Yandell <fl...@gmail.com> on 2006/10/01 09:27:06 UTC

pssForceAdminUserInterceptor error

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.constructInterceptorReference(InterceptorBuilder.java:48)


Hen

Re: pssForceAdminUserInterceptor error

Posted by Henri Yandell <fl...@gmail.com>.
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 <je...@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 <je...@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 <fl...@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 <br...@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
>

Re: pssForceAdminUserInterceptor error

Posted by Jesse McConnell <je...@gmail.com>.
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 <je...@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 <fl...@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 <br...@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

Re: pssForceAdminUserInterceptor error

Posted by Jesse McConnell <je...@gmail.com>.
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 <fl...@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 <br...@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

Re: pssForceAdminUserInterceptor error

Posted by Henri Yandell <fl...@gmail.com>.
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 <br...@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
>

Re: pssForceAdminUserInterceptor error

Posted by Brett Porter <br...@apache.org>.
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