Nope have not yet tried with spring-agent , would have to try that. Didnt want to go that route since then I would need to do some settings at jvm level , would rather want to do something at the app level , since the jvm is not in my control .
On Thu, Jan 31, 2013 at 7:31 PM, <jeanlouis.pastu...@orange.com> wrote: > ** > Ok, sorry, i don't test LTW against Spring/Websphere > Did try with the Spring-agent ? with the classic aspectj agent ( > aspectjweaver.jar) ? disabling LTW in the Spring applicationContext.xml > file with the classic agent? > > I know it is difficult to LTW weave with Spring, because itself also uses > LTW > > Cordialement / Best regards****** > > **** > > *Jean-Louis Pasturel* > > ------------------------------ > *De :* aspectj-users-boun...@eclipse.org [mailto: > aspectj-users-boun...@eclipse.org] *De la part de* Praks > *Envoyé :* jeudi 31 janvier 2013 14:21 > *À :* aspectj-users@eclipse.org > *Objet :* Re: [aspectj-users] Aspectj LTW issue > > The app server is websphere. I changed the policy in one of the > application ibm binding files (deployment.xml) > > some more details of the issue with aspectj logs > > > http://forum.springsource.org/showthread.php?134457-AspectJ-LTW-issue&s=0f7a8e7b48e081187d0ff5a29713cdf7 > > > > > On Wed, Jan 30, 2013 at 8:49 PM, <jeanlouis.pastu...@orange.com> wrote: > >> ** >> What is your App server ? >> Where did you change the policy of the classloaders ? >> >> >> Cordialement / Best regards****** >> >> **** >> >> *Jean-Louis Pasturel* >> >> ------------------------------ >> *De :* aspectj-users-boun...@eclipse.org [mailto: >> aspectj-users-boun...@eclipse.org] *De la part de* Praks >> *Envoyé :* mercredi 30 janvier 2013 15:32 >> *À :* aspectj-users@eclipse.org >> *Objet :* [aspectj-users] Aspectj LTW issue >> >> I am trying to get aspectj ltw working in my app. >> >> My app is structured like below >> >> Test >> -- TestCommon >> -- TestPersistence >> -- TestWeb >> >> where Test is the base EAR project. >> >> I have created a simple logging aspect and placed it in TestCommon. The >> aop.xml has been placed in TestCommon/Meta-Inf folder. >> >> The problem is with the class loading policy of the app. By default the >> war class loader policy is set to module. In this case the LTW doesnt seem >> to work i.e the app doesnt seem to recognize the aspect and ltw doesnt work. >> >> But if I change the war class loader policy to Application, then >> everything works fine. >> >> What I understand is with module setting , there are 2 class loaders, one >> for the application and one for the war. In this case the war classes are >> not recognized. If I move the aop.xml to the web folder , then my other >> classes in the other projects like TestCommon and TestPersistence are not >> weaved. >> >> Is there a solution to this issue without changing the war classloader >> mode to application? >> >> Please note that from the debug logs it looks like both the class-loaders >> recognize the aspect and the aop.xml but only the web class loader does the >> weaving while the app class loader does nothing . >> >> _________________________________________________________________________________________________________________________ >> >> Ce message et ses pieces jointes peuvent contenir des informations >> confidentielles ou privilegiees et ne doivent donc >> pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu >> ce message par erreur, veuillez le signaler >> a l'expediteur et le detruire ainsi que les pieces jointes. Les messages >> electroniques etant susceptibles d'alteration, >> France Telecom - Orange decline toute responsabilite si ce message a ete >> altere, deforme ou falsifie. Merci. >> >> This message and its attachments may contain confidential or privileged >> information that may be protected by law; >> they should not be distributed, used or copied without authorisation. >> If you have received this email in error, please notify the sender and >> delete this message and its attachments. >> As emails may be altered, France Telecom - Orange is not liable for messages >> that have been modified, changed or falsified. >> Thank you. >> >> >> _______________________________________________ >> aspectj-users mailing list >> aspectj-users@eclipse.org >> https://dev.eclipse.org/mailman/listinfo/aspectj-users >> >> > > > -- > Prakash Rao > > _________________________________________________________________________________________________________________________ > > Ce message et ses pieces jointes peuvent contenir des informations > confidentielles ou privilegiees et ne doivent donc > pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu > ce message par erreur, veuillez le signaler > a l'expediteur et le detruire ainsi que les pieces jointes. Les messages > electroniques etant susceptibles d'alteration, > France Telecom - Orange decline toute responsabilite si ce message a ete > altere, deforme ou falsifie. Merci. > > This message and its attachments may contain confidential or privileged > information that may be protected by law; > they should not be distributed, used or copied without authorisation. > If you have received this email in error, please notify the sender and delete > this message and its attachments. > As emails may be altered, France Telecom - Orange is not liable for messages > that have been modified, changed or falsified. > Thank you. > > > _______________________________________________ > aspectj-users mailing list > aspectj-users@eclipse.org > https://dev.eclipse.org/mailman/listinfo/aspectj-users > > -- Prakash Rao
_______________________________________________ aspectj-users mailing list aspectj-users@eclipse.org https://dev.eclipse.org/mailman/listinfo/aspectj-users