JBoss 4.0.5 startup takes 15 minutes deploying a single war file

Posted by dkblinux98 on Stack Overflow See other posts from Stack Overflow or by dkblinux98
Published on 2010-05-27T18:57:41Z Indexed on 2010/05/27 19:11 UTC
Read the original article Hit count: 135

Filed under:
|
|

This instance of JBoss deploys several war files. The rest of the JBoss startup takes about 5 minutes or less. But when it gets to one particular war file, startup just hangs with no further output to the jboss log. It waits there for about 15 minutes and then suddenly the war starts deploying. The rest of the JBoss startup is then fine.

What I want to know is what steps do you recommend I take to diagnose the cause of this condition?

It is not possible to upgrade this site to a newer version of JBoss nor java (currently 1.5.0.7). It is running on 32-bit CentOS 5.3 Linux on 3 xen-based virtual servers in a load balanced configuration. The code is common to all three servers via an nfs share. This same issue was seen, however, when the 3 servers were physical and the code was local to each server. The servers are each 2 cpu, 4GB RAM servers.

© Stack Overflow or respective owner

Related posts about java

Related posts about linux