]
Jan Blizňák edited comment on WFWIP-221 at 10/1/19 11:51 AM:
-------------------------------------------------------------
BTW I don't know if this is the correct repo for CD image but this looks like
something that needs to be done here.. ?
was (Author: jbliznak):
BTW I don't know if this is the repo for CD image but this looks like something that
needs to be done here.. ?
jps can't see server process in Openshift
-----------------------------------------
Key: WFWIP-221
URL:
https://issues.jboss.org/browse/WFWIP-221
Project: WildFly WIP
Issue Type: Bug
Components: OpenShift
Reporter: Jan Blizňák
Assignee: Jean Francois Denise
Priority: Critical
This is somewhat curious issue.
When pod of app image is deployed (server is started) and switch to terminal in Openshift
GUI, doing `jps -l` does nothing although I can see in logs that server is up and I can
find java process in /proc/*/cmdline (image has no `ps` utility).
This happens only in Openshift environment and it is a regression to what was working
with latest published CD image.
Funnily, when I try to run the image in docker and start the server by
/opt/eap/bin/openshift-launch.sh, then jps can see the java process.
{code:java}
# this works fine
docker run -it
docker-registry.upshift.redhat.com/kwills/eap-cd-openshift-rhel8:18.0-EAP... sh
sh-4.4$ /opt/eap/bin/openshift-launch.sh &
sh-4.4$ jps -l
{code}