Return-Path: X-Original-To: apmail-archiva-users-archive@www.apache.org Delivered-To: apmail-archiva-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 786F0D2A6 for ; Wed, 10 Oct 2012 23:05:07 +0000 (UTC) Received: (qmail 71442 invoked by uid 500); 10 Oct 2012 23:05:07 -0000 Delivered-To: apmail-archiva-users-archive@archiva.apache.org Received: (qmail 71387 invoked by uid 500); 10 Oct 2012 23:05:07 -0000 Mailing-List: contact users-help@archiva.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@archiva.apache.org Delivered-To: mailing list users@archiva.apache.org Received: (qmail 71379 invoked by uid 99); 10 Oct 2012 23:05:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Oct 2012 23:05:07 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of predatorvi@gmail.com designates 209.85.223.170 as permitted sender) Received: from [209.85.223.170] (HELO mail-ie0-f170.google.com) (209.85.223.170) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Oct 2012 23:05:02 +0000 Received: by mail-ie0-f170.google.com with SMTP id c12so1776558ieb.15 for ; Wed, 10 Oct 2012 16:04:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=yODGwod7OPKmI+t8x9Llx2aWFctt6ZJvAOAvaGdt/GI=; b=PNd0z5UiZ+qrrLzPOxlbCJcSauC9AovbcXiVRVC/GRdTxsW4r/lucYuNuwLarPy3wG C8lG+hFkYlQZz/YnCAitLvWMBp5UASD6E1Gwo6Q0CYtZjDORyZP9aG9KY5amDvbbTYou SJkqiOuj4NLABeSxXwOk2xs0RzXjtwJXlkU6CkAPUSNopuAo2ISgvjxpuagfq5/6phUw Skp/E1JS38jzk+JpSVK/uzKvhe6tHPmAgyPWQi1Dd+JpCjkUE97tkSA5Q6K+eyqf9c3b dZ7pctFKx+tFLu5NLW+y6uuiGmCrS5VhR7nPFEnHjsk8xu5UKvbZklkFTvm+bt7nDWNX C4LA== Received: by 10.50.159.194 with SMTP id xe2mr6818585igb.62.1349910282331; Wed, 10 Oct 2012 16:04:42 -0700 (PDT) MIME-Version: 1.0 Received: by 10.64.124.37 with HTTP; Wed, 10 Oct 2012 16:04:22 -0700 (PDT) In-Reply-To: References: <399F6BEC-E781-443B-8974-574F8B7D4859@apache.org> From: Jeff Date: Wed, 10 Oct 2012 17:04:22 -0600 Message-ID: Subject: Re: 1.4-M3 -- YAY!!! To: users@archiva.apache.org Content-Type: multipart/alternative; boundary=14dae93405f9db66b104cbbc7a1d X-Virus-Checked: Checked by ClamAV on apache.org --14dae93405f9db66b104cbbc7a1d Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I did not get an e-mail. I have verified the settings for the e-mail, but I don't know how to validate that it email works in general. I hadn't noticed an error but just captured this in the Chrome console: 1. POST http://archiva/restServices/redbackServices/userService/updateMe= 500 (Internal Server Error) /js/jquery-1.8.1.min.js?_archivaVersion=3D1.4-M3:2 1. send/js/jquery-1.8.1.min.js?_archivaVersion=3D1.4-M3:2 2. p.extend.ajax/js/jquery-1.8.1.min.js?_archivaVersion=3D1.4-M3:2 3. editUserDetails/js/redback/user.js?_archivaVersion=3D1.4-M3:675 4. (anonymous function)/js/redback/user.js?_archivaVersion=3D1.4-M3:646 5. p.event.dispatch/js/jquery-1.8.1.min.js?_archivaVersion=3D1.4-M3:2= 6. g.handle.h/js/jquery-1.8.1.min.js?_archivaVersion=3D1.4-M3:2 1. Uncaught SyntaxError: Unexpected token < /js/jquery-1.8.1.min.js?_archivaVersion=3D1.4-M3:2 1. p.extend.parseJSON/js/jquery-1.8.1.min.js?_archivaVersion=3D1.4-M3= :2 2. $.ajax.error/js/redback/user.js?_archivaVersion=3D1.4-M3:694 3. k/js/jquery-1.8.1.min.js?_archivaVersion=3D1.4-M3:2 4. l.fireWith/js/jquery-1.8.1.min.js?_archivaVersion=3D1.4-M3:2 5. y/js/jquery-1.8.1.min.js?_archivaVersion=3D1.4-M3:2 6. send.d Exception on server: Oct 10, 2012 4:53:48 PM org.apache.catalina.core.StandardWrapperValve invok= e SEVERE: Servlet.service() for servlet CXFServlet threw exception java.lang.RuntimeException: org.apache.cxf.interceptor.Fault: fromIndex(0) > toIndex(-1) at org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMessage(Ab= stractFaultChainInitiatorObserver.java:115) at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChai= n.java:322) at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationO= bserver.java:121) at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDe= stination.java:211) at org.apache.cxf.transport.servlet.ServletController.invokeDestination(Servle= tController.java:213) at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController= .java:154) at org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringSer= vlet.java:130) at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(Abstract= HTTPServlet.java:221) at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPSer= vlet.java:141) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPSe= rvlet.java:197) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicatio= nFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterC= hain.java:206) at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(Cha= racterEncodingFilter.java:88) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequest= Filter.java:76) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicatio= nFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterC= hain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.j= ava:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.j= ava:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:12= 7) at com.googlecode.psiprobe.Tomcat60AgentValve.invoke(Tomcat60AgentValve.java:3= 0) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:10= 2) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.jav= a:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Htt= p11Protocol.java:588) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Thread.java:722) Caused by: org.apache.cxf.interceptor.Fault: fromIndex(0) > toIndex(-1) at org.apache.cxf.service.invoker.AbstractInvoker.createFault(AbstractInvoker.= java:162) at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:= 128) at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:167) at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:94) at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerIn= terceptor.java:58) at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceI= nvokerInterceptor.java:94) at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChai= n.java:262) ... 26 more Caused by: java.lang.IllegalArgumentException: fromIndex(0) > toIndex(-1) at java.util.ArrayList.subListRangeCheck(ArrayList.java:924) at java.util.ArrayList.subList(ArrayList.java:914) at org.apache.archiva.redback.policy.DefaultUserSecurityPolicy.extensionChange= Password(DefaultUserSecurityPolicy.java:329) at org.apache.archiva.redback.users.jdo.JdoUserManager.updateUser(JdoUserManag= er.java:377) at org.apache.archiva.redback.users.cached.CachedUserManager.updateUser(Cached= UserManager.java:240) at org.apache.archiva.redback.users.cached.CachedUserManager.updateUser(Cached= UserManager.java:230) at org.apache.archiva.redback.rest.services.DefaultUserService.updateUser(Defa= ultUserService.java:353) at org.apache.archiva.redback.rest.services.DefaultUserService.updateMe(Defaul= tUserService.java:334) at sun.reflect.GeneratedMethodAccessor359.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp= l.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractIn= voker.java:180) at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:= 96) ... 31 more On Wed, Oct 10, 2012 at 11:01 AM, Olivier Lamy wrote: > Hi, > The most important is to know if you pass in resetPassword method when > you use it. > That's located in class DefaultUserService method resetPassword > (that's part of redback sources: > https://svn.apache.org/repos/asf/archiva/redback/redback-core/). > Do you receive any emails when asking for a "password reset" ? > Do you any javascript errors in your browser console ? > > Thanks! > > 2012/10/9 Jeff : > > I pulled the source and have enabled remote debugging on the server. > I'll > > try to drill into it. If you can point me to the file/module I should > > focus on, it would help. :) > You need to have a look a > > > > On Tue, Oct 9, 2012 at 1:06 AM, Olivier Lamy wrote: > > > >> 2012/10/9 Brett Porter : > >> > > >> > On 09/10/2012, at 4:04 PM, Jeff wrote: > >> > > >> >> Okay, I copied the database to my system (host is headless Linux), > >> >> installed latest SquirrelSQL client copied the password field from > >> another > >> >> user that I remembered and was able to log in. > >> >> > >> >> THANK YOU! > >> >> > >> >> However, when I attempt to change the password, it tells me: > >> >> > >> >> Password provided does not match existing. > >> >> > >> >> I can log out and log in still using the password I copied but all > >> attempts > >> >> to change it result in this error...unless I pick a password I've > used > >> >> previously. > >> >> > >> >> Also, I don't want service accounts (users) that are used > specifically > >> for > >> >> our deployment scripts to have to change the password. > >> >> > >> >> My archiva installation/configuration is at /archiva/conf. I > created a > >> >> security.properties file there and have the following settings but = it > >> still > >> >> says the user requires a password change if I attempt to log in or > if I > >> >> "Manage" the users, the 3 service account users show that the "Forc= e > >> >> password change" is enabled but the setting won't stick if I change > it. > >> > > >> > I wonder if these could be bugs in the new UI? Obviously some > >> significant changes there and something might have crept through. You > could > >> always point 1.4-M2 or earlier at the users database and see if it act= s > as > >> expected... or file a bug regardless. > >> > > >> could be a bug in the new ui :-). > >> @Jeff what are the steps to reproduce that ? > >> Normally using reset link must send an email to you. > >> Can you create a jira with all the steps ? > >> > I'd add the deployment user to the unlockable accounts, which will > avoid > >> the issue of password change over time (but not help with the forced > >> password change). > >> > > >> > - Brett > >> > > >> > -- > >> > Brett Porter > >> > brett@apache.org > >> > http://brettporter.wordpress.com/ > >> > http://au.linkedin.com/in/brettporter > >> > http://twitter.com/brettporter > >> > > >> > > >> > > >> > > >> > > >> > >> > >> > >> -- > >> Olivier Lamy > >> Talend: http://coders.talend.com > >> http://twitter.com/olamy | http://linkedin.com/in/olamy > >> > > > > > > > > -- > > Jeff Vincent > > predatorvi@gmail.com > > See my LinkedIn profile at: > > http://www.linkedin.com/in/rjeffreyvincent > > I =E2=99=A5 DropBox !! > > > > -- > Olivier Lamy > Talend: http://coders.talend.com > http://twitter.com/olamy | http://linkedin.com/in/olamy > --=20 Jeff Vincent predatorvi@gmail.com See my LinkedIn profile at: http://www.linkedin.com/in/rjeffreyvincent I =E2=99=A5 DropBox !! --14dae93405f9db66b104cbbc7a1d--