Re: Webapp Classpath Loading

Scott Ferguson <[email protected]> Thu, 25 May 2006 11:32:18 -0700
Newsgroups gmane.text.xml.resin.user
Message-ID <[email protected]>
On May 25, 2006, at 11:30 AM, Choate, Bryan (IHG) wrote:

> Scott-
>
>
>
> I checked into that, but in resin-pro-3.0.18/conf/app-default.xml I  
> see this:
>
>
>
> This would appear to be what we’re looking for, but neither the  
> library jars nor the application classes are being loaded (at least  
> as of the time that the webapp’s web.xml file is parsed).  Do I  
> need to define something specific in the resin.conf for each webapp?

No, although you might want to turn on full logging.

The JDK sometimes reports ClassNotFound when the class exists, but  
has some kind of error.  For example, if a superclass or a component  
class was missing, the JDK can return ClassNotFound instead of a more  
useful exception type. (e.g. if you have classes in ${server.root}/ 
lib, but no class-loader for it).  So you might look at the component  
classes.

- Scott