Re: using SSLHostConfig on tomcat 9 in order to get 2 SSL certificates

2016-06-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hardibo, On 6/1/16 9:48 AM, Hardibo Pierre-Jean wrote: > Hello, when i add the second, or i put only the second (tomcat2) > browser doesn't reach the website but doesnt stop with error > message. If you connect with openssl s_client, can you see

[OT] Authentication

2016-06-01 Thread Leo Donahue
Since the forum just had a question on custom authentication, I thought this would be a good time to ask. Does anyone use "micro-services" to perform authentication of web service A to web service B? This would be different than authenticating users to web service A or B as you would be

Re: Tomcat 8.5.2 Beta and HTTP/2

2016-06-01 Thread Sven Schleier
True, you are right. Do you have any suggestion or sample configuration that should work you can share, or anyone else? On 1/6/16, 9:13 PM, "Mark Thomas" wrote: >On 01/06/2016 14:07, Sven Schleier wrote: >> Yes. That’s possible. I am just missing the “HTTP/1.1 101 Switching

Re: Embedded Tomcat does not automatically create "webapps" folder

2016-06-01 Thread Fabrizio Cucci
On 1 June 2016 at 15:38, Mark Thomas wrote: > > On 01/06/2016 15:30, Fabrizio Cucci wrote: > > Hi everyone, > > > > I was playing with embedded Tomcat 8.0.33 and I noticed something > > unexpected. > > > > If I create my embedded Tomcat like this: > > > > Tomcat tomcat = new

AW: AW: How to cancel download on the server side

2016-06-01 Thread Steffen Heil (Mailinglisten)
> > That's another story. > > I tried that. And the internet explorer as well as curl report an error, if > > the download stops without the ending 0\r\n. > > > > But I had to set "Connection: close" and "Transfer-Encoding: chunked" > > myself and encode the chunk headers myself. > > If I leave

Re: Need help to install GoDaddy's SSL certificates on Tomcat 8.0.32 (Amazon Linux)

2016-06-01 Thread Conor Skyler
Hi Daniel, Thank you very much for stepping in, I’m processing a new set of certificates that I hope to try tomorrow. Warm regards, -Conor On Tue, May 31, 2016 at 8:41 AM, Daniel Mikusa wrote: > On Mon, May 30, 2016 at 11:26 PM, Conor Skyler >

AW: How to cancel download on the server side

2016-06-01 Thread Steffen Heil (Mailinglisten)
Hi > We had a similar problem. We just added a "preparation" step before the > actual download. > > 1. User clicks on "request download" link 2. jQuery sends a request to > servlet and instructs it to prepare the download 3. Meanwhile > the request download link has been changed with

AW: How to cancel download on the server side

2016-06-01 Thread Steffen Heil (Mailinglisten)
Hi > I believe that, while the HTTP specification supports what you want to do, > neither servers nor clients support it. For example, you can > use "trailers" (headers end the end of the response) to tell the client what > happened, but I suspect that no client will actually read > them or

Re: AW: How to cancel download on the server side

2016-06-01 Thread Mark Thomas
On 01/06/2016 22:27, Steffen Heil (Mailinglisten) wrote: > Hi > > >> I believe that, while the HTTP specification supports what you want to do, >> neither servers nor clients support it. For example, you can >> use "trailers" (headers end the end of the response) to tell the client what >>

Custom Authenticator

