cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tagunov Anthony" <>
Subject Re: XSP and Classloader Trouble
Date Wed, 14 Mar 2001 20:24:06 GMT
On Wed, 14 Mar 2001 19:35:14 +0100 (CET), michele bianchi wrote:

>On Wed, 14 Mar 2001, Jonathan Fuerth wrote:
>> Hi. This message may appear to be offtopic, but it isn't. :)
>> I'm using Tomcat 3.2.1 and Cocoon 1.8.2.  I want to be able to call my
>> own utility classes (which live within the web application context)
>> from an xsp page.  I think there's some sort of classloader problem
>> preventing me from doing this.  Details follow:
>> I wrote a little utility class called
>> ca.sqlpower.util.ZealousURLEncoder.zealousEncode(), and put its
>> compiled classfile in
>> $CONTEXT_ROOT/WEB-INF/classes/ca/sqlpower/util/ZealousURLEncoder.class.
>> I want to call my class from within an <xsp:logic> element.  I have
>> an <xsp:include>ca.sqlpower.util.*</xsp:include> statement within the
>> <xsp:structure> at the top of my xsp file.  This causes no problems.
>> When I try to call the zealousEncode method, however, I get this:
>> java.lang.NoClassDefFoundError: ca/sqlpower/util/ZealousURLEncoder
>> Does anyone have any hints?
>no way, see

Not completely convinced :-)))))))

Try you luck with the latest Tomcat from the cvs, those that is going to become
Tomcat 3.3m2!  Krzysztof Zielicski is currently building and testing his
CDK (Cocoon Development Kit) -- a place for newbies to start using
Cocoon1 and Cocoon2 on Tomcat right out of the box without any addtional
setup -- CDK used to be available on lately, but not sure
if the server is up now..

So, soon, really soon the bug 11 may be marked as resolved!
(The only thing that makes me worried is how stable those
Tomcat 3.3 from cvs is? They are going to release 3.2 in the
nearest future and until 3.3 will be called stable, i'm afraid time
may pass. So currently i'm not sure on what to use in production

Best regards, Tagunov Anthony

Please check that your question has not already been answered in the
FAQ before posting. <>

To unsubscribe, e-mail: <>
For additional commands, e-mail: <>

View raw message