Robinyo / serendipity

Serendipity is an open-source Customer Engagement Platform.
Apache License 2.0
380 stars 212 forks source link

Issue with setting up Serendipity's API setup locally #14

Closed Robinyo closed 2 years ago

Robinyo commented 4 years ago

Hey Rob!

My name is Emanuel and I’m looking to get a local development environment of Serendipity up and running, because it seems like a cool which I’d like to use and contribute to.

However, I’ve not been able to get the Docker containers for Serendipity’s API up and running since they always explode at step 10 while composing jasperreports-server-cmdline’s container.

I’ve tried composing the containers both under Windows 10(Docker with WSL2 backend) and on a Ubuntu 20.04 VM and have failed both times, so I’m reaching out to you in hopes that you can help me with this issue.

Below I’ve attached a screenshot of the error I got both times, and I can provide additional logs if needed.

Screen Shot 2020-08-26 at 05 54 01

Hope to hear from you soon.

Kind regards, Emanuel Moreira Ferraz

Robinyo commented 4 years ago

I've just started to look at using JasperReports Server. And, Jaspersoft (Tibco) don't provide support for a containerised version of the Community Edition so you need to roll your own.

As a work around I have created two Docker Compose files:

Also see:

anborg commented 4 years ago

Postgres starts without issues.

Jasper - perhaps some webapp folder may be missing image

image

build log

js-docker % docker-compose build 
Building postgres
Step 1/1 : FROM postgres:latest
 ---> 62473370e7ee

Successfully built 62473370e7ee
Successfully tagged js-docker_postgres:latest
Building pgadmin
Step 1/1 : FROM dpage/pgadmin4
 ---> ae36b8785e03

Successfully built ae36b8785e03
Successfully tagged js-docker_pgadmin:latest
Building jasperreports-server-cmdline
Step 1/26 : ARG JAVA_BASE_IMAGE=openjdk:11.0.7-slim
Step 2/26 : FROM ${JAVA_BASE_IMAGE}
 ---> 85229f071913
Step 3/26 : ARG POSTGRES_JDBC_DRIVER_VERSION
 ---> Using cache
 ---> 2bd4eb2a68e0
Step 4/26 : ARG JASPERREPORTS_SERVER_VERSION
 ---> Using cache
 ---> 1decb186d847
Step 5/26 : ARG EXPLODED_INSTALLER_DIRECTORY
 ---> Using cache
 ---> 683cccaf3708
Step 6/26 : ENV POSTGRES_JDBC_DRIVER_VERSION ${POSTGRES_JDBC_DRIVER_VERSION:-42.2.16}
 ---> Using cache
 ---> f6dea1736881
Step 7/26 : ENV JASPERREPORTS_SERVER_VERSION ${JASPERREPORTS_SERVER_VERSION:-7.5.0}
 ---> Using cache
 ---> 98cba24e0621
Step 8/26 : ENV EXPLODED_INSTALLER_DIRECTORY ${EXPLODED_INSTALLER_DIRECTORY:-resources/jasperreports-server-cp-$JASPERREPORTS_SERVER_VERSION-bin}
 ---> Using cache
 ---> 5cad8b520a18
Step 9/26 : RUN mkdir -p /usr/src/jasperreports-server
 ---> Using cache
 ---> 2322f9024d71
Step 10/26 : COPY ${EXPLODED_INSTALLER_DIRECTORY}/apache-ant /usr/src/jasperreports-server/apache-ant/
 ---> Using cache
 ---> d99482c72d02
Step 11/26 : COPY ${EXPLODED_INSTALLER_DIRECTORY}/buildomatic/js-ant /usr/src/jasperreports-server/buildomatic/
 ---> Using cache
 ---> 117936ffe4e3
Step 12/26 : COPY ${EXPLODED_INSTALLER_DIRECTORY}/buildomatic/js-*.sh /usr/src/jasperreports-server/buildomatic/
 ---> Using cache
 ---> 674d50979660
