org.springframework.boot.context.embedded.EmbeddedServletContainerException: Unable to start embedded Jetty servlet container

GitHub | CluEleSsUK | 8 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Execution from init.d fails to find keystore

    GitHub | 8 months ago | CluEleSsUK
    org.springframework.boot.context.embedded.EmbeddedServletContainerException: Unable to start embedded Jetty servlet container
  2. 0

    Configuring Jetty with SSL/TLS and Keystore

    Stack Overflow | 2 months ago | Timofey
    java.lang.IllegalStateException: no valid keystore
  3. 0

    Re: [jetty-users] WebAppContext only produces "HTTP ERROR: 503"

    eclipse.org | 2 years ago
    java.lang.IllegalStateException: No LoginService for org.eclipse.jetty.security.authentication.FormAuthenticator@10e434d in ConstraintSecurityHandler@3e97df@
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Using multiple embedded Hawtio instances on one machine/user can error on startup

    GitHub | 3 years ago | alex-sherwin
    java.lang.IllegalStateException: Failed to delete temp dir /home/acadiait/.hawtio/tmp
  6. 0

    Need more documentation on HTTPS setup

    GitHub | 3 years ago | ojhunt
    java.lang.IllegalStateException: Unable to retrieve certificate chain

  1. PKeidel 4 times, last 3 months ago
12 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IllegalStateException

    no valid keystore

    at org.eclipse.jetty.util.security.CertificateUtils.getKeyStore()
  2. Jetty
    AbstractLifeCycle.start
    1. org.eclipse.jetty.util.security.CertificateUtils.getKeyStore(CertificateUtils.java:48)[jetty-util-9.3.11.v20160721.jar!/:9.3.11.v20160721]
    2. org.eclipse.jetty.util.ssl.SslContextFactory.loadKeyStore(SslContextFactory.java:1023)[jetty-util-9.3.11.v20160721.jar!/:9.3.11.v20160721]
    3. org.eclipse.jetty.util.ssl.SslContextFactory.doStart(SslContextFactory.java:330)[jetty-util-9.3.11.v20160721.jar!/:9.3.11.v20160721]
    4. org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)[jetty-util-9.3.11.v20160721.jar!/:9.3.11.v20160721]
    5. org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)[jetty-util-9.3.11.v20160721.jar!/:9.3.11.v20160721]
    6. org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)[jetty-util-9.3.11.v20160721.jar!/:9.3.11.v20160721]
    7. org.eclipse.jetty.server.SslConnectionFactory.doStart(SslConnectionFactory.java:67)[jetty-server-9.3.11.v20160721.jar!/:9.3.11.v20160721]
    8. org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)[jetty-util-9.3.11.v20160721.jar!/:9.3.11.v20160721]
    9. org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)[jetty-util-9.3.11.v20160721.jar!/:9.3.11.v20160721]
    10. org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)[jetty-util-9.3.11.v20160721.jar!/:9.3.11.v20160721]
    11. org.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector.java:260)[jetty-server-9.3.11.v20160721.jar!/:9.3.11.v20160721]
    12. org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:81)[jetty-server-9.3.11.v20160721.jar!/:9.3.11.v20160721]
    13. org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:235)[jetty-server-9.3.11.v20160721.jar!/:9.3.11.v20160721]
    14. org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)[jetty-util-9.3.11.v20160721.jar!/:9.3.11.v20160721]
    14 frames
  3. Spring Boot
    EmbeddedWebApplicationContext.finishRefresh
    1. org.springframework.boot.context.embedded.jetty.JettyEmbeddedServletContainer.start(JettyEmbeddedServletContainer.java:126)[spring-boot-1.4.0.RELEASE.jar!/:1.4.0.RELEASE]
    2. org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.startEmbeddedServletContainer(EmbeddedWebApplicationContext.java:297)[spring-boot-1.4.0.RELEASE.jar!/:1.4.0.RELEASE]
    3. org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.finishRefresh(EmbeddedWebApplicationContext.java:145)[spring-boot-1.4.0.RELEASE.jar!/:1.4.0.RELEASE]
    3 frames
  4. Spring Context
    AbstractApplicationContext.refresh
    1. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:544)[spring-context-4.3.2.RELEASE.jar!/:4.3.2.RELEASE]
    1 frame
  5. Spring Boot
    SpringApplication.run
    1. org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122)[spring-boot-1.4.0.RELEASE.jar!/:1.4.0.RELEASE]
    2. org.springframework.boot.SpringApplication.refresh(SpringApplication.java:759)[spring-boot-1.4.0.RELEASE.jar!/:1.4.0.RELEASE]
    3. org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:369)[spring-boot-1.4.0.RELEASE.jar!/:1.4.0.RELEASE]
    4. org.springframework.boot.SpringApplication.run(SpringApplication.java:313)[spring-boot-1.4.0.RELEASE.jar!/:1.4.0.RELEASE]
    5. org.springframework.boot.SpringApplication.run(SpringApplication.java:1185)[spring-boot-1.4.0.RELEASE.jar!/:1.4.0.RELEASE]
    6. org.springframework.boot.SpringApplication.run(SpringApplication.java:1174)[spring-boot-1.4.0.RELEASE.jar!/:1.4.0.RELEASE]
    6 frames
  6. com.vatcat.backend
    Application.main
    1. com.vatcat.backend.rest.Application.main(Application.java:13)[classes!/:na]
    1 frame
  7. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_91]
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[na:1.8.0_91]
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_91]
    4. java.lang.reflect.Method.invoke(Method.java:498)[na:1.8.0_91]
    4 frames
  8. Spring Boot Loader
    JarLauncher.main
    1. org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)[backend-1.0-SNAPSHOT.jar:na]
    2. org.springframework.boot.loader.Launcher.launch(Launcher.java:87)[backend-1.0-SNAPSHOT.jar:na]
    3. org.springframework.boot.loader.Launcher.launch(Launcher.java:50)[backend-1.0-SNAPSHOT.jar:na]
    4. org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:58)[backend-1.0-SNAPSHOT.jar:na]
    4 frames