Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

customised weaving not working

Help
2010-07-26
2013-05-15
  • lucio piccoli
    lucio piccoli
    2010-07-26

    hi all,

    i have installed glassbox 2.0.
    However i am unable to produce method level detail from my application.
    I want to achieve the same level of detail as per the jmx screenshot in the 'glassbox V2.0 user guide.doc'

    my aop.xml is as follows

    <aspectj>
    <weaver>
    <include within="com.rpdata.xtreme..*"/>
    </weaver>
    <aspects>
    <concrete-aspect name="xtremeMonitor"
            extends="glassbox.monitor.MethodMonitor">
        <pointcut name="monitoredMethods"
            expression="execution(* com.rpdata.xtreme..*(..))"/>
    </concrete-aspect>
    <concrete-aspect name="ServiceProcessingMonitor" 
                    extends="glassbox.monitor.ui.TemplateOperationMonitor">
              <pointcut name="methodSignatureControllerExecTarget" 
                        expression="within(com.rpdata.service..*)"/>
    </concrete-aspect>
    </aspects>
    </aspectj>
    

    any help is appreciated

    -lp

     
  • lucio piccoli
    lucio piccoli
    2010-07-27

    i correct a few problems with my aop.xml, but still having problems.

    i now get some operations on the jconsole, but none of the operations specified in the aop.xml

    i have deployed the aop.xml into myApp/META-INF/aop.xml

    what is required to get my classes profiled?

    <aspectj>
    <weaver>
        <include within="xtreme*"/>
    </weaver>
    <aspects>
    <concrete-aspect name="xtremeMonitor"
            extends="glassbox.monitor.MethodMonitor">
        <pointcut name="monitoredMethods"
            expression="execution(* com.rpdata.xtreme..*(..))"/>
    </concrete-aspect>
    <concrete-aspect name="xtremeProcessingMonitor" 
                    extends="glassbox.monitor.ui.TemplateOperationMonitor">
              <pointcut name="methodSignatureControllerExecTarget" 
                        expression="within(com.rpdata.xtreme.webapp..*)"/>
    </concrete-aspect>
    </aspects>
    </aspectj>