2016-06-01 Thread Thomas Meyer
Hi, How do I get a custom mapping set in ContextConfig.setCustomAuthenticators? ( https://tomcat.apache.org/tomcat-8.0-doc/api/org/apache/catalina/startup/ContextConfig.html#setCustomAuthenticators(java.util.Map) ) I want to add a custom mapping for lets say BEARER to a my Authenticator.

Re: Tomcat 8.5.2 Beta and HTTP/2

2016-06-01 Thread Mark Thomas
On 01/06/2016 03:16, Sven Schleier wrote: > Hi mailinglist, > > I just want to play around with the new HTTP/2 implementation of Tomcat > 8.5.2 Beta. The tomcat instance is up and running and the h2 support is > activated, according to the log during startup: > > 01-Jun-2016 01:57:52.544 INFO

Re: Tomcat 8.5.2 Beta and HTTP/2

2016-06-01 Thread Mark Thomas
On 01/06/2016 14:07, Sven Schleier wrote: > Yes. That’s possible. I am just missing the “HTTP/1.1 101 Switching > Protocols” so it’s not switching to HTTP/2. You'll only get that if you try to use HTTP/2 over a non-TLS channel. When using TLS, ALPN is used to negotiate the protocol. Mark >

Re: Need help on upgrading

2016-06-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Vijay, On 5/31/16 11:03 PM, aramanda vijay wrote: > We are hosting our e-commerce application on tomcat 7.0.47 with > Apache( Apache/2.2.15) web server for load balancing. There are 2 > servers on the cluster. I don't remember the exact cluster >

Re: Need help on upgrading

2016-06-01 Thread Vijay Kumar
Thanks much Chris! Thanks, Vijay -- http://www.matchfinder.in On Wed, Jun 1, 2016 at 6:52 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Vijay, > > On 5/31/16 11:03 PM, aramanda vijay wrote:

Re: Need help on upgrading

2016-06-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Vijay, On 6/1/16 9:32 AM, Vijay Kumar wrote: > Thanks much Chris! No problem. Once you do this one time, you'll be much more comfortable with future upgrades. It's quite easy once you understand the things that usually change (e.g. stock Listeners).

Re: Need help on upgrading

2016-06-01 Thread Vijay Kumar
Sure. Will try and let you know. On Wed, Jun 1, 2016 at 7:05 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Vijay, > > On 6/1/16 9:32 AM, Vijay Kumar wrote: > > Thanks much Chris! > > No problem. Once you do this one time,

Re: Upgrading from tomcat 6 to tomcat 8 | Performance goes down (Http requests)

2016-06-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Vikas, On 5/31/16 11:11 PM, vikas chandra yadav wrote: > Hi, I am upgrading from tomcat 6 to tomcat 8. My throughput get > decreased by 40%. > > Simple sending http request from jmeter using 40 threads. In tomcat > 6 it is 11 in tomcat 7(last

Re: Tomcat 8.5.2 Beta and HTTP/2

2016-06-01 Thread Sven Schleier
Yes. That’s possible. I am just missing the “HTTP/1.1 101 Switching Protocols” so it’s not switching to HTTP/2. On 1/6/16, 7:04 PM, "Mark Thomas" wrote: >On 01/06/2016 03:16, Sven Schleier wrote: >> Hi mailinglist, >> >> I just want to play around with the new HTTP/2

Re: Custom Authenticator

2016-06-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thomas, On 6/1/16 7:15 AM, Thomas Meyer wrote: > Hi, > > How do I get a custom mapping set in > ContextConfig.setCustomAuthenticators? ( > https://tomcat.apache.org/tomcat-8.0-doc/api/org/apache/catalina/start

Re: using SSLHostConfig on tomcat 9 in order to get 2 SSL certificates

2016-06-01 Thread Hardibo Pierre-Jean
Hello, when i add the second, or i put only the second (tomcat2) browser doesn't reach the website but doesnt stop with error message. Le 31/05/2016 18:52, Christopher Schultz a écrit : -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hardibo, On 5/31/16 10:33 AM, Hardibo Pierre-Jean wrote:

Re: Embedded Tomcat does not automatically create "webapps" folder

2016-06-01 Thread Mark Thomas
On 01/06/2016 15:30, Fabrizio Cucci wrote: > Hi everyone, > > I was playing with embedded Tomcat 8.0.33 and I noticed something > unexpected. > > If I create my embedded Tomcat like this: > > Tomcat tomcat = new Tomcat(); > tomcat.setPort(8080); > tomcat.setBaseDir("myBaseDir"); > > start the

Embedded Tomcat does not automatically create "webapps" folder

2016-06-01 Thread Fabrizio Cucci
Hi everyone, I was playing with embedded Tomcat 8.0.33 and I noticed something unexpected. If I create my embedded Tomcat like this: Tomcat tomcat = new Tomcat(); tomcat.setPort(8080); tomcat.setBaseDir("myBaseDir"); start the server and then try to programmatically deploy a webapp like this: