Sorry about the stupid mistake about the filename. I use XEmacs on cygwin and it didn't tell me the filename case had changed. I have attached the modified file.
But after correcting that and setting options per your instructions, I don't see anything in the logs to suggest aop.xml was loaded and processed. Now, Java VM is not started with java.exe on command line. There is a container that starts Java, I believe using JNI. I don't know if this changes anything but just an extra data point. Jean-Louis thank you very much for helping me with this. I am hoping this will be resolved soon. I have no idea what I will do to produce trace statistics if I can't get this to work :-( On Mon, Jan 11, 2010 at 6:01 PM, <jeanlouis.pastu...@orange-ftgroup.com> wrote: > > The name of the file is aop.xml not Aop.xml et add the tags > <aspects></aspects> > Set the weaver options to : > options="-XnoInline -Xlint:ignore -verbose -showWeaveInfo -debug > -Xset:weaveJavaPackages=true,weaveJavaxPackages=true,typeDemotionDebug=true" > > The logs must show if the aop.xml is correctly loaded. > > > Cordialement / Best regards > > Jean-Louis Pasturel > > -----Message d'origine----- > De : aspectj-users-boun...@eclipse.org > [mailto:aspectj-users-boun...@eclipse.org] De la part de Hemal Pandya > Envoyé : lundi 11 janvier 2010 13:16 > À : aspectj-users@eclipse.org > Objet : Re: [aspectj-users] setting -javaagent:aspectjweaver.jar results > inClassCircularityError > > Thanks again Jean-Louis. > > I hadn't tried that earlier but I tried it right now and it did not help. I > even tried with an aop.xml that has a single <include within="foo.*" /> and > I still get the same error. I don't know if this list allows attachments. I > have attached the two jars and I will appreciate if you can take a look to > verify I have got it right. > > Is it possible that this is not weaving related but some other error that > shows up due to presence of the weaver agent? How to find out what the root > cause is? > > > On Mon, Jan 11, 2010 at 4:28 PM, <jeanlouis.pastu...@****> wrote: >> have-you try with an aop.xml without aspects but with the weaver >> element excluding the package containing the class with the problem ? >> >> >> Cordialement / Best regards >> >> Jean-Louis Pasturel >> -----Message d'origine----- >> De : aspectj-users-boun...@eclipse.org >> [mailto:aspectj-users-boun...@eclipse.org] De la part de Hemal Pandya >> Envoyé : lundi 11 janvier 2010 11:55 À : aspectj-users@eclipse.org >> Objet : Re: [aspectj-users] setting -javaagent:aspectjweaver.jar >> results inClassCircularityError >> >> I will really appreciate any suggestions or thoughts on this. I don't >> even know where to look. Any ideas on how I can investigate this? >> >> >> On Wed, Jan 6, 2010 at 4:42 PM, Hemal Pandya <hemal.pan...@gmail.com> > wrote: >>> Thanks for your prompt response Jean-Louis. >>> >>> I need to recheck when I get access to that machine again, but I am >>> pretty sure I got the error even without deploying any aspect jar in >>> classpath, by just specifying the javaagent. Since there is no >>> aop.xml, there is nothing to exclude. >>> >>> >>> On Wed, Jan 6, 2010 at 4:13 PM, <jeanlouis.pastu...@****> wrote: >>>> >>>> That seems similar than the bug i raised. You must exclude some >>>> classes See : https://bugs.eclipse.org/bugs/show_bug.cgi?id=295586 >>>> >>>> >>>> Cordialement / Best regards >>>> >>>> Jean-Louis Pasturel >>>> >>>> >>>> -----Message d'origine----- >>>> De : aspectj-users-boun...@eclipse.org >>>> [mailto:aspectj-users-boun...@eclipse.org] De la part de Hemal >>>> Pandya Envoyé : mercredi 6 janvier 2010 10:49 À : >>>> aspectj-users@eclipse.org Objet : [aspectj-users] setting >>>> -javaagent:aspectjweaver.jar results inClassCircularityError >>>> >>>> I use aspects to add some targeted tracing for performance analysis. >>>> Everything used to work fine till this recent drop. Now, I get a >>>> ClassCircularityError at start-up. Note that this happens even >>>> without having any aspects in the classpath. >>>> >>>> I am using version 1.6.6. The stacktrace is partially as follows. Is >>>> there any other information I can provide? >>>> >>>> Exception thrown in constructor of class: '*****'. Error description: >>>> 'java.lang.ClassCircularityError: org/apache/log4j/LogManager'. >>>> Stack trace: 'java.lang.ClassCircularityError: >>>> org/apache/log4j/LogManager >>>> at >>>> org.slf4j.impl.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java: >>>> 7 >>>> 3) >>>> at >>>> org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:209) >>>> at >>>> org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:221) >>>> at .... >>>> >>>> Does this have something to do with using slf4j? I am completely lost. >>>> Any help is highly appreciated. >>>> >>>> Thanks in advance. >>>> _______________________________________________ >>>> aspectj-users mailing list >>>> aspectj-users@eclipse.org >>>> https://dev.eclipse.org/mailman/listinfo/aspectj-users >>>> >>>> >>>> >>>> ********************************* >>>> This message and any attachments (the "message") are confidential >>>> and >> intended solely for the addressees. >>>> Any unauthorised use or dissemination is prohibited. >>>> Messages are susceptible to alteration. >>>> France Telecom Group shall not be liable for the message if altered, >> changed or falsified. >>>> If you are not the intended addressee of this message, please cancel >>>> it >> immediately and inform the sender. >>>> ******************************** >>>> >>>> _______________________________________________ >>>> aspectj-users mailing list >>>> aspectj-users@eclipse.org >>>> https://dev.eclipse.org/mailman/listinfo/aspectj-users >>>> >>> >> _______________________________________________ >> aspectj-users mailing list >> aspectj-users@eclipse.org >> https://dev.eclipse.org/mailman/listinfo/aspectj-users >> >> >> >> ********************************* >> This message and any attachments (the "message") are confidential and > intended solely for the addressees. >> Any unauthorised use or dissemination is prohibited. >> Messages are susceptible to alteration. >> France Telecom Group shall not be liable for the message if altered, > changed or falsified. >> If you are not the intended addressee of this message, please cancel it > immediately and inform the sender. >> ******************************** >> >> _______________________________________________ >> aspectj-users mailing list >> aspectj-users@eclipse.org >> https://dev.eclipse.org/mailman/listinfo/aspectj-users >> > > > > ********************************* > This message and any attachments (the "message") are confidential and > intended solely for the addressees. > Any unauthorised use or dissemination is prohibited. > Messages are susceptible to alteration. > France Telecom Group shall not be liable for the message if altered, changed > or falsified. > If you are not the intended addressee of this message, please cancel it > immediately and inform the sender. > ******************************** > > _______________________________________________ > aspectj-users mailing list > aspectj-users@eclipse.org > https://dev.eclipse.org/mailman/listinfo/aspectj-users >
aspect-include-none.jar
Description: application/java-archive
_______________________________________________ aspectj-users mailing list aspectj-users@eclipse.org https://dev.eclipse.org/mailman/listinfo/aspectj-users