- new Thread(() -> {
- try {
- TileserverMapnikInstance.get().start();
- } catch (Throwable t) {
- LOGGER.error("Could not start integrated tile server", t);
- }
- }).start();
+ if (LOGGER.isDebugEnabled())
+ LOGGER.debug("Starting tileserver mapnik automatically");
+ new TileserverMapnikStartJob().schedule();