Tomcat 9.0.71 I need to use a custom protocol handler. I set JAVA_OPTS to:
-Djava.protocol.handler.pkgs=com.ibm.crypto.provider My JAVA_OPTS setting,however, is ignored. This is due to catalina.sh containing JAVA_OPTS="$JAVA_OPTS -Djava.protocol.handler.pkgs=org.apache.catalina.webresources" The result of catalina.sh is that the jvm has 2 -Djava.protocol.handler.pkgs settings - first the custom protocol then org.apache.catalina.webresources. The net result being that Tomcat is started with -Djava.protocol.handler.pkgs=org.apache.catalina.webresources. 1. What is the best way of setting java.protocol.handler.pkgs other than modifying catalina.sh 2. do i need to set java.protocol.handler.pkgs to just my custom handler or should it be set to a concatenation of custom + org.apache.catalina.webresources 3. if a concatenation of handlers is required what is the syntax thank you Dave Breeze Linkedin:https://uk.linkedin.com/in/dabreeze