We have developed a product in JAVA using SQL Server 2008 R2 as database, Hibernate 3.0 as database framework and GWT 2.4 as front end. We are using JBoss as our application server. We deploy application in standalone mode in JBoss 7.1.1.
The application works properly in 4 of our live servers. In these servers, there are two kinds of scenario. 1. Application and Database both on same server. 2. Application and Database on different server but same network and same subnet.
The above two scenarios the application works fine and it is able to handle normal load.
Recently, we have installed at a client side where we had a type 3 configuration where. 3. Application and Database Server on different server and they both are in different subnet and both are behind different gateway having one firewall as well.
Following is what is happening. 1. The application works with normal response time and then it slows down dramatically, then we have to restart JBoss then also it does not work properly, Now when we restart server, it starts working properly for another 3-4 hours.
The problem seems to be strange as one other application developed in PHP on WAMP seems to be working fine in same condition.
Can anyone throw some light on what could be the possible solutions or what are the different options we should try to find the problem? We are not able to find the exact problem.
Any help will be greatly appreciated.