RE: Need help on Tomcat 9.0.x release

2017-09-21 Thread Inderjeet Banwait
Hi Violeta, Mark, Thank you for clarifying. Regards, Inderjeet -Original Message- From: Violeta Georgieva [mailto:violet...@apache.org] Sent: Thursday, September 21, 2017 7:26 PM To: Tomcat Users List Subject: Re: Need help on Tomcat 9.0.x release 2017-09-21 16:17 GMT+03:00 Rémy Mauche

Re: "Cannot store non-PrivateKeys" exception moving from 8.0.37 to 8.5.20 - Linux

2017-09-21 Thread Mark Thomas
On 22 September 2017 00:41:04 BST, "André Warnier (tomcat)" wrote: >Hi. > >Could this also be the problem on the other thread "tomcat ssl setup" >(tomcat 9) ? Could be, yes. It looks like there are still some problems to iron out with the fix for keystrokes that contain keys with different pass

Re: "Cannot store non-PrivateKeys" exception moving from 8.0.37 to 8.5.20 - Linux

2017-09-21 Thread tomcat
Hi. Could this also be the problem on the other thread "tomcat ssl setup" (tomcat 9) ? log : 08-Sep-2017 15:24:36.300 SEVERE [main] org.apache.catalina.util.LifecycleBase.handleSubClassException Failed to initialize component [Connector[HTTP/1.1-8443]] org.apache.catalina.LifecycleExceptio

Re: "Cannot store non-PrivateKeys" exception moving from 8.0.37 to 8.5.20 - Linux

2017-09-21 Thread Mark Thomas
On 21/09/17 17:19, Sean Dawson wrote: > Hello, > > We migrated our application that was running fine on 8.0.37 to 8.5.20 and > on startup we receive: > > java.lang.IllegalArgumentException: java.security.KeyStoreException: Cannot > store non-PrivateKeys Try 8.5.21. It is on the mirrors but you'l

Re: "Cannot store non-PrivateKeys" exception moving from 8.0.37 to 8.5.20 - Linux

2017-09-21 Thread Peter Kreuser
Peter Kreuser > Am 21.09.2017 um 18:19 schrieb Sean Dawson : > > Hello, > > We migrated our application that was running fine on 8.0.37 to 8.5.20 and > on startup we receive: > > java.lang.IllegalArgumentException: java.security.KeyStoreException: Cannot > store non-PrivateKeys > > I unfortu

Re: [Bug 47410] Using Request#getStream() while reading parameters

2017-09-21 Thread Volkan Yazıcı
Hrm... Now I see it. That is an unfortunate outcome of deep nesting. Anyway... So there are two solutions proposed so far: 1) Reconstruct payload from parameters [me] and 2) use ServletFileUpload to persist+reinstantiate the request [Igal]. Both of them are nasty hacks with their own shortcomings.

Re: [Bug 47410] Using Request#getStream() while reading parameters

2017-09-21 Thread Mark Thomas
On 21/09/17 22:33, Volkan Yazıcı wrote: > Would you mind elaborating your answer? I just want, > in org.apache.catalina.connector.Request, readPostBody() method to access > the request stream via getInputStream() rather than getStream(). Maybe I am > missing something but this looks legit to me. T

Re: tomcat ssl setup

2017-09-21 Thread tomcat
Hi. I just downloaded tomcat 9 myself (the windows zip version, but it should be the same), to look at the standard server.xml. There is something which does not quite fit in all of this. I can also not see, in the snippets of server.xml that you pasted, any obvious XML errors or imbricated c

Re: [Bug 47410] Using Request#getStream() while reading parameters

2017-09-21 Thread Volkan Yazıcı
Would you mind elaborating your answer? I just want, in org.apache.catalina.connector.Request, readPostBody() method to access the request stream via getInputStream() rather than getStream(). Maybe I am missing something but this looks legit to me. On Thu, Sep 21, 2017 at 11:13 PM, Mark Thomas wr

[ANN] End of life for Apache Tomcat Native 1.1.x

2017-09-21 Thread Mark Thomas
The Apache Tomcat Team announces that support for Apache Tomcat Native 1.1.x will end on 30 September 2018. This means that after 30 September 2018: - releases from the 1.1.x branch are highly unlikely - bugs affecting only the 1.1.x branch will not be addressed - security vulnerability reports wi

Re: [Bug 47410] Using Request#getStream() while reading parameters

2017-09-21 Thread Mark Thomas
On 21/09/17 21:58, Volkan Yazıcı wrote: > Hey Igal, > > Today, I've tried to implement your proposal (consuming the InputStream > eagerly, wrapping the consumed byte[] as a re-consumable > ServletInputStream, and passing it to next filter) and hit by the same > Tomcat shortcoming: Since you've alr

Re: [Bug 47410] Using Request#getStream() while reading parameters

2017-09-21 Thread Volkan Yazıcı
Hey Igal, Today, I've tried to implement your proposal (consuming the InputStream eagerly, wrapping the consumed byte[] as a re-consumable ServletInputStream, and passing it to next filter) and hit by the same Tomcat shortcoming: Since you've already consumed the original InputStream, later on, an

RE: tomcat ssl setup

2017-09-21 Thread John Ellis
One more thing Andre. I don't know if it matters or not but when I try to access Tomcat 9 on the secure port of 8443 I see it saying down in the bottom left hand corner of my browser- "Performing a TLS handshake to 10.22.8.70..." but it never gives the webpage. However once I change the IP addres

