tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kitching Simon <Simon.Kitch...@orange.ch>
Subject RE: Why can't Cocoon find my producer class?
Date Wed, 25 Oct 2000 15:51:11 GMT
Just a thought - is Cocoon itself in your classpath, or
your WEB-INF/lib?

If the former, then the ClassLoader associated with
cocoon's code will be the standard classloader, and
may not find classes which are in the WEB-INF/classes
directory (accessable via the context's ClassLoader).


> -----Original Message-----
> From:	Robert Nicholson [SMTP:robert@elastica.com]
> Sent:	Wednesday, October 25, 2000 5:42 PM
> To:	Tomcat-User; SERVLET-INTEREST; Jxquick-Interest; JSP-INTEREST
> Subject:	Why can't Cocoon find my producer class?
> 
> I have a custom Producer class that I wrote for Cocoon 1.7.4 that I'm
> using
> with Tomcat but whenver I access Cocoon.xml it reports that it couldn't
> find
> my class.
> 
> I've put my class in my contexts WEB-INF/classes
> 
> and I've tried putting it outside of here and adding
> the path to the classpath on the command line.
> 
> What gives? Where does Cocoon look for it's custom Producers?
> 
> ---
> Robert Nicholson
> Email: robert@elastica.com
> AOL  : rydmerlin

Mime
View raw message