cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Colin Britton" <cbrit...@centervilletech.com>
Subject RE: C2: install problem
Date Fri, 08 Dec 2000 16:38:40 GMT
OK I have Tomcat 4.0-m4 working, I found a previous post that covered the
sealing violation problem. Covered below.

Sorry for the noise.

CB

-----Original Message-----

Here's what i did with the latest Dev Snapshot of Tomcat4.0 @
http://jakarta.apache.org/builds/jakarta-tomcat-4.0/nightly/. I did not have
to recompile
tomcat4.0 sources. All i had to do was.

1. Remove jaxp.jar and crimson.jar from jakarta-tomcat-4.0\lib and
jakarta-tomcat-4.0\server
2. Add Xerces.jar in both jakarta-tomcat-4.0\lib and
jakarta-tomcat-4.0\server directories.

Thanks,
dims

-----Original Message-----
From: Colin Britton [mailto:cbritton@centervilletech.com]
Sent: Friday, December 08, 2000 9:30 AM
To: cocoon-dev@xml.apache.org
Subject: RE: C2: install problem


I changed the classpath-attribute but I am still getting a "sealing
violation" on my Tomcat 4.0m4 install.

When I try to use C2 with Tomcat 3.3 I get the error that I first reported
below:

> org.apache.cocoon.ProcessingException: The sitemap handler's
> sitemap is not available.
> at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:88)

I had all this working on my old laptop, but I cannot get it working on this
one.

Any clues???  For information it is W2000 and Sun JDK 1.3.

Thanks
CB


-----Original Message-----
From: Stevenson, Chris (SSABSA) [mailto:chris@ssabsa.sa.gov.au]
Sent: Thursday, December 07, 2000 7:16 PM
To: 'cocoon-dev@xml.apache.org'
Subject: RE: C2: install problem


The wonders of the web - I just had this problem a few minutes ago.

Using Tomcat 4.0 dev (m4):

Edit web.xml, and change the classpath-attribute as follows:

  <init-param>
   <param-name>classpath-attribute</param-name>
   <!-- This is for Tomcat -->
<!--
   <param-value>org.apache.tomcat.jsp_classpath</param-value>
-->
   <param-value>org.apache.catalina.jsp_classpath</param-value>
   <!-- Alternatively you can choose one of these:
        Catalina: org.apache.catalina.jsp_classpath
        Resin:    caucho.class.path
        IBM:      com.ibm.websphere.servlet.application.classpath
   -->
  </init-param>

chris

> -----Original Message-----
> From: Colin Britton [mailto:cbritton@freefoto.com]
> Sent: Friday, 8 December 2000 1:11 AM
> To: Cocoon-Dev@Xml.Apache.Org
> Subject: C2: install problem
>
>
> I am trying to get the latest CVS version of cocoon2 working
> under Tomcat
> 3.2 OR Tomcat 4 on a new system I am setting up. I am sure I am doing
> something stupid or missing something obvious, so apologies.
>
> Under Tomcat 3.2 or 3.3 I get the following error....
>
>
> org.apache.cocoon.ProcessingException: The sitemap handler's
> sitemap is not
> available.
> 	at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:88)
> 	at org.apache.cocoon.Cocoon.process(Cocoon.java:239)
> 	at
> org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.
> java:323)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java)
> 	at
> org.apache.tomcat.facade.ServletWrapper.doService(ServletWrapp
> er.java:488)
> 	at
> org.apache.tomcat.facade.ServletWrapper.doService(ServletWrapp
> er.java:459)
> 	at org.apache.tomcat.core.Handler.service(Handler.java:394)
> 	at
> org.apache.tomcat.facade.ServletWrapper.service(ServletWrapper
> .java:433)
> 	at
> org.apache.tomcat.core.ContextManager.internalService(ContextM
> anager.java:77
> 6)
> 	at
> org.apache.tomcat.core.ContextManager.service(ContextManager.java:700)
> 	at
> org.apache.tomcat.modules.server.Http10Interceptor.processConn
> ection(Http10I
> nterceptor.java:142)
> 	at
> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoi
> nt.java:425)
> 	at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
> ThreadPool.jav
> a:497)
> 	at java.lang.Thread.run(Thread.java:484)
>
> if I change the cocoon.xconf entry for the sitemap file from
>
>   <sitemap file="sitemap.xmap"/>
> to
>   <sitemap file="\cocoon\sitemap.xmap"/>
>
>  I get the following error...
>
> java.io.FileNotFoundException: file
> /cocoon/sitemap.xmap\sitemap.xmap not
> found or cannot be opened for reading
> 	at org.apache.cocoon.sitemap.Handler.(Handler.java:94)
> 	at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:79)
> 	at org.apache.cocoon.Cocoon.process(Cocoon.java:239)
> 	at
> org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.
> java:323)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java)
> 	at
> org.apache.tomcat.facade.ServletWrapper.doService(ServletWrapp
> er.java:488)
> 	at
> org.apache.tomcat.facade.ServletWrapper.doService(ServletWrapp
> er.java:459)
> 	at org.apache.tomcat.core.Handler.service(Handler.java:394)
> 	at
> org.apache.tomcat.facade.ServletWrapper.service(ServletWrapper
> .java:433)
> 	at
> org.apache.tomcat.core.ContextManager.internalService(ContextM
> anager.java:77
> 6)
> 	at
> org.apache.tomcat.core.ContextManager.service(ContextManager.java:700)
> 	at
> org.apache.tomcat.modules.server.Http10Interceptor.processConn
> ection(Http10I
> nterceptor.java:142)
> 	at
> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoi
> nt.java:425)
> 	at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
> ThreadPool.jav
> a:497)
> 	at java.lang.Thread.run(Thread.java:484)
>
>
> If I put the full file system path in I get the same as the
> default config.
> Any attempts at relative paths give a filenotfound.
>
> I am running windows 2000.
>
> rgds
> CB
>
>





Mime
View raw message