Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Any tips for speeding up JBoss when launched from Eclipse?

Tags:

eclipse

jboss

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

like image 722
Stuart Grimshaw Avatar asked Nov 21 '10 23:11

Stuart Grimshaw


People also ask

How to speed up JBoss startup?

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.


1 Answers

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.

like image 107
stacker Avatar answered Sep 30 '22 19:09

stacker