POSTBOOT_COMMANDS: "--debug=true"
--
You received this message because you are subscribed to the Google Groups "Payara Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to payara-forum+unsubscribe@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/payara-forum/dc0cf9f7-97fc-48af-9152-4266dea52b1d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
version: "3.1"
services:
myapp:
image: payara/server-full:181
ports:
- "8080:8080"
- "4848:4848"
- "8181:8181"
entrypoint: "'/bin/bash' payara/server-full -c '/opt/payara41/generate_deploy_commands.sh && /opt/payara41/bin/startInForeground.sh --passwordfile=/opt/pwdfile -d --postbootcommandfile ${POSTBOOT_COMMANDS} ${PAYARA_DOMAIN}'"
.....
docker-compose up
WARNING: The POSTBOOT_COMMANDS variable is not set. Defaulting to a blank string.
WARNING: The PAYARA_DOMAIN variable is not set. Defaulting to a blank string.
Recreating myapp_1
nordic-workflow_1 | /bin/bash: payara/server-full: No such file or directory
myapp__1 exited with code 127
OndroThis isn't very simple nor intuitive and I would like to simplify this scenario.The debug port 9009 is bound to 9109.Hi Ralph,In order to run in debug, the --debug option has to be passed to the startInForeground.sh script. Currently, this can only be done by overwriting the default docker entrypoint and adding the --debug option, like this:
docker run -p 9080:8080 -p 9109:9009 --entrypoint '/bin/bash' payara/server-full -c '${PAYARA_PATH}/generate_deploy_commands.sh && ${PAYARA_PATH}/bin/startInForeground.sh --passwordfile=/opt/pwdfile -d --postbootcommandfile ${POSTBOOT_COMMANDS} ${PAYARA_DOMAIN}'
2018-03-06 11:47 GMT+01:00 Ralph Soika <atari...@gmail.com>:
Hi,I am trying to setup a payara environment with docker. Therefore I use the official docker image payara/server-full form docker hub.For several hours I try to start the payara container in debug mode with no success.My first thought was to pass the debug option in the environment variable POSTBOOT_COMMANDS, but this did not work.
POSTBOOT_COMMANDS: "--debug=true"Can anybody help me with this?===
Ralph
--
You received this message because you are subscribed to the Google Groups "Payara Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to payara-forum...@googlegroups.com.
version: "3.1"
services:
myapp:
image: payara/server-full:181
ports:
- "8080:8080"
- "4848:4848"
- "8181:8181"
- "9009:9009"
entrypoint: "/opt/payara41/bin/startInForeground.sh --passwordfile=/opt/pwdfile -d --postbootcommandfile glassfish/domains/domain1"
To view this discussion on the web, visit https://groups.google.com/d/msgid/payara-forum/620a5762-4400-47ef-9e53-c3253b8d9ed7%40googlegroups.com.