Skip to content

Tag: jetty

Integration tests with WireMock failing because no ALPN Processors are found

I’m writing some integration tests for a Spring Boot application written in Kotlin. To stub some HTTP requests, I’m using WireMock via spring-cloud-contract-wiremock as dependency. Some anonymized sample code from an integration test: While running these tests on my local machine, everything is working fine. On the CI/CD environment it’s failing though with the following error: I did some searching

Configuring Jetty 9.2 to allow symlinks through XML file

My setup is a bit complicated, as I use JRuby with Warbler which uses Jetty 9.2.9 underneath. Now, the docs for enabling symlinks in Jetty tell you to add this to WEB-INF/jetty-web.xml:

IntelliJ Idea IDE using port 1099

I’m using IntelliJ Idea Community Edition IDE and I’m trying to run a Maven WebApp with Jetty by command line. I’m on a RedHat box I run this command: And I get this error: The funny thing is that when I close IntelliJ Idea, the 1099 port is released. I can’t find the reason why and how Idea is using