cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Fuerth <fue...@sqlpower.ca>
Subject Re: XSP and Classloader Trouble
Date Wed, 14 Mar 2001 23:07:17 GMT
On Wed, Mar 14, 2001 at 11:24:06PM +0300, Tagunov Anthony wrote:
> On Wed, 14 Mar 2001 19:35:14 +0100 (CET), michele bianchi wrote:
> >On Wed, 14 Mar 2001, Jonathan Fuerth wrote:
> >> 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:
> >> [...]
> >> Does anyone have any hints?
> >
> >no way, see http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11
> 
> Not completely convinced :-)))))))

> Try you luck with the latest Tomcat from the cvs, those that is going to become

Ok, I will give it a go.  It would be nice to have this problem
solved!

> 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
> environment.)

Right, well production is an issue.  We're developing an application
that we plan to try and sell (all bundled in a WAR file).. asking a
customer to add our JARs to their servlet container's classpath might
not go over so well.. :)

Out of curiosity, how could this be a Tomcat bug? (I'm not saying it
isn't: I'm just asking out of interest) .. My own servlets in the same
Tomcat context are able to use those utility classes, and they even
reload them automatically if I set "reloadable=true" in the server.xml
file. I've actually been doing this for some time now, but today was
the first time I felt the need to call one of these utilities from an
xsp.

Thanks for all the suggestions, everyone!

-Jonathan Fuerth

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message