cryptomator / webdav-nio-adapter

Jackrabbit-based servlets running on embedded Jetty to serve a directory specified by a java.nio.file.Path
GNU Affero General Public License v3.0
12 stars 8 forks source link

Can not reuse server instance #10

Closed overheadhunter closed 7 years ago

overheadhunter commented 7 years ago

A server instance can not be restarted because its threadpool gets terminated:

server = WebDavServer.create();
server.start();
server.stop(); // will terminate internal threadpool
server.start(); // can no longer submit new tasks to threadpool