RE: Using Environment variables instead of Java -D properties for context.xml substitution

2018-01-22 Thread George Stanchev
Can you use catalina.properties? From the docs [1] " All system properties are available including those set using the -D syntax, those automatically made available by the JVM and those configured in the $CATALINA_BASE/conf/catalina.properties file." [1]

Questions about JSSEUtil#getKeyManagers

2018-01-22 Thread Nitkalya (Ing) Wiriyanuparb
Hi all, I'm on Java 8 and Tomcat 8.5.26 (built from tag) moving from 7.0.41. I have a little problem with how JSSEUtil#getKeyManagers creates key managers. This essentially causes Tomcat to sometimes serves an incorrect server certificate chain during ServerHello. -Djavax.net.debug=all gave me a

Using Environment variables instead of Java -D properties for context.xml substitution

2018-01-22 Thread Algirdas Veitas
Hi, We have a context.xml under $TOMCAT_HOME/conf that looks like this: if we do something like this in setenv.sh, the substitution works great export DB_USERNAME=xyz export DB_PASSWORD=vvv export JAVA_OPTS="$JAVA_OPTS -DDB_USERNAME=$DB_USERNAME" export JAVA_OPTS="$JAVA_OPTS

Re: Can't Get SSL to Work in 8.5

2018-01-22 Thread Coty Sutherland
On Mon, Jan 22, 2018 at 2:23 PM, Kenneth Taylor wrote: > We are trying to get SSL to work in 8.5 and have been unsuccessful. We > followed all the instructions in the Tomcat documentation and what help is > available on the net but have been unable to get TC to

Re: StoreConfig default registry misspelling

2018-01-22 Thread Rainer Jung
Am 22.01.2018 um 08:53 schrieb Rémy Maucherat: On Mon, Jan 22, 2018 at 8:35 AM, d3coder wrote: I can't enable StoreConfigLifecycleListener with default settings because of misspelling in class name in default server-registry.xml XML line 138 -

Can't Get SSL to Work in 8.5

2018-01-22 Thread Kenneth Taylor
We are trying to get SSL to work in 8.5 and have been unsuccessful. We followed all the instructions in the Tomcat documentation and what help is available on the net but have been unable to get TC to startup with an SSL Connector configured. Here is our Connector configuration:

Re: AJP Connector not throwing EOFException

2018-01-22 Thread Emanuel Hategan
Hi Chris, > Forget about EOFException, that was my mistake in the first email > > (and subject). I'm interested in improved handling of aborted > > connections (at least most of them). That's my end goal. > > > > read=-1 solely does not provide sufficient information to be able > > to distinguish

Re: roles stripped when using login() in tomcat 8.5 but not 8.0

2018-01-22 Thread Robert J. Carr
Hi Mark, everyone- I've constructed a sample app of ~5 files. The code is bundled in the jar file in the WEB-INF/lib directory. Here's a public url for the application (test.war; 8K): https://drive.google.com/file/d/1mZRXrm90F4WN3mizqoqrWYmQ1HHfrSS4/view?usp=sharing To reproduce the problem