Looks like there isn't one and it's OK, it's just a POC.

Speaking of POC, I want to create a VM with Openshift using the Ansible
installer. I did that already but I wonder: I need to transfer the VM
(after the installation) and change the IP/Subnet/Gateway/DNS - will this
affect the  Openshift ? DNS record names will be the same, just the IP will
be different.



On Mon, Jan 1, 2018 at 6:21 PM, Tim Dudgeon <[email protected]> wrote:

> Which Tomcat image is this based on?
> Probably the problem is that the image runs as the root user (e.g. the
> standard Docker image on Docker Hub does this).
> By default OpenShift does not allow to run containers as root user -
> instead it tries to run as an OpenShift assigned non-privileged user.
> Probably this is the case for you so your container is running as a user
> that does not have privs to read the server.xml file.
>
> A workaround for this is described here:
> https://docs.openshift.org/latest/admin_guide/manage_scc.
> html#enable-dockerhub-images-that-require-root
> But better to use an image that allows to run as an arbitrarily assigned
> user ID.
> On 01/01/18 15:15, Hetz Ben Hamo wrote:
>
> Hi,
>
> I'm trying to import a simple Tomcat container with the 'calendar' webapp
> (already in the image) to Openshift Origin (3.7)
>
> As a container, it runs well and I can see the webapp running on the
> browser. I save the container, import it to OpenShift - import ok.
>
> Then when I try to create a new app with the Image, I'm getting this error:
>
> Jan 01, 2018 3:09:19 PM org.apache.catalina.startup.Catalina load
> WARNING: Unable to load server configuration from
> [/opt/apache-tomcat-8.5.14/conf/server.xml]
> Jan 01, 2018 3:09:19 PM org.apache.catalina.startup.Catalina load
> WARNING: Unable to load server configuration from
> [/opt/apache-tomcat-8.5.14/conf/server.xml]
> Jan 01, 2018 3:09:19 PM org.apache.catalina.startup.Catalina start
> SEVERE: Cannot start server. Server instance is not configured.
>
> I checked the container, and the /opt/apache-tomcat-8.5.14/conf/server.xml
> is right there iin the correct path.
>
> Am I missing something?
>
> Thanks
>
>
> _______________________________________________
> users mailing 
> [email protected]http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>
>
>
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>
>
_______________________________________________
users mailing list
[email protected]
http://lists.openshift.redhat.com/openshiftmm/listinfo/users

Reply via email to