[jboss-user] [JBoss AOP] - Re: Long startup time

stale.pedersen@jboss.org do-not-reply at jboss.com
Tue Feb 19 03:43:02 EST 2008


hi, when you enable loadtimeweaving (which you do when you set the javaagent option and set EnableLoadtimeWeaving=true), all the classes you deploy will be checked withing jboss aop if they should be weaved. even though many classes are by default excluded this takes a lot longer than if you dont use loadtime weaving.
if you can aop compile the classes before you deploy them you can turn off loadtime weaving and the deploytime would back to normal. - but if you need loadtime weaving the only option way you can optimize the startup is if you try to exclude every package you dont want to weave.
note that if you dont include the -javaagent option you wont have loadtime weaving. - i hope this helps :)

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4130298#4130298

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4130298



More information about the jboss-user mailing list