diff --git a/conf/docker/app/init_2_configure.sh b/conf/docker/app/init_2_configure.sh index 35d1d0a1cf4..0ecefb3879f 100644 --- a/conf/docker/app/init_2_configure.sh +++ b/conf/docker/app/init_2_configure.sh @@ -11,6 +11,10 @@ create-system-properties "postgres.port=5432" create-system-properties "postgres.database=dataverse create-system-properties "postgres.user=dataverse" create-password-alias "postgres-pass" --passwordfile ${PAYARA_DIR}/dbpass + +# Do not validate resources, or JMS resources defined in +# glassfish-resources.xml cannot be created +create-system-properties "deployment.resource.validation=false" EOF echo "$(cat ${POSTBOOT_COMMANDS}.tmp | cat - ${POSTBOOT_COMMANDS} )" > ${POSTBOOT_COMMANDS} diff --git a/src/main/webapp/WEB-INF/glassfish-resources.xml b/src/main/webapp/WEB-INF/glassfish-resources.xml index d5286b3c609..41aee7fd3d2 100644 --- a/src/main/webapp/WEB-INF/glassfish-resources.xml +++ b/src/main/webapp/WEB-INF/glassfish-resources.xml @@ -14,4 +14,25 @@ + + + + + + + + + \ No newline at end of file