At 10:50 AM 8/12/2003 +0100, you wrote:
I am using Struts 1.1 along with the Velocity tools to develop a fairly simple servlet (there are probably going to be no more than twenty actions total)
The problem that I am facing is a deadlock situation where Tomcat simply refuses to respond to any new requests and just stalls. I think it may be due to some code in the model where I am using PreparedStatements (which are declared as synchronized).

To be honest, I'd give JDK 1.4.2 a try.


We had a situation in Expresso where if you repeated a reload on a DBMaint jsp pages, it would eventually lock consuming 100% CPU and sucking up memory. Turned out that turning off Hotspot optimization [-Xint] with JDK 1.4.1 worked.... then I tried 1.4.2, and things worked great.. [For the record, if I took out a double-nested logic:iterate tag on the page, everything worked great. I suspect that hotspot saw it as an inner loop and 'overoptimized' so to speak]

It might be or might not be the solution, but given my experience with 1.4.1, I'd at least eliminate that as a possibility.

HTH!
                                                -Mike



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to