Hey,
i work with jboss 4.2 and jboss aop in weaving time.
We use jboss-aop to listen on event that happens on our model.
The model is JPA pojos.
We are working in short cycles and each change in the model required to restart the server
(need to build the database).
The problem is that it took around 5 minutes to startup the server.
If I remove â-javaagent:pluggable-instrumentor.jarâ from the java options and the
server startup took less than 2 minutes.
I read the section on performance and try to configure the following parameters without
improvement.
<mbean code="org.jboss.aop.deployment.AspectManagerServiceJDK5"
| name="jboss.aop:service=AspectManager">
| <attribute name="EnableLoadtimeWeaving">true</attribute>
| <!-- only relevant when EnableLoadtimeWeaving is true.
| When transformer is on, every loaded class gets
| transformed. If AOP can't find the class, then it
| throws an exception. Sometimes, classes may not have
| all the classes they reference. So, the Suppressing
| is needed. (i.e. Jboss cache in the default configuration -->
| <attribute
name="SuppressTransformationErrors">true</attribute>
| <attribute name="Prune">false</attribute>
| <attribute name="Include">com.mycompany.</attribute>
| <attribute name="Exclude">org.,com.</attribute>
| <!-- This avoids instrumentation of hibernate cglib enhanced proxies
| <attribute name="Ignore">*$$EnhancerByCGLIB$$*</attribute>
-->
| <attribute name="Optimized">true</attribute>
| <attribute name="Verbose">false</attribute>
| </mbean>
Any idea will be more than welcome.
Thank you
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4129465#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...