Hey Johan,
I did a fresh install of 2020.03.2LTS - and I'm running Java 17.
I added the HTTPS Connection in Server.XML. Then I manually started the server using the server.bat file. I can hit
http://localhost:8080 and see the servoy graphic. When I try to run
http://localhost:8080/servoy-admin/ - I get a 404.
When I try to hit
https://localhost:8443 - I get a ERR_SSL_PROTOCOL_ERROR and "localhost send an invalid response". In the Servoy Server cmd window I see this:
- Code: Select all
Dec 12, 2024 1:55:19 PM org.apache.coyote.http11.Http11Processor service
INFO: Error parsing HTTP request header
Note: further occurrences of HTTP request parsing errors will be logged at DEBUG level.
java.lang.IllegalArgumentException: Invalid character found in method name. HTTP method names must be tokens
at org.apache.coyote.http11.Http11InputBuffer.parseRequestLine(Http11InputBuffer.java:430)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:502)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:810)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1623)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.base/java.lang.Thread.run(Thread.java:842)
If I uninstall Java 17 and go back to Java 8 - EVERYTHING WORKS FINE.
Any ideas on what's going on?
WIndows Server 2022 Standard
16GM RAM
Java 17