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

Jenkins 2.375.1 RPM fails to start: "Unrecognized option: --handlerCountMax=100"

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Blocker Blocker
    • core
    • None
    • centos 6.4
      java 11
      jenkins 2.375.1

      after updating our jenkins installation from 2.361.4 to 2.375.1 using "rpm -Uvh <jenkins_rpm_file>", jenkins fails to start with the mentioned error in the log file.

       

      Running from: /usr/share/java/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)

       

          [JENKINS-70182] Jenkins 2.375.1 RPM fails to start: "Unrecognized option: --handlerCountMax=100"

          Amit Dar created issue -
          Amit Dar made changes -
          Description Original: after updating our jenkins installation from 2.361.4 to 2.375.1 using "rpm -Uvh <jenkinsfile>", jenkins fails to start with the mentioned error in the log file.

           

          Running from: /usr/share/java/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)

           
          New: after updating our jenkins installation from 2.361.4 to 2.375.1 using "rpm -Uvh <jenkins_rpm_file>", jenkins fails to start with the mentioned error in the log file.

           

          Running from: /usr/share/java/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)

           
          Björn Pedersen made changes -
          Comment [ Did you  check [https://github.com/jenkinsci/script-security-plugin/releases/tag/1218.v39ca_7f7ed0a_c] if  the issue mentioned there applies to your scripts? ]
          Alexander Brandes made changes -
          Resolution New: Not A Defect [ 7 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]

            Unassigned Unassigned
            amidar Amit Dar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: