I'm using jboss-4.0.5.GA for my application(Spring + Hibernate). Everytime I deploy this application, my JBoss becomes very slow. It takes almost 30 mins to start which is really bugging.
I've put Lazy Loading as false many tables, and it seems server takes time when trying to fetch data from those tables. If I set lazy loading as true the server starts quickly but then of course my application functionality goes for a toss.
Can anyone please help me with this. Thanks in advance.
From what you explain, the application that you have deployed on JBoss is slow and not the server itself. You will have to look into the application to figure out which objects can be lazily loaded so that they can be appropriately configured.