Step 13/26 : COPY ${EXPLODED_INSTALLER_DIRECTORY}/buildomatic/*.xml /usr/src/jasperreports-server/buildomatic/
 ---> Using cache
 ---> 9a409a4b600f
Step 14/26 : COPY ${EXPLODED_INSTALLER_DIRECTORY}/buildomatic/bin/*.sh /usr/src/jasperreports-server/buildomatic/bin/
 ---> Using cache
 ---> 916bede78176
Step 15/26 : COPY ${EXPLODED_INSTALLER_DIRECTORY}/buildomatic/bin/*.xml /usr/src/jasperreports-server/buildomatic/bin/
 ---> Using cache
 ---> 63a5b2b71f0b
Step 16/26 : COPY ${EXPLODED_INSTALLER_DIRECTORY}/buildomatic/bin/*.help /usr/src/jasperreports-server/buildomatic/bin/
 ---> Using cache
 ---> f58deb44dc36
Step 17/26 : COPY ${EXPLODED_INSTALLER_DIRECTORY}/buildomatic/bin/app-server /usr/src/jasperreports-server/buildomatic/bin/app-server/
 ---> Using cache
 ---> fa97a2c59127
Step 18/26 : COPY ${EXPLODED_INSTALLER_DIRECTORY}/buildomatic/bin/groovy /usr/src/jasperreports-server/buildomatic/bin/groovy/
 ---> Using cache
 ---> 523f4cf738d1
Step 19/26 : COPY ${EXPLODED_INSTALLER_DIRECTORY}/buildomatic/jdbc-dep /usr/src/jasperreports-server/buildomatic/bin/jdbc-dep/
 ---> Using cache
 ---> 4187a9d56b0e
Step 20/26 : COPY ${EXPLODED_INSTALLER_DIRECTORY}/buildomatic/install_resources /usr/src/jasperreports-server/buildomatic/install_resources/
 ---> Using cache
 ---> b556f776d2d0
Step 21/26 : COPY ${EXPLODED_INSTALLER_DIRECTORY}/buildomatic/conf_source /usr/src/jasperreports-server/buildomatic/conf_source/
 ---> Using cache
 ---> 4ea17277d6cc
Step 22/26 : COPY ${EXPLODED_INSTALLER_DIRECTORY}/buildomatic/target /usr/src/jasperreports-server/buildomatic/target/
 ---> Using cache
 ---> b8d65920c01f
Step 23/26 : COPY scripts /
 ---> Using cache
 ---> 7a60eb173076
Step 24/26 : COPY resources/postgresql-${POSTGRES_JDBC_DRIVER_VERSION}.jar /usr/src/jasperreports-server/buildomatic/conf_source/db/postgresql/jdbc
 ---> Using cache
 ---> 22fec0f31ca3
Step 25/26 : RUN echo "apt-get" &&     echo "nameserver 8.8.8.8" | tee /etc/resolv.conf > /dev/null &&     chmod +x /*.sh &&     /installPackagesForJasperserver-ce-cmdline.sh &&   echo "finished installing packages" &&  cp -R /buildomatic /usr/src/jasperreports-server/buildomatic &&     rm /installPackagesForJasperserver*.sh && rm -rf /buildomatic &&    chmod +x /usr/src/jasperreports-server/buildomatic/js-* &&  chmod +x /usr/src/jasperreports-server/buildomatic/bin/*.sh &&  chmod +x /usr/src/jasperreports-server/apache-ant/bin/* &&     java -version
 ---> Using cache
 ---> 4ace592a5d51
Step 26/26 : CMD ["init"]
 ---> Using cache
 ---> 3842b93f393c

Successfully built 3842b93f393c
Successfully tagged js-docker_jasperreports-server-cmdline:latest
Building jasperreports-server
Step 1/36 : ARG TOMCAT_BASE_IMAGE=tomcat:9.0.35-jdk11-openjdk
Step 2/36 : FROM ${TOMCAT_BASE_IMAGE}
 ---> 1b6b1fe7261e
Step 3/36 : ARG DN_HOSTNAME
 ---> Using cache
 ---> 15d21f3a421a
Step 4/36 : ARG KS_PASSWORD
 ---> Using cache
 ---> f66fc9bfcd0e
Step 5/36 : ARG JRS_HTTPS_ONLY
 ---> Using cache
 ---> e88e41294f51
Step 6/36 : ARG HTTP_PORT
 ---> Using cache
 ---> b667225e2cc1
Step 7/36 : ARG HTTPS_PORT
 ---> Using cache
 ---> f1e4a34cc52b
Step 8/36 : ARG POSTGRES_JDBC_DRIVER_VERSION
 ---> Using cache
 ---> 6fc7092cf12f
Step 9/36 : ARG JASPERREPORTS_SERVER_VERSION
 ---> Using cache
 ---> 2ce2910f21d7
Step 10/36 : ARG EXPLODED_INSTALLER_DIRECTORY
 ---> Using cache
 ---> 746b7e48f973
Step 11/36 : ENV PHANTOMJS_VERSION ${PHANTOMJS_VERSION:-2.1.1}
 ---> Using cache
 ---> a14bcd51b54b
Step 12/36 : ENV DN_HOSTNAME ${DN_HOSTNAME:-localhost.localdomain}
 ---> Using cache
 ---> aaa944bad9ff
Step 13/36 : ENV KS_PASSWORD ${KS_PASSWORD:-changeit}
 ---> Using cache
 ---> c077dc6cfdfd
Step 14/36 : ENV JRS_HTTPS_ONLY ${JRS_HTTPS_ONLY:-false}
 ---> Using cache
 ---> ad9d76b5540e
Step 15/36 : ENV HTTP_PORT ${HTTP_PORT:-8080}
 ---> Using cache
 ---> 30a3585e1a90
Step 16/36 : ENV HTTPS_PORT ${HTTPS_PORT:-8443}
 ---> Using cache
 ---> 7684115b10de
Step 17/36 : ENV POSTGRES_JDBC_DRIVER_VERSION ${POSTGRES_JDBC_DRIVER_VERSION:-42.2.16}
 ---> Using cache
 ---> d5c8d5ceb9d1
Step 18/36 : ENV JASPERREPORTS_SERVER_VERSION ${JASPERREPORTS_SERVER_VERSION:-7.5.0}
 ---> Using cache
 ---> 4848990fc919
Step 19/36 : ENV EXPLODED_INSTALLER_DIRECTORY ${EXPLODED_INSTALLER_DIRECTORY:-resources/jasperreports-server-cp-$JASPERREPORTS_SERVER_VERSION-bin}
 ---> Using cache
 ---> 954198f9f951
Step 20/36 : RUN mkdir -p /usr/src/jasperreports-server
 ---> Using cache
 ---> ae94c9d08f24
Step 21/36 : COPY ${EXPLODED_INSTALLER_DIRECTORY}/jasperserver $CATALINA_HOME/webapps/jasperserver/
 ---> Using cache
 ---> bc21a8d28c23
Step 22/36 : COPY ${EXPLODED_INSTALLER_DIRECTORY}/TIB* /usr/src/jasperreports-server/
 ---> Using cache
 ---> c58f833ac413
Step 23/36 : COPY ${EXPLODED_INSTALLER_DIRECTORY}/apache-ant /usr/src/jasperreports-server/apache-ant/
 ---> Using cache
 ---> 22ce1e8e6dfe
Step 24/36 : COPY ${EXPLODED_INSTALLER_DIRECTORY}/buildomatic/js-ant /usr/src/jasperreports-server/buildomatic/
 ---> Using cache
 ---> e462e551a4ab
Step 25/36 : COPY ${EXPLODED_INSTALLER_DIRECTORY}/buildomatic/build.xml /usr/src/jasperreports-server/buildomatic/
 ---> Using cache
 ---> d61313f8ac73
Step 26/36 : COPY ${EXPLODED_INSTALLER_DIRECTORY}/buildomatic/bin/*.xml /usr/src/jasperreports-server/buildomatic/bin/
 ---> Using cache
 ---> cc783cc50484
Step 27/36 : COPY ${EXPLODED_INSTALLER_DIRECTORY}/buildomatic/bin/app-server /usr/src/jasperreports-server/buildomatic/bin/app-server/
 ---> Using cache
 ---> 22cb4ad6f3fc
Step 28/36 : COPY ${EXPLODED_INSTALLER_DIRECTORY}/buildomatic/bin/groovy /usr/src/jasperreports-server/buildomatic/bin/groovy/
 ---> Using cache
 ---> 75e10c8a5667
Step 29/36 : COPY ${EXPLODED_INSTALLER_DIRECTORY}/buildomatic/conf_source /usr/src/jasperreports-server/buildomatic/conf_source/
 ---> Using cache
 ---> eef23fe75cf0
Step 30/36 : COPY ${EXPLODED_INSTALLER_DIRECTORY}/buildomatic/target /usr/src/jasperreports-server/buildomatic/target/
 ---> Using cache
 ---> b368fc5c823c
Step 31/36 : COPY scripts /
 ---> Using cache
 ---> 1e9bfef81e98
Step 32/36 : COPY assets/libs $CATALINA_HOME/webapps/jasperserver/WEB-INF/lib/
 ---> Using cache
 ---> c314f263db3c
Step 33/36 : COPY resources/postgresql-${POSTGRES_JDBC_DRIVER_VERSION}.jar /usr/src/jasperreports-server/buildomatic/conf_source/db/postgresql/jdbc/
 ---> Using cache
 ---> d64dd66a9773
Step 34/36 : RUN echo "nameserver 8.8.8.8" | tee /etc/resolv.conf > /dev/null &&     chmod +x /*.sh &&     /installPackagesForJasperserver-ce.sh > /dev/null &&     echo "finished installing packages" &&     rm -rf $CATALINA_HOME/webapps/ROOT &&     rm -rf $CATALINA_HOME/webapps/docs &&     rm -rf $CATALINA_HOME/webapps/examples &&     rm -rf $CATALINA_HOME/webapps/host-manager &&     rm -rf $CATALINA_HOME/webapps/manager &&     cp -R /buildomatic /usr/src/jasperreports-server/buildomatic &&     rm /installPackagesForJasperserver*.sh && rm -rf /buildomatic &&     chmod +x /usr/src/jasperreports-server/buildomatic/js-* &&     chmod +x /usr/src/jasperreports-server/apache-ant/bin/* &&     java -version &&     keytool -genkey -alias self_signed -dname "CN=${DN_HOSTNAME}"         -storetype PKCS12         -storepass "${KS_PASSWORD}"         -keypass "${KS_PASSWORD}"         -keystore /root/.keystore.p12 &&     keytool -list -keystore /root/.keystore.p12 -storepass "${KS_PASSWORD}" -storetype PKCS12 &&     xmlstarlet ed --inplace --subnode "/Server/Service" --type elem         -n Connector -v "" --var connector-ssl '$prev'     --insert '$connector-ssl' --type attr -n port -v "${HTTPS_PORT}"     --insert '$connector-ssl' --type attr -n protocol -v         "org.apache.coyote.http11.Http11NioProtocol"     --insert '$connector-ssl' --type attr -n maxThreads -v "150"     --insert '$connector-ssl' --type attr -n SSLEnabled -v "true"     --insert '$connector-ssl' --type attr -n scheme -v "https"     --insert '$connector-ssl' --type attr -n secure -v "true"     --insert '$connector-ssl' --type attr -n clientAuth -v "false"     --insert '$connector-ssl' --type attr -n sslProtocol -v "TLS"     --insert '$connector-ssl' --type attr -n keystorePass         -v "${KS_PASSWORD}"     --insert '$connector-ssl' --type attr -n keystoreFile         -v "/root/.keystore.p12"     ${CATALINA_HOME}/conf/server.xml
 ---> Using cache
 ---> ced484ce52ed
Step 35/36 : EXPOSE ${HTTP_PORT} ${HTTPS_PORT}
 ---> Using cache
 ---> 53e6441759f3
Step 36/36 : CMD ["run"]
 ---> Using cache
 ---> 64b101caab34

Successfully built 64b101caab34
Successfully tagged js-docker_jasperreports-server:latest

Run Log

js-docker % docker-compose up -d
pgadmin is up-to-date
postgres is up-to-date
Starting jasperreports-server-cmdline ... done
jasperreports-server is up-to-date
prem@PKML01 js-docker % docker-compose logs -f
Attaching to jasperreports-server, jasperreports-server-cmdline, pgadmin, postgres
postgres                        | 
postgres                        | PostgreSQL Database directory appears to contain a database; Skipping initialization
postgres                        | 
postgres                        | 2020-09-01 03:37:58.351 UTC [1] LOG:  starting PostgreSQL 12.4 (Debian 12.4-1.pgdg100+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 8.3.0-6) 8.3.0, 64-bit
postgres                        | 2020-09-01 03:37:58.351 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
postgres                        | 2020-09-01 03:37:58.352 UTC [1] LOG:  listening on IPv6 address "::", port 5432
postgres                        | 2020-09-01 03:37:58.357 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
postgres                        | 2020-09-01 03:37:58.575 UTC [27] LOG:  database system was shut down at 2020-09-01 03:33:27 UTC
postgres                        | 2020-09-01 03:37:58.627 UTC [1] LOG:  database system is ready to accept connections
postgres                        | 2020-09-01 03:37:59.314 UTC [34] LOG:  incomplete startup packet
postgres                        | 2020-09-01 04:19:43.752 UTC [215] LOG:  incomplete startup packet
postgres                        | 2020-09-01 04:19:59.157 UTC [32] LOG:  stats_timestamp 2020-09-01 04:19:59.167226+00 is later than collector's time 2020-09-01 04:19:59.157501+00 for database 0
jasperreports-server            | Current keystore files in /usr/local/share/jasperserver/keystore
jasperreports-server            | Buildfile: /usr/src/jasperreports-server/buildomatic/build.xml
jasperreports-server            | [echo]
jasperreports-server            | [create-ks] WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will impact performance.
jasperreports-server            | [propertyfile] Creating new property file: /usr/src/jasperreports-server/buildomatic/keystore.init.properties
jasperreports-server            |      [exec] Result: 128
jasperreports-server            | [echo]  Back-End version: fatal: not a git repository (or any of the parent directories): .git-SNAPSHOT
jasperreports-server            | [echo] Front-End version: fatal: not a git repository (or any of the parent directories): .git-SNAPSHOT
jasperreports-server            | [echo] creating /usr/src/jasperreports-server/buildomatic/build_conf/default
jasperreports-server            | [mkdir] Created dir: /usr/src/jasperreports-server/buildomatic/build_conf/default
jasperreports-server            | [copy] Copying 1 file to /usr/src/jasperreports-server/buildomatic/build_conf/default
jasperreports-server            | [copy] Copying 1 file to /usr/src/jasperreports-server/buildomatic/build_conf/default
jasperreports-server            | [copy] Copying 1 file to /usr/src/jasperreports-server/buildomatic/build_conf/default
jasperreports-server            | [copy] Copying 1 file to /usr/src/jasperreports-server/buildomatic/build_conf/default
jasperreports-server            | [copy] Copying 1 file to /usr/src/jasperreports-server/buildomatic/build_conf/default
jasperreports-server            | [copy] Copying 30 files to /usr/src/jasperreports-server/buildomatic/build_conf/default
jasperreports-server            | [copy] Copying 1 file to /usr/src/jasperreports-server/buildomatic
jasperreports-server            | [copy] Copying 1 file to /usr/src/jasperreports-server/buildomatic/build_conf/default/webapp/WEB-INF
jasperreports-server            | [copy] Copying 1 file to /usr/src/jasperreports-server/buildomatic/build_conf/default/webapp/WEB-INF/classes
jasperreports-server            | [copy] Copying 1 file to /usr/src/jasperreports-server/buildomatic/conf_source/ieCe
jasperreports-server            | [taskdef] Could not load definitions from resource org/jacoco/ant/antlib.xml. It could not be found.
jasperreports-server            | [echo] Maven settings: /usr/src/jasperreports-server/buildomatic/build_conf/default/maven_settings.xml
jasperreports-server            | do-install-upgrade-test:
jasperreports-server            | [echo] Checking DBMS host and port:
jasperreports-server            | [echo] About to validate port: postgres:5432
jasperreports-server            | [echo]   Port 5432 is OK
jasperreports-server            | [echo] Done validating port: postgres:5432
jasperreports-server            | [echo] Validating administrative database connection at jdbc:postgresql://postgres:5432/postgres. Phase: [test]
jasperreports-server            | [advanced-sql] Executing commands
jasperreports-server            | [advanced-sql] 1 of 1 SQL statements executed successfully
jasperreports-server            | [echo] Connection OK
jasperreports-server            | [echo] Validating JasperServer database connection at jdbc:postgresql://postgres:5432/jasperserver. Phase: [test]
jasperreports-server            | [advanced-sql] Executing commands
jasperreports-server            | [advanced-sql] 1 of 1 SQL statements executed successfully
jasperreports-server            | [echo] Connection OK
jasperreports-server            | BUILD SUCCESSFUL
jasperreports-server            | Total time: 2 seconds
jasperreports-server            | Repository jasperserver of postgresql on host postgres available.
jasperreports-server            | test_connection returned OK
jasperreports-server            | Buildfile: /usr/src/jasperreports-server/buildomatic/build.xml
jasperreports-server            |      [echo] 
jasperreports-server            | [create-ks] WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will impact performance.
jasperreports-server            |      [exec] Result: 128
jasperreports-server            |      [echo]  Back-End version: fatal: not a git repository (or any of the parent directories): .git-SNAPSHOT
jasperreports-server            |      [echo] Front-End version: fatal: not a git repository (or any of the parent directories): .git-SNAPSHOT
jasperreports-server            |   [taskdef] Could not load definitions from resource org/jacoco/ant/antlib.xml. It could not be found.
jasperreports-server            |      [echo] Maven settings: /usr/src/jasperreports-server/buildomatic/build_conf/default/maven_settings.xml
jasperreports-server            | 
jasperreports-server            | set-ce-webapp-name:
jasperreports-server            |      [copy] Copying 1 file to /usr/src/jasperreports-server/buildomatic/build_conf/default
jasperreports-server            |      [copy] Copying 5 files to /usr/src/jasperreports-server/buildomatic/build_conf/default/webapp/WEB-INF
jasperreports-server            | 
jasperreports-server            | init-source-paths:
jasperreports-server            |      [echo]  --- (dev.xml:init-source-paths) maven-localrepo-path = /root/.m2/repository --- 
pgadmin                         | NOTE: Configuring authentication for SERVER mode.
pgadmin                         | 
pgadmin                         | sudo: setrlimit(RLIMIT_CORE): Operation not permitted
pgadmin                         | [2020-09-01 03:38:04 +0000] [1] [INFO] Starting gunicorn 19.9.0
pgadmin                         | [2020-09-01 03:38:04 +0000] [1] [INFO] Listening at: http://[::]:80 (1)
pgadmin                         | [2020-09-01 03:38:04 +0000] [1] [INFO] Using worker: threads
pgadmin                         | /usr/local/lib/python3.8/os.py:1023: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used
pgadmin                         |   return io.open(fd, *args, **kwargs)
pgadmin                         | [2020-09-01 03:38:04 +0000] [89] [INFO] Booting worker with pid: 89
jasperreports-server            |      [echo]     js-path = ${js-base-path}
jasperreports-server            |      [echo] js-pro-path = ${js-pro-base-path}
jasperreports-server            | 
jasperreports-server            | setup-groovy:
jasperreports-server            |      [echo] Found Groovy in import lib directory
jasperreports-server            | 
jasperreports-server            | deploy-webapp-datasource-configs:
jasperreports-server            |      [echo]  --- (app-server.xml:deploy-webapp-datasource-configs) --- 
jasperreports-server            |      [echo]  jsEdition     = ce
jasperreports-server            |      [echo]  warSourceDir  = /usr/src/jasperreports-server/buildomatic/install_resources/war/jasperserver
jasperreports-server            |      [echo]  warTargetDir  = /usr/local/tomcat/webapps/jasperserver
jasperreports-server            |      [echo]  webAppName    = jasperserver
jasperreports-server            |      [echo]  webAppNameCE  = jasperserver
jasperreports-server            |      [echo]  webAppNamePro = jasperserver-pro
jasperreports-server            |      [echo]  webAppNameSrc = jasperserver 
jasperreports-server            |      [echo]  webAppNameDel = jasperserver, warTargetDirDel = /usr/local/tomcat/webapps/jasperserver
jasperreports-server            |      [copy] Copying 9 files to /usr/local/tomcat/webapps/jasperserver
jasperreports-server            | 
jasperreports-server            | deploy-jdbc-jar:
jasperreports-server            |      [echo] Copy JDBC drivers in 'conf_source/db/app-srv-jdbc-drivers' to the app-server '/usr/local/tomcat/lib'
jasperreports-server            |      [copy] Copying 2 files to /usr/local/tomcat/lib
jasperreports-server            |      [echo] About to copy JS repository JDBC driver (if it exists):
jasperreports-server            |      [echo]   Copy jdbc driver from: /usr/src/jasperreports-server/buildomatic/conf_source/db/postgresql/jdbc/postgresql-42.2.16.jar
jasperreports-server            |      [echo]   Copy jdbc driver to:   /usr/local/tomcat/lib
jasperreports-server            |      [copy] Copying 1 file to /usr/local/tomcat/lib
jasperreports-server            |      [copy] Copying /usr/src/jasperreports-server/buildomatic/conf_source/db/postgresql/jdbc/postgresql-42.2.16.jar to /usr/local/tomcat/lib/postgresql-42.2.16.jar
jasperreports-server            | 
jasperreports-server            | BUILD SUCCESSFUL
jasperreports-server            | Total time: 3 seconds
jasperreports-server            | ls: cannot access '/usr/local/share/phantomjs': No such file or directory
jasperreports-server            | Tomcat to run on HTTP on 8080 and HTTPS on 8443
jasperreports-server            | NOT! Setting HTTPS only within JasperReports Server. Should actually turn it off, but cannot.
jasperreports-server            | NOTE: Picked up JDK_JAVA_OPTIONS:  --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
jasperreports-server            | 01-Sep-2020 03:38:27.054 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version name:   Apache Tomcat/9.0.35
jasperreports-server-cmdline    | wait-for-it.sh: waiting 30 seconds for postgres:5432
jasperreports-server-cmdline    | wait-for-it.sh: postgres:5432 is available after 11 seconds
jasperreports-server-cmdline    | Current keystore files in /usr/local/share/jasperserver/keystore
jasperreports-server-cmdline    | Buildfile: /usr/src/jasperreports-server/buildomatic/build.xml
jasperreports-server-cmdline    | [echo]
jasperreports-server-cmdline    | [create-ks] WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will impact performance.
jasperreports-server-cmdline    | [propertyfile] Creating new property file: /usr/src/jasperreports-server/buildomatic/keystore.init.properties
jasperreports-server-cmdline    |      [exec] Execute failed: java.io.IOException: Cannot run program "git": error=2, No such file or directory
jasperreports-server-cmdline    | [echo] Back-End version: ${git.currentBranchName}-SNAPSHOT
jasperreports-server-cmdline    | [echo] Front-End version: ${git.currentBranchName}-SNAPSHOT
jasperreports-server-cmdline    | [echo] creating /usr/src/jasperreports-server/buildomatic/build_conf/default
jasperreports-server-cmdline    | [mkdir] Created dir: /usr/src/jasperreports-server/buildomatic/build_conf/default
jasperreports-server-cmdline    | [copy] Copying 1 file to /usr/src/jasperreports-server/buildomatic/build_conf/default
jasperreports-server-cmdline    | [copy] Copying 1 file to /usr/src/jasperreports-server/buildomatic/build_conf/default
jasperreports-server-cmdline    | [copy] Copying 1 file to /usr/src/jasperreports-server/buildomatic/build_conf/default
jasperreports-server-cmdline    | [copy] Copying 1 file to /usr/src/jasperreports-server/buildomatic/build_conf/default
jasperreports-server-cmdline    | [copy] Copying 1 file to /usr/src/jasperreports-server/buildomatic/build_conf/default
jasperreports-server-cmdline    | [copy] Copying 30 files to /usr/src/jasperreports-server/buildomatic/build_conf/default
jasperreports-server-cmdline    | [copy] Copying 1 file to /usr/src/jasperreports-server/buildomatic
jasperreports-server-cmdline    | [copy] Copying 1 file to /usr/src/jasperreports-server/buildomatic/build_conf/default/webapp/WEB-INF
jasperreports-server-cmdline    | [copy] Copying 1 file to /usr/src/jasperreports-server/buildomatic/build_conf/default/webapp/WEB-INF/classes
jasperreports-server-cmdline    | [copy] Copying 1 file to /usr/src/jasperreports-server/buildomatic/conf_source/ieCe
jasperreports-server-cmdline    | [taskdef] Could not load definitions from resource org/jacoco/ant/antlib.xml. It could not be found.
jasperreports-server-cmdline    | [echo] Maven settings: /usr/src/jasperreports-server/buildomatic/build_conf/default/maven_settings.xml
jasperreports-server-cmdline    | do-install-upgrade-test:
jasperreports-server-cmdline    | [echo] Checking DBMS host and port:
jasperreports-server-cmdline    | [echo] About to validate port: postgres:5432
jasperreports-server-cmdline    | [echo] Port 5432 is OK
jasperreports-server-cmdline    | [echo] Done validating port: postgres:5432
jasperreports-server-cmdline    | [echo] Validating administrative database connection at jdbc:postgresql://postgres:5432/postgres. Phase: [test]
jasperreports-server-cmdline    | [advanced-sql] Executing commands
jasperreports-server-cmdline    | [advanced-sql] 1 of 1 SQL statements executed successfully
jasperreports-server-cmdline    | [echo] Connection OK
jasperreports-server-cmdline    | [echo] Validating JasperServer database connection at jdbc:postgresql://postgres:5432/jasperserver. Phase: [test]
jasperreports-server-cmdline    | [advanced-sql] Executing commands
jasperreports-server-cmdline    | [advanced-sql] 1 of 1 SQL statements executed successfully
jasperreports-server-cmdline    | [echo] Connection OK
jasperreports-server-cmdline    | do-pre-install-test:
jasperreports-server-cmdline    | [echo] Validating FoodMart database connection at jdbc:postgresql://postgres:5432/foodmart. Phase: [test]
jasperreports-server-cmdline    | [advanced-sql] Executing commands
jasperreports-server-cmdline    | [advanced-sql] 1 of 1 SQL statements executed successfully
jasperreports-server-cmdline    | [echo] Connection OK
jasperreports-server-cmdline    | [echo] Validating SugarCRM database connection at jdbc:postgresql://postgres:5432/sugarcrm. Phase: [test]
jasperreports-server-cmdline    | [advanced-sql] Executing commands
jasperreports-server-cmdline    | [advanced-sql] 1 of 1 SQL statements executed successfully
jasperreports-server-cmdline    | [echo] Connection OK
jasperreports-server-cmdline    | BUILD SUCCESSFUL
jasperreports-server-cmdline    | Total time: 6 seconds
jasperreports-server-cmdline    | Database init status: administrative : yes , jasperserver : yes , foodmart: yes , sugarcrm yes
jasperreports-server-cmdline    | jasperserver repository database already exists: not creating and loading it or samples
jasperreports-server-cmdline    | wait-for-it.sh: waiting 30 seconds for postgres:5432
jasperreports-server-cmdline    | wait-for-it.sh: postgres:5432 is available after 0 seconds
jasperreports-server-cmdline    | Current keystore files in /usr/local/share/jasperserver/keystore
jasperreports-server-cmdline    | Buildfile: /usr/src/jasperreports-server/buildomatic/build.xml
jasperreports-server            | 01-Sep-2020 03:38:27.061 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built:          May 5 2020 20:36:20 UTC
jasperreports-server            | 01-Sep-2020 03:38:27.062 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version number: 9.0.35.0
jasperreports-server            | 01-Sep-2020 03:38:27.063 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name:               Linux
jasperreports-server            | 01-Sep-2020 03:38:27.064 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version:            4.19.76-linuxkit
jasperreports-server            | 01-Sep-2020 03:38:27.065 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture:          amd64
jasperreports-server            | 01-Sep-2020 03:38:27.066 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home:             /usr/local/openjdk-11
jasperreports-server            | 01-Sep-2020 03:38:27.067 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version:           11.0.7+10
jasperreports-server            | 01-Sep-2020 03:38:27.068 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor:            Oracle Corporation
jasperreports-server            | 01-Sep-2020 03:38:27.068 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE:         /usr/local/tomcat
jasperreports-server            | 01-Sep-2020 03:38:27.080 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME:         /usr/local/tomcat
jasperreports-server            | 01-Sep-2020 03:38:27.118 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.lang=ALL-UNNAMED
jasperreports-server            | 01-Sep-2020 03:38:27.123 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.io=ALL-UNNAMED
jasperreports-server            | 01-Sep-2020 03:38:27.124 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
jasperreports-server            | 01-Sep-2020 03:38:27.125 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=/usr/local/tomcat/conf/logging.properties
jasperreports-server            | 01-Sep-2020 03:38:27.126 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
jasperreports-server            | 01-Sep-2020 03:38:27.127 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:-UseContainerSupport
jasperreports-server            | 01-Sep-2020 03:38:27.131 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:MinRAMPercentage=33.3
jasperreports-server            | 01-Sep-2020 03:38:27.131 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:MaxRAMPercentage=80.0
jasperreports-server            | 01-Sep-2020 03:38:27.132 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.io=ALL-UNNAMED
jasperreports-server            | 01-Sep-2020 03:38:27.133 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.lang=ALL-UNNAMED
jasperreports-server            | 01-Sep-2020 03:38:27.134 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.lang.annotation=ALL-UNNAMED
jasperreports-server            | 01-Sep-2020 03:38:27.135 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.lang.invoke=ALL-UNNAMED
jasperreports-server            | 01-Sep-2020 03:38:27.136 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.lang.module=ALL-UNNAMED
jasperreports-server            | 01-Sep-2020 03:38:27.137 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.lang.ref=ALL-UNNAMED
jasperreports-server            | 01-Sep-2020 03:38:27.139 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.lang.reflect=ALL-UNNAMED
jasperreports-server            | 01-Sep-2020 03:38:27.142 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.math=ALL-UNNAMED
jasperreports-server            | 01-Sep-2020 03:38:27.142 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.net=ALL-UNNAMED
jasperreports-server            | 01-Sep-2020 03:38:27.142 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.net.spi=ALL-UNNAMED
jasperreports-server            | 01-Sep-2020 03:38:27.143 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.nio=ALL-UNNAMED
jasperreports-server            | 01-Sep-2020 03:38:27.143 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.nio.channels=ALL-UNNAMED
jasperreports-server            | 01-Sep-2020 03:38:27.143 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.nio.channels.spi=ALL-UNNAMED
jasperreports-server            | 01-Sep-2020 03:38:27.148 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.nio.charset=ALL-UNNAMED
jasperreports-server            | 01-Sep-2020 03:38:27.149 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.nio.charset.spi=ALL-UNNAMED
jasperreports-server            | 01-Sep-2020 03:38:27.150 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.nio.file=ALL-UNNAMED
jasperreports-server            | 01-Sep-2020 03:38:27.150 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.nio.file.attribute=ALL-UNNAMED
jasperreports-server            | 01-Sep-2020 03:38:27.152 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.nio.file.spi=ALL-UNNAMED
jasperreports-server            | 01-Sep-2020 03:38:27.157 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.security=ALL-UNNAMED
jasperreports-server            | 01-Sep-2020 03:38:27.158 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.security.acl=ALL-UNNAMED
jasperreports-server            | 01-Sep-2020 03:38:27.159 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.security.cert=ALL-UNNAMED
jasperreports-server            | 01-Sep-2020 03:38:27.160 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.security.interfaces=ALL-UNNAMED
jasperreports-server            | 01-Sep-2020 03:38:27.162 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.security.spec=ALL-UNNAMED
jasperreports-server            | 01-Sep-2020 03:38:27.164 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.text=ALL-UNNAMED
jasperreports-server            | 01-Sep-2020 03:38:27.166 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.text.spi=ALL-UNNAMED
jasperreports-server            | 01-Sep-2020 03:38:27.168 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.time=ALL-UNNAMED
jasperreports-server            | 01-Sep-2020 03:38:27.169 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.time.chrono=ALL-UNNAMED
jasperreports-server            | 01-Sep-2020 03:38:27.171 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.time.format=ALL-UNNAMED
jasperreports-server            | 01-Sep-2020 03:38:27.172 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.time.temporal=ALL-UNNAMED
jasperreports-server            | 01-Sep-2020 03:38:27.173 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.time.zone=ALL-UNNAMED
jasperreports-server            | 01-Sep-2020 03:38:27.174 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.util=ALL-UNNAMED
jasperreports-server            | 01-Sep-2020 03:38:27.175 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.util.concurrent=ALL-UNNAMED
jasperreports-server            | 01-Sep-2020 03:38:27.176 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED
jasperreports-server            | 01-Sep-2020 03:38:27.177 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.util.concurrent.locks=ALL-UNNAMED
jasperreports-server            | 01-Sep-2020 03:38:27.181 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.util.function=ALL-UNNAMED
jasperreports-server-cmdline    | [echo]
jasperreports-server-cmdline    | [create-ks] WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will impact performance.
jasperreports-server-cmdline    |      [exec] Execute failed: java.io.IOException: Cannot run program "git": error=2, No such file or directory
jasperreports-server-cmdline    | [echo] Back-End version: ${git.currentBranchName}-SNAPSHOT
jasperreports-server-cmdline    | [echo] Front-End version: ${git.currentBranchName}-SNAPSHOT
jasperreports-server-cmdline    | [echo] creating /usr/src/jasperreports-server/buildomatic/build_conf/default
jasperreports-server-cmdline    | [delete] Deleting directory /usr/src/jasperreports-server/buildomatic/build_conf/default
jasperreports-server-cmdline    | [mkdir] Created dir: /usr/src/jasperreports-server/buildomatic/build_conf/default
jasperreports-server-cmdline    | [copy] Copying 1 file to /usr/src/jasperreports-server/buildomatic/build_conf/default
jasperreports-server-cmdline    | [copy] Copying 1 file to /usr/src/jasperreports-server/buildomatic/build_conf/default
jasperreports-server-cmdline    | [copy] Copying 1 file to /usr/src/jasperreports-server/buildomatic/build_conf/default
jasperreports-server-cmdline    | [copy] Copying 1 file to /usr/src/jasperreports-server/buildomatic/build_conf/default
jasperreports-server-cmdline    | [copy] Copying 1 file to /usr/src/jasperreports-server/buildomatic/build_conf/default
jasperreports-server-cmdline    | [copy] Copying 30 files to /usr/src/jasperreports-server/buildomatic/build_conf/default
jasperreports-server-cmdline    | [copy] Copying 1 file to /usr/src/jasperreports-server/buildomatic
jasperreports-server-cmdline    | [copy] Copying 1 file to /usr/src/jasperreports-server/buildomatic/build_conf/default/webapp/WEB-INF
jasperreports-server-cmdline    | [copy] Copying 1 file to /usr/src/jasperreports-server/buildomatic/build_conf/default/webapp/WEB-INF/classes
jasperreports-server-cmdline    | [taskdef] Could not load definitions from resource org/jacoco/ant/antlib.xml. It could not be found.
jasperreports-server-cmdline    | [echo] Maven settings: /usr/src/jasperreports-server/buildomatic/build_conf/default/maven_settings.xml
jasperreports-server-cmdline    | do-install-upgrade-test:
jasperreports-server-cmdline    | [echo] Checking DBMS host and port:
jasperreports-server-cmdline    | [echo] About to validate port: postgres:5432
jasperreports-server-cmdline    | [echo] Port 5432 is OK
jasperreports-server-cmdline    | [echo] Done validating port: postgres:5432
jasperreports-server-cmdline    | [echo] Validating administrative database connection at jdbc:postgresql://postgres:5432/postgres. Phase: [test]
jasperreports-server-cmdline    | [advanced-sql] Executing commands
jasperreports-server-cmdline    | [advanced-sql] 1 of 1 SQL statements executed successfully
jasperreports-server-cmdline    | [echo] Connection OK
jasperreports-server-cmdline    | [echo] Validating JasperServer database connection at jdbc:postgresql://postgres:5432/jasperserver. Phase: [test]
jasperreports-server-cmdline    | [advanced-sql] Executing commands
jasperreports-server-cmdline    | [advanced-sql] 1 of 1 SQL statements executed successfully
jasperreports-server-cmdline    | [echo] Connection OK
jasperreports-server-cmdline    | do-pre-install-test:
jasperreports-server-cmdline    | [echo] Validating FoodMart database connection at jdbc:postgresql://postgres:5432/foodmart. Phase: [test]
jasperreports-server-cmdline    | [advanced-sql] Executing commands
jasperreports-server-cmdline    | [advanced-sql] 1 of 1 SQL statements executed successfully
jasperreports-server-cmdline    | [echo] Connection OK
jasperreports-server-cmdline    | [echo] Validating SugarCRM database connection at jdbc:postgresql://postgres:5432/sugarcrm. Phase: [test]
jasperreports-server-cmdline    | [advanced-sql] Executing commands
jasperreports-server-cmdline    | [advanced-sql] 1 of 1 SQL statements executed successfully
jasperreports-server-cmdline    | [echo] Connection OK
jasperreports-server-cmdline    | BUILD SUCCESSFUL
jasperreports-server-cmdline    | Total time: 3 seconds
jasperreports-server-cmdline    | Database init status: administrative : yes , jasperserver : yes , foodmart: yes , sugarcrm yes
jasperreports-server-cmdline    | jasperserver repository database already exists: not creating and loading it or samples
jasperreports-server            | 01-Sep-2020 03:38:27.183 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.util.jar=ALL-UNNAMED
jasperreports-server            | 01-Sep-2020 03:38:27.186 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.util.regex=ALL-UNNAMED
jasperreports-server            | 01-Sep-2020 03:38:27.187 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.util.spi=ALL-UNNAMED
jasperreports-server            | 01-Sep-2020 03:38:27.193 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.util.stream=ALL-UNNAMED
jasperreports-server            | 01-Sep-2020 03:38:27.194 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.util.zip=ALL-UNNAMED
jasperreports-server            | 01-Sep-2020 03:38:27.198 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/sun.nio.fs=ALL-UNNAMED
jasperreports-server            | 01-Sep-2020 03:38:27.200 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.datatransfer/java.awt.datatransfer=ALL-UNNAMED
jasperreports-server            | 01-Sep-2020 03:38:27.202 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.desktop/java.applet=ALL-UNNAMED
jasperreports-server            | 01-Sep-2020 03:38:27.204 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.desktop/java.awt=ALL-UNNAMED
jasperreports-server            | 01-Sep-2020 03:38:27.207 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.desktop/java.awt.color=ALL-UNNAMED
jasperreports-server            | 01-Sep-2020 03:38:27.209 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.desktop/java.awt.desktop=ALL-UNNAMED
jasperreports-server            | 01-Sep-2020 03:38:27.211 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.desktop/java.awt.dnd=ALL-UNNAMED
jasperreports-server            | 01-Sep-2020 03:38:27.212 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.desktop/java.awt.dnd.peer=ALL-UNNAMED
jasperreports-server            | 01-Sep-2020 03:38:27.216 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.desktop/java.awt.event=ALL-UNNAMED
jasperreports-server            | 01-Sep-2020 03:38:27.219 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.desktop/java.awt.font=ALL-UNNAMED
jasperreports-server            | 01-Sep-2020 03:38:27.221 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.desktop/java.awt.geom=ALL-UNNAMED
jasperreports-server            | 01-Sep-2020 03:38:27.222 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.desktop/java.awt.im=ALL-UNNAMED
jasperreports-server            | 01-Sep-2020 03:38:27.240 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.desktop/java.awt.im.spi=ALL-UNNAMED
jasperreports-server            | 01-Sep-2020 03:38:27.240 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.desktop/java.awt.image=ALL-UNNAMED
jasperreports-server            | 01-Sep-2020 03:38:27.241 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.desktop/java.awt.image.renderable=ALL-UNNAMED
jasperreports-server            | 01-Sep-2020 03:38:27.241 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.desktop/java.awt.peer=ALL-UNNAMED
jasperreports-server            | 01-Sep-2020 03:38:27.242 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.desktop/java.awt.print=ALL-UNNAMED
jasperreports-server            | 01-Sep-2020 03:38:27.243 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.desktop/java.beans=ALL-UNNAMED
jasperreports-server            | 01-Sep-2020 03:38:27.244 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.desktop/java.beans.beancontext=ALL-UNNAMED
jasperreports-server            | 01-Sep-2020 03:38:27.245 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.instrument/java.lang.instrument=ALL-UNNAMED
jasperreports-server            | 01-Sep-2020 03:38:27.246 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.logging/java.util.logging=ALL-UNNAMED
jasperreports-server            | 01-Sep-2020 03:38:27.247 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.management/java.lang.management=ALL-UNNAMED
jasperreports-server            | 01-Sep-2020 03:38:27.248 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED
jasperreports-server            | 01-Sep-2020 03:38:27.249 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.rmi/java.rmi=ALL-UNNAMED
jasperreports-server            | 01-Sep-2020 03:38:27.250 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.rmi/java.rmi.activation=ALL-UNNAMED
jasperreports-server            | 01-Sep-2020 03:38:27.252 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.rmi/java.rmi.dgc=ALL-UNNAMED
jasperreports-server            | 01-Sep-2020 03:38:27.254 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.rmi/java.rmi.registry=ALL-UNNAMED
jasperreports-server            | 01-Sep-2020 03:38:27.256 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.rmi/java.rmi.server=ALL-UNNAMED
jasperreports-server            | 01-Sep-2020 03:38:27.258 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.sql/java.sql=ALL-UNNAMED
jasperreports-server            | 01-Sep-2020 03:38:27.258 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.desktop/javax.swing=ALL-UNNAMED
jasperreports-server            | 01-Sep-2020 03:38:27.259 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.desktop/javax.swing.border=ALL-UNNAMED
jasperreports-server            | 01-Sep-2020 03:38:27.259 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.desktop/javax.swing.text=ALL-UNNAMED
jasperreports-server            | 01-Sep-2020 03:38:27.260 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.desktop/javax.swing.text.html=ALL-UNNAMED
jasperreports-server            | 01-Sep-2020 03:38:27.260 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.desktop/sun.awt=ALL-UNNAMED
jasperreports-server            | 01-Sep-2020 03:38:27.260 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.desktop/sun.java2d=ALL-UNNAMED
jasperreports-server            | 01-Sep-2020 03:38:27.260 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.desktop/sun.font=ALL-UNNAMED
jasperreports-server            | 01-Sep-2020 03:38:27.260 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
jasperreports-server            | 01-Sep-2020 03:38:27.260 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources
jasperreports-server            | 01-Sep-2020 03:38:27.261 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dorg.apache.catalina.security.SecurityListener.UMASK=0027
jasperreports-server            | 01-Sep-2020 03:38:27.261 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dignore.endorsed.dirs=
jasperreports-server            | 01-Sep-2020 03:38:27.263 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=/usr/local/tomcat
jasperreports-server            | 01-Sep-2020 03:38:27.265 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=/usr/local/tomcat
jasperreports-server            | 01-Sep-2020 03:38:27.265 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=/usr/local/tomcat/temp
jasperreports-server            | 01-Sep-2020 03:38:27.265 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.24] using APR version [1.6.5].
jasperreports-server            | 01-Sep-2020 03:38:27.265 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
jasperreports-server            | 01-Sep-2020 03:38:27.266 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true]
jasperreports-server            | 01-Sep-2020 03:38:27.275 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1d  10 Sep 2019]
jasperreports-server            | 01-Sep-2020 03:38:27.983 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"]
jasperreports-server            | 01-Sep-2020 03:38:28.065 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-openssl-nio-8443"]
jasperreports-server            | 01-Sep-2020 03:38:28.631 INFO [main] org.apache.catalina.startup.Catalina.load Server initialization in [2,085] milliseconds
jasperreports-server            | 01-Sep-2020 03:38:28.855 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina]
jasperreports-server            | 01-Sep-2020 03:38:28.856 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.35]
jasperreports-server            | 01-Sep-2020 03:38:28.875 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/usr/local/tomcat/webapps/jasperserver]
jasperreports-server            | 01-Sep-2020 03:38:29.946 SEVERE [main] org.apache.catalina.startup.HostConfig.deployDirectory Error deploying web application directory [/usr/local/tomcat/webapps/jasperserver]
jasperreports-server            |   java.lang.IllegalStateException: Error starting child
jasperreports-server            |       at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:720)
jasperreports-server            |       at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:690)
jasperreports-server            |       at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:705)
jasperreports-server            |       at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1133)
jasperreports-server            |       at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1866)
jasperreports-server            |       at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
jasperreports-server            |       at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
jasperreports-server            |       at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
jasperreports-server            |       at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:118)
jasperreports-server            |       at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1045)
jasperreports-server            |       at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:429)
jasperreports-server            |       at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1576)
jasperreports-server            |       at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:309)
jasperreports-server            |       at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
jasperreports-server            |       at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:423)
jasperreports-server            |       at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:366)
jasperreports-server            |       at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:936)
jasperreports-server            |       at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:841)
jasperreports-server            |       at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
jasperreports-server            |       at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1384)
jasperreports-server            |       at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1374)
jasperreports-server            |       at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
jasperreports-server            |       at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
jasperreports-server            |       at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:140)
jasperreports-server            |       at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:909)
jasperreports-server            |       at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)
jasperreports-server            |       at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
jasperreports-server            |       at org.apache.catalina.core.StandardService.startInternal(StandardService.java:421)
jasperreports-server            |       at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
jasperreports-server            |       at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:930)
jasperreports-server            |       at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
jasperreports-server            |       at org.apache.catalina.startup.Catalina.start(Catalina.java:633)
jasperreports-server            |       at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
jasperreports-server            |       at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
jasperreports-server            |       at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
jasperreports-server            |       at java.base/java.lang.reflect.Method.invoke(Method.java:566)
jasperreports-server            |       at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:343)
jasperreports-server            |       at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:474)
jasperreports-server            |   Caused by: org.apache.catalina.LifecycleException: Failed to initialize component [org.apache.catalina.webresources.JarResourceSet@61edc883]
jasperreports-server            |       at org.apache.catalina.util.LifecycleBase.handleSubClassException(LifecycleBase.java:440)
jasperreports-server            |       at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:139)
jasperreports-server            |       at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:173)
jasperreports-server            |       at org.apache.catalina.webresources.StandardRoot.startInternal(StandardRoot.java:726)
jasperreports-server            |       at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
jasperreports-server            |       at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4800)
jasperreports-server            |       at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:4936)
jasperreports-server            |       at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
jasperreports-server            |       at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:717)
jasperreports-server            |       ... 37 more
jasperreports-server            |   Caused by: java.lang.IllegalArgumentException: java.io.IOException: java.lang.reflect.InvocationTargetException
jasperreports-server            |       at org.apache.catalina.webresources.AbstractSingleArchiveResourceSet.initInternal(AbstractSingleArchiveResourceSet.java:143)
jasperreports-server            |       at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)
jasperreports-server            |       ... 44 more
jasperreports-server            |   Caused by: java.io.IOException: java.lang.reflect.InvocationTargetException
jasperreports-server            |       at org.apache.tomcat.util.compat.Jre9Compat.jarFileNewInstance(Jre9Compat.java:236)
jasperreports-server            |       at org.apache.tomcat.util.compat.JreCompat.jarFileNewInstance(JreCompat.java:169)
jasperreports-server            |       at org.apache.catalina.webresources.AbstractSingleArchiveResourceSet.initInternal(AbstractSingleArchiveResourceSet.java:140)
jasperreports-server            |       ... 45 more
jasperreports-server            |   Caused by: java.lang.reflect.InvocationTargetException
jasperreports-server            |       at java.base/jdk.internal.reflect.GeneratedConstructorAccessor7.newInstance(Unknown Source)
jasperreports-server            |       at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
jasperreports-server            |       at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
jasperreports-server            |       at org.apache.tomcat.util.compat.Jre9Compat.jarFileNewInstance(Jre9Compat.java:233)
jasperreports-server            |       ... 47 more
jasperreports-server            |   Caused by: java.util.zip.ZipException: invalid END header (bad central directory offset)
jasperreports-server            |       at java.base/java.util.zip.ZipFile$Source.zerror(ZipFile.java:1535)
jasperreports-server            |       at java.base/java.util.zip.ZipFile$Source.initCEN(ZipFile.java:1458)
jasperreports-server            |       at java.base/java.util.zip.ZipFile$Source.<init>(ZipFile.java:1274)
jasperreports-server            |       at java.base/java.util.zip.ZipFile$Source.get(ZipFile.java:1237)
jasperreports-server            |       at java.base/java.util.zip.ZipFile$CleanableResource.<init>(ZipFile.java:727)
jasperreports-server            |       at java.base/java.util.zip.ZipFile$CleanableResource.get(ZipFile.java:844)
jasperreports-server            |       at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:247)
jasperreports-server            |       at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:177)
jasperreports-server            |       at java.base/java.util.jar.JarFile.<init>(JarFile.java:348)
jasperreports-server            |       ... 51 more
jasperreports-server            | 01-Sep-2020 03:38:29.960 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/usr/local/tomcat/webapps/jasperserver] has finished in [1,087] ms
jasperreports-server            | 01-Sep-2020 03:38:29.967 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"]
jasperreports-server            | 01-Sep-2020 03:38:30.008 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-openssl-nio-8443"]
jasperreports-server            | 01-Sep-2020 03:38:30.016 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in [1,383] milliseconds
jasperreports-server-cmdline exited with code 0
Robinyo commented 4 years ago

Hey @anborg

Emanuel was looking to build the Serendipity Server (API) without having to include JasperReports Server.

Which is why I created two Docker Compose files:

You appear to be trying to build js-docker?

anborg commented 3 years ago

I tried running docker-compose.yml.

Looks like serendpity server is having a postgres unique constraint violation.

2021-04-22 02:09:15.114 INFO 1 --- [ main] o.s.restapi.database.seed.au.Electorate : Create Electoral Divisions complete

2021-04-22 02:09:15.200 WARN 1 --- [ main] o.h.engine.jdbc.spi.SqlExceptionHelper : SQL Error: 0, SQLState: 23505

2021-04-22 02:09:15.200 ERROR 1 --- [ main] o.h.engine.jdbc.spi.SqlExceptionHelper : ERROR: duplicate key value violates unique constraint "electoral_division_name_index"

Detail: Key (name)=(Adelaide) already exists.

2021-04-22 02:09:15.220 INFO 1 --- [ main] ConditionEvaluationReportLoggingListener :

Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.

2021-04-22 02:09:15.245 ERROR 1 --- [ main] o.s.boot.SpringApplication : Application run failed

java.lang.IllegalStateException: Failed to execute CommandLineRunner

at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:798) ~[spring-boot-2.3.0.RELEASE.jar!/:2.3.0.RELEASE]

at org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:779) ~[spring-boot-2.3.0.RELEASE.jar!/:2.3.0.RELEASE]

at org.springframework.boot.SpringApplication.run(SpringApplication.java:322) ~[spring-boot-2.3.0.RELEASE.jar!/:2.3.0.RELEASE]

at org.springframework.boot.SpringApplication.run(SpringApplication.java:1237) ~[spring-boot-2.3.0.RELEASE.jar!/:2.3.0.RELEASE]

at org.springframework.boot.SpringApplication.run(SpringApplication.java:1226) ~[spring-boot-2.3.0.RELEASE.jar!/:2.3.0.RELEASE]

at org.serendipity.restapi.SerendipityRestApiApplication.main(SerendipityRestApiApplication.java:34) ~[classes!/:0.0.1-SNAPSHOT]

at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:na]

at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:na]

at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:na]

at java.base/java.lang.reflect.Method.invoke(Method.java:566) ~[na:na]

at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:49) ~[serendipity-rest-api-core-0.0.1-SNAPSHOT.jar:0.0.1-SNAPSHOT]

at org.springframework.boot.loader.Launcher.launch(Launcher.java:109) ~[serendipity-rest-api-core-0.0.1-SNAPSHOT.jar:0.0.1-SNAPSHOT]

at org.springframework.boot.loader.Launcher.launch(Launcher.java:58) ~[serendipity-rest-api-core-0.0.1-SNAPSHOT.jar:0.0.1-SNAPSHOT]

at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:88) ~[serendipity-rest-api-core-0.0.1-SNAPSHOT.jar:0.0.1-SNAPSHOT]

Caused by: org.springframework.dao.DataIntegrityViolationException: could not execute statement; SQL [n/a]; constraint [electoral_division_name_index]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute statement

at org.springframework.orm.jpa.vendor.HibernateJpaDialect.convertHibernateAccessException(HibernateJpaDialect.java:298) ~[spring-orm-5.2.6.RELEASE.jar!/:5.2.6.RELEASE]

at org.springframework.orm.jpa.vendor.HibernateJpaDialect.translateExceptionIfPossible(HibernateJpaDialect.java:255) ~[spring-orm-5.2.6.RELEASE.jar!/:5.2.6.RELEASE]

at org.springframework.orm.jpa.JpaTransactionManager.doCommit(JpaTransactionManager.java:538) ~[spring-orm-5.2.6.RELEASE.jar!/:5.2.6.RELEASE]

at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:743) ~[spring-tx-5.2.6.RELEASE.jar!/:5.2.6.RELEASE]

at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:711) ~[spring-tx-5.2.6.RELEASE.jar!/:5.2.6.RELEASE]

at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:631) ~[spring-tx-5.2.6.RELEASE.jar!/:5.2.6.RELEASE]

at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:385) ~[spring-tx-5.2.6.RELEASE.jar!/:5.2.6.RELEASE]

at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:118) ~[spring-tx-5.2.6.RELEASE.jar!/:5.2.6.RELEASE]

at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.2.6.RELEASE.jar!/:5.2.6.RELEASE]

at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:749) ~[spring-aop-5.2.6.RELEASE.jar!/:5.2.6.RELEASE]

at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:691) ~[spring-aop-5.2.6.RELEASE.jar!/:5.2.6.RELEASE]

at org.serendipity.restapi.database.seed.au.Electorate$$EnhancerBySpringCGLIB$$1072a083.run(<generated>) ~[classes!/:0.0.1-SNAPSHOT]

at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:795) ~[spring-boot-2.3.0.RELEASE.jar!/:2.3.0.RELEASE]

... 13 common frames omitted

Caused by: org.hibernate.exception.ConstraintViolationException: could not execute statement

at org.hibernate.exception.internal.SQLStateConversionDelegate.convert(SQLStateConversionDelegate.java:109) ~[hibernate-core-5.4.15.Final.jar!/:5.4.15.Final]

at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:42) ~[hibernate-core-5.4.15.Final.jar!/:5.4.15.Final]

at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:113) ~[hibernate-core-5.4.15.Final.jar!/:5.4.15.Final]

at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:99) ~[hibernate-core-5.4.15.Final.jar!/:5.4.15.Final]

at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:200) ~[hibernate-core-5.4.15.Final.jar!/:5.4.15.Final]

at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:3235) ~[hibernate-core-5.4.15.Final.jar!/:5.4.15.Final]

at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:3760) ~[hibernate-core-5.4.15.Final.jar!/:5.4.15.Final]

at org.hibernate.action.internal.EntityInsertAction.execute(EntityInsertAction.java:107) ~[hibernate-core-5.4.15.Final.jar!/:5.4.15.Final]

at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:604) ~[hibernate-core-5.4.15.Final.jar!/:5.4.15.Final]

at org.hibernate.engine.spi.ActionQueue.lambda$executeActions$1(ActionQueue.java:478) ~[hibernate-core-5.4.15.Final.jar!/:5.4.15.Final]

at java.base/java.util.LinkedHashMap.forEach(LinkedHashMap.java:684) ~[na:na]

at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:475) ~[hibernate-core-5.4.15.Final.jar!/:5.4.15.Final]

at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:348) ~[hibernate-core-5.4.15.Final.jar!/:5.4.15.Final]

at org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:40) ~[hibernate-core-5.4.15.Final.jar!/:5.4.15.Final]

at org.hibernate.event.service.internal.EventListenerGroupImpl.fireEventOnEachListener(EventListenerGroupImpl.java:102) ~[hibernate-core-5.4.15.Final.jar!/:5.4.15.Final]

at org.hibernate.internal.SessionImpl.doFlush(SessionImpl.java:1352) ~[hibernate-core-5.4.15.Final.jar!/:5.4.15.Final]

at org.hibernate.internal.SessionImpl.managedFlush(SessionImpl.java:443) ~[hibernate-core-5.4.15.Final.jar!/:5.4.15.Final]

at org.hibernate.internal.SessionImpl.flushBeforeTransactionCompletion(SessionImpl.java:3202) ~[hibernate-core-5.4.15.Final.jar!/:5.4.15.Final]

at org.hibernate.internal.SessionImpl.beforeTransactionCompletion(SessionImpl.java:2370) ~[hibernate-core-5.4.15.Final.jar!/:5.4.15.Final]

at org.hibernate.engine.jdbc.internal.JdbcCoordinatorImpl.beforeTransactionCompletion(JdbcCoordinatorImpl.java:447) ~[hibernate-core-5.4.15.Final.jar!/:5.4.15.Final]

at org.hibernate.resource.transaction.backend.jdbc.internal.JdbcResourceLocalTransactionCoordinatorImpl.beforeCompletionCallback(JdbcResourceLocalTransactionCoordinatorImpl.java:183) ~[hibernate-core-5.4.15.Final.jar!/:5.4.15.Final]

at org.hibernate.resource.transaction.backend.jdbc.internal.JdbcResourceLocalTransactionCoordinatorImpl.access$300(JdbcResourceLocalTransactionCoordinatorImpl.java:40) ~[hibernate-core-5.4.15.Final.jar!/:5.4.15.Final]

at org.hibernate.resour

ce.transaction.backend.jdbc.internal.JdbcResourceLocalTransactionCoordinatorImpl$TransactionDriverControlImpl.commit(JdbcResourceLocalTransactionCoordinatorImpl.java:281) ~[hibernate-core-5.4.15.Final.jar!/:5.4.15.Final]

at org.hibernate.engine.transaction.internal.TransactionImpl.commit(TransactionImpl.java:101) ~[hibernate-core-5.4.15.Final.jar!/:5.4.15.Final]

at org.springframework.orm.jpa.JpaTransactionManager.doCommit(JpaTransactionManager.java:534) ~[spring-orm-5.2.6.RELEASE.jar!/:5.2.6.RELEASE]

... 23 common frames omitted

Caused by: org.postgresql.util.PSQLException: ERROR: duplicate key value violates unique constraint "electoral_division_name_index"

Detail: Key (name)=(Adelaide) already exists.

at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2533) ~[postgresql-42.2.12.jar!/:42.2.12]

at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2268) ~[postgresql-42.2.12.jar!/:42.2.12]

at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:313) ~[postgresql-42.2.12.jar!/:42.2.12]

at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:448) ~[postgresql-42.2.12.jar!/:42.2.12]

at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:369) ~[postgresql-42.2.12.jar!/:42.2.12]

at org.postgresql.jdbc.PgPreparedStatement.executeWithFlags(PgPreparedStatement.java:159) ~[postgresql-42.2.12.jar!/:42.2.12]

at org.postgresql.jdbc.PgPreparedStatement.executeUpdate(PgPreparedStatement.java:125) ~[postgresql-42.2.12.jar!/:42.2.12]

at com.zaxxer.hikari.pool.ProxyPreparedStatement.executeUpdate(ProxyPreparedStatement.java:61) ~[HikariCP-3.4.5.jar!/:na]

at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.executeUpdate(HikariProxyPreparedStatement.java) ~[HikariCP-3.4.5.jar!/:na]

at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:197) ~[hibernate-core-5.4.15.Final.jar!/:5.4.15.Final]

... 43 common frames omitted

2021-04-22 02:09:15.290 INFO 1 --- [ main] o.f.j.s.i.a.AbstractAsyncExecutor : Shutting down the async job executor [org.flowable.spring.job.service.SpringAsyncExecutor].

2021-04-22 02:09:15.294 INFO 1 --- [et-expired-jobs] o.f.j.s.i.a.ResetExpiredJobsRunnable : stopped resetting expired jobs for engine bpmn

2021-04-22 02:09:15.294 INFO 1 --- [uire-async-jobs] o.f.j.s.i.a.AcquireAsyncJobsDueRunnable : stopped async job due acquisition for engine bpmn

2021-04-22 02:09:15.295 INFO 1 --- [uire-timer-jobs] o.f.j.s.i.a.AcquireTimerJobsRunnable : stopped async job due acquisition

2021-04-22 02:09:15.340 INFO 1 --- [ main] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'

2021-04-22 02:09:15.352 INFO 1 --- [ main] o.s.s.concurrent.ThreadPoolTaskExecutor : Shutting down ExecutorService 'applicationTaskExecutor'

2021-04-22 02:09:15.354 INFO 1 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated...

2021-04-22 02:09:15.443 INFO 1 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed.

2021-04-22 02:09:23.193 ERROR 1 --- [ange-detector-1] i.m.EventRegistryChangeDetectionRunnable : Exception while detecting event registry changes

org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction; nested exception is java.lang.IllegalStateException: EntityManagerFactory is closed

at org.springframework.orm.jpa.JpaTransactionManager.doBegin(JpaTransactionManager.java:448) ~[spring-orm-5.2.6.RELEASE.jar!/:5.2.6.RELEASE]

at org.springframework.transaction.support.AbstractPlatformTransactionManager.startTransaction(AbstractPlatformTransactionManager.java:400) ~[spring-tx-5.2.6.RELEASE.jar!/:5.2.6.RELEASE]

at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:373) ~[spring-tx-5.2.6.RELEASE.jar!/:5.2.6.RELEASE]

at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:137) ~[spring-tx-5.2.6.RELEASE.jar!/:5.2.6.RELEASE]

at org.flowable.common.spring.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:56) ~[flowable-spring-common-6.5.0.jar!/:6.5.0]

at org.flowable.common.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:30) ~[flowable-engine-common-6.5.0.jar!/:6.5.0]

at org.flowable.common.engine.impl.cfg.CommandExecutorImpl.execute(CommandExecutorImpl.java:56) ~[flowable-engine-common-6.5.0.jar!/:6.5.0]

at org.flowable.common.engine.impl.cfg.CommandExecutorImpl.execute(CommandExecutorImpl.java:51) ~[flowable-engine-common-6.5.0.jar!/:6.5.0]

at org.flowable.common.engine.impl.query.AbstractQuery.list(AbstractQuery.java:117) ~[flowable-engine-common-6.5.0.jar!/:6.5.0]

at org.flowable.eventregistry.impl.management.DefaultEventRegistryChangeDetectionManager.detectChanges(DefaultEventRegistryChangeDetectionManager.java:50) ~[flowable-event-registry-6.5.0.jar!/:6.5.0]

at org.flowable.eventregistry.impl.management.EventRegistryChangeDetectionRunnable.run(EventRegistryChangeDetectionRunnable.java:35) ~[flowable-event-registry-6.5.0.jar!/:6.5.0]

at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54) ~[spring-context-5.2.6.RELEASE.jar!/:5.2.6.RELEASE]

at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) ~[na:na]

at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305) ~[na:na]

at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305) ~[na:na]

at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) ~[na:na]

at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) ~[na:na]

at java.base/java.lang.Thread.run(Thread.java:834) ~[na:na]

Caused by: java.lang.IllegalStateException: EntityManagerFactory is closed

at org.hibernate.internal.SessionFactoryImpl.validateNotClosed(SessionFactoryImpl.java:507) ~[hibernate-core-5.4.15.Final.jar!/:5.4.15.Final]

at org.hibernate.internal.SessionFactoryImpl.createEntityManager(SessionFactoryImpl.java:586) ~[hibernate-core-5.4.15.Final.jar!/:5.4.15.Final]

at org.hibernate.internal.SessionFactoryImpl.createEntityManager(SessionFactoryImpl.java:155) ~[hibernate-core-5.4.15.Final.jar!/:5.4.15.Final]

at org.springframework.orm.jpa.JpaTransactionManager.createEntityManagerForTransaction(JpaTransactionManager.java:466) ~[spring-orm-5.2.6.RELEASE.jar!/:5.2.6.RELEASE]

at org.springframework.orm.jpa.JpaTransactionManager.doBegin(JpaTransactionManager.java:391) ~[spring-orm-5.2.6.RELEASE.jar!/:5.2.6.RELEASE]

... 17 common frames omitted

2021-04-22 02:10:23.156 ERROR 1 --- [ange-detector-1] i.m.EventRegistryChangeDetectionRunnable : Exception while detecting event registry changes

org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction; nested exception is java.lang.IllegalStateException: EntityManagerFactory is closed

at org.springframework.orm.jpa.JpaTransactionManager.doBegin(JpaTransactionManager.java:448) ~[spring-orm-5.2.6.RELEASE.jar!/:5.2.6.RELEASE]

at org.springframework.transaction.support.AbstractPlatformTransactionManager.startTransaction(AbstractPlatformTransactionManager.java:400) ~[spring-tx-5.2.6.RELEASE.jar!/:5.2.6.RELEASE]

at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:373) ~[spring-tx-5.2.6.RELEASE.jar!/:5.2.6.RELEASE]

at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:137) ~[spring-tx-5.2.6.RELEASE.jar!/:5.2.6.RELEASE]

at org.flowable.common.spring.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:56) ~[flowable-spring-common-6.5.0.jar!/:6.5.0]

at org.flowable.common.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:30) ~[flowable-engine-common-6.5.0.jar!/:6.5.0]

at org.flowable.common.engine.impl.cfg.CommandExecutorImpl.execute(CommandExecutorImpl.java:56) ~[flowable-engine-common-6.5.0.jar!/:6.5.0]

at org.flowable.common.engine.impl.cfg.CommandExecutorImpl.execute(CommandExecutorImpl.java:51) ~[flowable-engine-common-6.5.0.jar!/:6.5.0]

at org.flowable.common.engine.impl.query.AbstractQuery.list(AbstractQuery.java:117) ~[flowable-engine-common-6.5.0.jar!/:6.5.0]

at org.flowable.eventregistry.impl.management.DefaultEventRegistryChangeDetectionManager.detectChanges(DefaultEventRegistryChangeDetectionManager.java:50) ~[flowable-event-registry-6.5.0.jar!/:6.5.0]

at org.flowable.eventregistry.impl.management.EventRegistryChangeDetectionRunnable.run(EventRegistryChangeDetectionRunnable.java:35) ~[flowable-event-registry-6.5.0.jar!/:6.5.0]

at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54) ~[spring-context-5.2.6.RELEASE.jar!/:5.2.6.RELEASE]

at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) ~[na:na]

at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305) ~[na:na]

at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305) ~[na:na]

at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) ~[na:na]

at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) ~[na:na]

at java.base/java.lang.Thread.run(Thread.java:834) ~[na:na]

Caused by: java.lang.IllegalStateException: EntityManagerFactory is closed

at org.hibernate.internal.SessionFactoryImpl.validateNotClosed(SessionFactoryImpl.java:507) ~[hibernate-core-5.4.15.Final.jar!/:5.4.15.Final]

at org.hibernate.internal.SessionFactoryImpl.createEntityManager(SessionFactoryImpl.java:586) ~[hibernate-core-5.4.15.Final.jar!/:5.4.15.Final]

at org.hibernate.internal.SessionFactoryImpl.createEntityManager(SessionFactoryImpl.java:155) ~[hibernate-core-5.4.15.Final.jar!/:5.4.15.Final]

at org.springframework.orm.jpa.JpaTransactionManager.createEntityManagerForTransaction(JpaTransactionManager.java:466) ~[spring-orm-5.2.6.RELEASE.jar!/:5.2.6.RELEASE]

at org.springframework.orm.jpa.JpaTransactionManager.doBegin(JpaTransactionManager.java:391) ~[spring-orm-5.2.6.RELEASE.jar!/:5.2.6.RELEASE]

... 17 common frames omitted
2021-04-22 02:11:23.122 ERROR 1 --- [ange-detector-1] i.m.EventRegistryChangeDetectionRunnable : Exception while detecting event registry changes

org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction; nested exception is java.lang.IllegalStateException: EntityManagerFactory is closed

at org.springframework.orm.jpa.JpaTransactionManager.doBegin(JpaTransactionManager.java:448) ~[spring-orm-5.2.6.RELEASE.jar!/:5.2.6.RELEASE]

at org.springframework.transaction.support.AbstractPlatformTransactionManager.startTransaction(AbstractPlatformTransactionManager.java:400) ~[spring-tx-5.2.6.RELEASE.jar!/:5.2.6.RELEASE]

at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:373) ~[spring-tx-5.2.6.RELEASE.jar!/:5.2.6.RELEASE]

at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:137) ~[spring-tx-5.2.6.RELEASE.jar!/:5.2.6.RELEASE]

at org.flowable.common.spring.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:56) ~[flowable-spring-common-6.5.0.jar!/:6.5.0]

at org.flowable.common.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:30) ~[flowable-engine-common-6.5.0.jar!/:6.5.0]

at org.flowable.common.engine.impl.cfg.CommandExecutorImpl.execute(CommandExecutorImpl.java:56) ~[flowable-engine-common-6.5.0.jar!/:6.5.0]

at org.flowable.common.engine.impl.cfg.CommandExecutorImpl.execute(CommandExecutorImpl.java:51) ~[flowable-engine-common-6.5.0.jar!/:6.5.0]

at org.flowable.common.engine.impl.query.AbstractQuery.list(AbstractQuery.java:117) ~[flowable-engine-common-6.5.0.jar!/:6.5.0]

at org.flowable.eventregistry.impl.management.DefaultEventRegistryChangeDetectionManager.detectChanges(DefaultEventRegistryChangeDetectionManager.java:50) ~[flowable-event-registry-6.5.0.jar!/:6.5.0]

at org.flowable.eventregistry.impl.management.EventRegistryChangeDetectionRunnable.run(EventRegistryChangeDetectionRunnable.java:35) ~[flowable-event-registry-6.5.0.jar!/:6.5.0]

at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54) ~[spring-context-5.2.6.RELEASE.jar!/:5.2.6.RELEASE]

at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) ~[na:na]

at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305) ~[na:na]

at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305) ~[na:na]

at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) ~[na:na]

at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) ~[na:na]

at java.base/java.lang.Thread.run(Thread.java:834) ~[na:na]

Caused by: java.lang.IllegalStateException: EntityManagerFactory is closed

at org.hibernate.internal.SessionFactoryImpl.validateNotClosed(SessionFactoryImpl.java:507) ~[hibernate-core-5.4.15.Final.jar!/:5.4.15.Final]

at org.hibernate.internal.SessionFactoryImpl.createEntityManager(SessionFactoryImpl.java:586) ~[hibernate-core-5.4.15.Final.jar!/:5.4.15.Final]

at org.hibernate.internal.SessionFactoryImpl.createEntityManager(SessionFactoryImpl.java:155) ~[hibernate-core-5.4.15.Final.jar!/:5.4.15.Final]

at org.springframework.orm.jpa.JpaTransactionManager.createEntityManagerForTransaction(JpaTransactionManager.java:466) ~[spring-orm-5.2.6.RELEASE.jar!/:5.2.6.RELEASE]

at org.springframework.orm.jpa.JpaTransactionManager.doBegin(JpaTransactionManager.java:391) ~[spring-orm-5.2.6.RELEASE.jar!/:5.2.6.RELEASE]

... 17 common frames omitted

image