Миграция на Jenkins 2.1.1- поддержка AJP в Winstone 3.0 удалена из-за того, что Jetty 9 не поддерживает AJP

Я перешел с установки Jenkins 1.6.x на 2.1.1 Следующая ошибка не позволяет запустить Jenkins.

    Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
    Running from: /usr/lib/jenkins/jenkins.war
    Apr 19, 2018 2:26:44 PM Main deleteWinstoneTempContents
    WARNING: Failed to delete the temporary Winstone file /tmp/winstone/jenkins.war
    Apr 19, 2018 2:26:44 PM org.eclipse.jetty.util.log.Log initialized
    INFO: Logging initialized @444ms to org.eclipse.jetty.util.log.JavaUtilLog
    Apr 19, 2018 2:26:45 PM winstone.Logger logInternal
    INFO: Beginning extraction from war file
    Apr 19, 2018 2:26:45 PM org.eclipse.jetty.server.handler.ContextHandler setContextPath
    WARNING: Empty contextPath
    Apr 19, 2018 2:26:45 PM winstone.Logger logInternal
    INFO: Winstone shutdown successfully
    java.io.IOException: Failed to start a listener: winstone.Ajp13ConnectorFactory
            at winstone.Launcher.spawnListener(Launcher.java:209)
            at winstone.Launcher.<init>(Launcher.java:149)
            at winstone.Launcher.main(Launcher.java:354)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
            at java.lang.reflect.Method.invoke(Method.java:497)
            at Main._main(Main.java:312)
            at Main.main(Main.java:136)
    Caused by: java.lang.UnsupportedOperationException: AJP support is removed in Winstone 3.0 due to Jetty 9 not supporting AJP. For reverse proxying, please use HTTP instead of AJP.
            at winstone.Ajp13ConnectorFactory.start(Ajp13ConnectorFactory.java:32)
            at winstone.Launcher.spawnListener(Launcher.java:207)
            ... 8 more
    Apr 19, 2018 2:26:45 PM winstone.Logger logInternal
    SEVERE: Container startup failed
    java.io.IOException: Failed to start a listener: winstone.Ajp13ConnectorFactory
            at winstone.Launcher.spawnListener(Launcher.java:209)
            at winstone.Launcher.<init>(Launcher.java:149)
            at winstone.Launcher.main(Launcher.java:354)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
            at java.lang.reflect.Method.invoke(Method.java:497)
            at Main._main(Main.java:312)
            at Main.main(Main.java:136)
    Caused by: java.lang.UnsupportedOperationException: AJP support is removed in Winstone 3.0 due to Jetty 9 not supporting AJP. For reverse proxying, please use HTTP instead of AJP.
            at winstone.Ajp13ConnectorFactory.start(Ajp13ConnectorFactory.java:32)
            at winstone.Launcher.spawnListener(Launcher.java:207)
            ... 8 more

** ПРИМЕЧАНИЕ: я попытался JENKINS_AJP_PORT="-1" в /etc/sysconfig/jenkins, а также попытался закомментировать #JENKINS_AJP_PORT="8009" #JENKINS_AJP_LISTEN_ADDRESS="" и запустил, но все еще вижу ту же ошибку запуска. Пожалуйста помоги!!

0 ответов

Другие вопросы по тегам