Re: Old JBoss AS 7.1.1 Java 7 container hangs

2017-11-16 Thread zemiak
Hello,

we are running Payara (a Glassfish derivate) and we had to do some changes.
It is related to the fact, that Payara is not running under a normal user,
but under some artificial user:
Of course, there are probably differences between Payara/Glassfish and
JBoss, but it will give you at least an idea where to start.

We have this in our Dockerfile:

ENV HOME=/home/glassfish \
_JAVA_OPTIONS=-Duser.home=/home/glassfish

RUN set -x \
  && mkdir -p ${HOME} \
  && cp -ax /root/.gfclient ${HOME}/ \
  && chgrp -R 0 /opt/glassfish /etc/glassfish ${HOME}
/opt/payara41/glassfish \
  && chmod -R g+rw /opt/glassfish /etc/glassfish ${HOME}
/opt/payara41/glassfish/

Miro
___
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users


Old JBoss AS 7.1.1 Java 7 container hangs

2017-11-16 Thread Joel Pearson
Hi,

I’m trying to get an existing docker container that has Oracle Java 7 and
JBoss AS 7.1.1 running in OpenShift 3.6.

However when JBoss tries to start the jvm it hangs with no output, in a
terminal we’ve tried running the same Java command that standalone.sh runs
and it hangs the same way. However outside the OpenShift context, in raw
docker it’s fine. Normally I’d expect an error message or something, but
just hanging is strange.

Any ideas? I’m starting to wonder if I need to use strace or something like
that.

Thanks,

Joel
___
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users