Buffer limitations while sending large file using AsyncContext

2016-04-07 Thread LinuxGuy
Hi everyone, I'm trying to use the new async servlet mechanism introduced in 3.0 to serve a large file over a long period of time without occupying a thread. There is example code for doing this from the Jetty site. I have attached a slightly modified and simplified version here: @WebServlet

Re: Encrypted jdbc

2016-04-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Harrie, On 4/7/16 4:55 PM, Harrie Robins wrote: > I found MySQL easy to setup. I suspect MariaDB would be setup > similar, here a small example: > > Generate keys / certificate's: > http://dev.mysql.com/doc/refman/5.5/en/creating-ssl-certs.html > >

Re: Fwd:

2016-04-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 SAMBUDDHA, On 4/7/16 7:01 AM, SAMBUDDHA CHAUDHURI wrote: > How to install multiple instances of Tomcat so as to Adjust to the > huge scaling of Tomcat server? A few things: 1. Please don't top-post. The convention on this list is to bottom-post, or

RE: Encrypted jdbc

2016-04-07 Thread Harrie Robins
I found MySQL easy to setup. I suspect MariaDB would be setup similar, here a small example: Generate keys / certificate's: http://dev.mysql.com/doc/refman/5.5/en/creating-ssl-certs.html Import to keystore (for tomcat): https://dev.mysql.com/doc/connector-j/en/connector-j-reference-using-ssl.htm

Re: Encrypted jdbc

2016-04-07 Thread Christopher Schultz
Mark, On 4/7/16 12:30 PM, Mark Eggers wrote: > OSP, > > On 4/7/2016 8:28 AM, Christopher Schultz wrote: >> OSP, >> >> On 4/7/16 10:08 AM, Linux Support wrote: >>> Greetings all, >>> >>> = Server number: 8.0.28.0 OS Name:Linux OS Version: >>> 2.6.32-573.8.1.el6.x86_64 JVM Version:

Re: Encrypted jdbc

2016-04-07 Thread Mark Eggers
OSP, On 4/7/2016 8:28 AM, Christopher Schultz wrote: > OSP, > > On 4/7/16 10:08 AM, Linux Support wrote: >> Greetings all, >> >> = Server number: 8.0.28.0 OS Name:Linux OS Version: >> 2.6.32-573.8.1.el6.x86_64 JVM Version:1.8.0_66-b17 = >> >> Back end database is mariadb re

JSESSIONID changed without notice

2016-04-07 Thread Arno Schäfer
Hi all, I have the following Problem: we have a very old, some kind of complex webapp, that run under tomcat 7.0.54 on Windows. I have to maintain some functionality and came to a point, what I can't understand. Some requests have to have an authentification and this is bound at the JSESSIONID.

Re: Encrypted jdbc

2016-04-07 Thread Christopher Schultz
OSP, On 4/7/16 10:08 AM, Linux Support wrote: > Greetings all, > > = > Server number: 8.0.28.0 > OS Name:Linux > OS Version: 2.6.32-573.8.1.el6.x86_64 > JVM Version:1.8.0_66-b17 > = > > Back end database is mariadb residing on a another remote linux instance. I > have do

Re: Tomcat Windows Services issue

2016-04-07 Thread Saurav Maulick
On Thu, Apr 7, 2016 at 6:11 AM, André Warnier (tomcat) wrote: > On 07.04.2016 00:14, Saurav Maulick wrote: > >> Hi All, >> >> I am using tomcat 5.5.28. >> > > Before anything else, you do realise that Tomcat 5.5 was archived in 2012, > do you ? > And that the people developing Tomcat, as well as

Re: Adding Tomcat instances dynamically to Apache Load Balancer without restart

2016-04-07 Thread Linux Support
Doesn't AWS ELB fir to the purpose. May be something similar in your environment that translates hopefully On Fri, Apr 8, 2016 at 12:34 AM, Christoph Nenning < christoph.nenn...@lex-com.net> wrote: > > Hi All, > > > > Good Morning. > > > > I am working in a Cloud based project where I encounter S

Re: Encrypted jdbc

2016-04-07 Thread Linux Support
I'm sure someone here also would have done a similar thing. But will ask mariadb form as well. On Fri, Apr 8, 2016 at 12:09 AM, Tommy Pham wrote: > Perhaps trying asking the MariaDB forum/list? > > On Thu, Apr 7, 2016 at 7:08 AM, Linux Support > wrote: > > > Greetings all, > > > > = > > Ser

Re: Adding Tomcat instances dynamically to Apache Load Balancer without restart

2016-04-07 Thread Christoph Nenning
> Hi All, > > Good Morning. > > I am working in a Cloud based project where I encounter Scale-in/ Scale out > of Tomcat instances. > We have Apache load balancer as well. The requirement is to dynamically add > any new Tomcat instances during scale out to Load balancer and remove > tomcat insta

Tomcat Logging for POST returning a 500 (Internal Server Error)

2016-04-07 Thread Chris Odd
Hi, I am trying to troubleshoot a GWT application that I have deployed to a tomcat server (Apache Tomcat/7.0.55), running on a Bitnami stack (Ubuntu 14.04.1) at AWS. The initial web page loads just f

