- #APPLE JAVA LOCATION APACHE JAVA LOCATION HOW TO#
- #APPLE JAVA LOCATION APACHE JAVA LOCATION INSTALL#
Sh-4.2# docker pull /jboss-webserver-5/webserver53-openjdk8-tomcat9-openshift-rhel7
#APPLE JAVA LOCATION APACHE JAVA LOCATION INSTALL#
To start, let's install Apache Tomcat 9 from a Docker image.
The Tomcat Manager is for deploying a new web application (or undeploying an existing one) without having to shut down and restart the entire container. You may use the provided sample or choose your own application to work with. It is a simple application that is useful for understanding basic concepts. I am using the Sample Java Web Application from the OpenShift Demos GitHub repository.
We will use the OpenShift command-line interface (CLI) for this demonstration, so be sure to install the CLI ( oc) before you begin.Ī note about the sample application: You will need a Java web application to use for the deployment example. To follow the examples, you must have an OpenShift account.
#APPLE JAVA LOCATION APACHE JAVA LOCATION HOW TO#
I also show you how to access the Tomcat management console on OpenShift. If you are new to OpenShift, then you might want to install Apache Tomcat on top of it for simpler experimentation. This article guides you through installing Apache Tomcat from a Docker image and then using it to deploy a Java web app on Red Hat OpenShift.