I'm using JBoss-AOP 1.1.1 with JDK 1.5.  I've got an ear file that contains a 
.aop file, which is using Annotated aspects, and I'm using compile-time 
instrumentation (EnableTransformer set to "false" in jboss-service.xml.)

Deploying my ear takes about 3 seconds.  Starting JBoss takes about 40 seconds. 
 However, redeploying my ear takes about 90 seconds.  My CPU is pegged the 
whole time.  I turned on DEBUG for org.jboss, and the last line I get before 
the 90 second wait is:

DEBUG [org.jboss.aop.deployment.AspectDeployer] undeploying document 
file:/usr/local/jboss-4.0.1/server/hms/tmp/deploy/tmp19019scorpio-1.0.ear-contents/scorpio-aop-SNAPSHOT.aop

Then the 90 second pause, then this line:

DEBUG [org.jboss.management.j2ee.LocalJBossServerDomain] handleNotification: 
javax.management.Notification[source=jboss.aop:service=AspectDeployer][type=AOP 
Undeploy][message=]

then everything proceeds as normal.  So there seems to be something in the AOP 
code that is causing this 90 second delay when undeploying.  It's actually 
twice as fast for me to just kill the process and restart JBoss because this is 
so slow.  Any idea what is going on here?  Anything else I can try before I 
start digging into the AOP source?

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

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


-------------------------------------------------------
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
_______________________________________________
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to