Is there any (standard) way to enable Java Remote Debugging for the managed server container? Setting
managedserver:
environment:
- PRODUCTION_MODE=false
- DEBUG_FLAG=true
works for the Admin server only but not for the managed server. Passing something like -Xrunjdwp:transport=dt_socket,address=7777,server=y,suspend=n in JAVA_OPTIONS or USER_MEM_ARGS causes the managed server container to fail startup because options will be applied to both, Node Manager and Managed Server, which results in port conflicts.
Ping @mriccell for review.
@stephan2012 what version of WLS containers are you running?
@mriccell Not sure which version you mean. I've pulled the templates from GitHub by mid of December. WebLogic is version 12.2.1.2, developer build.
@brunoborges: Why did you close this issue? Has it been resolved?
Triage.. :-)
Reopening...
hi @mriccell, do you know if there is a documented way to enable Remote Jva Debug on managed servers?
@stephan2012
under OracleWebLogic/samples/12213-domain under the container-scripts createAndStartWLSDomain.sh
before
${DOMAIN_HOME}/startWebLogic.sh
and in createServer.sh
before
echo "Starting NodeManager in background..."
nohup $NM_DIR/startNodeManager.sh > /u01/oracle/log_$MS_NAME.nm 2>&1 &
echo "NodeManager started."
add
export JAVA_OPTIONS="-Doptions=value"
I will close this issue as it is unrelated to Docker images, but to WebLogic. Conversation may continue.