Improving JBoss 5 slow startup

后端 未结 10 1533
情话喂你
情话喂你 2021-02-01 19:49

We upgraded from JBoss 4 (and JDK 5) to JBoss 5 (and JDK 6). The problem is that the start time has gone from 1.5 minutes (on JBoss 4) to more than 4 minutes.

1         


        
10条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-02-01 20:18

    1. Turn off annotation scanning and other features you don't need https://community.jboss.org/wiki/jboss5xtuningslimming

    2. When you start/stop JBoss from eclipse, it does not clean up the tmp & work folders correctly. Setup an External Tool configuration and run a batch file to delete everything in tmp & work folders before each startup.

    I was able to speedup running the "default" profile from 15/20 minutes to 5 minutes.

提交回复
热议问题