Re: distributable mode does not work with Servlet 3.0

2012-02-27 Thread Lucas Pouzac
Thanks, a library (prettyfaces) uses a web-tag fragment without distributable / With metadata-complete=true, It works correctly. Best regards. 2012/2/22 Konstantin Kolinko knst.koli...@gmail.com 2012/2/22 Lucas Pouzac lucas.pouzac@gmail.com: No, in two cases, the tomcat configuration

RE: Tomcat with mod_jk becomes irresponsive after working for awhile

2012-02-27 Thread Ofer Israeli
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ofer, On 2/23/12 1:57 PM, Ofer Israeli wrote: Felix Schumacher wrote: Am 23.02.2012 19:32, schrieb Ofer Israeli: Caldarale, Charles R wrote: From: Caldarale, Charles R Subject: RE: Tomcat with mod_jk becomes

Re: Tomcat 6 JNDI

2012-02-27 Thread Pid
On 27/02/2012 11:46, Ziggy wrote: Hi, I am really struggling with this problem described here - http://stackoverflow.com/questions/9453109/using-jndi-to-share-servlet-session-objects-and-data-in-tomcat I would really appreciate any pointers. A pointer: it's usually polite to describe the

Re: parallel deployment: multiple applications responding

2012-02-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 2/26/12 11:29 PM, Caldarale, Charles R wrote: From: Aristedes Maniatis [mailto:amania...@apache.org] Subject: Re: parallel deployment: multiple applications responding What happens if our application defines a static class or other

Re: distributable mode does not work with Servlet 3.0

2012-02-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lucas, On 2/27/12 5:36 AM, Lucas Pouzac wrote: a library (prettyfaces) uses a web-tag fragment without distributable / With metadata-complete=true, It works correctly. Interesting. We should probably issue a warning if a web fragment disagrees

Re: Tomcat with mod_jk becomes irresponsive after working for awhile

2012-02-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ofer, On 2/27/12 6:11 AM, Ofer Israeli wrote: Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ofer, On 2/23/12 1:57 PM, Ofer Israeli wrote: Felix Schumacher wrote: Am 23.02.2012 19:32, schrieb Ofer Israeli:

Re: Tomcat 6 JNDI

2012-02-27 Thread Daniel Mikusa
On Mon, 2012-02-27 at 04:04 -0800, Pid wrote: On 27/02/2012 11:46, Ziggy wrote: Hi, I am really struggling with this problem described here - http://stackoverflow.com/questions/9453109/using-jndi-to-share-servlet-session-objects-and-data-in-tomcat I would really appreciate any

Re: distributable mode does not work with Servlet 3.0

2012-02-27 Thread Pid
On 27/02/2012 13:16, Christopher Schultz wrote: Lucas, On 2/27/12 5:36 AM, Lucas Pouzac wrote: a library (prettyfaces) uses a web-tag fragment without distributable / With metadata-complete=true, It works correctly. Interesting. +1 That seems surprising. I don't see why the fragment

Re: distributable mode does not work with Servlet 3.0

2012-02-27 Thread Mark Thomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 27/02/2012 14:33, Pid wrote: On 27/02/2012 13:16, Christopher Schultz wrote: Lucas, On 2/27/12 5:36 AM, Lucas Pouzac wrote: a library (prettyfaces) uses a web-tag fragment without distributable / With metadata-complete=true, It works

Re: distributable mode does not work with Servlet 3.0

2012-02-27 Thread Pid
On 27/02/2012 14:45, Mark Thomas wrote: On 27/02/2012 14:33, Pid wrote: On 27/02/2012 13:16, Christopher Schultz wrote: Lucas, On 2/27/12 5:36 AM, Lucas Pouzac wrote: a library (prettyfaces) uses a web-tag fragment without distributable / With metadata-complete=true, It works correctly.

RE: SEVERE: The web application created a ThreadLocal (but I removed it)

2012-02-27 Thread Nick Williams
We acquired a product with about a million lines of code. The original author had no formal software design education and had ported the product from Pascal to C++ to Java EE. There are many interesting designs in the code, and no separation of control by any measure. We have a multi-year roadmap

Tomcat-DB Connection problem

2012-02-27 Thread Anjib Mulepati
Hi All, I have DB and application in two different machine. My DB is Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production. And my applciation is in Tomcat 6.0.20. I have following in resource Resource auth=Container

RE: Tomcat-DB Connection problem

2012-02-27 Thread Propes, Barry L
I run 6.0.26 and have a very similar configuration on my container setting. I removed validationQuery=SELECT 1 FROM DUAL from mine, although I'm running connection pooling on mine. Are you attempting that at all with yours? I also have this attribute in mine.

Re: Configuration of APR.

