RE: [aspectwerkz-dev] AW 1.0 beta 1.0 ClassLoaders and aspectwerkz.xml

"Jonas Boner" <[email protected]>
Newsgroups gmane.comp.java.aspectwerkz.devel
Message-ID <[email protected]>
Hi Allan.

Do you have a test case that reproduces these bugs? Would make it soo much easier to find the bug.
Preferable standalone and without Java Web Start.

Thanks.
-Jonas 

> -----Original Message-----
> From: -×× R A T Ø ××- [mailto:[email protected]] 
> Sent: Tuesday, July 20, 2004 2:45 PM
> To: [email protected]
> Subject: [aspectwerkz-dev] AW 1.0 beta 1.0 ClassLoaders and 
> aspectwerkz.xml
> 
> Hi Jonas and Alex,
> 
> I´ve been using AW1.0 beta 1 with Java Web Start and I found 
> some problems with aspectwerkz.xml and ClassLoaders.
> 
> First problem is that with Java Web Start the only way to 
> send an file to client is throught a jar file, so, I put the 
> aspectwerkz.xml in my jar file, but aspectwerkz doesn´t find 
> it, or if it finds, the DefinitionLoader loads the file (File 
> file = new File("file:c:/<path>/myjar.jar!aspectwerkz.xml"))
> and throws an exception, because the path to aspectwerkz.xml 
> corresponds to an URL not to a file. It will be good if 
> aspectwerkz works with URL.
> 
> The second problem is that using Java Web Start, I got 
> NoClassDefFoundError for CFlowSystemAspect. I don´t know why 
> the loader used (AppClassLoader) can´t find the that class.
> 
> 
> Regards,
> Allan Jones
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.