Re: Servlet 3.0, @WebFilter and ordering

2011-02-09 Thread Stevo Slavić
Thanks everyone, Just wish there was an Ordered interface, or annotation, or attribute of @WebXXX annotations to which ordering can be applied, so that web.xml is not needed for such IMO basic feature. Regards, Stevo. On Wed, Feb 9, 2011 at 8:58 AM, Remy Maucherat remy.mauche...@gmail.com

More traces from tomcat 3.2.X

2011-02-09 Thread Petr Hracek
Dear users of tomcat, could you please advice me how to increase logs in tomcat 3.2.X? I know that it is unsupported version now but on the one of the our server I have a problem with high load of CPU when the servlet is exiting. I could not find any reason why the servelt consume high load of

Context.xml for multiple datasources

2011-02-09 Thread Stephan Beutel
Hello Tomcat users, I need some help creating my context.xml file in a correct way. My application is based on Spring and Hibernate. I need to configure more than one datasource to access multiple databases at the same time. This is my working Spring datasource.xml: bean

Re: Tomcat7 - Firefox - SWF Upload

2011-02-09 Thread Gabriele Bulfon
The conf/context.xml is the default one from Tomcat7 distribution. My webapp context.xml just contains resources definitions such as jdbc pools. Where should I place this useHttpOnly flag, if this is the solution? My real question is about the jsessionid that is stated to be changed on tomcat7,

Re: More traces from tomcat 3.2.X

2011-02-09 Thread Konstantin Kolinko
2011/2/9 Petr Hracek phrac...@gmail.com: Dear users of tomcat, could you please advice me how to increase logs in tomcat 3.2.X? I know that it is unsupported version now but on the one of the our server I have a problem with high load of CPU when the servlet is exiting. I could not find

Re: Context.xml for multiple datasources

2011-02-09 Thread chris derham
I need some help creating my context.xml file in a correct way. My application is based on Spring and Hibernate. I need to configure more than one datasource to access multiple databases at the same time. We use JNDI to set up our datasource. So in spring configuration, we have bean

Re: Context.xml for multiple datasources

2011-02-09 Thread Stephan Beutel
Am 09.02.2011 10:30, schrieb chris derham: I need some help creating my context.xml file in a correct way. My application is based on Spring and Hibernate. I need to configure more than one datasource to access multiple databases at the same time. We use JNDI to set up our datasource. So in

Re: Context.xml for multiple datasources

2011-02-09 Thread chris derham
And the question is: How to build the context to move the existing Spring configuration to the Tomcat context to get all datasources with JNDI. The problem is, that it must be possible to set a variable amount of databases. I can't set the number of databases to a fixed amount. Building the

Re: [OT] Multiple web services on same tomcat instance

2011-02-09 Thread Tiago Batista
Thanks! If tomcat is not to blame, I'll go to the metro mailing lists to try and find out where is the problem. I just needed to figure out if tomcat was somehow a part of the problem! Tiago On Ter, 2011-02-08 at 16:00 -0500, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE-

Re: Context.xml for multiple datasources

2011-02-09 Thread Stephan Beutel
Am 09.02.2011 11:03, schrieb chris derham: And the question is: How to build the context to move the existing Spring configuration to the Tomcat context to get all datasources with JNDI. The problem is, that it must be possible to set a variable amount of databases. I can't set the number of

Re: Context.xml for multiple datasources

2011-02-09 Thread chris derham
That's right, my code doesn't support a variable amount of databases at the moment because the databases are configured in Spring (inside my war file). But if I use the context to configure this list of datasources, the admin can create databases as he need. And that's the reason why my

Re: Tomcat7 - Firefox - SWF Upload

2011-02-09 Thread Mark Thomas
On 09/02/2011 09:19, Gabriele Bulfon wrote: The conf/context.xml is the default one from Tomcat7 distribution. My webapp context.xml just contains resources definitions such as jdbc pools. Where should I place this useHttpOnly flag, if this is the solution? In your app's

Re: Tomcat7 - Firefox - SWF Upload

2011-02-09 Thread Gabriele Bulfon
I think I already tried placing that flag in my context.xml where you suggested, but it didn't work I'll try again and let you know. Thanks, Gabriele. -- Da: Mark Thomas A: Tomcat Users List Data: 9 febbraio 2011

Re: Context.xml for multiple datasources

2011-02-09 Thread Stephan Beutel
Am 09.02.2011 12:12, schrieb chris derham: That's right, my code doesn't support a variable amount of databases at the moment because the databases are configured in Spring (inside my war file). But if I use the context to configure this list of datasources, the admin can create databases as

Re: Is IBM Right About Java?

2011-02-09 Thread Peter Crowther
On 9 February 2011 01:36, Caldarale, Charles R chuck.caldar...@unisys.comwrote: The JVM always reserves the maximum heap size as virtual space, but does not allocate more of the heap than the current limit; the limit will be adjusted up or down within the -Xms : -Xmx range as load dictates.

RE: Context.xml for multiple datasources

2011-02-09 Thread Caldarale, Charles R
From: Stephan Beutel [mailto:beu...@axivion.com] Subject: Re: Context.xml for multiple datasources But I thought it could be defined by a map in context.xml like in Spring. Even if you did, that wouldn't solve your problem. You would still have to stop and restart the webapp every time

Re: Context.xml for multiple datasources

2011-02-09 Thread Stephan Beutel
Am 09.02.2011 15:02, schrieb Caldarale, Charles R: From: Stephan Beutel [mailto:beu...@axivion.com] Subject: Re: Context.xml for multiple datasources But I thought it could be defined by a map in context.xml like in Spring. Even if you did, that wouldn't solve your problem. You would still

Re: Tomcat7 - Firefox - SWF Upload

2011-02-09 Thread Gabriele Bulfon
ohps, looks like it's working now :) don't know what I did wrong the previous time...probably I did not restart completely tomcat, but just restarted the webapp? well, solved anyway :) thanks a lot! -- Da: Mark Thomas

Re: Is IBM Right About Java?

2011-02-09 Thread Edward Bicker
I agree, I have enjoying Charles remarks and comments as well. I say to PID, he needs to PIDDLE off and leave us alone. /Ed -Original Message- From: Jordan Michaels jor...@viviotech.net Sent: Feb 8, 2011 3:39 PM To: Tomcat Users List users@tomcat.apache.org Subject: Re: Is IBM Right

Tomcat upgrade from 6.0.20 to latest production release of 7.0.x...

2011-02-09 Thread Tony Anecito
Hi All, I want to upgrade from 6.0.20 to 7.0.x but I have APR added to Tomcat now and I want to keep it that configuration. I heard that Tomcat 7.0.x comes with APR but I am not sure of that. Is that true? Thanks, -Tony

RE: Tomcat upgrade from 6.0.20 to latest production release of 7.0.x...

2011-02-09 Thread Caldarale, Charles R
From: Tony Anecito [mailto:adanec...@yahoo.com] Subject: Tomcat upgrade from 6.0.20 to latest production release of 7.0.x... I want to upgrade from 6.0.20 to 7.0.x but I have APR added to Tomcat now and I want to keep it that configuration. I heard that Tomcat 7.0.x comes with APR but I am