2012-02-27 Thread Friedrich Clausen
Hi, On Fri, Feb 24, 2012 at 7:38 PM, Konstantin Kolinko knst.koli...@gmail.com wrote: Do you have AprLifecycleListener in your server.xml? If tomcat-native is unavailable it would fail when listener is initialized. Here it fails later - I do not know why. Thanks! That was it! I thought that

RE: Tomcat with mod_jk becomes irresponsive after working for awhile

2012-02-27 Thread Ofer Israeli
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ofer, On 2/27/12 6:11 AM, Ofer Israeli wrote: Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ofer, On 2/23/12 1:57 PM, Ofer Israeli wrote: Felix Schumacher wrote: Am 23.02.2012

Re: distributable mode does not work with Servlet 3.0

2012-02-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 2/27/12 9:45 AM, Mark Thomas wrote: It could be done easily on the merge but I'd be strongly against it. There are lots of rules for merging web fragments and I don't think we should be logging very decision that gets made. If there's a

Limiting concurrent requests by user

2012-02-27 Thread hernan
Hi, I'm looking for ideas/suggestions/patterns about limiting concurrent requests by user. May be you have tackled this kind of problem previously and I'd like to heard your opinions. I've a web service. In order to do a request, a user specifies a username and password via web service

Re: Limiting concurrent requests by user

2012-02-27 Thread Hassan Schroeder
On Mon, Feb 27, 2012 at 12:04 PM, hernan hbe...@gmail.com wrote: - how to or where to place and access an object shared by all tomcat threads And I'd like to have a solution that can be extended to many tomcat instances (in different servers). Why not just keep counters in an in-memory store

Re: parallel deployment: multiple applications responding

2012-02-27 Thread Aristedes Maniatis
On 28/02/12 12:14 AM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 2/26/12 11:29 PM, Caldarale, Charles R wrote: From: Aristedes Maniatis [mailto:amania...@apache.org] Subject: Re: parallel deployment: multiple applications responding What happens if

Re: Limiting concurrent requests by user

2012-02-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 HernĂ¡n, On 2/27/12 3:04 PM, hernan wrote: I've a web service. In order to do a request, a user specifies a username and password via web service parameters along with web service parameters. The web service server, checks user and password and if

Re: Limiting concurrent requests by user

2012-02-27 Thread Chema
2012/2/27 hernan hbe...@gmail.com The process may take some seconds or a few minutes to be completed. I'd like to limit the number of client requests per user. Why not do you use Tomcat's valves mechanism ? You can implement a request filter on a Context scope Where store the counter of

Tomcat suddenly dies

2012-02-27 Thread Carl Kabbe
I have run Tomcat in two environments and both produced the same results. Server 1: OS - Slackware Linux 13.x 64 bit JVM - 1.6.0_31 Tomcat - 6.0.24 Server memory 16GB Heap 2GB, PermGen 300M Server 2: OS - Slackware 13.x 64 bit JVM - 1.6.0_31 Tomcat - 7.0.14 Server memory 8GB Heap 2GB,

Re: Tomcat suddenly dies

2012-02-27 Thread Au, Leon
On 2/27/12 5:32 PM, Carl Kabbe c...@etrak-plus.com wrote: I have run Tomcat in two environments and both produced the same results. Server 1: OS - Slackware Linux 13.x 64 bit JVM - 1.6.0_31 Tomcat - 6.0.24 Server memory 16GB Heap 2GB, PermGen 300M Server 2: OS - Slackware 13.x 64 bit JVM -

RE: Tomcat suddenly dies

2012-02-27 Thread Caldarale, Charles R
From: Carl Kabbe [mailto:c...@etrak-plus.com] Subject: Tomcat suddenly dies Starting about a month ago, Tomcat would suddenly fail, no heap dump, no indication of trouble in the log, no indication the JVM crashed Check the kernel logs (e.g., /var/log/messages, /var/log/warn), not just the

Servlet Timer error

2012-02-27 Thread Jerry Malcolm
I have several tasks that needs to run periodically as part of an overall web application solution... some every few minutes and some once a day. I know it's technically not a requirement that it run in a web container. But it needs all off the resources and database connections, etc just like

Re: Servlet Timer error

2012-02-27 Thread Felix Schumacher
Jerry Malcolm 2ndgenfi...@gmail.com schrieb: I have several tasks that needs to run periodically as part of an overall web application solution... some every few minutes and some once a day. I know it's technically not a requirement that it run in a web container. But it needs all off the

Re: Tomcat-DB Connection problem

2012-02-27 Thread Felix Schumacher
Anjib Mulepati anji...@hotmail.com schrieb: Hi All, I have DB and application in two different machine. My DB is Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production. And my applciation is in Tomcat 6.0.20. I have following in resource Resource auth=Container