Normally, jboss takes just under a minute to start up from the command line, but when I start it in debug mode from Eclipse it takes over 2 minutes which can be a right pain when your just trying to debug a quick config change.
Does anyone have any tips for making JBoss start any quicker?
I'm using JBoss 5.1.0GA using the "all" profile, Java 1.6 & Eclipse 3.6
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.
Hava a look at the JBoss 5.x Tuning/Slimming article. Less services need less time to initialize.
You could also use 'exploded' deployment to save the time for building an ear. Seam uses an embedded JBOss for unittesting (TestNG), maybe you find further tricks there.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With