Subject | Re: [Firebird-Java] tomcat dbcp jaybird: connection jumping thread barrier [solved] |
---|---|
Author | unordained |
Post date | 2011-06-14T19:11:57Z |
*shame*
The problem was the exact inverse of what I thought, when I saw a mismatch
between Connection and request data: it wasn't the Connection that was moving
relative to the thread, it was the data for the request that was moving relative
to the thread. I totally forgot that HttpServlet isn't thread-safe. I was
smearing data around, and with my thread-renaming, even my debug logs were wrong.
Entirely my fault. Sorry!
-Philip
The problem was the exact inverse of what I thought, when I saw a mismatch
between Connection and request data: it wasn't the Connection that was moving
relative to the thread, it was the data for the request that was moving relative
to the thread. I totally forgot that HttpServlet isn't thread-safe. I was
smearing data around, and with my thread-renaming, even my debug logs were wrong.
Entirely my fault. Sorry!
-Philip