Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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.

share|improve this question
add comment

1 Answer

Enable DEBUG or TRACE for org.jboss in conf/jboss-log4j.xml and see.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.