cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Heinemann <heine...@horacemann.com>
Subject java.io.FileNotFoundException
Date Mon, 03 Jan 2000 15:57:53 GMT
I have the following setup:
WinNT 4SP6 (I know.. I know...)
JDK 1.2.2
tomcat ver 3.0 (binary dist)
cocoon 1.5 (binary dist)

When ever I know that tomcat is configured properly.  I believe I have
cocoon configured properly as per the directions on the web site.  I
browsed the list archieve and found this
(http://xml-archive.webweaving.org/xml-archive-cocoon-users/0046.html)
article.  However there is no response.  I am sure we are haveing the
same error.  If someone has figured this out please let me/us know.

I expanded all jars in the cocoon dist and put them in my classpath
(system wide).

Do I need to download anything other than cocoon_1_5.jar ?

Here are my relevant config files:
I left cocoon.properties unchanged. I placed it in d:\tomcat\etc\.

d:\tomcat\examples\web-inf\web.xml :

<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
    "http://java.sun.com/j2ee/dtds/web-app_2.2.dtd">

<web-app>
    <servlet>
        <servlet-name>
            snoop
        </servlet-name>
        <servlet-class>
            SnoopServlet
        </servlet-class>
<!--
        <init-param>
            <param-name>
                foo
            </param-name>
            <param-value>
                bar
            </param-value>
        </init-param>
-->
    </servlet>

<servlet>
  <servlet-name>org.apache.cocoon.Cocoon</servlet-name>
  <servlet-class>org.apache.cocoon.Cocoon</servlet-class>
  <init-param>
   <param-name>properties</param-name>
   <param-value>
     d:\tomcat\etc\cocoon.properties
   </param-value>
  </init-param>
 </servlet>

 <servlet-mapping>
  <servlet-name>org.apache.cocoon.Cocoon</servlet-name>
  <url-pattern>*.xml</url-pattern>
 </servlet-mapping>


    <servlet>
      <servlet-name>
          servletToJsp
      </servlet-name>
      <servlet-class>
          servletToJsp
      </servlet-class>
    </servlet>
    <servlet-mapping>
        <servlet-name>
            snoop
        </servlet-name>
        <url-pattern>
            /snoop
        </url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>
            snoop
        </servlet-name>
        <url-pattern>
            *.snp
        </url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>
            servletToJsp
        </servlet-name>
        <url-pattern>
            /servletToJsp
        </url-pattern>
    </servlet-mapping>

    <taglib>
        <taglib-uri>
    http://java.apache.org/tomcat/examples-taglib
        </taglib-uri>
        <taglib-location>
           /WEB-INF/jsp/example-taglib.tld
        </taglib-location>
    </taglib>
</web-app>





Mime
View raw message