cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From damon.m.ro...@ac.com
Subject Re: The time has come for TomCat & Cocoon2
Date Wed, 05 Jul 2000 16:33:56 GMT
I trying to move from Cocoon1.7.4 to Cocoon2 on Tomcat 3.1.  I'm having
trouble having Cocoon2 locate the cocoon.xconf file.

The servlet.log entries relating to cocoon are:
<l:context path="/cocoon" >tomcat.errorPage: init</l:context>
<l:context path="/cocoon" >jsp: init</l:context>
<l:context path="/cocoon" >Cocoon2: init</l:context>
<l:context path="/cocoon" >this.configurationFile: null</l:context>
<l:context path="/cocoon" >this.configurationFile: C:\bin\apache\tomcat\webapps\cocoon/cocoon.xconf</l:context>
<l:context path="/cocoon" >Reloading from: C:\bin\apache\tomcat\webapps\cocoon/cocoon.xconf</l:context>
<l:context path="/cocoon" >Exception reloading: Fatal error parsing null (line 0 col.
0): File "C:\bin\apache\tomcat\webapps\cocoon\cocoon.xconf" not
found.</l:context>
<l:context path="/cocoon" >default: init</l:context>

I'm running on Windows 95.
My TOMCAT_HOME=c:\bin\apache\tomcat
I've verified that cocoon.xconf is located at: c:
\bin\apache\tomcat\webapps\cocoon\cocoon.xconf

My web.xml entry for Cocoon2 is:
<web-app>
 <servlet>
  <servlet-name>Cocoon2</servlet-name>
  <servlet-class>org.apache.cocoon.servlet.CocoonServlet</servlet-class>
  <init-param>
   <param-name>configurations</param-name>
   <param-value>/cocoon.xconf</param-value>
  </init-param>
  <load-on-startup>
    -2147483646
  </load-on-startup>
 </servlet>

 <servlet-mapping>
  <servlet-name>Cocoon2</servlet-name>
  <url-pattern>/</url-pattern>
 </servlet-mapping>
</web-app>


rubys@us.ibm.com
07/04/2000 11:51 AM AST
Please respond to cocoon-dev@xml.apache.org

To:   cocoon-dev@xml.apache.org
cc:
Subject:  Re: The time has come for TomCat & Cocoon2




Kevin Sonney wrote:
>
> I've decided the time has come to migrate from JServ 1.1.1
> (.1.1.1.1.1.1 *smirk*) & Cocoon 1.x on my laptop to TomCat &
> Cocoon 2-alpha.
>
> So, before I get started, here are some questions :
>
> 1) Has *ANYONE* seen a Migration guide for Jserv -> TomCat? I've been
> looking, and none of the docs are really that clear on it. Hints would
> be great.

I was never a heavy user of JServ, nor have I ever tried cocoon1.

But I will say that with Tomcat 3.2 (now in beta), and with getting the
cocoon-2 samples up and running are as simple as copying a few jar files
into the tomcat lib directory, and one war file into the webapps directory
and starting Tomcat.  After you have verified the correct operation using
port 8080, take a look into Tomcat's conf directory, and you should find a
tomcat-apache.conf file ready for inclusion in Apache.

- Sam Ruby





Mime
View raw message