Hi all,
i am currently setting up ors with a jar file on my pc. However the health of the server keeps being “not ready” eventhough no errors are thrown in the logs of the app & console output.
This is my config:
################################################################################################
### Minimal configuration example file for openrouteservice. For a description please visit: ###
### https://giscience.github.io/openrouteservice/run-instance/configuration/ ###
################################################################################################
ors:
engine:
profile_default:
build:
source_file: planet-250127.osm.pbf
profiles:
driving-car:
enabled: true
################################################################################
### Configuration file for openrouteservice. For a description please visit: ###
### https://giscience.github.io/openrouteservice/run-instance/configuration/ ###
################################################################################
##### General server settings #####
server:
port: 8082
error:
whitelabel:
enabled: false
# # Keep the context-path at / else the war file run with tomcat will have the context-path of /ors/v2 as well.
servlet:
context-path: /ors
tomcat:
keep-alive-timeout: 30000
spring:
profiles:
active: default
mvc:
servlet:
path: /
##### Settings related to springdoc #####
springdoc:
swagger-ui:
enabled: true
path: /swagger-ui
tryItOutEnabled: true
filter: false
syntaxHighlight:
activated: true
showExtensions: true
api-docs:
path: /v2/api-docs
version: OPENAPI_3_0
packages-to-scan: org.heigit.ors
pathsToMatch: /v2/**
##### Logging settings #####
logging:
file:
name: ./logs/ors.log
pattern:
console: "%d{yyyy-MM-dd HH:mm:ss} %highlight{%-7p} %style{%50t}{Cyan} %style{[ %-40.40c{1.} ]}{Bright Cyan} %m%n"
file: "%d{yyyy-MM-dd HH:mm:ss} %p [%-40.40c{1.}] - %m%n"
level:
root: WARN
org.heigit: INFO
This is the log:
2025-02-09 20:22:14 INFO [o.h.o.a.Application ] - Starting Application v9.1.0 using Java 23.0.1 with PID 18836 (H:\ors\ors.jar started by mail in H:\ors)
2025-02-09 20:22:14 INFO [o.h.o.a.Application ] - The following 1 profile is active: "default"
2025-02-09 20:22:14 INFO [o.h.o.a.ORSEnvironmentPostProcessor ] -
2025-02-09 20:22:14 INFO [o.h.o.a.ORSEnvironmentPostProcessor ] - Configuration lookup started.
2025-02-09 20:22:14 INFO [o.h.o.a.ORSEnvironmentPostProcessor ] - Configuration file lookup by default locations.
2025-02-09 20:22:14 INFO [o.h.o.a.ORSEnvironmentPostProcessor ] - Loaded file './ors-config.yml'.
2025-02-09 20:22:14 INFO [o.h.o.a.ORSEnvironmentPostProcessor ] -
2025-02-09 20:22:14 INFO [o.h.o.a.ORSEnvironmentPostProcessor ] - Environment variables overriding openrouteservice configuration parameters detected:
2025-02-09 20:22:14 INFO [o.h.o.a.ORSEnvironmentPostProcessor ] - ors.config.location=./ors-config.yml
2025-02-09 20:22:14 INFO [o.h.o.a.ORSEnvironmentPostProcessor ] - Configuration lookup finished.
2025-02-09 20:22:14 INFO [o.h.o.a.ORSEnvironmentPostProcessor ] -
2025-02-09 20:22:16 INFO [o.h.o.a.s.l.ORSInitContextListener ] - Initializing ORS...
2025-02-09 20:22:16 INFO [o.h.o.r.RoutingProfileManager ] - Total - 74 MB, Free - 31,87 MB, Max: 3,99 GB, Used - 42,13 MB
2025-02-09 20:22:16 INFO [o.h.o.r.RoutingProfileManager ] - ====> Initializing 1 profiles (1 threads) ...
2025-02-09 20:22:16 INFO [o.h.o.r.RoutingProfileManager ] - 1 profile configurations submitted as tasks.
2025-02-09 20:22:16 INFO [o.h.o.r.g.e.c.CorePreparationHandler ] - Using 1 threads for ch preparation threads
2025-02-09 20:22:16 INFO [o.h.o.r.g.e.c.CoreLMPreparationHandler ] - Using 1 threads for lm preparation threads
2025-02-09 20:22:16 INFO [o.h.o.r.g.e.c.CorePreparationHandler ] - Using 1 threads for ch preparation threads
2025-02-09 20:22:16 INFO [o.h.o.r.g.e.c.CoreLMPreparationHandler ] - Using 1 threads for lm preparation threads
2025-02-09 20:22:17 INFO [o.h.o.r.g.e.c.CoreLMPreparationHandler ] - Loaded landmark splitting collection from
2025-02-09 20:22:17 INFO [o.h.o.r.g.e.ORSGraphHopper ] - version v4.9.6|2025-01-14T12:17:35Z (7,20,5,4,5,7)
2025-02-09 20:22:17 INFO [o.h.o.r.g.e.ORSGraphHopper ] - graph CH|car_ors|RAM_STORE|3D|turn_cost|,,,,, details:edges:0(0MB), nodes:0(0MB), name:(0MB), geo:0(0MB), bounds:1.7976931348623157E308,-1.7976931348623157E308,1.7976931348623157E308,-1.7976931348623157E308,1.7976931348623157E308,-1.7976931348623157E308, shortcuts:0 (0MB), nodesCH:-1 (0MB), shortcuts:0 (0MB), nodesCH:-1 (0MB), shortcuts:0 (0MB), nodesCH:-1 (0MB)
2025-02-09 20:22:17 INFO [o.h.o.r.g.e.ORSGraphHopper ] - No custom areas are used, custom_areas.directory not given
2025-02-09 20:22:17 INFO [o.h.o.r.g.e.ORSGraphHopper ] - start creating graph from planet-250127.osm.pbf
2025-02-09 20:22:17 INFO [o.h.o.r.g.e.ORSGraphHopper ] - using CH|car_ors|RAM_STORE|3D|turn_cost|,,,,, memory:totalMB:90, usedMB:36
2025-02-09 20:22:18 INFO [o.h.o.a.Application ] - Started Application in 5.485 seconds (process running for 6.993)
2025-02-09 20:22:18 INFO [o.h.o.a.Application ] - openrouteservice {"build_date":"2025-01-29T12:41:18Z","graph_version":"1","version":"9.1.0"}
Any input would be appreciated^^