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

Failing to start Jenkins. No JSP support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Critical
    • Resolution: Fixed
    • Component/s: winstone-jetty
    • Labels:
    • Environment:
    • Similar Issues:

      Description

      I am trying to install Jenkins in Centos.
      Starting of jenkins fails with the below errors on console:

      [root@localhost ~]# java -DJENKINS_HOME=/root/.jenkins -jar /usr/lib/jenkins/jenkins.war --httpPort=8082
      Running from: /usr/lib/jenkins/jenkins.war
      webroot: System.getProperty("JENKINS_HOME")
      Nov 24, 2016 4:05:28 AM Main deleteWinstoneTempContents
      WARNING: Failed to delete the temporary Winstone file /tmp/winstone/jenkins.war
      Nov 24, 2016 4:05:28 AM org.eclipse.jetty.util.log.JavaUtilLog info
      INFO: Logging initialized @318ms
      Nov 24, 2016 4:05:28 AM winstone.Logger logInternal
      INFO: Beginning extraction from war file
      Nov 24, 2016 4:05:30 AM org.eclipse.jetty.util.log.JavaUtilLog warn
      WARNING: Empty contextPath
      Nov 24, 2016 4:05:30 AM org.eclipse.jetty.util.log.JavaUtilLog info
      INFO: jetty-9.2.z-SNAPSHOT
      Nov 24, 2016 4:05:30 AM org.eclipse.jetty.util.log.JavaUtilLog info
      INFO: NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet
      Nov 24, 2016 4:05:30 AM hudson.WebAppMain contextInitialized
      SEVERE: Failed to initialize Jenkins
      java.lang.InternalError
      at sun.security.ec.SunEC.initialize(Native Method)
      at sun.security.ec.SunEC.access$000(SunEC.java:49)
      at sun.security.ec.SunEC$1.run(SunEC.java:61)
      at sun.security.ec.SunEC$1.run(SunEC.java:58)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.security.ec.SunEC.<clinit>(SunEC.java:58)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
      at java.lang.Class.newInstance(Class.java:383)
      at sun.security.jca.ProviderConfig$2.run(ProviderConfig.java:221)
      at sun.security.jca.ProviderConfig$2.run(ProviderConfig.java:206)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.security.jca.ProviderConfig.doLoadProvider(ProviderConfig.java:206)
      at sun.security.jca.ProviderConfig.getProvider(ProviderConfig.java:187)
      at sun.security.jca.ProviderList.loadAll(ProviderList.java:282)
      at sun.security.jca.ProviderList.removeInvalid(ProviderList.java:299)
      at sun.security.jca.Providers.getFullProviderList(Providers.java:173)
      at java.security.Security.removeProvider(Security.java:444)
      at hudson.WebAppMain.contextInitialized(WebAppMain.java:121)
      at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:800)
      at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:444)
      at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:791)
      at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:294)
      at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1349)
      at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1342)
      at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:741)
      at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:505)
      at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
      at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
      at org.eclipse.jetty.server.Server.start(Server.java:387)
      at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
      at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
      at org.eclipse.jetty.server.Server.doStart(Server.java:354)
      at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
      at winstone.Launcher.<init>(Launcher.java:152)
      at winstone.Launcher.main(Launcher.java:352)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at Main._main(Main.java:264)
      at Main.main(Main.java:112)

      Nov 24, 2016 4:05:30 AM org.eclipse.jetty.util.log.JavaUtilLog warn
      WARNING: FAILED w.@14f94672{/,file:/root/.jenkins/war/,STARTING}{/root/.jenkins/war}: java.lang.InternalError
      java.lang.InternalError
      at sun.security.ec.SunEC.initialize(Native Method)
      at sun.security.ec.SunEC.access$000(SunEC.java:49)
      at sun.security.ec.SunEC$1.run(SunEC.java:61)
      at sun.security.ec.SunEC$1.run(SunEC.java:58)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.security.ec.SunEC.<clinit>(SunEC.java:58)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
      at java.lang.Class.newInstance(Class.java:383)
      at sun.security.jca.ProviderConfig$2.run(ProviderConfig.java:221)
      at sun.security.jca.ProviderConfig$2.run(ProviderConfig.java:206)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.security.jca.ProviderConfig.doLoadProvider(ProviderConfig.java:206)
      at sun.security.jca.ProviderConfig.getProvider(ProviderConfig.java:187)
      at sun.security.jca.ProviderList.loadAll(ProviderList.java:282)
      at sun.security.jca.ProviderList.removeInvalid(ProviderList.java:299)
      at sun.security.jca.Providers.getFullProviderList(Providers.java:173)
      at java.security.Security.removeProvider(Security.java:444)
      at hudson.WebAppMain.contextInitialized(WebAppMain.java:121)
      at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:800)
      at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:444)
      at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:791)
      at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:294)
      at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1349)
      at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1342)
      at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:741)
      at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:505)
      at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
      at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
      at org.eclipse.jetty.server.Server.start(Server.java:387)
      at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
      at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
      at org.eclipse.jetty.server.Server.doStart(Server.java:354)
      at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
      at winstone.Launcher.<init>(Launcher.java:152)
      at winstone.Launcher.main(Launcher.java:352)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at Main._main(Main.java:264)
      at Main.main(Main.java:112)

      Nov 24, 2016 4:05:30 AM org.eclipse.jetty.util.log.JavaUtilLog info
      INFO: Started ServerConnector@7a2145e6{HTTP/1.1}{0.0.0.0:8082}
      Nov 24, 2016 4:05:30 AM org.eclipse.jetty.util.log.JavaUtilLog warn
      WARNING: FAILED org.eclipse.jetty.server.Server@616c5f1a: java.lang.InternalError
      java.lang.InternalError
      at sun.security.ec.SunEC.initialize(Native Method)
      at sun.security.ec.SunEC.access$000(SunEC.java:49)
      at sun.security.ec.SunEC$1.run(SunEC.java:61)
      at sun.security.ec.SunEC$1.run(SunEC.java:58)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.security.ec.SunEC.<clinit>(SunEC.java:58)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
      at java.lang.Class.newInstance(Class.java:383)
      at sun.security.jca.ProviderConfig$2.run(ProviderConfig.java:221)
      at sun.security.jca.ProviderConfig$2.run(ProviderConfig.java:206)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.security.jca.ProviderConfig.doLoadProvider(ProviderConfig.java:206)
      at sun.security.jca.ProviderConfig.getProvider(ProviderConfig.java:187)
      at sun.security.jca.ProviderList.loadAll(ProviderList.java:282)
      at sun.security.jca.ProviderList.removeInvalid(ProviderList.java:299)
      at sun.security.jca.Providers.getFullProviderList(Providers.java:173)
      at java.security.Security.removeProvider(Security.java:444)
      at hudson.WebAppMain.contextInitialized(WebAppMain.java:121)
      at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:800)
      at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:444)
      at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:791)
      at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:294)
      at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1349)
      at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1342)
      at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:741)
      at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:505)
      at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
      at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
      at org.eclipse.jetty.server.Server.start(Server.java:387)
      at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
      at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
      at org.eclipse.jetty.server.Server.doStart(Server.java:354)
      at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
      at winstone.Launcher.<init>(Launcher.java:152)
      at winstone.Launcher.main(Launcher.java:352)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at Main._main(Main.java:264)
      at Main.main(Main.java:112)

      Nov 24, 2016 4:05:30 AM org.eclipse.jetty.util.log.JavaUtilLog info
      INFO: Stopped ServerConnector@7a2145e6{HTTP/1.1}{0.0.0.0:8082}
      Nov 24, 2016 4:05:30 AM winstone.Logger logInternal
      INFO: Winstone shutdown successfully
      Nov 24, 2016 4:05:30 AM winstone.Logger logInternal
      SEVERE: Container startup failed
      java.lang.InternalError
      at sun.security.ec.SunEC.initialize(Native Method)
      at sun.security.ec.SunEC.access$000(SunEC.java:49)
      at sun.security.ec.SunEC$1.run(SunEC.java:61)
      at sun.security.ec.SunEC$1.run(SunEC.java:58)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.security.ec.SunEC.<clinit>(SunEC.java:58)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
      at java.lang.Class.newInstance(Class.java:383)
      at sun.security.jca.ProviderConfig$2.run(ProviderConfig.java:221)
      at sun.security.jca.ProviderConfig$2.run(ProviderConfig.java:206)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.security.jca.ProviderConfig.doLoadProvider(ProviderConfig.java:206)
      at sun.security.jca.ProviderConfig.getProvider(ProviderConfig.java:187)
      at sun.security.jca.ProviderList.loadAll(ProviderList.java:282)
      at sun.security.jca.ProviderList.removeInvalid(ProviderList.java:299)
      at sun.security.jca.Providers.getFullProviderList(Providers.java:173)
      at java.security.Security.removeProvider(Security.java:444)
      at hudson.WebAppMain.contextInitialized(WebAppMain.java:121)
      at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:800)
      at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:444)
      at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:791)
      at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:294)
      at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1349)
      at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1342)
      at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:741)
      at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:505)
      at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
      at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
      at org.eclipse.jetty.server.Server.start(Server.java:387)
      at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
      at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
      at org.eclipse.jetty.server.Server.doStart(Server.java:354)
      at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
      at winstone.Launcher.<init>(Launcher.java:152)
      at winstone.Launcher.main(Launcher.java:352)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at Main._main(Main.java:264)
      at Main.main(Main.java:112)
      _

        Attachments

          Activity

          Hide
          naveen05p2137 Naveen Kumar added a comment -

          Updating Java to 1.8 helped fixing this issue.

          Show
          naveen05p2137 Naveen Kumar added a comment - Updating Java to 1.8 helped fixing this issue.

            People

            • Assignee:
              Unassigned
              Reporter:
              naveen05p2137 Naveen Kumar
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: