archiva-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brett Porter <br...@apache.org>
Subject Re: Exception while registering Admin user
Date Mon, 18 Sep 2006 13:59:15 GMT
When I hit the problem, I just needed to wipe out the WEB-INF/ 
database from a previous run. You said you had a clean checkout, so  
maybe not that - but if not, worth a try.

- Brett

On 18/09/2006, at 10:52 PM, Joakim Erdfelt wrote:

> That is a known bug. :-(
>
> The archiva trunk is undergoing some security work right now.
> Keep an eye out on the commits in plexus-security and archiva/trunk  
> for
> this work.
>
> - Joakim Erdfelt
>
> Raphaël Piéroni wrote:
>> Hello,
>>
>> I checkout (18-09-2006) the last version of Archiva.
>> I called "mvn install" in the parent pom directory.
>> I got the generated War file.
>>
>> I deployed on a fresh tomcat (5.0.28 / jdk 1.4.2 )
>>
>> I go to the first page and try to register the administrator, but it
>> fails
>> with an exception which i copied here [1]
>>
>> Many thanks in advance for any help,
>>
>> Raphaël
>>
>> [1]
>> 2006-09-18 10:24:32,012 [http-8080-Processor24] INFO
>> Interceptor:configurationInterceptor - no accounts setup, create user
>> account, forwarding to registration
>> 2006-09-18 10:24:32,246 [http-8080-Processor24] INFO
>> FreemarkerManager              - Instantiating Freemarker  
>> ConfigManager!,
>> com.opensymphony.webwork.views.freemarker.FreemarkerManager
>> 2006-09-18 10:24:55,100 [http-8080-Processor24] WARN
>> OgnlUtil                       - Caught OgnlException while setting
>> property
>> 'fieldName' on type '
>> com.opensymphony.xwork.validator.validators.ExpressionValidator'.
>> ognl.NoSuchPropertyException:
>> com.opensymphony.xwork.validator.validators.ExpressionValidator.field 
>> Name
>>        at ognl.ObjectPropertyAccessor.setProperty (
>> ObjectPropertyAccessor.java:133)
>>        at
>> com.opensymphony.xwork.util.OgnlValueStack 
>> $ObjectAccessor.setProperty(
>> OgnlValueStack.java:64)
>>        at ognl.OgnlRuntime.setProperty(OgnlRuntime.java:1629)
>>        at ognl.ASTProperty.setValueBody(ASTProperty.java:105)
>>        at ognl.SimpleNode.evaluateSetValueBody(SimpleNode.java:177)
>>        at ognl.SimpleNode.setValue(SimpleNode.java:246)
>>        at ognl.Ognl.setValue(Ognl.java :476)
>>        at
>> com.opensymphony.xwork.util.OgnlUtil.setValue(OgnlUtil.java:186)
>>        at com.opensymphony.xwork.util.OgnlUtil.internalSetProperty(
>> OgnlUtil.java:360)
>>        at com.opensymphony.xwork.util.OgnlUtil.setProperties
>> (OgnlUtil.java
>> :76)
>>        at
>> com.opensymphony.xwork.util.OgnlUtil.setProperties(OgnlUtil.java
>> :103)
>>        at
>> com.opensymphony.xwork.util.OgnlUtil.setProperties(OgnlUtil.java
>> :90)
>>        at  
>> org.codehaus.plexus.xwork.PlexusObjectFactory.buildValidator (
>> PlexusObjectFactory.java:155)
>>        at  
>> com.opensymphony.xwork.validator.ValidatorFactory.getValidator(
>> ValidatorFactory.java:244)
>>        at
>> com.opensymphony.xwork.validator.DefaultActionValidatorManager.getVal 
>> idators(
>>
>> DefaultActionValidatorManager.java:66)
>>        at
>> com.opensymphony.xwork.validator.DefaultActionValidatorManager.valida 
>> te(
>> DefaultActionValidatorManager.java:95)
>>        at
>> com.opensymphony.xwork.validator.DefaultActionValidatorManager.valida 
>> te (
>> DefaultActionValidatorManager.java:83)
>>        at
>> com.opensymphony.xwork.validator.ValidationInterceptor.doBeforeInvoca 
>> tion(
>>
>> ValidationInterceptor.java:109)
>>        at
>> com.opensymphony.xwork.validator.ValidationInterceptor.doIntercept (
>> ValidationInterceptor.java:113)
>>        at
>> com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept(
>> MethodFilterInterceptor.java:86)
>>        at com.opensymphony.xwork.DefaultActionInvocation.invoke(
>> DefaultActionInvocation.java :188)
>>        at  
>> com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(
>> AroundInterceptor.java:31)
>>        at com.opensymphony.xwork.DefaultActionInvocation.invoke(
>> DefaultActionInvocation.java:188)
>>        at  
>> com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(
>> AroundInterceptor.java:31)
>>        at com.opensymphony.xwork.DefaultActionInvocation.invoke(
>> DefaultActionInvocation.java:188)
>>        at
>> com.opensymphony.xwork.interceptor.AroundInterceptor.intercept (
>> AroundInterceptor.java:31)
>>        at com.opensymphony.xwork.DefaultActionInvocation.invoke(
>> DefaultActionInvocation.java:188)
>>        at
>> com.opensymphony.webwork.interceptor.FileUploadInterceptor.intercept(
>> FileUploadInterceptor.java :171)
>>        at com.opensymphony.xwork.DefaultActionInvocation.invoke(
>> DefaultActionInvocation.java:188)
>>        at  
>> com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(
>> AroundInterceptor.java:31)
>>        at com.opensymphony.xwork.DefaultActionInvocation.invoke(
>> DefaultActionInvocation.java:188)
>>        at
>> com.opensymphony.webwork.interceptor.debugging.DebuggingInterceptor.i 
>> ntercept
>>
>> (DebuggingInterceptor.java:147)
>>        at com.opensymphony.xwork.DefaultActionInvocation.invoke(
>> DefaultActionInvocation.java:188)
>>        at  
>> com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(
>> AroundInterceptor.java:31)
>>        at com.opensymphony.xwork.DefaultActionInvocation.invoke (
>> DefaultActionInvocation.java:188)
>>        at  
>> com.opensymphony.xwork.interceptor.I18nInterceptor.intercept(
>> I18nInterceptor.java:151)
>>        at com.opensymphony.xwork.DefaultActionInvocation.invoke(
>> DefaultActionInvocation.java :188)
>>        at  
>> com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(
>> AroundInterceptor.java:31)
>>        at com.opensymphony.xwork.DefaultActionInvocation.invoke(
>> DefaultActionInvocation.java:188)
>>        at  
>> com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(
>> AroundInterceptor.java:31)
>>        at com.opensymphony.xwork.DefaultActionInvocation.invoke(
>> DefaultActionInvocation.java:188)
>>        at
>> com.opensymphony.xwork.interceptor.AroundInterceptor.intercept (
>> AroundInterceptor.java:31)
>>        at com.opensymphony.xwork.DefaultActionInvocation.invoke(
>> DefaultActionInvocation.java:188)
>>        at
>> com.opensymphony.xwork.interceptor.ExceptionMappingInterceptor.interc 
>> ept(
>> ExceptionMappingInterceptor.java :186)
>>        at com.opensymphony.xwork.DefaultActionInvocation.invoke(
>> DefaultActionInvocation.java:188)
>>        at com.opensymphony.xwork.DefaultActionProxy.execute(
>> DefaultActionProxy.java:113)
>>        at
>> com.opensymphony.webwork.dispatcher.DispatcherUtils.serviceAction(
>> DispatcherUtils.java:225)
>>        at  
>> com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter(
>> FilterDispatcher.java:202)
>>        at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
>> ApplicationFilterChain.java :186)
>>        at org.apache.catalina.core.ApplicationFilterChain.doFilter(
>> ApplicationFilterChain.java:157)
>>        at  
>> com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(
>> PageFilter.java:118)
>>        at  
>> com.opensymphony.module.sitemesh.filter.PageFilter.doFilter (
>> PageFilter.java:52)
>>        at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
>> ApplicationFilterChain.java:186)
>>        at org.apache.catalina.core.ApplicationFilterChain.doFilter(
>> ApplicationFilterChain.java :157)
>>        at
>> com.opensymphony.webwork.dispatcher.ActionContextCleanUp.doFilter
>> (ActionContextCleanUp.java:88)
>>        at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
>> ApplicationFilterChain.java :186)
>>        at org.apache.catalina.core.ApplicationFilterChain.doFilter(
>> ApplicationFilterChain.java:157)
>>        at org.apache.catalina.core.StandardWrapperValve.invoke(
>> StandardWrapperValve.java:214)
>>        at org.apache.catalina.core.StandardValveContext.invokeNext(
>> StandardValveContext.java:104)
>>        at org.apache.catalina.core.StandardPipeline.invoke(
>> StandardPipeline.java:520)
>>        at  
>> org.apache.catalina.core.StandardContextValve.invokeInternal (
>> StandardContextValve.java:198)
>>        at org.apache.catalina.core.StandardContextValve.invoke(
>> StandardContextValve.java:152)
>>        at org.apache.catalina.core.StandardValveContext.invokeNext(
>> StandardValveContext.java :104)
>>        at org.apache.catalina.core.StandardPipeline.invoke(
>> StandardPipeline.java:520)
>>        at org.apache.catalina.core.StandardHostValve.invoke(
>> StandardHostValve.java:137)
>>        at org.apache.catalina.core.StandardValveContext.invokeNext (
>> StandardValveContext.java:104)
>>        at org.apache.catalina.valves.ErrorReportValve.invoke(
>> ErrorReportValve.java:118)
>>        at org.apache.catalina.core.StandardValveContext.invokeNext(
>> StandardValveContext.java:102)
>>        at org.apache.catalina.core.StandardPipeline.invoke(
>> StandardPipeline.java:520)
>>        at org.apache.catalina.core.StandardEngineValve.invoke(
>> StandardEngineValve.java:109)
>>        at org.apache.catalina.core.StandardValveContext.invokeNext (
>> StandardValveContext.java:104)
>>        at org.apache.catalina.core.StandardPipeline.invoke(
>> StandardPipeline.java:520)
>>        at
>> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java
>> :929)
>>        at org.apache.coyote.tomcat5.CoyoteAdapter.service (
>> CoyoteAdapter.java:160)
>>        at org.apache.coyote.http11.Http11Processor.process(
>> Http11Processor.java:799)
>>        at
>> org.apache.coyote.http11.Http11Protocol 
>> $Http11ConnectionHandler.processConnection
>>
>> (Http11Protocol.java :705)
>>        at org.apache.tomcat.util.net.TcpWorkerThread.runIt(
>> PoolTcpEndpoint.java:577)
>>        at org.apache.tomcat.util.threads.ThreadPool 
>> $ControlRunnable.run(
>> ThreadPool.java:683)
>>        at java.lang.Thread.run (Thread.java:534)
>> 2006-09-18 10:24:55,131 [http-8080-Processor24] WARN
>> SQL                            - Object with id "admin" not found!
>> 2006-09-18 10:24:55,163 [http-8080-Processor24] ERROR
>> DispatcherUtils                - Could not execute action
>> java.lang.reflect.InvocationTargetException
>>        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:324)
>>        at  
>> com.opensymphony.xwork.DefaultActionInvocation.invokeAction (
>> DefaultActionInvocation.java:364)
>>        at
>> com.opensymphony.xwork.DefaultActionInvocation.invokeActionOnly(
>> DefaultActionInvocation.java:216)
>>        at com.opensymphony.xwork.DefaultActionInvocation.invoke(
>> DefaultActionInvocation.java :190)
>>        at
>> com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.doInter 
>> cept(
>>
>> DefaultWorkflowInterceptor.java:168)
>>        at
>> com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept(
>> MethodFilterInterceptor.java :86)
>>        at com.opensymphony.xwork.DefaultActionInvocation.invoke(
>> DefaultActionInvocation.java:188)
>>        at
>> com.opensymphony.xwork.validator.ValidationInterceptor.doIntercept(
>> ValidationInterceptor.java:115)
>>        at
>> com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept(
>> MethodFilterInterceptor.java:86)
>>        at com.opensymphony.xwork.DefaultActionInvocation.invoke(
>> DefaultActionInvocation.java:188)
>>        at  
>> com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(
>> AroundInterceptor.java:31)
>>        at com.opensymphony.xwork.DefaultActionInvocation.invoke(
>> DefaultActionInvocation.java:188)
>>        at
>> com.opensymphony.xwork.interceptor.AroundInterceptor.intercept (
>> AroundInterceptor.java:31)
>>        at com.opensymphony.xwork.DefaultActionInvocation.invoke(
>> DefaultActionInvocation.java:188)
>>        at  
>> com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(
>> AroundInterceptor.java :31)
>>        at com.opensymphony.xwork.DefaultActionInvocation.invoke(
>> DefaultActionInvocation.java:188)
>>        at
>> com.opensymphony.webwork.interceptor.FileUploadInterceptor.intercept(
>> FileUploadInterceptor.java:171)
>>        at com.opensymphony.xwork.DefaultActionInvocation.invoke(
>> DefaultActionInvocation.java:188)
>>        at  
>> com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(
>> AroundInterceptor.java:31)
>>        at com.opensymphony.xwork.DefaultActionInvocation.invoke(
>> DefaultActionInvocation.java:188)
>>        at
>> com.opensymphony.webwork.interceptor.debugging.DebuggingInterceptor.i 
>> ntercept
>>
>> (DebuggingInterceptor.java:147)
>>        at com.opensymphony.xwork.DefaultActionInvocation.invoke(
>> DefaultActionInvocation.java:188)
>>        at  
>> com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(
>> AroundInterceptor.java:31)
>>        at com.opensymphony.xwork.DefaultActionInvocation.invoke (
>> DefaultActionInvocation.java:188)
>>        at  
>> com.opensymphony.xwork.interceptor.I18nInterceptor.intercept(
>> I18nInterceptor.java:151)
>>        at com.opensymphony.xwork.DefaultActionInvocation.invoke(
>> DefaultActionInvocation.java :188)
>>        at  
>> com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(
>> AroundInterceptor.java:31)
>>        at com.opensymphony.xwork.DefaultActionInvocation.invoke(
>> DefaultActionInvocation.java:188)
>>        at  
>> com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(
>> AroundInterceptor.java:31)
>>        at com.opensymphony.xwork.DefaultActionInvocation.invoke(
>> DefaultActionInvocation.java:188)
>>        at
>> com.opensymphony.xwork.interceptor.AroundInterceptor.intercept (
>> AroundInterceptor.java:31)
>>        at com.opensymphony.xwork.DefaultActionInvocation.invoke(
>> DefaultActionInvocation.java:188)
>>        at
>> com.opensymphony.xwork.interceptor.ExceptionMappingInterceptor.interc 
>> ept(
>> ExceptionMappingInterceptor.java :186)
>>        at com.opensymphony.xwork.DefaultActionInvocation.invoke(
>> DefaultActionInvocation.java:188)
>>        at com.opensymphony.xwork.DefaultActionProxy.execute(
>> DefaultActionProxy.java:113)
>>        at
>> com.opensymphony.webwork.dispatcher.DispatcherUtils.serviceAction(
>> DispatcherUtils.java:225)
>>        at  
>> com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter(
>> FilterDispatcher.java:202)
>>        at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
>> ApplicationFilterChain.java :186)
>>        at org.apache.catalina.core.ApplicationFilterChain.doFilter(
>> ApplicationFilterChain.java:157)
>>        at  
>> com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(
>> PageFilter.java:118)
>>        at  
>> com.opensymphony.module.sitemesh.filter.PageFilter.doFilter (
>> PageFilter.java:52)
>>        at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
>> ApplicationFilterChain.java:186)
>>        at org.apache.catalina.core.ApplicationFilterChain.doFilter(
>> ApplicationFilterChain.java :157)
>>        at
>> com.opensymphony.webwork.dispatcher.ActionContextCleanUp.doFilter
>> (ActionContextCleanUp.java:88)
>>        at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
>> ApplicationFilterChain.java :186)
>>        at org.apache.catalina.core.ApplicationFilterChain.doFilter(
>> ApplicationFilterChain.java:157)
>>        at org.apache.catalina.core.StandardWrapperValve.invoke(
>> StandardWrapperValve.java:214)
>>        at org.apache.catalina.core.StandardValveContext.invokeNext(
>> StandardValveContext.java:104)
>>        at org.apache.catalina.core.StandardPipeline.invoke(
>> StandardPipeline.java:520)
>>        at  
>> org.apache.catalina.core.StandardContextValve.invokeInternal (
>> StandardContextValve.java:198)
>>        at org.apache.catalina.core.StandardContextValve.invoke(
>> StandardContextValve.java:152)
>>        at org.apache.catalina.core.StandardValveContext.invokeNext(
>> StandardValveContext.java :104)
>>        at org.apache.catalina.core.StandardPipeline.invoke(
>> StandardPipeline.java:520)
>>        at org.apache.catalina.core.StandardHostValve.invoke(
>> StandardHostValve.java:137)
>>        at org.apache.catalina.core.StandardValveContext.invokeNext (
>> StandardValveContext.java:104)
>>        at org.apache.catalina.valves.ErrorReportValve.invoke(
>> ErrorReportValve.java:118)
>>        at org.apache.catalina.core.StandardValveContext.invokeNext(
>> StandardValveContext.java:102)
>>        at org.apache.catalina.core.StandardPipeline.invoke(
>> StandardPipeline.java:520)
>>        at org.apache.catalina.core.StandardEngineValve.invoke(
>> StandardEngineValve.java:109)
>>        at org.apache.catalina.core.StandardValveContext.invokeNext (
>> StandardValveContext.java:104)
>>        at org.apache.catalina.core.StandardPipeline.invoke(
>> StandardPipeline.java:520)
>>        at
>> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java
>> :929)
>>        at org.apache.coyote.tomcat5.CoyoteAdapter.service (
>> CoyoteAdapter.java:160)
>>        at org.apache.coyote.http11.Http11Processor.process(
>> Http11Processor.java:799)
>>        at
>> org.apache.coyote.http11.Http11Protocol 
>> $Http11ConnectionHandler.processConnection
>>
>> (Http11Protocol.java :705)
>>        at org.apache.tomcat.util.net.TcpWorkerThread.runIt(
>> PoolTcpEndpoint.java:577)
>>        at org.apache.tomcat.util.threads.ThreadPool 
>> $ControlRunnable.run(
>> ThreadPool.java:683)
>>        at java.lang.Thread.run (Thread.java:534)
>> Caused by: java.lang.ExceptionInInitializerError
>>        at
>> org.codehaus.plexus.security.policy.PasswordRuleViolations.getLocaliz 
>> edViolations
>>
>> (PasswordRuleViolations.java:95)
>>        at
>> org.apache.maven.archiva.web.action.admin.NewUserAction.createAdminUs 
>> er (
>> NewUserAction.java:194)
>>        ... 71 more
>> Caused by: java.util.MissingResourceException: Can't find bundle  
>> for base
>> name org.codehaus.plexus.security.user, locale fr_FR
>>        at java.util.ResourceBundle.throwMissingResourceException (
>> ResourceBundle.java:804)
>>        at java.util.ResourceBundle.getBundleImpl 
>> (ResourceBundle.java:773)
>>        at java.util.ResourceBundle.getBundle(ResourceBundle.java:511)
>>        at org.codehaus.plexus.security.user.Messages .<clinit>(
>> Messages.java:33)
>>        ... 73 more

Mime
View raw message