How to remove the pause during JBoss 5.1.0 GA boot between ProfileServiceBootstrap and AnnotationCreator?

Posted by rrc7cz on Server Fault See other posts from Server Fault or by rrc7cz
Published on 2011-01-14T14:40:57Z Indexed on 2011/01/14 14:54 UTC
Read the original article Hit count: 172

Filed under:
|
|

I've managed to strip down my JBoss profile enough that it boots in 1.5 minutes. I started with the web profile and started pulling out stuff I didn't need. The bulk of my boot time can be seen here:

...
15:21:51,890 INFO  [ProfileServiceBootstrap] Loading profile: ProfileKey@86d597[domain=default, server=default, name=np]
15:22:55,406 WARN  [AnnotationCreator] No ClassLoader provided, using TCCL: org.jboss.managed.api.annotation.ManagementComponent
15:22:55,578 WARN  [AnnotationCreator] No ClassLoader provided, using TCCL: org.jboss.managed.api.annotation.ManagementComponent
...

Does anyone have any idea what JBoss is doing here for 1 minute? If so, is there any way to speed it up or skip it entirely?

This is for developer instances, so boot time is quite important.

© Server Fault or respective owner

Related posts about boot

Related posts about jboss