Kristof Rennen
Sep 12th, 2006, 08:31 AM
Hi,
Since a while, I run a java web application with the following technology:
- Hibernate
- Spring
- JSF
I deployed the application on one of our clients servers, and the application stopped working after a while. The threadpool of tomcat was full and threads weren't released.
So we started to investigate the problem but didn't find a proper solution. We did some stress tests but couln't find the reason.
On our production / development en test machines everything works fine. The only difference between our machines and our clients machines, is that we use windows server 2003 machines nd they use solaris machines.
So today I started to upgrade all my projects jars. I downloaded the latest version of every jar to make sure this isn't the problem.
Now the problems started at our machines too. Every jar works fine, but when I install one of the new versions of spring (1.2.8 / 2.0 RC3), the site hangs.
The threads on tomcat hang, and can't be reused.
When I open the website, everything looks fine and the first page loads ok. But when I open a different page or try to reload my current page, the site hangs.
When I take the tomcat manager then, I see that the threads are busy (in service). The service time of the threads performing my request, keep on rising until the machine crashes. I tried to wait for an hour, but the thread was still busy. The thread time was over 3000000 milliseconds.
Now I'm a little desperate because I can't find a solution and can't get the new version of spring to work.
Is there anybody who experienced the same, and could now an answer?
Thanks,
Kristof Rennen
Since a while, I run a java web application with the following technology:
- Hibernate
- Spring
- JSF
I deployed the application on one of our clients servers, and the application stopped working after a while. The threadpool of tomcat was full and threads weren't released.
So we started to investigate the problem but didn't find a proper solution. We did some stress tests but couln't find the reason.
On our production / development en test machines everything works fine. The only difference between our machines and our clients machines, is that we use windows server 2003 machines nd they use solaris machines.
So today I started to upgrade all my projects jars. I downloaded the latest version of every jar to make sure this isn't the problem.
Now the problems started at our machines too. Every jar works fine, but when I install one of the new versions of spring (1.2.8 / 2.0 RC3), the site hangs.
The threads on tomcat hang, and can't be reused.
When I open the website, everything looks fine and the first page loads ok. But when I open a different page or try to reload my current page, the site hangs.
When I take the tomcat manager then, I see that the threads are busy (in service). The service time of the threads performing my request, keep on rising until the machine crashes. I tried to wait for an hour, but the thread was still busy. The thread time was over 3000000 milliseconds.
Now I'm a little desperate because I can't find a solution and can't get the new version of spring to work.
Is there anybody who experienced the same, and could now an answer?
Thanks,
Kristof Rennen