This is an automated email from the ASF dual-hosted git repository.
remm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/master by this push:
new a717084 Fix instructions
a717084 is described below
commit a717084483dad42c60fbeca09eeeff499b525dbc
Author: remm <[email protected]>
AuthorDate: Sat May 4 17:12:18 2019 +0200
Fix instructions
---
res/tomcat-maven/README.md | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/res/tomcat-maven/README.md b/res/tomcat-maven/README.md
index f195977..f816f09 100644
--- a/res/tomcat-maven/README.md
+++ b/res/tomcat-maven/README.md
@@ -73,7 +73,7 @@ An example `tomcat.yaml` is included which uses the Docker
image. It uses the he
### Cluster
-If using the Kubernetes cloud clustering membership provider, the pod needs to
have the persmission to view other pods. For exemple with Openshift, this is
done with:
+If using the Kubernetes cloud clustering membership provider, the pod needs to
have the permission to view other pods. For exemple with Openshift, this is
done with:
```
oc policy add-role-to-user view system:serviceaccount:$(oc project -q):default
-n $(oc project -q)
```
@@ -81,9 +81,7 @@ oc policy add-role-to-user view system:serviceaccount:$(oc
project -q):default -
## Native Image
```
-export JAVA_HOME=/home/remm/Work/graalvm-ce-1.0.0-rc17
-export JAVA_OPTS=-agentlib:native-image-agent=config-output-dir=./target/
-java -jar ./target/tomcat-maven-1.0.jar
+$JAVA_HOME/bin/java -agentlib:native-image-agent=config-output-dir=./target/
-jar ./target/tomcat-maven-1.0.jar
```
Then exercise necessary paths of your service with the Tomcat configuration.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]