Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] JBOSS, LTW and SDK1.4.2

> On Fri, Jul 10, 2009 at 10:32 AM, Johnson Lu <johnson.lu 
> <http://johnson.lu>@optier.com <http://optier.com>> wrote: I have been
> struggling to get JBOSS 4.0.5(on SDK1.4.2) to run with AspectJ, but thus far
> I have no success.

Ramnivas Laddad schrieb:
> There are ways (for example, see
> http://rbodkin.blogs.com/ron_bodkins_blog/2005/10/websphere_loadt.html), but
> they depend on application-server specific knowledge. Since JDK1.4 has been
> end-of-lifed, such an implementation hasn't been a priority.

Hi,
regarding JBoss. Are you aware of the JBoss classloader architecture?
(boot classloader, then a "flat" loader repository). Which pretty much means
you need to get the aspectj runtime into the boot classloader.

Btw: you can access the classloaders via the JMX console or web-console.
Often, this helps much when debugging class loading problems in JBoss.
Especially, you can ask the loader repository about a fully qualified
class and find out from which source it got loaded

hope that helps
Hermann V.





Back to the top