cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefano Mazzocchi <>
Subject Re: Cocoon-1.7.3 - init bug
Date Tue, 09 May 2000 12:21:49 GMT
Eric SCHAEFFER wrote:
> Hi,
> I think it's a little bug:
> In, when you use a servlet 2.1 container, you try to load the
> config file using the servlet context, but if an error occured, you just trap
> the error and execute the rest of the code. I think you should return (or
> throw an exception)...
> (l.126)        } catch (Exception ex) {
>                    exception = ex;
>                    message = "Unable to open resource: " + confsName;
>                    //// TEST ////
>                    return;
>                    //// TEST ////
>                }
> Eric.

You're right, forgot to make it return if there's a problem.
> PS: when using the servlet context, the path is "relative" to the context
> root. I wonder if it's a good thing:
> I've installed Cocoon in a separate directory, where I put all my java
> packages, with a subdir for each one (jimi, bsf, cocoon, xerces, xalan,
> etc...). With this "feature", I must put the Cocoon properties file in a root
> context subdir (Web-inf for example). Thus, the jar file and the properties
> file aren't at the same place...
> Of course, we can consider that the config file is specific to my context, but
> ...

I'm all ears for help on Tomcat installation.

So far, I haven't heard a complete proposal.

Stefano Mazzocchi      One must still have chaos in oneself to be
                          able to give birth to a dancing star.
<>                             Friedrich Nietzsche
 Missed us in Orlando? Make it up with ApacheCON Europe in London!
------------------------- http://ApacheCon.Com ---------------------

View raw message