Re: Encrypted jdbc

2016-04-07 Thread Tommy Pham
Perhaps trying asking the MariaDB forum/list? On Thu, Apr 7, 2016 at 7:08 AM, Linux Support wrote: > Greetings all, > > = > Server number: 8.0.28.0 > OS Name:Linux > OS Version: 2.6.32-573.8.1.el6.x86_64 > JVM Version:1.8.0_66-b17 > = > > Back end database is mariadb res

Encrypted jdbc

2016-04-07 Thread Linux Support
Greetings all, = Server number: 8.0.28.0 OS Name:Linux OS Version: 2.6.32-573.8.1.el6.x86_64 JVM Version:1.8.0_66-b17 = Back end database is mariadb residing on a another remote linux instance. I have downloaded and copied the Mariadb jdbc driver to the lib directory of t

Re: Tomcat 8.5 and TLS

2016-04-07 Thread Coty Sutherland
I'm glad I was able to help, Thad. Good luck! Let me know if you have any other questions regarding the connectors (or anything else, in a separate thread please). On Wed, Apr 6, 2016 at 3:58 PM, Thad Humphries wrote: > On Wed, Apr 6, 2016 at 12:17 PM, Coty Sutherland > wrote: > > > Hi Thad, >

Re: Filters: How to programmatically find out their order in hindsight?

2016-04-07 Thread Burkhard Graves
Ah, yes, of course. Sometimes the solution is so simple. Thanks, Martin! :-) B. Am 07.04.2016 um 10:57 schrieb Martin Holz (for Usenet): > Am 04/06/2016 um 10:15 PM schrieb Burkhard Graves: >> ServletContext#getFilterRegistrations() returns an unordered map only - >> how to programmatically find

Re: Apache Tomcat 9.0.0-M4 and http/2 on Mac OS X 10.11.4

2016-04-07 Thread Tobias Soloschenko
Any other hints? kind regards Tobias > Am 05.04.2016 um 05:00 schrieb Christopher Schultz > : > > Tobias, > >> On 4/4/16 4:49 AM, Tobias Soloschenko wrote: >> I just figured out that this issue might depend on the file names of APR >> 1.5.2 - if I create links in the lib folder that reflects

Re: Fwd:

2016-04-07 Thread SAMBUDDHA CHAUDHURI
How to install multiple instances of Tomcat so as to Adjust to the huge scaling of Tomcat server? On Thu, Apr 7, 2016 at 3:29 PM, Olaf Kock wrote: > > > Am 07.04.2016 um 10:42 schrieb SAMBUDDHA CHAUDHURI: > > How to do Tomcat Server Clustering?How to use Load balancer in Tomcat > > Server? > You

Re: Tomcat Windows Services issue

2016-04-07 Thread tomcat
On 07.04.2016 00:14, Saurav Maulick wrote: Hi All, I am using tomcat 5.5.28. Before anything else, you do realise that Tomcat 5.5 was archived in 2012, do you ? And that the people developing Tomcat, as well as the experts available on this users list, are volunteers who do this on their own

Re: Fwd:

2016-04-07 Thread Olaf Kock
Am 07.04.2016 um 10:42 schrieb SAMBUDDHA CHAUDHURI: > How to do Tomcat Server Clustering?How to use Load balancer in Tomcat > Server? You might want to check the chapters in tomcat's documentation where this is covered - they're called "18. Clustering" and "19. Load Balancer" http://tomcat.apache

Re: Tomcat 8.0.32: Response already committed

2016-04-07 Thread Martin Holz (for Usenet)
A upgrade to Tomcat 8.0.33 did solve the issue. Martin - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Adding Tomcat instances dynamically to Apache Load Balancer without restart

2016-04-07 Thread Mohanavelu Subramanian
Hi All, Good Morning. I am working in a Cloud based project where I encounter Scale-in/ Scale out of Tomcat instances. We have Apache load balancer as well. The requirement is to dynamically add any new Tomcat instances during scale out to Load balancer and remove tomcat instances during scale-in

Re: Filters: How to programmatically find out their order in hindsight?

2016-04-07 Thread Martin Holz (for Usenet)
Am 04/06/2016 um 10:15 PM schrieb Burkhard Graves: ServletContext#getFilterRegistrations() returns an unordered map only - how to programmatically find out the order in which the filters are applied/registered? I know the specs ... The order the container uses in building the chain of filters

Tomcat 8.0.32: Response already committed

2016-04-07 Thread Martin Holz (for Usenet)
Hello, with Tomcat 8.0.32 (and 8.0.28) sometimes the response object is already committed, before the servlet or JSP page is doing anything. I am moving a large legacy application from Tomcat 6 to Tomcat 8 and found, that JSP pages were sometimes returned to the browser without any HTTP header

Fwd:

2016-04-07 Thread SAMBUDDHA CHAUDHURI
-- Forwarded message -- From: SAMBUDDHA CHAUDHURI Date: Thu, Apr 7, 2016 at 2:10 PM Subject: To: users@tomcat.apache.org How to do Tomcat Server Clustering?How to use Load balancer in Tomcat Server?