[Bug 57314] ServletRequestListener.requestInitialized() and ServletRequestListener.requestDestroyed() called in different threads

2015-04-16 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=57314 --- Comment #18 from Michal Ševčenko --- FYI, we experienced similar symptoms as reported in BUG#57824, the problem may be related. -- You are receiving this mail because: You are the assignee for the bug.

[Bug 57314] ServletRequestListener.requestInitialized() and ServletRequestListener.requestDestroyed() called in different threads

2014-12-16 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=57314 --- Comment #17 from Jozef Hartinger --- Filters are not usable for this purpose as I need to be able to have my code called before other listeners. -- You are receiving this mail because: You are the assignee for the bug. --

[Bug 57314] ServletRequestListener.requestInitialized() and ServletRequestListener.requestDestroyed() called in different threads

2014-12-05 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=57314 --- Comment #16 from Konstantin Kolinko --- If you are using ThreadLocals implementing a Filter is the usual and better approach. 1) A Filter fulfills the same task of being executed when request enters application and when it leaves it. 2

[Bug 57314] ServletRequestListener.requestInitialized() and ServletRequestListener.requestDestroyed() called in different threads

2014-12-05 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=57314 --- Comment #15 from Shailendra Singh --- Thank you for posting this bug. This will help me to avoid lots of troubles. I am also disappointed by this resolution. I am in the same boat as you as feel that Tomcat should have implemented in

[Bug 57314] ServletRequestListener.requestInitialized() and ServletRequestListener.requestDestroyed() called in different threads

2014-12-05 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=57314 --- Comment #14 from Jozef Hartinger --- > I'd prefer to see this discussed by the Servlet EG before taking any action. Fair enough, I'll try to bring this up. -- You are receiving this mail because: You are the assignee for the bug. --

[Bug 57314] ServletRequestListener.requestInitialized() and ServletRequestListener.requestDestroyed() called in different threads

2014-12-05 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=57314 --- Comment #13 from Jozef Hartinger --- > Well, it's not what I call EE integration then, which would be at the > container > level, not at the application level limited to Servlets. This is too limited, > for example, it has no possibil

[Bug 57314] ServletRequestListener.requestInitialized() and ServletRequestListener.requestDestroyed() called in different threads

2014-12-05 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=57314 --- Comment #12 from Mark Thomas --- (In reply to Jozef Hartinger from comment #5) > Secondly, ServletRequestListener seems to be the portable hook for > integrating various frameworks that use ThreadLocals and it actually is > portable ac

[Bug 57314] ServletRequestListener.requestInitialized() and ServletRequestListener.requestDestroyed() called in different threads

2014-12-05 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=57314 --- Comment #11 from Remy Maucherat --- Well, it's not what I call EE integration then, which would be at the container level, not at the application level limited to Servlets. This is too limited, for example, it has no possibility to work

[Bug 57314] ServletRequestListener.requestInitialized() and ServletRequestListener.requestDestroyed() called in different threads

2014-12-05 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=57314 --- Comment #10 from Jozef Hartinger --- Not sure if I fully understand your question. We do not need our stuff to be active during Servlet init/destroy. We need it active during request processing. -- You are receiving this mail because:

[Bug 57314] ServletRequestListener.requestInitialized() and ServletRequestListener.requestDestroyed() called in different threads

2014-12-05 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=57314 --- Comment #9 from Remy Maucherat --- Ah, so you need a request object ? How do you manage during servlet init / destroy then ? -- You are receiving this mail because: You are the assignee for the bug. --

[Bug 57314] ServletRequestListener.requestInitialized() and ServletRequestListener.requestDestroyed() called in different threads

2014-12-05 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=57314 --- Comment #8 from Jozef Hartinger --- Actually since ThreadBindingListener does not have access to the ServletRequest object (as ServletRequestListener does) it is not really usable for our purpose. Thus, would it be possible to have th

[Bug 57314] ServletRequestListener.requestInitialized() and ServletRequestListener.requestDestroyed() called in different threads

2014-12-05 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=57314 --- Comment #7 from Remy Maucherat --- "is miserable": thanks for the feedback :) "when it is called with respect to ServletRequestListener": "Callback for establishing naming association when entering the application scope. This correspon

[Bug 57314] ServletRequestListener.requestInitialized() and ServletRequestListener.requestDestroyed() called in different threads

2014-12-05 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=57314 --- Comment #6 from Jozef Hartinger --- BTW, the documentation for http://tomcat.apache.org/tomcat-8.0-doc/api/org/apache/catalina/ThreadBindingListener.html is miserable. Is there an example somewhere of how this should be registered and w

[Bug 57314] ServletRequestListener.requestInitialized() and ServletRequestListener.requestDestroyed() called in different threads

2014-12-05 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=57314 --- Comment #5 from Jozef Hartinger --- I am really disappointed by this resolution. First of all: "Interface for receiving notification events about requests coming into and going out of scope of a web application." When a request goes

[Bug 57314] ServletRequestListener.requestInitialized() and ServletRequestListener.requestDestroyed() called in different threads

2014-12-05 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=57314 --- Comment #4 from Remy Maucherat --- I fully agree with the resolution, especially since a facility designed specifically for this use has been added in Tomcat 8. But maybe the ThreadBinding listener should be backported to Tomcat 7 to c

[Bug 57314] ServletRequestListener.requestInitialized() and ServletRequestListener.requestDestroyed() called in different threads

2014-12-05 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=57314 Mark Thomas changed: What|Removed |Added Status|NEW |RESOLVED Blocks|57315

[Bug 57314] ServletRequestListener.requestInitialized() and ServletRequestListener.requestDestroyed() called in different threads

2014-12-05 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=57314 --- Comment #2 from Remy Maucherat --- As with JBoss Web, you're not supposed to be using the request listener but the ThreadBindingListener that I added if you want container integration (although it is not used yet for upgrade mode, I'll

[Bug 57314] ServletRequestListener.requestInitialized() and ServletRequestListener.requestDestroyed() called in different threads

2014-12-05 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=57314 --- Comment #1 from Mark Thomas --- *** Bug 57315 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are the assignee for the bug. -

[Bug 57314] ServletRequestListener.requestInitialized() and ServletRequestListener.requestDestroyed() called in different threads

2014-12-05 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=57314 Jozef Hartinger changed: What|Removed |Added Blocks||57315 -- You are receiving this

[Bug 57314] ServletRequestListener.requestInitialized() and ServletRequestListener.requestDestroyed() called in different threads

2014-12-05 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=57314 mkouba changed: What|Removed |Added CC||mko...@redhat.com -- You are receiving t