Our Java enterprise application(Spring, Hibernate, JSF, JBoss) usually starts for about 1 minute.
We run our application on Windows(SUN/Oracle JDK 1.6) and on AIX(IBM JDK 1.6).
I tried to run it on Linux(16GB, i5) using Sun JDK 1.6.
But by some reason application starts on Linux too long - from 5 to 30 minutes.
I connected to JVM by jvisualvm and tried to analize threaddumps - there are no any bad locks, sleeps, waits, etc.
I changed JDK to IBM JDK 1.6 and now application start for about 4-5 minutes. But it is too long also.
PC is not overloaded.
JBoss without my application starts fast.
What could be wrong?
How can I find what is wrong with my application or linux or PC?
UPDATE:
Server was restarted and this problem disappears.