Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-402

Reset Password off Login call out producing error

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0-beta
    • Fix Version/s: 1.0-beta
    • Component/s: None
    • Labels:
      None
    • Environment:
      FF3

      Description

      Select Login => Enter in a Username that is entered into the Users screen and select the forgot password link => On the Password Recovery call out, enter in user name in the username field => Enter in a valid e-mail address (the e-mail address that is entered in against the User) => Select Reset Password => A Nexus error of ERROR 405: Method Not Allowed appears. From the wrapper.log:

      INFO | jvm 1 | 2008/07/31 14:12:16 | 2008-07-31 14:12:16,260 ERROR [org.sonatype.nexus.configuration.security.NexusSecurityConfiguration:default] - Unable to notify user by email for new user creation
      INFO | jvm 1 | 2008/07/31 14:12:16 | org.sonatype.nexus.smtp.SmtpClientException: Error handling smtp request
      INFO | jvm 1 | 2008/07/31 14:12:16 | at org.sonatype.nexus.smtp.DefaultSmtpClient.sendEmail(DefaultSmtpClient.java:115)
      INFO | jvm 1 | 2008/07/31 14:12:16 | at org.sonatype.nexus.smtp.DefaultSmtpClient.sendEmail(DefaultSmtpClient.java:90)
      INFO | jvm 1 | 2008/07/31 14:12:16 | at org.sonatype.nexus.configuration.security.DefaultNexusSecurityConfiguration.createUser(DefaultNexusSecurityConfiguration.java:321)
      INFO | jvm 1 | 2008/07/31 14:12:16 | at org.sonatype.nexus.rest.users.UserListResourceHandler.post(UserListResourceHandler.java:107)
      INFO | jvm 1 | 2008/07/31 14:12:16 | at org.restlet.resource.Resource.handlePost(Resource.java:484)
      INFO | jvm 1 | 2008/07/31 14:12:16 | at org.sonatype.nexus.rest.AbstractNexusResourceHandler.handlePost(AbstractNexusResourceHandler.java:338)
      INFO | jvm 1 | 2008/07/31 14:12:16 | at org.restlet.Finder.handle(Finder.java:297)
      INFO | jvm 1 | 2008/07/31 14:12:16 | at org.restlet.Filter.doHandle(Filter.java:105)
      INFO | jvm 1 | 2008/07/31 14:12:16 | at org.restlet.Filter.handle(Filter.java:135)
      INFO | jvm 1 | 2008/07/31 14:12:16 | at org.restlet.Router.handle(Router.java:445)
      INFO | jvm 1 | 2008/07/31 14:12:16 | at org.restlet.Filter.doHandle(Filter.java:105)
      INFO | jvm 1 | 2008/07/31 14:12:16 | at org.restlet.Filter.handle(Filter.java:135)
      INFO | jvm 1 | 2008/07/31 14:12:16 | at org.restlet.Filter.doHandle(Filter.java:105)
      INFO | jvm 1 | 2008/07/31 14:12:16 | at org.restlet.Filter.handle(Filter.java:135)
      INFO | jvm 1 | 2008/07/31 14:12:16 | at org.restlet.Router.handle(Router.java:445)
      INFO | jvm 1 | 2008/07/31 14:12:16 | at org.sonatype.nexus.rest.RetargetableRestlet.handle(RetargetableRestlet.java:33)
      INFO | jvm 1 | 2008/07/31 14:12:16 | at org.restlet.Filter.doHandle(Filter.java:105)
      INFO | jvm 1 | 2008/07/31 14:12:16 | at org.restlet.Filter.handle(Filter.java:135)
      INFO | jvm 1 | 2008/07/31 14:12:16 | at org.restlet.Filter.doHandle(Filter.java:105)
      INFO | jvm 1 | 2008/07/31 14:12:16 | at com.noelios.restlet.StatusFilter.doHandle(StatusFilter.java:89)
      INFO | jvm 1 | 2008/07/31 14:12:16 | at org.restlet.Filter.handle(Filter.java:135)
      INFO | jvm 1 | 2008/07/31 14:12:16 | at org.restlet.Filter.doHandle(Filter.java:105)
      INFO | jvm 1 | 2008/07/31 14:12:16 | at org.restlet.Filter.handle(Filter.java:135)
      INFO | jvm 1 | 2008/07/31 14:12:16 | at com.noelios.restlet.application.ApplicationHelper.handle(ApplicationHelper.java:98)
      INFO | jvm 1 | 2008/07/31 14:12:16 | at org.restlet.Application.handle(Application.java:294)
      INFO | jvm 1 | 2008/07/31 14:12:16 | at org.restlet.Filter.doHandle(Filter.java:105)
      INFO | jvm 1 | 2008/07/31 14:12:16 | at org.restlet.Filter.handle(Filter.java:135)
      INFO | jvm 1 | 2008/07/31 14:12:16 | at org.restlet.Router.handle(Router.java:445)
      INFO | jvm 1 | 2008/07/31 14:12:16 | at org.restlet.Filter.doHandle(Filter.java:105)
      INFO | jvm 1 | 2008/07/31 14:12:16 | at org.restlet.Filter.handle(Filter.java:135)
      INFO | jvm 1 | 2008/07/31 14:12:16 | at org.restlet.Router.handle(Router.java:445)
      INFO | jvm 1 | 2008/07/31 14:12:16 | at org.restlet.Filter.doHandle(Filter.java:105)
      INFO | jvm 1 | 2008/07/31 14:12:16 | at org.restlet.Filter.handle(Filter.java:135)
      INFO | jvm 1 | 2008/07/31 14:12:16 | at com.noelios.restlet.component.ComponentHelper.handle(ComponentHelper.java:120)
      INFO | jvm 1 | 2008/07/31 14:12:16 | at org.restlet.Component.handle(Component.java:231)
      INFO | jvm 1 | 2008/07/31 14:12:16 | at org.restlet.Server.handle(Server.java:282)
      INFO | jvm 1 | 2008/07/31 14:12:16 | at com.noelios.restlet.ServerHelper.handle(ServerHelper.java:100)
      INFO | jvm 1 | 2008/07/31 14:12:16 | at com.noelios.restlet.http.HttpServerHelper.handle(HttpServerHelper.java:94)
      INFO | jvm 1 | 2008/07/31 14:12:16 | at com.noelios.restlet.ext.servlet.ServerServlet.service(ServerServlet.java:399)
      INFO | jvm 1 | 2008/07/31 14:12:16 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      INFO | jvm 1 | 2008/07/31 14:12:16 | at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
      INFO | jvm 1 | 2008/07/31 14:12:16 | at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1097)
      INFO | jvm 1 | 2008/07/31 14:12:16 | at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:52)
      INFO | jvm 1 | 2008/07/31 14:12:16 | at org.jsecurity.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:102)
      INFO | jvm 1 | 2008/07/31 14:12:16 | at org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:128)
      INFO | jvm 1 | 2008/07/31 14:12:16 | at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:178)
      INFO | jvm 1 | 2008/07/31 14:12:16 | at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:57)
      INFO | jvm 1 | 2008/07/31 14:12:16 | at org.jsecurity.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:102)
      INFO | jvm 1 | 2008/07/31 14:12:16 | at org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:128)
      INFO | jvm 1 | 2008/07/31 14:12:16 | at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:178)
      INFO | jvm 1 | 2008/07/31 14:12:16 | at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:57)
      INFO | jvm 1 | 2008/07/31 14:12:16 | at org.jsecurity.web.servlet.JSecurityFilter.doFilterInternal(JSecurityFilter.java:382)
      INFO | jvm 1 | 2008/07/31 14:12:16 | at org.sonatype.nexus.security.filter.NexusJSecurityFilter.doFilterInternal(NexusJSecurityFilter.java:67)
      INFO | jvm 1 | 2008/07/31 14:12:16 | at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:178)
      INFO | jvm 1 | 2008/07/31 14:12:16 | at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1088)
      INFO | jvm 1 | 2008/07/31 14:12:16 | at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
      INFO | jvm 1 | 2008/07/31 14:12:16 | at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
      INFO | jvm 1 | 2008/07/31 14:12:16 | at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
      INFO | jvm 1 | 2008/07/31 14:12:16 | at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729)
      INFO | jvm 1 | 2008/07/31 14:12:16 | at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
      INFO | jvm 1 | 2008/07/31 14:12:16 | at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)
      INFO | jvm 1 | 2008/07/31 14:12:16 | at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
      INFO | jvm 1 | 2008/07/31 14:12:16 | at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
      INFO | jvm 1 | 2008/07/31 14:12:16 | at org.mortbay.jetty.Server.handle(Server.java:324)
      INFO | jvm 1 | 2008/07/31 14:12:16 | at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
      INFO | jvm 1 | 2008/07/31 14:12:16 | at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:843)
      INFO | jvm 1 | 2008/07/31 14:12:16 | at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647)
      INFO | jvm 1 | 2008/07/31 14:12:16 | at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
      INFO | jvm 1 | 2008/07/31 14:12:16 | at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
      INFO | jvm 1 | 2008/07/31 14:12:16 | at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
      INFO | jvm 1 | 2008/07/31 14:12:16 | at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488)
      INFO | jvm 1 | 2008/07/31 14:12:16 | Caused by: org.codehaus.plexus.mailsender.MailSenderException: Error while sending mail.
      INFO | jvm 1 | 2008/07/31 14:12:16 | at org.codehaus.plexus.mailsender.simple.SimpleMailSender.send(SimpleMailSender.java:135)
      INFO | jvm 1 | 2008/07/31 14:12:16 | at org.sonatype.nexus.smtp.DefaultSmtpClient.sendEmail(DefaultSmtpClient.java:111)
      INFO | jvm 1 | 2008/07/31 14:12:16 | ... 70 more
      INFO | jvm 1 | 2008/07/31 14:12:16 | Caused by: java.net.UnknownHostException: smtp-host
      INFO | jvm 1 | 2008/07/31 14:12:16 | at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)
      INFO | jvm 1 | 2008/07/31 14:12:16 | at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
      INFO | jvm 1 | 2008/07/31 14:12:16 | at java.net.Socket.connect(Socket.java:519)
      INFO | jvm 1 | 2008/07/31 14:12:16 | at java.net.Socket.connect(Socket.java:469)
      INFO | jvm 1 | 2008/07/31 14:12:16 | at java.net.Socket.<init>(Socket.java:366)
      INFO | jvm 1 | 2008/07/31 14:12:16 | at java.net.Socket.<init>(Socket.java:180)
      INFO | jvm 1 | 2008/07/31 14:12:16 | at org.codehaus.plexus.mailsender.simple.SimpleMailMessage.connect(SimpleMailMessage.java:417)
      INFO | jvm 1 | 2008/07/31 14:12:16 | at org.codehaus.plexus.mailsender.simple.SimpleMailMessage.<init>(SimpleMailMessage.java:200)
      INFO | jvm 1 | 2008/07/31 14:12:16 | at org.codehaus.plexus.mailsender.simple.SimpleMailSender.send(SimpleMailSender.java:79)
      INFO | jvm 1 | 2008/07/31 14:12:16 | ... 71 more

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              koconnor Kristine O'Connor
              Reporter:
              koconnor Kristine O'Connor
              Last Updated By:
              Peter Lynch Peter Lynch
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 6h
                  6h

                    tigCommentSecurity.panel-title