记一次页面无响应调式过程
现象?
在发文节点,点击确定,页面没有响应.?
调试过程
?
打开eclipse,进入documentInfoSubmit.jsp页面进行断点调试。当执行到docManage.updateSendEntities(CFWDW, docId, 0, 0)的时候,eclipse也没有任何响应了。重新断点调试,进入docManage.updateSendEntities方法,跟踪到DispatchInfoBean.updateSendEntities方法体内,执行到ps.executeUpdate();的时候,eclipse再次无法响应,这时候,程序执行的是"update doc_sendentity set entitynames=? where ndocid=? and sendtype=?"语句,应该是数据库无法响应。进入数据库看看是不是doc_sendentity被锁住了SQL> SELECT SQL_TEXT 2 FROM V$SQL SQ 3 WHERE SQ.SQL_ID IN (SELECT SE.SQL_ID 4 FROM V$SESSION SE 5 WHERE SE.BLOCKING_SESSION IS NOT NULL); SQL_TEXT ------------------------------------------------------------------------ update doc_sendentity set entitynames=:1 where ndocid=:2 and sendtype=:3
?