Use other OSM file in docker


#1

It’s unclear where to adjust configuration to use my own OSM file.

I’ve found

  • ARG OSM_FILE=docker/data/heidelberg.osm.gz= in Dockerfile
  • OSM_FILE: ./docker/data/heidelberg.osm.gz: in docker-compose.yml

The same issue is for the app.config file. This is found in Dockerfile and in docker-compose.yml. Which should I adjust?

The README has some info. But this is not working for me. I’d like to see the steps needed to change app.config and to (re)start the container with this new configuration. E.g. do i need to rebuild or recreate the images/containers?


#2

I have a similar issue with the Docker approach. When I check "http://localhost:8080/ors/health" I get "{"status":"not ready"}".

What is wrong here?

What I did:

  • I downloaded a new osm data in the „.osm.pbf" format from https://extract.bbbike.org/ (let’s say it’s named berlin.osm.pbf)

  • I added the file to the "data" folder

  • I deleted the "graph" folder

  • I adjusted docker-compose.yml from OSM_FILE: ./docker/data/heidelberg.osm.gz: to OSM_FILE: ./docker/data/berlin.osm.pbf:

  • I adjusted the dockerfile from ARG OSM_FILE=docker/data/heidelberg.osm.gz to ARG OSM_FILE=docker/data/berlin.osm.pbf

  • I ran docker-compose up –d

  • when i run "localhost:8080/ors/routes?profile=foot-walking&coordinates=13.3283058,52.4864847|13.3591409,52.4810045 I get {“error”:{“code”:2099,“message”:“Routing service is not ready yet.”},“info”:{“engine”:{“version”:“5.0”,“build_date”:“2019-05-21T11:10:44Z”},“timestamp”:1558440850384}}

What is code 2099? I could find nothing in the docs.
I really would appreciate your help.

Thanks Marian


#3

Well, how big is that OSM file? And how long did you wait before firing requests? It can take a few minutes up to a few hours to prepare the graphs.

Can you also post relevant output from sudo docker log <id>?

Regarding 2099: the message says it all. It’s not ready yet.


#4

@arjobsen sorry for not getting back to you earlier on this, please adjust the docker-compose.yml for this. The Dockerfile will read those arguments then.


#5

Thanks Nils for your quick reply.

My file is 108 MB in size and I waited up to one hour. When I look into my graph folder I only can find an empty lock file (“graphs\vehicles-cargh.lock”).

As I understand from the docs files in your git hub repo when you write *.pbf is supported you mean *.osm.pbf. Is that correct or could the file type be an issue here?


#6

No, file type is not an issue here. .osm. is not adding anything anyways, that’s just an unnecessary slug.

Is there any logs (see my edited answer)?


#7
21-May-2019 11:49:07.200 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version:        Apache Tomcat/8.0.32
21-May-2019 11:49:07.202 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built:          Feb 2 2016 19:34:53 UTC
21-May-2019 11:49:07.202 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server number:         8.0.32.0
21-May-2019 11:49:07.203 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name:               Linux
21-May-2019 11:49:07.203 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version:            4.9.125-linuxkit
21-May-2019 11:49:07.203 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture:          amd64
21-May-2019 11:49:07.203 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home:             /usr/lib/jvm/java-8-openjdk-amd64/jre
21-May-2019 11:49:07.203 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version:           1.8.0_212-8u212-b01-1~deb9u1-b01
21-May-2019 11:49:07.203 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor:            Oracle Corporation
21-May-2019 11:49:07.203 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE:         /usr/local/tomcat
21-May-2019 11:49:07.204 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME:         /usr/local/tomcat
21-May-2019 11:49:07.204 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=/usr/local/tomcat/conf/logging.properties
21-May-2019 11:49:07.204 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
21-May-2019 11:49:07.204 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.endorsed.dirs=/usr/local/tomcat/endorsed
21-May-2019 11:49:07.205 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=/usr/local/tomcat
21-May-2019 11:49:07.205 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=/usr/local/tomcat
21-May-2019 11:49:07.205 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=/usr/local/tomcat/temp
21-May-2019 11:49:07.205 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/packages/lib/amd64:/usr/lib/x86_64-linux-gnu/jni:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/jni:/lib:/usr/lib
21-May-2019 11:49:07.393 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"]
21-May-2019 11:49:07.414 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
21-May-2019 11:49:07.424 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-8009"]
21-May-2019 11:49:07.427 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
21-May-2019 11:49:07.428 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 820 ms
21-May-2019 11:49:07.472 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service Catalina
21-May-2019 11:49:07.473 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.0.32
21-May-2019 11:49:07.545 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive /usr/local/tomcat/webapps/ors.war
21-May-2019 11:49:11.576 INFO [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::        (v2.0.4.RELEASE)

SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
<?xml version="1.0" ?>
<Configuration>
  <Properties>
    <Property name="filename">/var/log/ors/ors-logs.log</Property>
  </Properties>
</Configuration>
21-May-2019 11:49:18.769 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive /usr/local/tomcat/webapps/ors.war has finished in 11,215 ms
21-May-2019 11:49:18.771 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory /usr/local/tomcat/webapps/ROOT
21-May-2019 11:49:18.794 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory /usr/local/tomcat/webapps/ROOT has finished in 23 ms
21-May-2019 11:49:18.795 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory /usr/local/tomcat/webapps/host-manager
21-May-2019 11:49:18.836 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory /usr/local/tomcat/webapps/host-manager has finished in 41 ms
21-May-2019 11:49:18.837 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory /usr/local/tomcat/webapps/manager
21-May-2019 11:49:18.860 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory /usr/local/tomcat/webapps/manager has finished in 23 ms
21-May-2019 11:49:18.876 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory /usr/local/tomcat/webapps/examples
21-May-2019 11:49:19.187 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory /usr/local/tomcat/webapps/examples has finished in 311 ms
21-May-2019 11:49:19.187 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory /usr/local/tomcat/webapps/docs
21-May-2019 11:49:19.226 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory /usr/local/tomcat/webapps/docs has finished in 39 ms
21-May-2019 11:49:19.241 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"]
21-May-2019 11:49:19.252 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-nio-8009"]
21-May-2019 11:49:19.323 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 11894 ms
Exception in thread "pool-7-thread-1" java.lang.OutOfMemoryError: Java heap space
        at com.google.protobuf.LongArrayList.addLong(LongArrayList.java:182)
        at com.google.protobuf.LongArrayList.addLong(LongArrayList.java:164)
        at org.openstreetmap.osmosis.osmbinary.Osmformat$DenseNodes.dynamicMethod(Osmformat.java:10336)
        at com.google.protobuf.GeneratedMessageLite.parsePartialFrom(GeneratedMessageLite.java:1505)
        at com.google.protobuf.GeneratedMessageLite$DefaultInstanceBasedParser.parsePartialFrom(GeneratedMessageLite.java:1490)
        at com.google.protobuf.GeneratedMessageLite$DefaultInstanceBasedParser.parsePartialFrom(GeneratedMessageLite.java:1478)
        at com.google.protobuf.CodedInputStream$ArrayDecoder.readMessage(CodedInputStream.java:874)
        at org.openstreetmap.osmosis.osmbinary.Osmformat$PrimitiveGroup.dynamicMethod(Osmformat.java:4525)
        at com.google.protobuf.GeneratedMessageLite.parsePartialFrom(GeneratedMessageLite.java:1505)
        at com.google.protobuf.GeneratedMessageLite$DefaultInstanceBasedParser.parsePartialFrom(GeneratedMessageLite.java:1490)
        at com.google.protobuf.GeneratedMessageLite$DefaultInstanceBasedParser.parsePartialFrom(GeneratedMessageLite.java:1478)
        at com.google.protobuf.CodedInputStream$ArrayDecoder.readMessage(CodedInputStream.java:874)
        at org.openstreetmap.osmosis.osmbinary.Osmformat$PrimitiveBlock.dynamicMethod(Osmformat.java:3158)
        at com.google.protobuf.GeneratedMessageLite.parsePartialFrom(GeneratedMessageLite.java:1505)
        at com.google.protobuf.GeneratedMessageLite.parsePartialFrom(GeneratedMessageLite.java:1596)
        at com.google.protobuf.GeneratedMessageLite.parseFrom(GeneratedMessageLite.java:1613)
        at org.openstreetmap.osmosis.osmbinary.Osmformat$PrimitiveBlock.parseFrom(Osmformat.java:2683)
        at com.graphhopper.reader.osm.pbf.PbfBlobDecoder.processOsmPrimitives(PbfBlobDecoder.java:370)
        at com.graphhopper.reader.osm.pbf.PbfBlobDecoder.runAndTrapExceptions(PbfBlobDecoder.java:388)
        at com.graphhopper.reader.osm.pbf.PbfBlobDecoder.run(PbfBlobDecoder.java:400)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
Exception in thread "pool-7-thread-3" java.lang.OutOfMemoryError: Java heap space
        at com.google.protobuf.LongArrayList.addLong(LongArrayList.java:182)
        at com.google.protobuf.LongArrayList.addLong(LongArrayList.java:164)
        at org.openstreetmap.osmosis.osmbinary.Osmformat$DenseNodes.dynamicMethod(Osmformat.java:10281)
        at com.google.protobuf.GeneratedMessageLite.parsePartialFrom(GeneratedMessageLite.java:1505)
        at com.google.protobuf.GeneratedMessageLite$DefaultInstanceBasedParser.parsePartialFrom(GeneratedMessageLite.java:1490)
        at com.google.protobuf.GeneratedMessageLite$DefaultInstanceBasedParser.parsePartialFrom(GeneratedMessageLite.java:1478)
        at com.google.protobuf.CodedInputStream$ArrayDecoder.readMessage(CodedInputStream.java:874)
        at org.openstreetmap.osmosis.osmbinary.Osmformat$PrimitiveGroup.dynamicMethod(Osmformat.java:4525)
        at com.google.protobuf.GeneratedMessageLite.parsePartialFrom(GeneratedMessageLite.java:1505)
        at com.google.protobuf.GeneratedMessageLite$DefaultInstanceBasedParser.parsePartialFrom(GeneratedMessageLite.java:1490)
        at com.google.protobuf.GeneratedMessageLite$DefaultInstanceBasedParser.parsePartialFrom(GeneratedMessageLite.java:1478)
        at com.google.protobuf.CodedInputStream$ArrayDecoder.readMessage(CodedInputStream.java:874)
        at org.openstreetmap.osmosis.osmbinary.Osmformat$PrimitiveBlock.dynamicMethod(Osmformat.java:3158)
        at com.google.protobuf.GeneratedMessageLite.parsePartialFrom(GeneratedMessageLite.java:1505)
        at com.google.protobuf.GeneratedMessageLite.parsePartialFrom(GeneratedMessageLite.java:1596)
        at com.google.protobuf.GeneratedMessageLite.parseFrom(GeneratedMessageLite.java:1613)
        at org.openstreetmap.osmosis.osmbinary.Osmformat$PrimitiveBlock.parseFrom(Osmformat.java:2683)
        at com.graphhopper.reader.osm.pbf.PbfBlobDecoder.processOsmPrimitives(PbfBlobDecoder.java:370)
        at com.graphhopper.reader.osm.pbf.PbfBlobDecoder.runAndTrapExceptions(PbfBlobDecoder.java:388)
        at com.graphhopper.reader.osm.pbf.PbfBlobDecoder.run(PbfBlobDecoder.java:400)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
Exception in thread "pool-7-thread-2" java.lang.OutOfMemoryError: GC overhead limit exceeded
21 May 11:56:16 ERROR [http.BaseHttpServlet] - heigit.ors.exceptions.StatusCodeException: Routing service is not ready yet.
21 May 11:56:17 ERROR [http.BaseHttpServlet] - heigit.ors.exceptions.StatusCodeException: Routing service is not ready yet.
21 May 12:14:10 ERROR [http.BaseHttpServlet] - heigit.ors.exceptions.StatusCodeException: Routing service is not ready yet.
21 May 12:34:13 ERROR [http.BaseHttpServlet] - heigit.ors.exceptions.StatusCodeException: Routing service is not ready yet.
21 May 12:34:14 ERROR [http.BaseHttpServlet] - heigit.ors.exceptions.StatusCodeException: Routing service is not ready yet.

#8

It seems java is out on memory.

Exception in thread "pool-7-thread-2" java.lang.OutOfMemoryError: GC overhead limit exceeded

Is that correct ? what can I do here ?


#9

Hm, you’re sure you specified an OSM file with 100 MB?

The heap settings are adjusted in the docker-compose.yml:

The current settings should definitely be enough!! So, try this:

  • Increase the -Xms/-Xmx settings both to 2 GB and try again
  • if that doesn’t work, please add on the same line -XX:MaxMetaspaceSize=512m

And please let us know in either case.


#10

What i did:

  • docker-compose down

  • edited the yml file like you suggested:

    version: ‘3’
    services:
    ors-app:
    container_name: ors-app
    ports:
    - 8080:8080
    build:
    context: …/
    args:
    APP_CONFIG: ./docker/conf/app.config.sample
    OSM_FILE: ./docker/data/planet_12.293_51.835_7863fdff.osm.pbf
    volumes:
    - ./graphs:/ors-core/data/graphs
    - ./elevation_cache:/ors-core/data/elevation_cache
    - ./logs/ors/:/var/log/ors/
    - ./logs/tomcat/:/usr/local/tomcat/logs
    environment:
    - JAVA_OPTS=-Djava.awt.headless=true -server -XX:TargetSurvivorRatio=75 -XX:SurvivorRatio=64 -XX:MaxTenuringThreshold=3 -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:ParallelGCThreads=4 -Xms2g -Xmx2g -XX:MaxMetaspaceSize=512m
    - CATALINA_OPTS= -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=9001 -Dcom.sun.management.jmxremote.rmi.port=9001 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Djava.rmi.server.hostname=localhost

  • docker-compose build

  • docker-compose up -d

Error message in docker logs:
Exception in thread "pool-7-thread-2" java.lang.OutOfMemoryError: GC overhead limit exceeded

I am running dockers on windows pro, but i guess that could not be the problem as docker is a container enviroment, right?

21-May-2019 13:26:46.581 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version:        Apache Tomcat/8.0.32
21-May-2019 13:26:46.583 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built:          Feb 2 2016 19:34:53 UTC
21-May-2019 13:26:46.584 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server number:         8.0.32.0
21-May-2019 13:26:46.584 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name:               Linux
21-May-2019 13:26:46.584 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version:            4.9.125-linuxkit
21-May-2019 13:26:46.585 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture:          amd64
21-May-2019 13:26:46.585 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home:             /usr/lib/jvm/java-8-openjdk-amd64/jre
21-May-2019 13:26:46.585 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version:           1.8.0_212-8u212-b01-1~deb9u1-b01
21-May-2019 13:26:46.585 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor:            Oracle Corporation
21-May-2019 13:26:46.586 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE:         /usr/local/tomcat
21-May-2019 13:26:46.586 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME:         /usr/local/tomcat
21-May-2019 13:26:46.587 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=/usr/local/tomcat/conf/logging.properties
21-May-2019 13:26:46.588 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
21-May-2019 13:26:46.588 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.endorsed.dirs=/usr/local/tomcat/endorsed
21-May-2019 13:26:46.589 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=/usr/local/tomcat
21-May-2019 13:26:46.589 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=/usr/local/tomcat
21-May-2019 13:26:46.591 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=/usr/local/tomcat/temp
21-May-2019 13:26:46.591 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/packages/lib/amd64:/usr/lib/x86_64-linux-gnu/jni:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/jni:/lib:/usr/lib
21-May-2019 13:26:46.767 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"]
21-May-2019 13:26:46.787 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
21-May-2019 13:26:46.789 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-8009"]
21-May-2019 13:26:46.791 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
21-May-2019 13:26:46.791 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 689 ms
21-May-2019 13:26:46.818 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service Catalina
21-May-2019 13:26:46.819 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.0.32
21-May-2019 13:26:46.886 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive /usr/local/tomcat/webapps/ors.war
21-May-2019 13:26:50.748 INFO [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::        (v2.0.4.RELEASE)

SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
<?xml version="1.0" ?>
<Configuration>
  <Properties>
    <Property name="filename">/var/log/ors/ors-logs.log</Property>
  </Properties>
</Configuration>
21-May-2019 13:26:57.714 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive /usr/local/tomcat/webapps/ors.war has finished in 10,814 ms
21-May-2019 13:26:57.716 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory /usr/local/tomcat/webapps/ROOT
21-May-2019 13:26:57.743 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory /usr/local/tomcat/webapps/ROOT has finished in 27 ms
21-May-2019 13:26:57.743 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory /usr/local/tomcat/webapps/host-manager
21-May-2019 13:26:57.794 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory /usr/local/tomcat/webapps/host-manager has finished in 51 ms
21-May-2019 13:26:57.794 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory /usr/local/tomcat/webapps/manager
21-May-2019 13:26:57.835 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory /usr/local/tomcat/webapps/manager has finished in 41 ms
21-May-2019 13:26:57.835 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory /usr/local/tomcat/webapps/examples
21-May-2019 13:26:58.045 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory /usr/local/tomcat/webapps/examples has finished in 209 ms
21-May-2019 13:26:58.045 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory /usr/local/tomcat/webapps/docs
21-May-2019 13:26:58.062 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory /usr/local/tomcat/webapps/docs has finished in 17 ms
21-May-2019 13:26:58.089 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"]
21-May-2019 13:26:58.123 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-nio-8009"]
21-May-2019 13:26:58.130 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 11338 ms
Exception in thread "pool-7-thread-1" java.lang.OutOfMemoryError: Java heap space
        at com.google.protobuf.LongArrayList.addLong(LongArrayList.java:182)
        at com.google.protobuf.LongArrayList.addLong(LongArrayList.java:164)
        at org.openstreetmap.osmosis.osmbinary.Osmformat$DenseNodes.dynamicMethod(Osmformat.java:10336)
        at com.google.protobuf.GeneratedMessageLite.parsePartialFrom(GeneratedMessageLite.java:1505)
        at com.google.protobuf.GeneratedMessageLite$DefaultInstanceBasedParser.parsePartialFrom(GeneratedMessageLite.java:1490)
        at com.google.protobuf.GeneratedMessageLite$DefaultInstanceBasedParser.parsePartialFrom(GeneratedMessageLite.java:1478)
        at com.google.protobuf.CodedInputStream$ArrayDecoder.readMessage(CodedInputStream.java:874)
        at org.openstreetmap.osmosis.osmbinary.Osmformat$PrimitiveGroup.dynamicMethod(Osmformat.java:4525)
        at com.google.protobuf.GeneratedMessageLite.parsePartialFrom(GeneratedMessageLite.java:1505)
        at com.google.protobuf.GeneratedMessageLite$DefaultInstanceBasedParser.parsePartialFrom(GeneratedMessageLite.java:1490)
        at com.google.protobuf.GeneratedMessageLite$DefaultInstanceBasedParser.parsePartialFrom(GeneratedMessageLite.java:1478)
        at com.google.protobuf.CodedInputStream$ArrayDecoder.readMessage(CodedInputStream.java:874)
        at org.openstreetmap.osmosis.osmbinary.Osmformat$PrimitiveBlock.dynamicMethod(Osmformat.java:3158)
        at com.google.protobuf.GeneratedMessageLite.parsePartialFrom(GeneratedMessageLite.java:1505)
        at com.google.protobuf.GeneratedMessageLite.parsePartialFrom(GeneratedMessageLite.java:1596)
        at com.google.protobuf.GeneratedMessageLite.parseFrom(GeneratedMessageLite.java:1613)
        at org.openstreetmap.osmosis.osmbinary.Osmformat$PrimitiveBlock.parseFrom(Osmformat.java:2683)
        at com.graphhopper.reader.osm.pbf.PbfBlobDecoder.processOsmPrimitives(PbfBlobDecoder.java:370)
        at com.graphhopper.reader.osm.pbf.PbfBlobDecoder.runAndTrapExceptions(PbfBlobDecoder.java:388)
        at com.graphhopper.reader.osm.pbf.PbfBlobDecoder.run(PbfBlobDecoder.java:400)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
Exception in thread "pool-7-thread-3" java.lang.OutOfMemoryError: Java heap space
        at com.google.protobuf.LongArrayList.addLong(LongArrayList.java:182)
        at com.google.protobuf.LongArrayList.addLong(LongArrayList.java:164)
        at org.openstreetmap.osmosis.osmbinary.Osmformat$DenseNodes.dynamicMethod(Osmformat.java:10315)
        at com.google.protobuf.GeneratedMessageLite.parsePartialFrom(GeneratedMessageLite.java:1505)
        at com.google.protobuf.GeneratedMessageLite$DefaultInstanceBasedParser.parsePartialFrom(GeneratedMessageLite.java:1490)
        at com.google.protobuf.GeneratedMessageLite$DefaultInstanceBasedParser.parsePartialFrom(GeneratedMessageLite.java:1478)
        at com.google.protobuf.CodedInputStream$ArrayDecoder.readMessage(CodedInputStream.java:874)
        at org.openstreetmap.osmosis.osmbinary.Osmformat$PrimitiveGroup.dynamicMethod(Osmformat.java:4525)
        at com.google.protobuf.GeneratedMessageLite.parsePartialFrom(GeneratedMessageLite.java:1505)
        at com.google.protobuf.GeneratedMessageLite$DefaultInstanceBasedParser.parsePartialFrom(GeneratedMessageLite.java:1490)
        at com.google.protobuf.GeneratedMessageLite$DefaultInstanceBasedParser.parsePartialFrom(GeneratedMessageLite.java:1478)
        at com.google.protobuf.CodedInputStream$ArrayDecoder.readMessage(CodedInputStream.java:874)
        at org.openstreetmap.osmosis.osmbinary.Osmformat$PrimitiveBlock.dynamicMethod(Osmformat.java:3158)
        at com.google.protobuf.GeneratedMessageLite.parsePartialFrom(GeneratedMessageLite.java:1505)
        at com.google.protobuf.GeneratedMessageLite.parsePartialFrom(GeneratedMessageLite.java:1596)
        at com.google.protobuf.GeneratedMessageLite.parseFrom(GeneratedMessageLite.java:1613)
        at org.openstreetmap.osmosis.osmbinary.Osmformat$PrimitiveBlock.parseFrom(Osmformat.java:2683)
        at com.graphhopper.reader.osm.pbf.PbfBlobDecoder.processOsmPrimitives(PbfBlobDecoder.java:370)
        at com.graphhopper.reader.osm.pbf.PbfBlobDecoder.runAndTrapExceptions(PbfBlobDecoder.java:388)
        at com.graphhopper.reader.osm.pbf.PbfBlobDecoder.run(PbfBlobDecoder.java:400)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
Exception in thread "pool-7-thread-2" java.lang.OutOfMemoryError: GC overhead limit exceeded
21 May 13:30:38 ERROR [http.BaseHttpServlet] - heigit.ors.exceptions.StatusCodeException: Routing service is not ready yet.

#11

Can you try one active profile please which you can set this in the app.config?


#12

Thanks, Timothy for helping as well.
Tried and kept only “pedestrian-walk” and now i have an empy lock file in that folder :frowning:

When I rebuild with “docker-compose build” it alway takes a long time for step 19 when downloading the libs with maven. I guess thats normal, right?

21-May-2019 14:13:35.507 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version:        Apache Tomcat/8.0.32
21-May-2019 14:13:35.509 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built:          Feb 2 2016 19:34:53 UTC
21-May-2019 14:13:35.510 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server number:         8.0.32.0
21-May-2019 14:13:35.510 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name:               Linux
21-May-2019 14:13:35.510 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version:            4.9.125-linuxkit
21-May-2019 14:13:35.510 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture:          amd64
21-May-2019 14:13:35.511 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home:             /usr/lib/jvm/java-8-openjdk-amd64/jre
21-May-2019 14:13:35.511 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version:           1.8.0_212-8u212-b01-1~deb9u1-b01
21-May-2019 14:13:35.511 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor:            Oracle Corporation
21-May-2019 14:13:35.512 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE:         /usr/local/tomcat
21-May-2019 14:13:35.512 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME:         /usr/local/tomcat
21-May-2019 14:13:35.513 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=/usr/local/tomcat/conf/logging.properties
21-May-2019 14:13:35.514 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
21-May-2019 14:13:35.514 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.endorsed.dirs=/usr/local/tomcat/endorsed
21-May-2019 14:13:35.514 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=/usr/local/tomcat
21-May-2019 14:13:35.515 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=/usr/local/tomcat
21-May-2019 14:13:35.515 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=/usr/local/tomcat/temp
21-May-2019 14:13:35.515 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/packages/lib/amd64:/usr/lib/x86_64-linux-gnu/jni:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/jni:/lib:/usr/lib
21-May-2019 14:13:35.632 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"]
21-May-2019 14:13:35.645 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
21-May-2019 14:13:35.648 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-8009"]
21-May-2019 14:13:35.649 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
21-May-2019 14:13:35.651 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 630 ms
21-May-2019 14:13:35.678 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service Catalina
21-May-2019 14:13:35.679 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.0.32
21-May-2019 14:13:35.736 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive /usr/local/tomcat/webapps/ors.war
21-May-2019 14:13:39.701 INFO [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::        (v2.0.4.RELEASE)

SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
<?xml version="1.0" ?>
<Configuration>
  <Properties>
    <Property name="filename">/var/log/ors/ors-logs.log</Property>
  </Properties>
</Configuration>
21-May-2019 14:13:46.812 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive /usr/local/tomcat/webapps/ors.war has finished in 11,054 ms
21-May-2019 14:13:46.814 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory /usr/local/tomcat/webapps/ROOT
21-May-2019 14:13:46.839 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory /usr/local/tomcat/webapps/ROOT has finished in 25 ms
21-May-2019 14:13:46.844 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory /usr/local/tomcat/webapps/host-manager
21-May-2019 14:13:46.892 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory /usr/local/tomcat/webapps/host-manager has finished in 48 ms
21-May-2019 14:13:46.902 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory /usr/local/tomcat/webapps/manager
21-May-2019 14:13:46.963 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory /usr/local/tomcat/webapps/manager has finished in 61 ms
21-May-2019 14:13:46.963 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory /usr/local/tomcat/webapps/examples
21-May-2019 14:13:47.238 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory /usr/local/tomcat/webapps/examples has finished in 275 ms
21-May-2019 14:13:47.239 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory /usr/local/tomcat/webapps/docs
21-May-2019 14:13:47.327 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory /usr/local/tomcat/webapps/docs has finished in 87 ms
21-May-2019 14:13:47.362 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"]
21-May-2019 14:13:47.394 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-nio-8009"]
21-May-2019 14:13:47.401 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 11749 ms
Exception in thread "pool-7-thread-2" java.lang.OutOfMemoryError: Java heap space
        at com.google.protobuf.LongArrayList.addLong(LongArrayList.java:182)
        at com.google.protobuf.LongArrayList.addLong(LongArrayList.java:164)
        at org.openstreetmap.osmosis.osmbinary.Osmformat$DenseNodes.dynamicMethod(Osmformat.java:10336)
        at com.google.protobuf.GeneratedMessageLite.parsePartialFrom(GeneratedMessageLite.java:1505)
        at com.google.protobuf.GeneratedMessageLite$DefaultInstanceBasedParser.parsePartialFrom(GeneratedMessageLite.java:1490)
        at com.google.protobuf.GeneratedMessageLite$DefaultInstanceBasedParser.parsePartialFrom(GeneratedMessageLite.java:1478)
        at com.google.protobuf.CodedInputStream$ArrayDecoder.readMessage(CodedInputStream.java:874)
        at org.openstreetmap.osmosis.osmbinary.Osmformat$PrimitiveGroup.dynamicMethod(Osmformat.java:4525)
        at com.google.protobuf.GeneratedMessageLite.parsePartialFrom(GeneratedMessageLite.java:1505)
        at com.google.protobuf.GeneratedMessageLite$DefaultInstanceBasedParser.parsePartialFrom(GeneratedMessageLite.java:1490)
        at com.google.protobuf.GeneratedMessageLite$DefaultInstanceBasedParser.parsePartialFrom(GeneratedMessageLite.java:1478)
        at com.google.protobuf.CodedInputStream$ArrayDecoder.readMessage(CodedInputStream.java:874)
        at org.openstreetmap.osmosis.osmbinary.Osmformat$PrimitiveBlock.dynamicMethod(Osmformat.java:3158)
        at com.google.protobuf.GeneratedMessageLite.parsePartialFrom(GeneratedMessageLite.java:1505)
        at com.google.protobuf.GeneratedMessageLite.parsePartialFrom(GeneratedMessageLite.java:1596)
        at com.google.protobuf.GeneratedMessageLite.parseFrom(GeneratedMessageLite.java:1613)
        at org.openstreetmap.osmosis.osmbinary.Osmformat$PrimitiveBlock.parseFrom(Osmformat.java:2683)
        at com.graphhopper.reader.osm.pbf.PbfBlobDecoder.processOsmPrimitives(PbfBlobDecoder.java:370)
        at com.graphhopper.reader.osm.pbf.PbfBlobDecoder.runAndTrapExceptions(PbfBlobDecoder.java:388)
        at com.graphhopper.reader.osm.pbf.PbfBlobDecoder.run(PbfBlobDecoder.java:400)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
Exception in thread "pool-7-thread-1" java.lang.OutOfMemoryError: Java heap space
        at com.google.protobuf.IntArrayList.addInt(IntArrayList.java:182)
        at com.google.protobuf.IntArrayList.addInt(IntArrayList.java:164)
        at org.openstreetmap.osmosis.osmbinary.Osmformat$DenseNodes.dynamicMethod(Osmformat.java:10357)
        at com.google.protobuf.GeneratedMessageLite.parsePartialFrom(GeneratedMessageLite.java:1505)
        at com.google.protobuf.GeneratedMessageLite$DefaultInstanceBasedParser.parsePartialFrom(GeneratedMessageLite.java:1490)
        at com.google.protobuf.GeneratedMessageLite$DefaultInstanceBasedParser.parsePartialFrom(GeneratedMessageLite.java:1478)
        at com.google.protobuf.CodedInputStream$ArrayDecoder.readMessage(CodedInputStream.java:874)
        at org.openstreetmap.osmosis.osmbinary.Osmformat$PrimitiveGroup.dynamicMethod(Osmformat.java:4525)
        at com.google.protobuf.GeneratedMessageLite.parsePartialFrom(GeneratedMessageLite.java:1505)
        at com.google.protobuf.GeneratedMessageLite$DefaultInstanceBasedParser.parsePartialFrom(GeneratedMessageLite.java:1490)
        at com.google.protobuf.GeneratedMessageLite$DefaultInstanceBasedParser.parsePartialFrom(GeneratedMessageLite.java:1478)
        at com.google.protobuf.CodedInputStream$ArrayDecoder.readMessage(CodedInputStream.java:874)
        at org.openstreetmap.osmosis.osmbinary.Osmformat$PrimitiveBlock.dynamicMethod(Osmformat.java:3158)
        at com.google.protobuf.GeneratedMessageLite.parsePartialFrom(GeneratedMessageLite.java:1505)
        at com.google.protobuf.GeneratedMessageLite.parsePartialFrom(GeneratedMessageLite.java:1596)
        at com.google.protobuf.GeneratedMessageLite.parseFrom(GeneratedMessageLite.java:1613)
        at org.openstreetmap.osmosis.osmbinary.Osmformat$PrimitiveBlock.parseFrom(Osmformat.java:2683)
        at com.graphhopper.reader.osm.pbf.PbfBlobDecoder.processOsmPrimitives(PbfBlobDecoder.java:370)
        at com.graphhopper.reader.osm.pbf.PbfBlobDecoder.runAndTrapExceptions(PbfBlobDecoder.java:388)
        at com.graphhopper.reader.osm.pbf.PbfBlobDecoder.run(PbfBlobDecoder.java:400)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)

#13

@golla1335 please docker exec -it ors-app bash and navigate to the ors webapps in the tomcat folder, it should be usr/local/tomcat, can you please copy paste the app.config?


#14

There is no such file path in the container (link to the data structure as it is to big to share here, https://drive.google.com/open?id=14y1I3SpBGQfUcKbCrohxGhKMeZap2HrA). However if i do http://localhost:8080/ i still arrive on the tomcat welcome screen which says " If you’re seeing this, you’ve successfully installed Tomcat. Congratulations!"


#15

In the container:

root@cde0a2d32eef:/usr/local/tomcat/webapps/ors/WEB-INF/classes# ls -l
total 44
drwxr-sr-x 4 root staff 4096 May 21 11:07 META-INF
-rw-r--r-- 1 root staff 6795 May 21 11:06 app.config
-rw-r--r-- 1 root staff 9910 May 21 11:06 app.config.sample
-rw-r--r-- 1 root staff   54 May 21 11:06 application.properties
drwxr-sr-x 3 root staff 4096 May 21 11:07 heigit
drwxr-sr-x 2 root staff 4096 May 21 11:07 logs
drwxr-sr-x 4 root staff 4096 May 21 11:07 org
drwxr-sr-x 4 root staff 4096 May 21 11:07 resources

And then please copy paste the config.


#16

Thanks for your support but I guess I give up for now and will ty it another time.

I have tried now on my linux server and on my windows machine and get the same error with the “Java heap space” on both machines.

I found your config file but found no possible way to share the content with you as under putty copy paste is not working in vim and the seven screenshots I made i couldnt upload due to your board restrictions.

I also tried to do a clean setup on my windows 10 pro but now it gets stuck even earlier at step 8:

Step 8/29 : RUN apt-get update -qq
 ---> Using cache
 ---> 08d997cff76c
Step 9/29 : RUN apt-get install -qq -y locales wget nano maven
 ---> Running in dc94413ad45c
E: Package 'locales' has no installation candidate
E: Unable to locate package nano
E: Unable to locate package maven
ERROR: Service 'ors-app' failed to build: The command '/bin/sh -c apt-get install -qq -y locales wget nano maven' returned a non-zero code: 100

Maybe in the future you could work a little to improve the manual to see where what files exactly need to be changed. I just found an entry in the app.config.sample where under routing it says

"routing":{
            "enabled":true,
            "mode":"normal",
            "sources":[
               "data/osm_file.pbf"

I have no clue if this needs to be changed as well.

I even tried to folow the setup without docker but under step 5

5. Copy theopenrouteservice/WebContent/WEB-INF/app.config.samplefile to the same location but renaming it toapp.config.

no such file exists under that path.

I hope this helps.

All the best
Marian


#17

might it be possible to have the app.config configuration file as a docker volume and therefore keep it in a file outside the container? how could this be done?


#18

We refurbished the Docker stuff a little, though it’s not in master yet, still in development:

That should give you all info you need. It’s a little tricky to transfer to master before it gets merged, so if you feel adventurous, try that branch :slight_smile: