Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-27414

unable to restart jenkins and load testng-plugin

    Details

    • Similar Issues:

      Description

      I installed testng-plugin and restarted the tomcat but testng-plugin is still on showing up in "Add build step" drop down list.

      When I upload testng-plugin.hpi, it says I need to start restart jenkins, which its is not allowing

      A problem occurred while processing the request. Please check our bug tracker to see if a similar problem has already been reported. If it is already reported, please vote and put a comment on it to let us gauge the impact of the problem. If you think this is a new issue, please file a new issue. When you file an issue, make sure to add the entire stack trace, along with the version of Jenkins and relevant plugins. The users list might be also useful in understanding what has happened.

      Stack trace

      javax.servlet.ServletException: hudson.lifecycle.RestartNotSupportedException: Default Windows lifecycle does not support restart.
      at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:796)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:649)
      at org.kohsuke.stapler.Stapler.service(Stapler.java:238)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:123)
      at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:114)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:48)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)

        Attachments

          Activity

          Hide
          danielbeck Daniel Beck added a comment -

          There is no bug here. Figure out how Jenkins needs to be restarted on your system and do it that way. Jenkins cannot restart itself, as the error message indicates.

          Show
          danielbeck Daniel Beck added a comment - There is no bug here. Figure out how Jenkins needs to be restarted on your system and do it that way. Jenkins cannot restart itself, as the error message indicates.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Daniel Beck
          Path:
          core/src/main/resources/jenkins/model/Jenkins/_restart.jelly
          core/src/main/resources/jenkins/model/Jenkins/_safeRestart.jelly
          http://jenkins-ci.org/commit/jenkins/12e55e4645ee9703cbaba115694c3ea79b762669
          Log:
          JENKINS-27414 Don't offer to restart if unsupported

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Daniel Beck Path: core/src/main/resources/jenkins/model/Jenkins/_restart.jelly core/src/main/resources/jenkins/model/Jenkins/_safeRestart.jelly http://jenkins-ci.org/commit/jenkins/12e55e4645ee9703cbaba115694c3ea79b762669 Log: JENKINS-27414 Don't offer to restart if unsupported
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Daniel Beck
          Path:
          core/src/main/resources/jenkins/model/Jenkins/_restart.jelly
          core/src/main/resources/jenkins/model/Jenkins/_safeRestart.jelly
          http://jenkins-ci.org/commit/jenkins/c294ed8e93eda32cd3676dbb9bcff891adbcccdb
          Log:
          Merge pull request #1604 from daniel-beck/JENKINS-27414

          JENKINS-27414 Don't offer to restart if unsupported

          Compare: https://github.com/jenkinsci/jenkins/compare/8907bb8a3443...c294ed8e93ed

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Daniel Beck Path: core/src/main/resources/jenkins/model/Jenkins/_restart.jelly core/src/main/resources/jenkins/model/Jenkins/_safeRestart.jelly http://jenkins-ci.org/commit/jenkins/c294ed8e93eda32cd3676dbb9bcff891adbcccdb Log: Merge pull request #1604 from daniel-beck/ JENKINS-27414 JENKINS-27414 Don't offer to restart if unsupported Compare: https://github.com/jenkinsci/jenkins/compare/8907bb8a3443...c294ed8e93ed
          Hide
          danielbeck Daniel Beck added a comment -

          Cosmetic change in Jenkins 1.608 so it tells you that it cannot restart itself.

          Show
          danielbeck Daniel Beck added a comment - Cosmetic change in Jenkins 1.608 so it tells you that it cannot restart itself.
          Hide
          dogfood dogfood added a comment -

          Integrated in jenkins_main_trunk #4065

          Result = SUCCESS

          Show
          dogfood dogfood added a comment - Integrated in jenkins_main_trunk #4065 Result = SUCCESS

            People

            • Assignee:
              nullin Nalin Makar
              Reporter:
              prateek_bagrecha Prateek Bagrecha
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: