Re: TLS 1.2 Handshake on Tomcat 7.0.39 Getting Internal Error: Key format must be RAW

2016-09-22 Thread Daniel Savard
2016-09-22 6:16 GMT-04:00 André Warnier (tomcat) : > Dono, > > Ok, this is really a long shot, and I really do not know what I am > talking about.. > > I just want to point out that in the course of doing some searches on the > WWW with keywords related to your issue, I seemed several times to co

Unable to complete the scan for annotations for web application

2016-09-22 Thread Bill Phillips
I am upgrading from Tomcat 7.0.x to 8.5.5 I receive many exceptions related to annotation scanning like so: Caused by: java.lang.IllegalStateException: Unable to complete the scan for annotations for web application [/something] due to a StackOverflowError. Possible root causes include a too low

Re: log4j2 configuration in tomcat 8.5.5

2016-09-22 Thread Bill Phillips
Thanks to Mark and Chen. This was very helpful. Bill On Wed, Sep 21, 2016 at 11:47 PM, Chen Levy wrote: > Bill, > > From: Mark Thomas > Sent: Wednesday, September 21, 2016 17:58 > To: Tomcat Users List > Subject: Re: log4j2 configuration in tomcat 8.5.5 > > On 21/09/2016 22:49, Bill Phillips

RE: JreMemoryLeakPreventionListener docs example

2016-09-22 Thread Berneburg, Cris J. - US
Chris >> So, could we add a small example server.xml snippet >> to the JreMemoryLeakPreventionListener documentation >> to make it clear to newbies how to add the >> classesToInitialize option? Something like: >> >> > className="org.apache.catalina.core. >> JreMemoryLeakPreventionListener" >> >>

Re: http to https all traffic not working

2016-09-22 Thread Mark Thomas
On 22 September 2016 16:57:50 BST, Mike Johnson wrote: >The default web.xml that is in the conf directory on a Windows install >of >tomcat. And that is why you are seeing the behaviour you are. That is the default web.xml that is inherited by all webapps. There are complex rules for how to mer

Re: http to https all traffic not working

2016-09-22 Thread Mike Johnson
The default web.xml that is in the conf directory on a Windows install of tomcat. This is a snippet of the file when viewed through Notepad++. I added the security contraint to the bottom of this file just before the ending web-app tag. I don't recall if this listserv frowns upon URL linking so

Re: http to https all traffic not working

2016-09-22 Thread Mark Thomas
On 22 September 2016 15:43:47 BST, Mike Johnson wrote: >I did a little more testing and it seems that only the Tomcat >Manager/Server (a.k.a. the logged in areas) of the default Tomcat >install >is acting this way. This is perhaps why I thought it was working on >Tomcat >6. > >My web apps are work

Re: http to https all traffic not working

2016-09-22 Thread Mike Johnson
I did a little more testing and it seems that only the Tomcat Manager/Server (a.k.a. the logged in areas) of the default Tomcat install is acting this way. This is perhaps why I thought it was working on Tomcat 6. My web apps are working as I expected them to, redirecting all traffic to the approp

Re: Question about custom JSSEImplementation

2016-09-22 Thread Jacopo Cappellato
On Thu, Sep 22, 2016 at 4:07 PM, Mark Thomas wrote: > > It is only used by BIO which has been removed in 8.5.x. Even in 8.0.x I > don't see anywhere obvious it could help unless you: > a) set bindOnInit to false > and > b) start/stop the connector frequently > > In that case, it could speed up th

http to https all traffic not working

2016-09-22 Thread Mike Johnson
I'm clearly misunderstanding how to do this, but I can't seem to find appropriate documentation to get me to my goal. My goal is to have any http request directed to the https equivilant. On Tomcat 6, I was able to get it working, but something in my config is different, or tomcat 8 has changed s

Re: Question about custom JSSEImplementation

2016-09-22 Thread Mark Thomas
On 22/09/2016 14:57, Jacopo Cappellato wrote: > Hi all, > > I am reviewing some legacy code in Apache OFBiz [*], in the attempt to > simplify its integration with Tomcat 8.0.+ and in preparation to upgrade to > Tomcat 8.5.+. > I have noticed that OFBiz, which starts a Tomcat instance in embedded m

Question about custom JSSEImplementation

2016-09-22 Thread Jacopo Cappellato
Hi all, I am reviewing some legacy code in Apache OFBiz [*], in the attempt to simplify its integration with Tomcat 8.0.+ and in preparation to upgrade to Tomcat 8.5.+. I have noticed that OFBiz, which starts a Tomcat instance in embedded mode, uses a legacy class that extends the Tomcat's JSSEImp

Re: TLS 1.2 Handshake on Tomcat 7.0.39 Getting Internal Error: Key format must be RAW

2016-09-22 Thread tomcat
Dono, On 22.09.2016 01:06, Igor Cicimov wrote: On 20 Sep 2016 2:45 am, "Dono Harjanto" wrote: Hi All, We have a web app deployed on 3 different servers, all running Tomcat 7.0.39 and Java 8 (update 101/102). Here is the operating system on each server: - Production: CentOS 6.4 - Staging