AspectJ's documentation should give some coverage to wedging use of this ClassLoader into an existing app, but this really isn't the place for such a question. If it were Tomcat, I'd suggest the Tomcat user's group as some Tomcat user has likely done something similar, but there's no such resource for JServ at this point.

Also I'd suggest just moving up to Java 5 (and a recent AspectJ version) and using the javaagent-based approach, which is a lot easier and cleaner than ClassLoader hackery.

--
Jess Holle

Ruediger Pluem wrote:
On 10/13/2008 10:35 PM, jetpilot wrote:
Hi All

I'm trying to use Aspect's J load time weaving feature using
WeavingURLClassLoader. Aspect that i write is defined on one method in
JServConnection class in ApacheJServ module.Basically i need to set class
loader(WeavingURLClassLoader, i guess using system property)  to be used
when Apache HTTP Server starts and load the classes.This way loader will
weave the aspect.But i didn't find a way how to set this parameter, in
jserv.properties there is wrapper.bin param where you specify java path, but
how can i change default class loader being used.

Apache Jserv is not part of the Apache HTTP Server project and it was retired
long time ago and replaced with Tomcat (see 
http://jakarta.apache.org/site/retired-projects.html).
So I can't give you a pointer where to post your question.

Regards

RĂ¼diger


Reply via email to