Home > front end >  Eclipse tomcat Web project can achieve the function, but to run a few times will be stuck
Eclipse tomcat Web project can achieve the function, but to run a few times will be stuck

Time:09-16

Beginners javaee, he had tried to call a user management function, and several times before the run can normal operation, but running three or four times would be jammed, what point do not move,
Caption

For example:
Delete the id=28



Success

Delete the id=27



Success

Delete the id=26




Jammed



This problem bothering me for a long time, whether to add or delete, implementation will be the stuck phenomenon after several times, don't know how to solve, hope god can give some help

The following is the information of the console, as if no error



The following is a part of the code

Connection pooling code

Connect to the database code


The servlet code


CodePudding user response:

See the log you maxtotal and maxactive set wrong
Refer to the https://cloud.tencent.com/developer/article/1353263

CodePudding user response:

!!!!!!!!! To solve! Thank you very much, the original is such a small matter, also let I've struggled with for a long time
  • Related