RE: tomcat ssl setup

2017-09-21 Thread John Ellis
Andre I just realized that I forgot to do the same thing with line 114; here are all the lines in the section that includes line 114- it starts at line 107 and ends at line 117. Thanks again, John Ellis 405.285.2500 office      http://biz-e.io -Original Message- From: André Warnie

RE: tomcat ssl setup

2017-09-21 Thread John Ellis
Sure this is starting with line number 73 thru line 101 so I could get the entire sections- John Ellis 405.285.2500 office      http://biz-e.io -Original Message- From: André Warnier (tomcat) [mailto:a...@ice-sa.com] Sent: Thursday, September 21, 2017 11:34 AM

Re: tomcat ssl setup

2017-09-21 Thread tomcat
On 21.09.2017 17:17, John Ellis wrote: OK. As I said there is nothing on line 87 but here is line 114- SSLCertificateChainFile="/usr/java/jdk1.8.0_45/jre/bin/root.pem" I think you need to provide a bit more context then. Can you paste here, say, that same line, but with 10 lines before and 10

"Cannot store non-PrivateKeys" exception moving from 8.0.37 to 8.5.20 - Linux

2017-09-21 Thread Sean Dawson
Hello, We migrated our application that was running fine on 8.0.37 to 8.5.20 and on startup we receive: java.lang.IllegalArgumentException: java.security.KeyStoreException: Cannot store non-PrivateKeys I unfortunately deleted the logs and under time pressure we had to go back to 8.0.37 so I don'

RE: tomcat ssl setup

2017-09-21 Thread John Ellis
OK. As I said there is nothing on line 87 but here is line 114- SSLCertificateChainFile="/usr/java/jdk1.8.0_45/jre/bin/root.pem" John Ellis 405.285.2500 office      http://biz-e.io -Original Message- From: André Warnier (tomcat) [mailto:a...@ice-sa.com] Sent: Thursday, September 2

Re: tomcat ssl setup

2017-09-21 Thread tomcat
On 21.09.2017 16:43, John Ellis wrote: Thanks so much for the quick reply Andre. There doesn't appear to be anything on line 87 but there is on line 114. See the screenshot I took of the server.xml file below- Unfortunately, this list strips most attachments, and in fact asks for text-onl

RE: tomcat ssl setup

2017-09-21 Thread John Ellis
Thanks so much for the quick reply Andre. There doesn't appear to be anything on line 87 but there is on line 114. See the screenshot I took of the server.xml file below- John Ellis 405.285.2500 office http://biz-e.io -Original Message- From: André Warnie

Re: Need help on Tomcat 9.0.x release

2017-09-21 Thread Violeta Georgieva
2017-09-21 16:17 GMT+03:00 Rémy Maucherat : > > On Thu, Sep 21, 2017 at 3:12 PM, Mark Thomas wrote: > > > On 21/09/17 10:35, Inderjeet Banwait wrote: > > > Hi Mark, > > > > > > Java EE 8 is already released .Can we expect a stable release by the end > > of September 2017? > > > > Servlet 4.0 was r

Re: Need help on Tomcat 9.0.x release

2017-09-21 Thread Rémy Maucherat
On Thu, Sep 21, 2017 at 3:12 PM, Mark Thomas wrote: > On 21/09/17 10:35, Inderjeet Banwait wrote: > > Hi Mark, > > > > Java EE 8 is already released .Can we expect a stable release by the end > of September 2017? > > Servlet 4.0 was released on 5 September 2017. > Java EE 8 platform was released

Re: Need help on Tomcat 9.0.x release

2017-09-21 Thread Mark Thomas
On 21/09/17 10:35, Inderjeet Banwait wrote: > Hi Mark, > > Java EE 8 is already released .Can we expect a stable release by the end of > September 2017? Servlet 4.0 was released on 5 September 2017. Java EE 8 platform was released on 18 September 2017. It would have been helpful if Oracle had m

RE: Need help on Tomcat 9.0.x release

2017-09-21 Thread Inderjeet Banwait
Hi Mark, Java EE 8 is already released .Can we expect a stable release by the end of September 2017? Thanks, Inderjeet -Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Thursday, September 21, 2017 1:58 PM To: Tomcat Users List Subject: Re: Need help on Tomcat 9.0.x

Re: Need help on Tomcat 9.0.x release

2017-09-21 Thread Mark Thomas
On 21/09/17 08:57, Inderjeet Banwait wrote: > Hi, > > > > We are Oracle Knowledge team from Oracle and want to upgrade our product to > support Tomcat 9.0.x but as per the version pages from Tomcat wiki it is not > stable. > > We want to know when we can have a stable Tomcat 9.0.x release?

Re: Tomcat 7/8/9 context path restrictions/validation

2017-09-21 Thread Mark Thomas
On 20/09/17 10:47, Konstantin Ryadov wrote: > > Hello! > Could you explain context path (e.g. described on > https://tomcat.apache.org/tomcat-7.0-doc/config/context.html ) value set in > server.xml limitations? > Does it exist any context path validation (unescaped symbols, whitespaces and > s

Need help on Tomcat 9.0.x release

2017-09-21 Thread Inderjeet Banwait
Hi, We are Oracle Knowledge team from Oracle and want to upgrade our product to support Tomcat 9.0.x but as per the version pages from Tomcat wiki it is not stable. We want to know when we can have a stable Tomcat 9.0.x release? Thanks, Inderjeet