3 Replies Latest reply on Sep 9, 2003 8:53 AM by Ganesh S

    AOP Tracing not happening.

    Ganesh S Newbie

      Hi

      I tried to execute the AOP standalone example1 given along with distribution.
      The following is my classpath in windows (JDK 1.4.2_01). I get the normal output without tracing....?
      META-INF directory is present as is...


      D:\Programs\Jboss-aop-DR2\docs\oreilly-aop\example1>java -Djava.system.class.loa
      der=org.jboss.aop.standalone.SystemClassLoader com.POJO
      Hello World!

      D:\Programs\Jboss-aop-DR2\docs\oreilly-aop\example1>echo %CLASSPATH%
      .;D:\Programs\Jboss-aop-DR2\jboss-common.jar;D:\Programs\Jboss-aop-DR2\jboss-aop
      .jar;D:\Programs\Jboss-aop-DR2\javassist.jar

        • 1. Re: AOP Tracing not happening.
          Raja Master

          Try adding trove.jar to the classpath.

          • 2. Re: AOP Tracing not happening.
            Ganesh S Newbie

            Thanks for the reply...
            I tired adding trove.jar and few other jars but in vain. Please see the classpath below. The newly added jars in bold...

            D:\Programs\Jboss-aop-DR2\docs\oreilly-aop\example1>echo %CLASSPATH%
            .;D:\Programs\Jboss-aop-DR2\jboss-common.jar;D:\Programs\Jboss-aop-DR2\jboss-aop
            .jar;D:\Programs\Jboss-aop-DR2\javassist.jar;D:\Programs\Jboss-aop-DR2\trove.jar
            ;D:\Programs\Jboss-aop-DR2\xdoclet-module-jboss-aop.jar;D:\Programs\Jboss-aop-DR
            2\docs\oreilly-aop\example1;


            Is there any log that I can look at? or is there any way to debug this?

            • 3. Re: AOP Tracing not happening.
              Ganesh S Newbie


              It is working now.
              I had ealier changed the POJO class to com.POJO so that I don't get the class not found excpetion in 1.4.2, but did not change in the corresponding XML file. I changed it and then it started working fine.
              I went through the earlier posting to get the clue.
              Thank you raja and others.

              Ganesh