Re: Setting java.protocol.handler.pkgs for Tomcat

2023-01-20 Thread Dave Breeze
thanks i have just done a quick and dirty test - I found a tomcat launcher code I did as an exercise - quickly modified it to set the handler to a concatenation. Tomcat launches correctly and uses the ibm safkeyring thanks again Dave Breeze Linkedin:https://uk.linkedin.com/in/dabreeze On Fri,

Re: Setting java.protocol.handler.pkgs for Tomcat

2023-01-20 Thread Thomas Meyer
The reason was class loader issues Am 20. Januar 2023 13:37:11 MEZ schrieb Mark Thomas : >From memory, there is a reason the Tomcat handler has to be first. I forget >exactly why that is. I'd need to dig into this some more (and I have my hands >full working on the RFC 9128 implementation at

Re: AW: AW: Password in Tomcat 9.x

2023-01-20 Thread Mark H. Wood
On Thu, Jan 19, 2023 at 07:33:04PM +0100, a.grub...@bluewin.ch wrote: > I asked Thomas as well, if he knows if this could be solved with placing the > path to the file - in my opinion, this is a easy, safe possiblitiy to > allocate any certs. That would be very helpful to have such tomcat. I

Re: [EXTERNAL EMAIL] Please help me install Tomcat

2023-01-20 Thread logo
Amn, Am 2023-01-20 02:45, schrieb Niranjan Rao: Do you absolutely need to have it as a service? If not, just expand the tarball and run catalina.sh start from bin directory. Works perfectly Any information in catalina.out? We need to figure out at what point it's failing and that will send

Re: Setting java.protocol.handler.pkgs for Tomcat

2023-01-20 Thread Mark Thomas
From memory, there is a reason the Tomcat handler has to be first. I forget exactly why that is. I'd need to dig into this some more (and I have my hands full working on the RFC 9128 implementation at the moment). In your case, it looks like a custom LifecycleListener would work. In terms of

Re: Setting java.protocol.handler.pkgs for Tomcat

2023-01-20 Thread Dave Breeze
Thanks again Mark I have no access to the source for the webapp. what I was think was that if in catalina.sh the line: JAVA_OPTS="$JAVA_OPTS -Djava.protocol.handler.pkgs=org.apache.catalina.webresources" was simply re-ordered to

Re: Setting java.protocol.handler.pkgs for Tomcat

2023-01-20 Thread Mark Thomas
On 20/01/2023 11:18, Dave Breeze wrote: Many thanks Mark for the answers - appreciated. Just to be clear I am running 9.0.71 simply by invoking startup.sh (currently testing). I am not running embedded. I am not too sure therefore about the "Call

Re: Setting java.protocol.handler.pkgs for Tomcat

2023-01-20 Thread Dave Breeze
Many thanks Mark for the answers - appreciated. Just to be clear I am running 9.0.71 simply by invoking startup.sh (currently testing). I am not running embedded. I am not too sure therefore about the "Call

Re: Setting java.protocol.handler.pkgs for Tomcat

2023-01-20 Thread Mark Thomas
On 20/01/2023 09:53, Dave Breeze wrote: 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

Setting java.protocol.handler.pkgs for Tomcat

2023-01-20 Thread Dave Breeze
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"