You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by re...@apache.org on 2019/07/10 09:45:25 UTC

[tomcat] branch master updated: Add https (no TLS without it) to the command line

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 79324e2  Add https (no TLS without it) to the command line
79324e2 is described below

commit 79324e2101d1938210c81abeeeb662d87569a105
Author: remm <re...@apache.org>
AuthorDate: Wed Jul 10 11:45:17 2019 +0200

    Add https (no TLS without it) to the command line
    
    TLS doesn't really work though
    (https://github.com/oracle/graal/issues/951 and
    https://github.com/oracle/graal/issues/1336).
    Also Tomcat Native fails to load with an initial JNI error.
    Update some version numbers.
---
 res/tomcat-maven/README.md | 4 ++--
 res/tomcat-maven/pom.xml   | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/res/tomcat-maven/README.md b/res/tomcat-maven/README.md
index f0448d7..ab700b5 100644
--- a/res/tomcat-maven/README.md
+++ b/res/tomcat-maven/README.md
@@ -82,7 +82,7 @@ oc policy add-role-to-user view system:serviceaccount:$(oc project -q):default -
 
 Download Graal native-image and tools.
 ```
-export JAVA_HOME=/absolute...path...to/graalvm-ce-19.0.0
+export JAVA_HOME=/absolute...path...to/graalvm-ce-19.1.0
 export TOMCAT_MAVEN=/absolute...path...to/tomcat-maven
 cd $JAVA_HOME/bin
 ./gu install native-image
@@ -102,6 +102,6 @@ the substrate VM with the agent again.
 Generate the final json files using native-image-configuration then use native image using the generated reflection metadata:
 ```
 $JAVA_HOME/bin/native-image-configure generate --trace-input=$TOMCAT_MAVEN/target/trace-file.json --output-dir=$TOMCAT_MAVEN/target
-$JAVA_HOME/bin/native-image --no-server --allow-incomplete-classpath --initialize-at-build-time=org.eclipse.jdt,org.apache.el.parser.SimpleNode,javax.servlet.jsp.JspFactory,org.apache.jasper.servlet.JasperInitializer,org.apache.jasper.runtime.JspFactoryImpl -H:+ReportUnsupportedElementsAtRuntime -H:+ReportExceptionStackTraces -H:EnableURLProtocols=jar -H:ConfigurationFileDirectories=$TOMCAT_MAVEN/target/ -H:ReflectionConfigurationFiles=$TOMCAT_MAVEN/tomcat-reflection.json -H:ResourceConf [...]
+$JAVA_HOME/bin/native-image --no-server --allow-incomplete-classpath --enable-https --initialize-at-build-time=org.eclipse.jdt,org.apache.el.parser.SimpleNode,javax.servlet.jsp.JspFactory,org.apache.jasper.servlet.JasperInitializer,org.apache.jasper.runtime.JspFactoryImpl -H:+JNI -H:+ReportUnsupportedElementsAtRuntime -H:+ReportExceptionStackTraces -H:EnableURLProtocols=jar -H:ConfigurationFileDirectories=$TOMCAT_MAVEN/target/ -H:ReflectionConfigurationFiles=$TOMCAT_MAVEN/tomcat-reflecti [...]
 ./tomcat-maven-1.0 -Dcatalina.base=. -Djava.util.logging.config.file=conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
 ```
diff --git a/res/tomcat-maven/pom.xml b/res/tomcat-maven/pom.xml
index fe699bd..54cc499 100644
--- a/res/tomcat-maven/pom.xml
+++ b/res/tomcat-maven/pom.xml
@@ -29,7 +29,7 @@
     <properties>
         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
         <mainClass>org.apache.catalina.startup.Tomcat</mainClass>
-        <tomcat.version>9.0.21</tomcat.version>
+        <tomcat.version>9.0.22</tomcat.version>
     </properties>
 
     <dependencies>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org