views:

90

answers:

0

I need to patch my jars and some third-party jars on the fly (see also this question). I think I have to implement a custom class loader and use it to load my.ear .

I found an example how to implement a custom class loader for jboss which is packaged in a sar but when I tried to use it I got some difficult to comprehend StreamCorruptedException and javassist.NotFoundException when jboss was loading its AOP stuff.

Where can I find a really simple HelloWorldClassLoader for jboss which I can use to load my.ear? I'm working with Jboss 4.3.0