KnowageLabs / Knowage-Server-Docker

Docker Image packaging for Knowage Server https://www.knowage-suite.com
GNU Affero General Public License v3.0
66 stars 77 forks source link

Use version6.4.5 can't run #28

Closed Hello-Linux closed 4 years ago

Hello-Linux commented 4 years ago

I use docker-composer run the image version 6.4.5,but the knowage can't working,here is my dockercompose and log info

infomation:
ait-for-it.sh: waiting 15 seconds for knowagedb:3306
wait-for-it.sh: knowagedb:3306 is available after 0 seconds
MySql is up!
11-Jan-2020 10:35:01.068 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version:        Apache Tomcat/8.5.37
11-Jan-2020 10:35:01.089 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built:          Dec 12 2018 12:07:02 UTC
11-Jan-2020 10:35:01.090 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server number:         8.5.37.0
11-Jan-2020 10:35:01.090 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name:               Linux
11-Jan-2020 10:35:01.090 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version:            3.10.0-693.2.2.el7.x86_64
11-Jan-2020 10:35:01.090 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture:          amd64
11-Jan-2020 10:35:01.090 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home:             /usr/local/openjdk-8/jre
11-Jan-2020 10:35:01.090 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version:           1.8.0_232-b09
11-Jan-2020 10:35:01.090 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor:            Oracle Corporation
11-Jan-2020 10:35:01.090 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE:         /home/knowage/apache-tomcat-8.5.37
11-Jan-2020 10:35:01.090 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME:         /home/knowage/apache-tomcat-8.5.37
11-Jan-2020 10:35:01.091 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=/home/knowage/apache-tomcat-8.5.37/conf/logging.properties
11-Jan-2020 10:35:01.091 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
11-Jan-2020 10:35:01.091 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
11-Jan-2020 10:35:01.091 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources
11-Jan-2020 10:35:01.091 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dorg.apache.catalina.security.SecurityListener.UMASK=0027
11-Jan-2020 10:35:01.091 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dignore.endorsed.dirs=
11-Jan-2020 10:35:01.091 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=/home/knowage/apache-tomcat-8.5.37
11-Jan-2020 10:35:01.091 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=/home/knowage/apache-tomcat-8.5.37
11-Jan-2020 10:35:01.091 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=/home/knowage/apache-tomcat-8.5.37/temp
11-Jan-2020 10:35:01.091 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/lib64:/lib64:/lib:/usr/lib]
11-Jan-2020 10:35:01.340 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"]
11-Jan-2020 10:35:01.369 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
11-Jan-2020 10:35:01.449 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-8009"]
11-Jan-2020 10:35:01.451 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
11-Jan-2020 10:35:01.467 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 1396 ms
11-Jan-2020 10:35:01.529 WARNING [main] org.apache.tomcat.dbcp.dbcp2.BasicDataSourceFactory.getObjectInstance Name = knowage Property maxActive is not used in DBCP2, use maxTotal instead. maxTotal default value is 8. You have set value of "20" for "maxActive" property, which is being ignored.
11-Jan-2020 10:35:01.529 WARNING [main] org.apache.tomcat.dbcp.dbcp2.BasicDataSourceFactory.getObjectInstance Name = knowage Property maxWait is not used in DBCP2 , use maxWaitMillis instead. maxWaitMillis default value is -1. You have set value of "-1" for "maxWait" property, which is being ignored.
11-Jan-2020 10:35:01.669 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina]
11-Jan-2020 10:35:01.670 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.5.37
11-Jan-2020 10:35:01.764 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/home/knowage/apache-tomcat-8.5.37/webapps/docs]
11-Jan-2020 10:35:02.900 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.
11-Jan-2020 10:35:03.050 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/home/knowage/apache-tomcat-8.5.37/webapps/docs] has finished in [1,284] ms
11-Jan-2020 10:35:03.050 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/home/knowage/apache-tomcat-8.5.37/webapps/examples]
11-Jan-2020 10:35:03.836 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.
11-Jan-2020 10:35:03.921 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/home/knowage/apache-tomcat-8.5.37/webapps/examples] has finished in [871] ms
11-Jan-2020 10:35:03.921 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/home/knowage/apache-tomcat-8.5.37/webapps/ROOT]
11-Jan-2020 10:35:04.202 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.
11-Jan-2020 10:35:04.204 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/home/knowage/apache-tomcat-8.5.37/webapps/ROOT] has finished in [283] ms
11-Jan-2020 10:35:04.204 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/home/knowage/apache-tomcat-8.5.37/webapps/manager]
11-Jan-2020 10:35:04.536 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.
11-Jan-2020 10:35:04.546 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/home/knowage/apache-tomcat-8.5.37/webapps/manager] has finished in [341] ms
11-Jan-2020 10:35:04.546 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/home/knowage/apache-tomcat-8.5.37/webapps/host-manager]
11-Jan-2020 10:35:04.938 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.
11-Jan-2020 10:35:04.940 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/home/knowage/apache-tomcat-8.5.37/webapps/host-manager] has finished in [393] ms
11-Jan-2020 10:35:04.945 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/home/knowage/apache-tomcat-8.5.37/webapps/knowage]
11-Jan-2020 10:35:19.130 INFO [localhost-startStop-1] org.apache.tomcat.dbcp.dbcp2.BasicDataSourceFactory.getObjectInstance Name = knowageds Ignoring unknown property: value of "" for "description" property
11-Jan-2020 10:35:19.541 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.
11-Jan-2020 10:35:19.930 INFO [localhost-startStop-1] com.hazelcast.config.ClasspathXmlConfig.null Configuring Hazelcast from 'hazelcast.xml'.
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.
11-Jan-2020 10:35:48.178 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/home/knowage/apache-tomcat-8.5.37/webapps/knowage] has finished in [43,233] ms
11-Jan-2020 10:35:48.178 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/home/knowage/apache-tomcat-8.5.37/webapps/knowagedataminingengine]
wait-for-it.sh: waiting 15 seconds for knowagedb:3306
wait-for-it.sh: knowagedb:3306 is available after 0 seconds
MySql is up!
11-Jan-2020 10:41:00.485 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version:        Apache Tomcat/8.5.37
11-Jan-2020 10:41:00.525 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built:          Dec 12 2018 12:07:02 UTC
11-Jan-2020 10:41:00.525 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server number:         8.5.37.0
11-Jan-2020 10:41:00.525 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name:               Linux
11-Jan-2020 10:41:00.525 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version:            3.10.0-693.2.2.el7.x86_64
11-Jan-2020 10:41:00.525 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture:          amd64
11-Jan-2020 10:41:00.525 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home:             /usr/local/openjdk-8/jre
11-Jan-2020 10:41:00.525 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version:           1.8.0_232-b09
11-Jan-2020 10:41:00.525 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor:            Oracle Corporation
11-Jan-2020 10:41:00.525 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE:         /home/knowage/apache-tomcat-8.5.37
11-Jan-2020 10:41:00.526 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME:         /home/knowage/apache-tomcat-8.5.37
11-Jan-2020 10:41:00.526 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=/home/knowage/apache-tomcat-8.5.37/conf/logging.properties
11-Jan-2020 10:41:00.526 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
11-Jan-2020 10:41:00.526 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
11-Jan-2020 10:41:00.526 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources
11-Jan-2020 10:41:00.526 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dorg.apache.catalina.security.SecurityListener.UMASK=0027
11-Jan-2020 10:41:00.526 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dignore.endorsed.dirs=
11-Jan-2020 10:41:00.526 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=/home/knowage/apache-tomcat-8.5.37
11-Jan-2020 10:41:00.526 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=/home/knowage/apache-tomcat-8.5.37
11-Jan-2020 10:41:00.527 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=/home/knowage/apache-tomcat-8.5.37/temp
11-Jan-2020 10:41:00.527 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/lib64:/lib64:/lib:/usr/lib]
11-Jan-2020 10:41:00.789 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"]
11-Jan-2020 10:41:00.816 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
11-Jan-2020 10:41:00.862 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-8009"]
11-Jan-2020 10:41:00.864 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
11-Jan-2020 10:41:00.867 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 1474 ms
11-Jan-2020 10:41:00.891 WARNING [main] org.apache.tomcat.dbcp.dbcp2.BasicDataSourceFactory.getObjectInstance Name = knowage Property maxActive is not used in DBCP2, use maxTotal instead. maxTotal default value is 8. You have set value of "20" for "maxActive" property, which is being ignored.
11-Jan-2020 10:41:00.891 WARNING [main] org.apache.tomcat.dbcp.dbcp2.BasicDataSourceFactory.getObjectInstance Name = knowage Property maxWait is not used in DBCP2 , use maxWaitMillis instead. maxWaitMillis default value is -1. You have set value of "-1" for "maxWait" property, which is being ignored.
11-Jan-2020 10:41:01.018 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina]
11-Jan-2020 10:41:01.018 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.5.37
11-Jan-2020 10:41:01.082 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/home/knowage/apache-tomcat-8.5.37/webapps/docs]
11-Jan-2020 10:41:02.147 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.
11-Jan-2020 10:41:02.293 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/home/knowage/apache-tomcat-8.5.37/webapps/docs] has finished in [1,210] ms
11-Jan-2020 10:41:02.293 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/home/knowage/apache-tomcat-8.5.37/webapps/examples]
11-Jan-2020 10:41:03.360 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.
11-Jan-2020 10:41:03.488 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/home/knowage/apache-tomcat-8.5.37/webapps/examples] has finished in [1,195] ms
11-Jan-2020 10:41:03.489 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/home/knowage/apache-tomcat-8.5.37/webapps/ROOT]
11-Jan-2020 10:41:03.756 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.
11-Jan-2020 10:41:03.762 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/home/knowage/apache-tomcat-8.5.37/webapps/ROOT] has finished in [274] ms
11-Jan-2020 10:41:03.762 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/home/knowage/apache-tomcat-8.5.37/webapps/manager]
11-Jan-2020 10:41:04.079 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.
11-Jan-2020 10:41:04.096 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/home/knowage/apache-tomcat-8.5.37/webapps/manager] has finished in [334] ms
11-Jan-2020 10:41:04.097 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/home/knowage/apache-tomcat-8.5.37/webapps/host-manager]
11-Jan-2020 10:41:04.366 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.
11-Jan-2020 10:41:04.376 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/home/knowage/apache-tomcat-8.5.37/webapps/host-manager] has finished in [279] ms
11-Jan-2020 10:41:04.376 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/home/knowage/apache-tomcat-8.5.37/webapps/knowage]
11-Jan-2020 10:41:22.046 INFO [localhost-startStop-1] org.apache.tomcat.dbcp.dbcp2.BasicDataSourceFactory.getObjectInstance Name = knowageds Ignoring unknown property: value of "" for "description" property
11-Jan-2020 10:41:22.374 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.
11-Jan-2020 10:41:22.922 INFO [localhost-startStop-1] com.hazelcast.config.ClasspathXmlConfig.null Configuring Hazelcast from 'hazelcast.xml'.
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

and dockercompose is:

version: "3.1"
services:
  knowage:
    image: knowagelabs/knowage-server-docker:6.4.5
    depends_on:
      - knowagedb
    ports:
      - "8080:8080"
    networks:
      - main
    environment:
      - DB_USER=knowage
      - DB_PASS=123456
      - DB_DB=knowage
      - DB_HOST=knowagedb
      - DB_PORT=3306
      - HMAC_KEY=abc123
      - PUBLIC_ADDRESS=localhost

  knowagedb:
    image: mysql:5.7
    environment:
      - MYSQL_USER=knowage
      - MYSQL_PASSWORD=123456
      - MYSQL_DATABASE=knowage
      - MYSQL_ROOT_PASSWORD=123456
    networks:
      - main
    volumes:
      - "db:/var/lib/mysql"

volumes:
  db:

networks:
  main: