Re: Passing additional parameters using j_security_check (Form based authentication)

2014-03-26 Thread Neeraj Sinha
On 12 March 2014 20:40, Christopher Schultz ch...@christopherschultz.netwrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Neeraj, On 3/12/14, 10:47 AM, Neeraj Sinha wrote: Thanks. Actually in the realm implementation, I make a call to backend authenticate () method which validates

Re: Could I ask something about tomcat's catalina categorize?

2014-03-26 Thread Jacky_He
Thank all , I figure it out , I was trying log4j to output catalina.out at first ,and it did't work because swallowOptupt attribute didn't set .That is important and it discribed in the offical documentation , according to documentation

Re: clustermembers don't detect shutdown of other members

2014-03-26 Thread Keiichi Fujino
The above code because it is used by the custom class of your own, I am not able to reproduce this, but at least, as far as I see this code, TcpPingInterceptor do not seem to use. If using both TcpFailureDetector and StaticMembershipInterceptor, TcpFailureDetector manages the membership of the

[ANN] ApacheCon NA 2013 Tomcat presentation videos available

2014-03-26 Thread Mark Thomas
All, Most (all?) of the presentations from ApacheCon NA 2013 are now available on YouTube. To help you to navigate to the Tomcat presentations we have created this page: http://tomcat.apache.org/presentations.html As well as the videos, links to the slides for a number of other presentations are

RE: PooledConnection.getConnection - Tomcat JDBC Pool

2014-03-26 Thread Pierce, Jonathan D
I agree that it is counter-intuitive. I also agree that the application should not need to use the PooledConnection interface. However, XAConnection is needed to be used by a transaction manager, and it extends PooledConnection. So if I understancd correctly, an application gets an

External entities in web.xml

2014-03-26 Thread Robert Olofsson
Hi! I just started an upgrade of our tomcat, 7.0.47, to 7.0.52 and got into a problem. Tomcat did not want to start our webapp. Looking in the log I see: Mar 26, 2014 2:10:42 PM org.apache.catalina.startup.ContextConfig parseWebXml SEVERE: Parse error in application web.xml file at

Re: External entities in web.xml

2014-03-26 Thread Konstantin Kolinko
2014-03-26 17:34 GMT+04:00 Robert Olofsson robert.olofs...@digpro.se: Hi! I just started an upgrade of our tomcat, 7.0.47, to 7.0.52 and got into a problem. Tomcat did not want to start our webapp. Looking in the log I see: Mar 26, 2014 2:10:42 PM org.apache.catalina.startup.ContextConfig

Re: clustermembers don't detect shutdown of other members

2014-03-26 Thread D.R.
Hi Keiichi Fujino, thank you very much for pointing me to the TcpPingInterceptor. Now the members on the other machines get informed of the shutdown: tcpPingInterceptor.setNext(tcpFailureDetector); tcpFailureDetector.setPrevious(tcpPingInterceptor);

Re: PooledConnection.getConnection - Tomcat JDBC Pool

2014-03-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jonathan, On 3/26/14, 9:16 AM, Pierce, Jonathan D wrote: I agree that it is counter-intuitive. I also agree that the application should not need to use the PooledConnection interface. However, XAConnection is needed to be used by a

Scripting Tomcat installation versus multiple instances

2014-03-26 Thread Sebastien Tardif
I'm confused by the commands given by Tomcat documentation about creating different instances, it says: service install instance1 but service is not a command provided by Tomcat or Windows, see http://tomcat.apache.org/tomcat-7.0-doc/windows-service-howto.html#Multiple_Instances Almost

Re: Scripting Tomcat installation versus multiple instances

2014-03-26 Thread Leo Donahue
On Wed, Mar 26, 2014 at 11:32 AM, Sebastien Tardif sebastien.tardif.contrac...@gmo.com wrote: I'm confused by the commands given by Tomcat documentation about creating different instances, it says: service install instance1 but service is not a command provided by Tomcat or Windows, see

tomcat 5.5.26 misses a jar contaning org.apache.tomcat.core.BaseInterceptor . . .

2014-03-26 Thread Stadelmann Josef
For trouble shooting I am about to build an old version 5.5.26 of Apache Jakarta Tomcat And I am missing a jar containing at least the following 4 members import org.apache.tomcat.core.BaseInterceptor; import org.apache.tomcat.core.Context; import org.apache.tomcat.core.ContextManager; import

RE: Scripting Tomcat installation versus multiple instances

2014-03-26 Thread Sebastien Tardif
Ok, I got it. When I installed Tomcat on Windows, I used the Windows Service Installer, the executable, not the zip. It seems the installation will rename the executables to whatever name you give to your instance, but that executable can be used like service.bat for that command. The

Re: Scripting Tomcat installation versus multiple instances

2014-03-26 Thread André Warnier
Leo Donahue wrote: On Wed, Mar 26, 2014 at 11:32 AM, Sebastien Tardif sebastien.tardif.contrac...@gmo.com wrote: I'm confused by the commands given by Tomcat documentation about creating different instances, it says: service install instance1 but service is not a command provided by Tomcat or

Re: Scripting Tomcat installation versus multiple instances

2014-03-26 Thread David kerber
On 3/26/2014 3:25 PM, André Warnier wrote: Leo Donahue wrote: On Wed, Mar 26, 2014 at 11:32 AM, Sebastien Tardif sebastien.tardif.contrac...@gmo.com wrote: I'm confused by the commands given by Tomcat documentation about creating different instances, it says: service install instance1 but

Re: Scripting Tomcat installation versus multiple instances

2014-03-26 Thread André Warnier
Despite your name, you are too quick (and not lazy enough). You could have waited an hour, to get that solution right here. ;-) Sebastien Tardif wrote: Ok, I got it. When I installed Tomcat on Windows, I used the Windows Service Installer, the executable, not the zip. It seems the

Re: tomcat 5.5.26 misses a jar contaning org.apache.tomcat.core.BaseInterceptor . . .

2014-03-26 Thread Mark Thomas
On 26/03/2014 19:10, Stadelmann Josef wrote: For trouble shooting I am about to build an old version 5.5.26 of Apache Jakarta Tomcat Why not just download a binary distribution from the ASF archives? And I am missing a jar containing at least the following 4 members import

Re: Scripting Tomcat installation versus multiple instances

2014-03-26 Thread Leo Donahue
On Wed, Mar 26, 2014 at 12:35 PM, André Warnier a...@ice-sa.com wrote: Despite your name, you are too quick (and not lazy enough). You could have waited an hour, to get that solution right here. ;-) Sebastien Tardif wrote: Oh no you didn't, just top post. ?

Help with CMSClassUnloadingEnabled

2014-03-26 Thread Felipe Jaekel
I have configured my Tomcat 7 with the following parameters: -Xms4G -Xmx4G -XX:MaxPermSize=256m -XX:+UseTLAB -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -Dorg.apache.el.parser.COERCE_TO_ZERO=false I've seen in several blogs and StackOverflow posts that CMSClassUnloadingEnabled should

Re: [OT] Scripting Tomcat installation versus multiple instances

2014-03-26 Thread André Warnier
Leo Donahue wrote: On Wed, Mar 26, 2014 at 12:35 PM, André Warnier a...@ice-sa.com wrote: Despite your name, you are too quick (and not lazy enough). You could have waited an hour, to get that solution right here. ;-) Sebastien Tardif wrote: Oh no you didn't, just top post. ? Well, you

RE: Scripting Tomcat installation versus multiple instances

2014-03-26 Thread Jeffrey Janner
-Original Message- From: David kerber [mailto:dcker...@verizon.net] Sent: Wednesday, March 26, 2014 2:35 PM To: Tomcat Users List Subject: Re: Scripting Tomcat installation versus multiple instances On 3/26/2014 3:25 PM, André Warnier wrote: Leo Donahue wrote: On Wed, Mar 26,

Re: Help with CMSClassUnloadingEnabled

2014-03-26 Thread Jesse Barnum
On Mar 26, 2014, at 4:23 PM, Felipe Jaekel fkjae...@gmail.com wrote: I have configured my Tomcat 7 with the following parameters: -Xms4G -Xmx4G -XX:MaxPermSize=256m -XX:+UseTLAB -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -Dorg.apache.el.parser.COERCE_TO_ZERO=false I've seen in

Re: PooledConnection.getConnection - Tomcat JDBC Pool

2014-03-26 Thread Filip Hanik
Jonathan opened up the following bug https://issues.apache.org/bugzilla/show_bug.cgi?id=56310 and I do believe our pool is incorrectly implementing the ConnectionPoolDatasource. I do believe it shouldn't implement that interface at all. On Wed, Mar 26, 2014 at 10:41 AM, Christopher Schultz

Re: mod_jk - Failover behaviour and load + patch

2014-03-26 Thread Frederik Nosi
Hi all, My scenario is Apache httpd + mod_jk + N Tomcat's in. The default behaviour of load balanced workers in mod_jk in my testing is that when a client requests a page (GET / POST / Whatever), the LB worker tries the request to every ajp worker. This in contrast with what i read here:

Tomcat under load frontend reverse proxy timeouts

2014-03-26 Thread Frederik Nosi
Hi all, Having to deal with slow applications deployed under tomcat, with a reverse proxy in front, frequently i've noticed that even when the frontend timeouts and closes it's part of the TCP connection, the Tomcat thread processing the request goes on and on till it finishes. Is there a

Is it possible to send a 'keep-alive' packet back to client session every x seconds?

2014-03-26 Thread Matthew Turany
Hi, Trying to figure out if this is possible; apache reverse-proxy sitting in front of a server running tomcat serving a web app. Due to the amount of data in the backend DB, when a user generated report is requested, it can take several minutes (3-4) for the report to be presented to the browser

Re: Is it possible to send a 'keep-alive' packet back to client session every x seconds?

2014-03-26 Thread Frederik Nosi
Hi, On 03/27/2014 04:08 AM, Matthew Turany wrote: Hi, Trying to figure out if this is possible; apache reverse-proxy sitting in front of a server running tomcat serving a web app. Due to the amount of data in the backend DB, when a user generated report is requested, it can take several minutes