I managed to get this running but I'm facing a lot of problems that only occur when the application is running with java web start. When I run it from within my IDE it runs fine.
- Static content that should be served out of the box from within a folder named 'static' is not found in the jar. I wrote a mapping method to get it with
getClass().getResourceAsStream()
and write it to the response. - On my Win 7 & Java 8 machine, the used socket is not closed when shutting down. I see
jp2launcher.exe
that keeps running and probably prevents spring boot getting the shutdown hook called to clean up. Apparently there are some jars in the class path that aren't found.
java.io.FileNotFoundException:Jar URL cannot be resolved to absolute file path because it does not reside in the file system: https://mysite/webstart/org.springframework.boot-spring-boot.jar
Someone an idea what causes this?