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

Unable to update jenkins from Jenkins 2.373 to 2.377. Error SEVERE jenkins.model.Jenkins#_cleanUpPluginServletFilters: Failed to stop filters

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • sse-gateway-plugin
    • None

      During "upgrade automatically", jenkins.log shows below error

       

      2022-11-09 17:09:59.508+0000 [id=364]   SEVERE  jenkins.model.Jenkins#_cleanUpPluginServletFilters: Failed to stop filters
      java.lang.ClassNotFoundException: org.jenkinsci.plugins.ssegateway.SubscriptionConfigQueue$SubscriptionConfig
              at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:471)
              at jenkins.util.URLClassLoader2.findClass(URLClassLoader2.java:35)
              at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:588)
              at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
      Caused: java.lang.NoClassDefFoundError: org/jenkinsci/plugins/ssegateway/SubscriptionConfigQueue$SubscriptionConfig
              at org.jenkinsci.plugins.ssegateway.SubscriptionConfigQueue.stop(SubscriptionConfigQueue.java:106)
              at org.jenkinsci.plugins.ssegateway.Endpoint$SSEListenChannelFilter.destroy(Endpoint.java:253)
              at hudson.util.PluginServletFilter.cleanUp(PluginServletFilter.java:185)
              at jenkins.model.Jenkins._cleanUpPluginServletFilters(Jenkins.java:3908)
              at jenkins.model.Jenkins.cleanUp(Jenkins.java:3605)
              at hudson.lifecycle.UnixLifecycle.restart(UnixLifecycle.java:70)
              at jenkins.model.Jenkins$20.run(Jenkins.java:4570)
      2022-11-09 17:09:59.509+0000 [id=364]   INFO    hudson.lifecycle.Lifecycle#onStatusUpdate: Jenkins stopped
      Running from: /usr/lib/jenkins/jenkins.war
      Exception in thread "main" java.lang.IllegalArgumentException: Unrecognized option: --handlerCountMax=100
              at winstone.cmdline.CmdLineParser.parse(CmdLineParser.java:52)
              at winstone.Launcher.getArgsFromCommandLine(Launcher.java:399)
              at winstone.Launcher.main(Launcher.java:369)
              at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
              at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.base/java.lang.reflect.Method.invoke(Method.java:566)
              at executable.Main.main(Main.java:355)

            olamy Olivier Lamy
            xs2bharat Bharat Bhatia
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: