Knowage-Server-Docker icon indicating copy to clipboard operation
Knowage-Server-Docker copied to clipboard

Unable to start the latest server version

Open Banack opened this issue 6 years ago • 0 comments

I cannot docker-compose the latest version. The image building process get stuck on this line

knowage_1    | 10-May-2019 15:05:58.345 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 46345 ms

I tried on two different machines (MacBook Air 2018 and a virtual server Ubuntu 18.04 with 4 cores and 16GB RAM) and remain stuck on the same line. Tried with different versions of Knowage-Server-Docker (latest, 6.3.3, 6.3.1, 6.2.1)

If I launch docker stats the container seems to run:

> CONTAINER ID        NAME                              CPU %               MEM USAGE / LIMIT    MEM %               NET I/O             BLOCK I/O           PIDS
> 35d683625910        knowageserverdocker_knowage_1     2.75%               1.849GiB / 15.3GiB   12.09%              3.91MB / 3.16MB     0B / 20.5kB         99
> 211a441bd1e3        knowageserverdocker_knowagedb_1   0.11%               490.8MiB / 15.3GiB   3.13%               3.16MB / 3.91MB     0B / 413MB          24

If I get the ip using the command

docker inspect --format '{{ .NetworkSettings.IPAddress }}' knowage

and use the browser to access to http://resulting-ip:8080/knowage the page cannot be loaded

If I connect to the container using the

docker exec -it <container name> /bin/bash

I get access to the bash and the top command states Java and Tomcat are currently running.

During the last part of the building there seem to be no-errors:

knowage_1    | 10-May-2019 15:28:59.291 INFO [localhost-startStop-2] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/home/knowage/apache-tomcat-8.5.37/webapps/knowagejasperreportengine] has finished in [10,238] ms
knowage_1    | 10-May-2019 15:28:59.292 INFO [localhost-startStop-2] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/home/knowage/apache-tomcat-8.5.37/webapps/knowagecockpitengine]
knowage_1    | 10-May-2019 15:29:03.240 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.
knowage_1    | 10-May-2019 15:29:03.795 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/home/knowage/apache-tomcat-8.5.37/webapps/knowagegeoreportengine] has finished in [9,038] ms
knowage_1    | 10-May-2019 15:29:04.177 INFO [localhost-startStop-4] 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.
knowage_1    | 10-May-2019 15:29:04.828 INFO [localhost-startStop-4] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/home/knowage/apache-tomcat-8.5.37/webapps/knowagedataminingengine] has finished in [9,342] ms
knowage_1    | 10-May-2019 15:29:05.140 INFO [localhost-startStop-3] 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.
knowage_1    | 10-May-2019 15:29:05.400 INFO [localhost-startStop-2] 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.
knowage_1    | 10-May-2019 15:29:05.472 INFO [localhost-startStop-3] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/home/knowage/apache-tomcat-8.5.37/webapps/knowagecommonjengine] has finished in [7,168] ms
knowage_1    | 10-May-2019 15:29:05.760 INFO [localhost-startStop-2] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/home/knowage/apache-tomcat-8.5.37/webapps/knowagecockpitengine] has finished in [6,469] ms
knowage_1    | 10-May-2019 15:29:05.766 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"]
knowage_1    | 10-May-2019 15:29:05.782 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-nio-8009"]
knowage_1    | 10-May-2019 15:29:05.787 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 41966 ms

Where am I doing something wrong? Anyone can help me? Thanks a lot

Banack avatar May 10 '19 15:05 Banack