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
[email protected]
http://lists.openshift.redhat.com/openshiftmm/listinfo/users

Reply via email to