cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From giacomo <giac...@apache.org>
Subject Re: [C2]: InvalidArgumentException
Date Tue, 12 Jun 2001 17:36:24 GMT
On Tue, 12 Jun 2001 francesco.casalena@virgilio.it wrote:

> Hi,
> I've inserted these raws in server.xml:
>
>   <Context path="/cocoon" docBase="webapps/cocoon" debug="0" reloadable="true" >
>  </Context>

Try using
   <Context path="/cocoon" docBase="cocoon" debug="0" reloadable="true" >
   </Contxt>

The default directory base is inside the webapps dir.

Giacomo

>
> for a Cocoon'context in Tomcat 4.0.
> It doesn't work!
> This is catalina.out:
> ----------------
> [root@localhost logs]# more catalina.out
> Starting service Tomcat-Standalone
> Apache Tomcat/4.0-m5
> java.lang.IllegalArgumentException: Document base webapps/cocoon does not exist or is
not a readable directory
>         at org.apache.catalina.resources.FileResources.setDocBase(FileResources.java:159)
>         at org.apache.catalina.resources.ResourcesBase.setContainer(ResourcesBase.java:310)
>         at org.apache.catalina.core.ContainerBase.setResources(ContainerBase.java:770)
>         at org.apache.catalina.core.StandardContext.start(StandardContext.java:2887)
>         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1160)
>         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1160)
>         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:217)
>         at org.apache.catalina.core.StandardService.start(StandardService.java:353)
>         at org.apache.catalina.core.StandardServer.start(StandardServer.java:454)
>         at org.apache.catalina.startup.Catalina.start(Catalina.java:677)
>         at org.apache.catalina.startup.Catalina.execute(Catalina.java:618)
>         at org.apache.catalina.startup.Catalina.process(Catalina.java:175)
>         at java.lang.reflect.Method.invoke(Native Method)
>         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:134)
> ------------------
>
> /usr/local/jakarta-tomcat-4.0-m5/webapps/cocoon exists and its permissions seem right.
>
> Any idea?
>
> Hi, ciao
> Francesco
>
>
>
>
>
>
> Francesco Casalena
> L.U.G. "Il Pinguino"
> ----------------------------------------------
> Virgilio Mail - Il tuo indirizzo E-mail gratis
> http://mail.virgilio.it
>
>
> ---------------------------------------------------------------------
> 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>
>
>
>
>


---------------------------------------------------------------------
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