Well, 

A jar may contain any types of resources.

Further more, 

When I'm using the aspectj jar from regular environment (which is not using
the tomcat webclassloader) it works like a charm...

I would expect the webclassloader to behave just as the native java
classloader does.

 

 

Asaf Lahav

 

VP R&D, Prima Grid LTD.

 

Cellular:  972-54-4717955

 

Phone:   972-3-6540255

 

Fax:       972-3-6540254

 

 

 

 

-----Original Message-----
From: Tim Funk [mailto:[EMAIL PROTECTED] 
Sent: Monday, May 22, 2006 7:28 PM
To: Tomcat Users List
Subject: Re: Classloader bug?

 

Its not a bug. A jar needs to contain classes, not other jars.

 

-Tim

 

Asaf Lahav wrote:

 

>  

> 

> I think encountered a tomcat classloader bug.

> 

> I have a jar file that contains several other jar files.

> 

> I expected the classloader to be aware of the jar files that are packaged

> inside it.

> 

> Anyhow,

> 

> I kept getting classnotfound exceptions until I extracted the contained
jars

> out from the containing jar.

> 

>  

> 

> p.s,

> 

> the problematic jar file is:

> 

> aspectj-1.5.0.jar (of aspectJ)

 

 

---------------------------------------------------------------------

To unsubscribe, e-mail: [EMAIL PROTECTED]

For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to