Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [aspectj-users] Re: LTW configuration

Hi Marian,

 

This is with AspectJ 1.5.3, right? Can you capture a thread dump on the system when it freezes up, to see what’s happening?

 

Another option is to run with verbose tracing VM arguments to determine what’s happening:

-Daj.weaving.verbose=true –Dorg.aspectj.weaver.showWeaveInfo=true

-Dorg.aspectj.tracing.enabled=true -D org.aspectj.tracing.factory=default -Dorg.aspectj.tracing.file=/file/path/for/trace.txt

 

If you have commons logging available you can also use that to configure tracing instead of the last three options, which are on the second line.

 


From: aspectj-users-bounces@xxxxxxxxxxx [mailto:aspectj-users-bounces@xxxxxxxxxxx] On Behalf Of Marian Harbach
Sent: Thursday, March 22, 2007 1:23 AM
To: aspectj-users@xxxxxxxxxxx
Subject: RE: [aspectj-users] Re: LTW configuration

 


Hi,
I tried to set up your LTW stuff on a WAS 5.1 using the description and the new files given within the bugzilla page mentioned below.
But after setting the classpath and the system property the server freezes on startup after the following console output:

[22.03.07 09:14:40:832 CET] 324418cc WebGroup      I SRVE0180I: [adminconsole] [/admin] [Servlet.LOG]: InvokerServlet: init
[22.03.07 09:14:40:848 CET] 324418cc WebGroup      I SRVE0180I: [adminconsole] [/admin] [Servlet.LOG]: validator: init
[22.03.07 09:14:41:395 CET] 324418cc WebGroup      I SRVE0180I: [adminconsole] [/admin] [Servlet.LOG]: EventInitializer: init
[22.03.07 09:14:41:473 CET] 324418cc WebGroup      I SRVE0180I: [adminconsole] [/admin] [Servlet.LOG]: action: init

I got no errors in advance and after waiting some minutes I had to kill the process. Server works fine without the system property.

Greetings
Marian

aspectj-users-bounces@xxxxxxxxxxx schrieb am 22.03.2007 08:30:41:

> I've posted an updated version of the jar and sources (including test
> cases). Please try them out and let me know if they work for you.
>
> Thanks,
> Ron
>
> -----Original Message-----
> From: Ron Bodkin [mailto:rbodkin@xxxxxxxxxxxxxx]
> Sent: Tuesday, March 20, 2007 8:15 AM
> To: 'aspectj-users@xxxxxxxxxxx'
> Subject: RE: [aspectj-users] Re: LTW configuration
>
> Hi Mohan,
>
> It looks like I posted the wrong version of the files. I will rebuild and
> post a correct version as soon as possible.
>
> -----Original Message-----
> From: aspectj-users-bounces@xxxxxxxxxxx
> [mailto:aspectj-users-bounces@xxxxxxxxxxx] On Behalf Of Mohan Radhakrishnan
> Sent: Sunday, March 18, 2007 10:28 AM
> To: aspectj-users@xxxxxxxxxxx
> Subject: [aspectj-users] Re: LTW configuration
>
> I forgot to add the error message that I see. I am not sure which
> .class files are old.
>
> [3/18/07 20:16:20:688 IST] 0000000a SystemErr     R java.lang.Error:
> Unresolved compilation problem:
>    Syntax error on token "+", ++ expected
>
>    at
> aj.weaver.WasWeavingPlugin.preDefineApplicationClass(WasWeavingPlugin.java:3
> 4)
>    at
> com.ibm.ws.classloader.CompoundClassLoader.findClass(CompoundClassLoader.jav
> a(Compiled
> Code))
>
> Thanks,
> Mohan
>
> On 3/18/07, Mohan Radhakrishnan <radhakrishnan.mohan@xxxxxxxxx> wrote:
> > Hi,
> >       I am trying to configure LTW in WebSphere 6.0. I have my aspect
> > in a JAR with a aop.xml file in the META-INF folder. Is it enough If
> > this JAR is in the classpath ?
> >
> >      Apart from that I have also done what is mentioned here
> > https://bugs.eclipse.org/bugs/show_bug.cgi?id=111027
> >
> >      I don't see any verbose messages and my aspect is not called. I
> > am weaving portlet code.
> >
> >
> > Thanks,
> > Mohan
> >
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/aspectj-users
>
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/aspectj-users


Back to the top