Hi Kenneth,

you will have to check your DB connection code and for possible
bottlenecks. Does your DB accept enough connections? Any other clues in
tomcat log files (also standard output)?

--Radek W.

Kenneth Litwak wrote:
> Hi Radek,
> 
>     Below I'm pasting what is at the bottom.  I don't see any "deadlock"
> string in the thread dump.  I do see a bunch of threads waiting to get a
> pooled JDBC connection.  We are using the apache commons JDBC connection
> pool code.  This has been working okay until recently when the volume of
> users went up.  However, we don't need to have a big volume when tomcat
> hangs.  It takes several users about 6-7 minutes of using the
> application to cause it to hang.  I don't know what to make of that.
> Thanks.
> 
> Ken
> 
> http-8081-Processor2" daemon prio=1 tid=0x083de8c0 nid=0x7d00 waiting
> for monitor entry [8d878000..8d879ccc]
>       at java.sql.DriverManager.getConnection(DriverManager.java:187)
>       - waiting to lock <0xaf54d798> (a java.lang.Class)
>       at
> edu.apu.db.DBConnectionFactory.getPooledConnection(DBConnectionFactory.j
> ava:459)
>       at
> edu.apu.directory.APUPersonDAO.runPersonQuery(APUPersonDAO.java:56)
>       at
> edu.apu.directory.APUPersonDAO.findAPUPerson(APUPersonDAO.java:27)
>       at
> edu.apu.gradreg.servlet.RegistrationServlet.doValidateView(RegistrationS
> ervlet.java:248)
>       at sun.reflect.GeneratedMethodAccessor50.invoke(Unknown Source)
>       at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
> Impl.java:25)
>       at java.lang.reflect.Method.invoke(Method.java:324)
>       at
> edu.apu.servlet.http.BaseServlet.runControlMethod(BaseServlet.java:513)
>       at edu.apu.servlet.http.BaseServlet.doView(BaseServlet.java:279)
>       at edu.apu.servlet.http.BaseServlet.doPost(BaseServlet.java:241)
>       at edu.apu.servlet.http.BaseServlet.doGet(BaseServlet.java:187)
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
>       at
> edu.apu.servlet.http.BaseServlet.service(BaseServlet.java:158)
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>       at


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

Reply via email to