cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Berin Loritsch" <blorit...@infoplanning.com>
Subject Re: !!! Tomcat2 C2: log file: namespace not supported vs. sitemap not available
Date Wed, 20 Dec 2000 15:12:55 GMT
----- Original Message ----- 
From: "Christian Parpart" <trapni@gmx.de>
To: <cocoon-users@xml.apache.org>
Sent: Wednesday, December 20, 2000 10:03 AM
Subject: RE: !!! Tomcat2 C2: log file: namespace not supported vs. sitemap not available


> Hi all,
> 
> after replacing the hole tomcat/lib directory with only
> some .jar files from the cocoon/lib directory I got an compile error
> like below:

Ok.  There is a difference between Tomcat 4.0mX and Tomcat 3.x in that
the 4.0 series uses Servlet 2.3 standards which are in "final draft"
but not officially released.  You need to remove the Servlet.jar file
included with the C2 distribution, and replace it with the one from
Tomcat 4.0.  After that build a new Cocoon.jar.  The build script will
automatically determine whether you have Servlet 2.2 or Servlet 2.3,
and use the corresponding HttpServletRequest in the code.

This is going to be necessary until there are more than one Servlet
Container that uses an "Official" Servlet 2.3 release.  At that
point, Cocoon may integrate real features of the specification.

> 
> ((btw. why does my jvm needs so much memory usage: 73Mb?))
> ((I thought C2 is uses less memory))

My Tomcat 3.2 install with C2 only uses ~16Mb with all compiled
elements in the classpath.  Most of that has to be your servlet
engine!

> 
> ----------------------------------------------
> DEBUG   3224    [cocoon  ] (Thread-0): Setting the parameters
> DEBUG   3255    [cocoon  ] (Thread-0): Looking up org.apache.cocoon.Cocoon
> DEBUG   3255    [cocoon  ] (Thread-0): DefaultComponentManager returned
> instance for role org.apache.cocoon.Cocoon.
> DEBUG   3255    [cocoon  ] (Thread-0): Looking up org.apache.cocoon.Cocoon
> DEBUG   3255    [cocoon  ] (Thread-0): DefaultComponentManager returned
> instance for role org.apache.cocoon.Cocoon.
> WARN    5237    [cocoon  ] (Thread-0): Language Exception
> org.apache.cocoon.components.language.LanguageException: Error compiling
> _sitemap_xmap:
> Line 0, column 0: D:\Programme\Apache
> Tomcat\work\localhost\cocoon\_D_\_Programme\_Apache_Tomcat\_webapps\_cocoon\
> _sitemap_xmap.java:20: Class javax.servlet.http.HttpServletRequest not found
> in import.
> import javax.servlet.http.HttpServletRequest;
>        ^
> Line 0, column 0: D:\Programme\Apache
> Tomcat\work\localhost\cocoon\_D_\_Programme\_Apache_Tomcat\_webapps\_cocoon\
> _sitemap_xmap.java:22: Class org.apache.avalon.Configurable not found in
> import.
> import org.apache.avalon.Configurable;
>        ^
> Line 0, column 0: D:\Programme\Apache
> Tomcat\work\localhost\cocoon\_D_\_Programme\_Apache_Tomcat\_webapps\_cocoon\
> _sitemap_xmap.java:23: Class org.apache.avalon.Configuration not found in
> import.
> import org.apache.avalon.Configuration;
>        ^
> Line 0, column 0: D:\Programme\Apache
> Tomcat\work\localhost\cocoon\_D_\_Programme\_Apache_Tomcat\_webapps\_cocoon\
> _sitemap_xmap.java:24: Class org.apache.avalon.ConfigurationException not
> found in import.
> import org.apache.avalon.ConfigurationException;
>        ^
> Line 0, column 0: D:\Programme\Apache
> Tomcat\work\localhost\cocoon\_D_\_Programme\_Apache_Tomcat\_webapps\_cocoon\
> _sitemap_xmap.java:25: Class org.apache.avalon.DefaultConfiguration not
> found in import.
> import org.apache.avalon.DefaultConfiguration;
>        ^
> Line 0, column 0: D:\Programme\Apache
> Tomcat\work\localhost\cocoon\_D_\_Programme\_Apache_Tomcat\_webapps\_cocoon\
> _sitemap_xmap.java:26: Class org.apache.avalon.Parameters not found in
> import.
> import org.apache.avalon.Parameters;
>        ^
> Line 0, column 0: D:\Programme\Apache
> Tomcat\work\localhost\cocoon\_D_\_Programme\_Apache_Tomcat\_webapps\_cocoon\
> _sitemap_xmap.java:28: Class org.apache.regexp.RE not found in import.
> import org.apache.regexp.RE;
>        ^
> Line 0, column 0: D:\Programme\Apache
> Tomcat\work\localhost\cocoon\_D_\_Programme\_Apache_Tomcat\_webapps\_cocoon\
> _sitemap_xmap.java:29: Class org.apache.regexp.REProgram not found in
> import.
> import org.apache.regexp.REProgram;
>        ^
> Line 0, column 0: D:\Programme\Apache
> Tomcat\work\localhost\cocoon\_D_\_Programme\_Apache_Tomcat\_webapps\_cocoon\
> _sitemap_xmap.java:31: Class org.apache.cocoon.Cocoon not found in import.
> import org.apache.cocoon.Cocoon;
>        ^
> Line 0, column 0: D:\Programme\Apache
> Tomcat\work\localhost\cocoon\_D_\_Programme\_Apache_Tomcat\_webapps\_cocoon\
> _sitemap_xmap.java:32: Class org.apache.cocoon.ProcessingException not found
> in import.
> import org.apache.cocoon.ProcessingException;
>        ^
> Line 0, column 0: D:\Programme\Apache
> Tomcat\work\localhost\cocoon\_D_\_Programme\_Apache_Tomcat\_webapps\_cocoon\
> _sitemap_xmap.java:33: Class org.apache.cocoon.acting.Action not found in
> import.
> import org.apache.cocoon.acting.Action;
>        ^
> Line 0, column 0: D:\Programme\Apache
> Tomcat\work\localhost\cocoon\_D_\_Programme\_Apache_Tomcat\_webapps\_cocoon\
> _sitemap_xmap.java:34: Class org.apache.cocoon.environment.Environment not
> found in import.
> import org.apache.cocoon.environment.Environment;
>        ^
> Line 0, column 0: D:\Programme\Apache
> Tomcat\work\localhost\cocoon\_D_\_Programme\_Apache_Tomcat\_webapps\_cocoon\
> _sitemap_xmap.java:35: Class org.apache.cocoon.matching.Matcher not found in
> import.
> import org.apache.cocoon.matching.Matcher;
>        ^
> Line 0, column 0: D:\Programme\Apache
> Tomcat\work\localhost\cocoon\_D_\_Programme\_Apache_Tomcat\_webapps\_cocoon\
> _sitemap_xmap.java:36: Class org.apache.cocoon.selection.Selector not found
> in import.
> import org.apache.cocoon.selection.Selector;
>        ^
> Line 0, column 0: D:\Programme\Apache
> Tomcat\work\localhost\cocoon\_D_\_Programme\_Apache_Tomcat\_webapps\_cocoon\
> _sitemap_xmap.java:37: Class org.apache.cocoon.sitemap.AbstractSitemap not
> found in import.
> import org.apache.cocoon.sitemap.AbstractSitemap;
>        ^
> Line 0, column 0: D:\Programme\Apache
> Tomcat\work\localhost\cocoon\_D_\_Programme\_Apache_Tomcat\_webapps\_cocoon\
> _sitemap_xmap.java:38: Class org.apache.cocoon.sitemap.ComponentHolder not
> found in import.
> import org.apache.cocoon.sitemap.ComponentHolder;
>        ^
> Line 0, column 0: D:\Programme\Apache
> Tomcat\work\localhost\cocoon\_D_\_Programme\_Apache_Tomcat\_webapps\_cocoon\
> _sitemap_xmap.java:39: Class org.apache.cocoon.sitemap.ResourcePipeline not
> found in import.
> import org.apache.cocoon.sitemap.ResourcePipeline;
>        ^
> Line 0, column 0: D:\Programme\Apache
> Tomcat\work\localhost\cocoon\_D_\_Programme\_Apache_Tomcat\_webapps\_cocoon\
> _sitemap_xmap.java:40: Class org.apache.cocoon.sitemap.Sitemap not found in
> import.
> import org.apache.cocoon.sitemap.Sitemap;
>        ^
> Line 0, column 0: D:\Programme\Apache
> Tomcat\work\localhost\cocoon\_D_\_Programme\_Apache_Tomcat\_webapps\_cocoon\
> _sitemap_xmap.java:41: Class org.apache.cocoon.sitemap.ErrorNotifier not
> found in import.
> import org.apache.cocoon.sitemap.ErrorNotifier;
>        ^
> Line 0, column 0: D:\Programme\Apache
> Tomcat\work\localhost\cocoon\_D_\_Programme\_Apache_Tomcat\_webapps\_cocoon\
> _sitemap_xmap.java:42: Class org.apache.cocoon.sitemap.Manager not found in
> import.
> import org.apache.cocoon.sitemap.Manager;
>        ^
> Line 0, column 0: D:\Programme\Apache
> Tomcat\work\localhost\cocoon\_D_\_Programme\_Apache_Tomcat\_webapps\_cocoon\
> _sitemap_xmap.java:51: Superclass org.apache.cocoon.sitemap.AbstractSitemap
> of class _D_._Programme._Apache_Tomcat._webapps._cocoon._sitemap_xmap not
> found.
> public class _sitemap_xmap extends AbstractSitemap {
>                                    ^
> 
> at
> org.apache.cocoon.components.language.programming.java.JavaLanguage.compile(
> JavaLanguage.java:183)
> at
> org.apache.cocoon.components.language.programming.CompiledProgrammingLanguag
> e.load(CompiledProgrammingLanguage.java:143)
> at
> org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(Pr
> ogramGeneratorImpl.java:173)
> at org.apache.cocoon.sitemap.Handler.run(Handler.java:162)
> at java.lang.Thread.run(Thread.java:484)
> ERROR   19838   [cocoon  ] (Thread-0): Error compiling sitemap
> org.apache.cocoon.components.language.LanguageException: Error compiling
> _sitemap_xmap:
> Line 0, column 0: D:\Programme\Apache
> Tomcat\work\localhost\cocoon\_D_\_Programme\_Apache_Tomcat\_webapps\_cocoon\
> _sitemap_xmap.java:20: Class javax.servlet.http.HttpServletRequest not found
> in import.
> import javax.servlet.http.HttpServletRequest;
>        ^
> Line 0, column 0: D:\Programme\Apache
> Tomcat\work\localhost\cocoon\_D_\_Programme\_Apache_Tomcat\_webapps\_cocoon\
> _sitemap_xmap.java:22: Class org.apache.avalon.Configurable not found in
> import.
> import org.apache.avalon.Configurable;
>        ^
> Line 0, column 0: D:\Programme\Apache
> Tomcat\work\localhost\cocoon\_D_\_Programme\_Apache_Tomcat\_webapps\_cocoon\
> _sitemap_xmap.java:23: Class org.apache.avalon.Configuration not found in
> import.
> import org.apache.avalon.Configuration;
>        ^
> Line 0, column 0: D:\Programme\Apache
> Tomcat\work\localhost\cocoon\_D_\_Programme\_Apache_Tomcat\_webapps\_cocoon\
> _sitemap_xmap.java:24: Class org.apache.avalon.ConfigurationException not
> found in import.
> import org.apache.avalon.ConfigurationException;
>        ^
> Line 0, column 0: D:\Programme\Apache
> Tomcat\work\localhost\cocoon\_D_\_Programme\_Apache_Tomcat\_webapps\_cocoon\
> _sitemap_xmap.java:25: Class org.apache.avalon.DefaultConfiguration not
> found in import.
> import org.apache.avalon.DefaultConfiguration;
>        ^
> Line 0, column 0: D:\Programme\Apache
> Tomcat\work\localhost\cocoon\_D_\_Programme\_Apache_Tomcat\_webapps\_cocoon\
> _sitemap_xmap.java:26: Class org.apache.avalon.Parameters not found in
> import.
> import org.apache.avalon.Parameters;
>        ^
> Line 0, column 0: D:\Programme\Apache
> Tomcat\work\localhost\cocoon\_D_\_Programme\_Apache_Tomcat\_webapps\_cocoon\
> _sitemap_xmap.java:28: Class org.apache.regexp.RE not found in import.
> import org.apache.regexp.RE;
>        ^
> Line 0, column 0: D:\Programme\Apache
> Tomcat\work\localhost\cocoon\_D_\_Programme\_Apache_Tomcat\_webapps\_cocoon\
> _sitemap_xmap.java:29: Class org.apache.regexp.REProgram not found in
> import.
> import org.apache.regexp.REProgram;
>        ^
> Line 0, column 0: D:\Programme\Apache
> Tomcat\work\localhost\cocoon\_D_\_Programme\_Apache_Tomcat\_webapps\_cocoon\
> _sitemap_xmap.java:31: Class org.apache.cocoon.Cocoon not found in import.
> import org.apache.cocoon.Cocoon;
>        ^
> Line 0, column 0: D:\Programme\Apache
> Tomcat\work\localhost\cocoon\_D_\_Programme\_Apache_Tomcat\_webapps\_cocoon\
> _sitemap_xmap.java:32: Class org.apache.cocoon.ProcessingException not found
> in import.
> import org.apache.cocoon.ProcessingException;
>        ^
> Line 0, column 0: D:\Programme\Apache
> Tomcat\work\localhost\cocoon\_D_\_Programme\_Apache_Tomcat\_webapps\_cocoon\
> _sitemap_xmap.java:33: Class org.apache.cocoon.acting.Action not found in
> import.
> import org.apache.cocoon.acting.Action;
>        ^
> Line 0, column 0: D:\Programme\Apache
> Tomcat\work\localhost\cocoon\_D_\_Programme\_Apache_Tomcat\_webapps\_cocoon\
> _sitemap_xmap.java:34: Class org.apache.cocoon.environment.Environment not
> found in import.
> import org.apache.cocoon.environment.Environment;
>        ^
> Line 0, column 0: D:\Programme\Apache
> Tomcat\work\localhost\cocoon\_D_\_Programme\_Apache_Tomcat\_webapps\_cocoon\
> _sitemap_xmap.java:35: Class org.apache.cocoon.matching.Matcher not found in
> import.
> import org.apache.cocoon.matching.Matcher;
>        ^
> Line 0, column 0: D:\Programme\Apache
> Tomcat\work\localhost\cocoon\_D_\_Programme\_Apache_Tomcat\_webapps\_cocoon\
> _sitemap_xmap.java:36: Class org.apache.cocoon.selection.Selector not found
> in import.
> import org.apache.cocoon.selection.Selector;
>        ^
> Line 0, column 0: D:\Programme\Apache
> Tomcat\work\localhost\cocoon\_D_\_Programme\_Apache_Tomcat\_webapps\_cocoon\
> _sitemap_xmap.java:37: Class org.apache.cocoon.sitemap.AbstractSitemap not
> found in import.
> import org.apache.cocoon.sitemap.AbstractSitemap;
>        ^
> Line 0, column 0: D:\Programme\Apache
> Tomcat\work\localhost\cocoon\_D_\_Programme\_Apache_Tomcat\_webapps\_cocoon\
> _sitemap_xmap.java:38: Class org.apache.cocoon.sitemap.ComponentHolder not
> found in import.
> import org.apache.cocoon.sitemap.ComponentHolder;
>        ^
> Line 0, column 0: D:\Programme\Apache
> Tomcat\work\localhost\cocoon\_D_\_Programme\_Apache_Tomcat\_webapps\_cocoon\
> _sitemap_xmap.java:39: Class org.apache.cocoon.sitemap.ResourcePipeline not
> found in import.
> import org.apache.cocoon.sitemap.ResourcePipeline;
>        ^
> Line 0, column 0: D:\Programme\Apache
> Tomcat\work\localhost\cocoon\_D_\_Programme\_Apache_Tomcat\_webapps\_cocoon\
> _sitemap_xmap.java:40: Class org.apache.cocoon.sitemap.Sitemap not found in
> import.
> import org.apache.cocoon.sitemap.Sitemap;
>        ^
> Line 0, column 0: D:\Programme\Apache
> Tomcat\work\localhost\cocoon\_D_\_Programme\_Apache_Tomcat\_webapps\_cocoon\
> _sitemap_xmap.java:41: Class org.apache.cocoon.sitemap.ErrorNotifier not
> found in import.
> import org.apache.cocoon.sitemap.ErrorNotifier;
>        ^
> Line 0, column 0: D:\Programme\Apache
> Tomcat\work\localhost\cocoon\_D_\_Programme\_Apache_Tomcat\_webapps\_cocoon\
> _sitemap_xmap.java:42: Class org.apache.cocoon.sitemap.Manager not found in
> import.
> import org.apache.cocoon.sitemap.Manager;
>        ^
> Line 0, column 0: D:\Programme\Apache
> Tomcat\work\localhost\cocoon\_D_\_Programme\_Apache_Tomcat\_webapps\_cocoon\
> _sitemap_xmap.java:51: Superclass org.apache.cocoon.sitemap.AbstractSitemap
> of class _D_._Programme._Apache_Tomcat._webapps._cocoon._sitemap_xmap not
> found.
> public class _sitemap_xmap extends AbstractSitemap {
>                                    ^
> 
> at
> org.apache.cocoon.components.language.programming.java.JavaLanguage.compile(
> JavaLanguage.java:183)
> at
> org.apache.cocoon.components.language.programming.CompiledProgrammingLanguag
> e.load(CompiledProgrammingLanguage.java:143)
> at
> org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(Pr
> ogramGeneratorImpl.java:233)
> at org.apache.cocoon.sitemap.Handler.run(Handler.java:162)
> at java.lang.Thread.run(Thread.java:484)
> DEBUG   19928   [cocoon  ] (HttpProcessor[80][4]): Sitemap regeneration
> complete
> ERROR   19928   [cocoon  ] (HttpProcessor[80][4]): Problem with servlet
> 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:243)
> at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:317)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> ain.java:208)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
> va:251)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:977)
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
> va:196)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:977)
> at
> org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2038)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161
> )
> at org.apache.catalina.valves.ValveBase.invokeNext(ValveBase.java:242)
> at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:414)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:975)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
> :159)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:977)
> at
> org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:
> 811)
> at
> org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:890)
> at java.lang.Thread.run(Thread.java:484)
> DEBUG   20169   [cocoon  ] (HttpProcessor[80][4]): '' Processed by Apache
> Cocoon 2.0a3 in 19.018 seconds.
> DEBUG   59978   [cocoon  ] (HttpProcessor[80][4]): Beginning sitemap
> regeneration
> DEBUG   59995   [cocoon  ] (Thread-1): DefaultComponentManager using
> threadsafe instance of
> org.apache.cocoon.components.language.generator.ProgramGeneratorImpl for
> role org.apache.cocoon.components.language.generator.ProgramGenerator.
> DEBUG   60257   [cocoon  ] (Thread-1): Looking up org.apache.cocoon.Cocoon
> DEBUG   60257   [cocoon  ] (Thread-1): DefaultComponentManager returned
> instance for role org.apache.cocoon.Cocoon.
> WARN    60381   [cocoon  ] (Thread-1): Language Exception
> org.apache.cocoon.components.language.LanguageException: Error compiling
> _sitemap_xmap:
> Line 0, column 0: D:\Programme\Apache
> Tomcat\work\localhost\cocoon\_D_\_Programme\_Apache_Tomcat\_webapps\_cocoon\
> _sitemap_xmap.java:20: Class javax.servlet.http.HttpServletRequest not found
> in import.
> import javax.servlet.http.HttpServletRequest;
>        ^
> Line 0, column 0: D:\Programme\Apache
> Tomcat\work\localhost\cocoon\_D_\_Programme\_Apache_Tomcat\_webapps\_cocoon\
> _sitemap_xmap.java:22: Class org.apache.avalon.Configurable not found in
> import.
> import org.apache.avalon.Configurable;
>        ^
> Line 0, column 0: D:\Programme\Apache
> Tomcat\work\localhost\cocoon\_D_\_Programme\_Apache_Tomcat\_webapps\_cocoon\
> _sitemap_xmap.java:23: Class org.apache.avalon.Configuration not found in
> import.
> import org.apache.avalon.Configuration;
>        ^
> Line 0, column 0: D:\Programme\Apache
> Tomcat\work\localhost\cocoon\_D_\_Programme\_Apache_Tomcat\_webapps\_cocoon\
> _sitemap_xmap.java:24: Class org.apache.avalon.ConfigurationException not
> found in import.
> import org.apache.avalon.ConfigurationException;
>        ^
> Line 0, column 0: D:\Programme\Apache
> Tomcat\work\localhost\cocoon\_D_\_Programme\_Apache_Tomcat\_webapps\_cocoon\
> _sitemap_xmap.java:25: Class org.apache.avalon.DefaultConfiguration not
> found in import.
> import org.apache.avalon.DefaultConfiguration;
>        ^
> Line 0, column 0: D:\Programme\Apache
> Tomcat\work\localhost\cocoon\_D_\_Programme\_Apache_Tomcat\_webapps\_cocoon\
> _sitemap_xmap.java:26: Class org.apache.avalon.Parameters not found in
> import.
> import org.apache.avalon.Parameters;
>        ^
> Line 0, column 0: D:\Programme\Apache
> Tomcat\work\localhost\cocoon\_D_\_Programme\_Apache_Tomcat\_webapps\_cocoon\
> _sitemap_xmap.java:28: Class org.apache.regexp.RE not found in import.
> import org.apache.regexp.RE;
>        ^
> Line 0, column 0: D:\Programme\Apache
> Tomcat\work\localhost\cocoon\_D_\_Programme\_Apache_Tomcat\_webapps\_cocoon\
> _sitemap_xmap.java:29: Class org.apache.regexp.REProgram not found in
> import.
> import org.apache.regexp.REProgram;
>        ^
> Line 0, column 0: D:\Programme\Apache
> Tomcat\work\localhost\cocoon\_D_\_Programme\_Apache_Tomcat\_webapps\_cocoon\
> _sitemap_xmap.java:31: Class org.apache.cocoon.Cocoon not found in import.
> import org.apache.cocoon.Cocoon;
>        ^
> Line 0, column 0: D:\Programme\Apache
> Tomcat\work\localhost\cocoon\_D_\_Programme\_Apache_Tomcat\_webapps\_cocoon\
> _sitemap_xmap.java:32: Class org.apache.cocoon.ProcessingException not found
> in import.
> import org.apache.cocoon.ProcessingException;
>        ^
> Line 0, column 0: D:\Programme\Apache
> Tomcat\work\localhost\cocoon\_D_\_Programme\_Apache_Tomcat\_webapps\_cocoon\
> _sitemap_xmap.java:33: Class org.apache.cocoon.acting.Action not found in
> import.
> import org.apache.cocoon.acting.Action;
>        ^
> Line 0, column 0: D:\Programme\Apache
> Tomcat\work\localhost\cocoon\_D_\_Programme\_Apache_Tomcat\_webapps\_cocoon\
> _sitemap_xmap.java:34: Class org.apache.cocoon.environment.Environment not
> found in import.
> import org.apache.cocoon.environment.Environment;
>        ^
> Line 0, column 0: D:\Programme\Apache
> Tomcat\work\localhost\cocoon\_D_\_Programme\_Apache_Tomcat\_webapps\_cocoon\
> _sitemap_xmap.java:35: Class org.apache.cocoon.matching.Matcher not found in
> import.
> import org.apache.cocoon.matching.Matcher;
>        ^
> Line 0, column 0: D:\Programme\Apache
> Tomcat\work\localhost\cocoon\_D_\_Programme\_Apache_Tomcat\_webapps\_cocoon\
> _sitemap_xmap.java:36: Class org.apache.cocoon.selection.Selector not found
> in import.
> import org.apache.cocoon.selection.Selector;
>        ^
> Line 0, column 0: D:\Programme\Apache
> Tomcat\work\localhost\cocoon\_D_\_Programme\_Apache_Tomcat\_webapps\_cocoon\
> _sitemap_xmap.java:37: Class org.apache.cocoon.sitemap.AbstractSitemap not
> found in import.
> import org.apache.cocoon.sitemap.AbstractSitemap;
>        ^
> Line 0, column 0: D:\Programme\Apache
> Tomcat\work\localhost\cocoon\_D_\_Programme\_Apache_Tomcat\_webapps\_cocoon\
> _sitemap_xmap.java:38: Class org.apache.cocoon.sitemap.ComponentHolder not
> found in import.
> import org.apache.cocoon.sitemap.ComponentHolder;
>        ^
> Line 0, column 0: D:\Programme\Apache
> Tomcat\work\localhost\cocoon\_D_\_Programme\_Apache_Tomcat\_webapps\_cocoon\
> _sitemap_xmap.java:39: Class org.apache.cocoon.sitemap.ResourcePipeline not
> found in import.
> import org.apache.cocoon.sitemap.ResourcePipeline;
>        ^
> Line 0, column 0: D:\Programme\Apache
> Tomcat\work\localhost\cocoon\_D_\_Programme\_Apache_Tomcat\_webapps\_cocoon\
> _sitemap_xmap.java:40: Class org.apache.cocoon.sitemap.Sitemap not found in
> import.
> import org.apache.cocoon.sitemap.Sitemap;
>        ^
> Line 0, column 0: D:\Programme\Apache
> Tomcat\work\localhost\cocoon\_D_\_Programme\_Apache_Tomcat\_webapps\_cocoon\
> _sitemap_xmap.java:41: Class org.apache.cocoon.sitemap.ErrorNotifier not
> found in import.
> import org.apache.cocoon.sitemap.ErrorNotifier;
>        ^
> Line 0, column 0: D:\Programme\Apache
> Tomcat\work\localhost\cocoon\_D_\_Programme\_Apache_Tomcat\_webapps\_cocoon\
> _sitemap_xmap.java:42: Class org.apache.cocoon.sitemap.Manager not found in
> import.
> import org.apache.cocoon.sitemap.Manager;
>        ^
> Line 0, column 0: D:\Programme\Apache
> Tomcat\work\localhost\cocoon\_D_\_Programme\_Apache_Tomcat\_webapps\_cocoon\
> _sitemap_xmap.java:51: Superclass org.apache.cocoon.sitemap.AbstractSitemap
> of class _D_._Programme._Apache_Tomcat._webapps._cocoon._sitemap_xmap not
> found.
> public class _sitemap_xmap extends AbstractSitemap {
>                                    ^
> 
> at
> org.apache.cocoon.components.language.programming.java.JavaLanguage.compile(
> JavaLanguage.java:183)
> at
> org.apache.cocoon.components.language.programming.CompiledProgrammingLanguag
> e.load(CompiledProgrammingLanguage.java:143)
> at
> org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(Pr
> ogramGeneratorImpl.java:173)
> at org.apache.cocoon.sitemap.Handler.run(Handler.java:162)
> at java.lang.Thread.run(Thread.java:484)
> ERROR   62287   [cocoon  ] (Thread-1): Error compiling sitemap
> org.apache.cocoon.components.language.LanguageException: Error compiling
> _sitemap_xmap:
> Line 0, column 0: D:\Programme\Apache
> Tomcat\work\localhost\cocoon\_D_\_Programme\_Apache_Tomcat\_webapps\_cocoon\
> _sitemap_xmap.java:20: Class javax.servlet.http.HttpServletRequest not found
> in import.
> import javax.servlet.http.HttpServletRequest;
>        ^
> Line 0, column 0: D:\Programme\Apache
> Tomcat\work\localhost\cocoon\_D_\_Programme\_Apache_Tomcat\_webapps\_cocoon\
> _sitemap_xmap.java:22: Class org.apache.avalon.Configurable not found in
> import.
> import org.apache.avalon.Configurable;
>        ^
> Line 0, column 0: D:\Programme\Apache
> Tomcat\work\localhost\cocoon\_D_\_Programme\_Apache_Tomcat\_webapps\_cocoon\
> _sitemap_xmap.java:23: Class org.apache.avalon.Configuration not found in
> import.
> import org.apache.avalon.Configuration;
>        ^
> Line 0, column 0: D:\Programme\Apache
> Tomcat\work\localhost\cocoon\_D_\_Programme\_Apache_Tomcat\_webapps\_cocoon\
> _sitemap_xmap.java:24: Class org.apache.avalon.ConfigurationException not
> found in import.
> import org.apache.avalon.ConfigurationException;
>        ^
> Line 0, column 0: D:\Programme\Apache
> Tomcat\work\localhost\cocoon\_D_\_Programme\_Apache_Tomcat\_webapps\_cocoon\
> _sitemap_xmap.java:25: Class org.apache.avalon.DefaultConfiguration not
> found in import.
> import org.apache.avalon.DefaultConfiguration;
>        ^
> Line 0, column 0: D:\Programme\Apache
> Tomcat\work\localhost\cocoon\_D_\_Programme\_Apache_Tomcat\_webapps\_cocoon\
> _sitemap_xmap.java:26: Class org.apache.avalon.Parameters not found in
> import.
> import org.apache.avalon.Parameters;
>        ^
> Line 0, column 0: D:\Programme\Apache
> Tomcat\work\localhost\cocoon\_D_\_Programme\_Apache_Tomcat\_webapps\_cocoon\
> _sitemap_xmap.java:28: Class org.apache.regexp.RE not found in import.
> import org.apache.regexp.RE;
>        ^
> Line 0, column 0: D:\Programme\Apache
> Tomcat\work\localhost\cocoon\_D_\_Programme\_Apache_Tomcat\_webapps\_cocoon\
> _sitemap_xmap.java:29: Class org.apache.regexp.REProgram not found in
> import.
> import org.apache.regexp.REProgram;
>        ^
> Line 0, column 0: D:\Programme\Apache
> Tomcat\work\localhost\cocoon\_D_\_Programme\_Apache_Tomcat\_webapps\_cocoon\
> _sitemap_xmap.java:31: Class org.apache.cocoon.Cocoon not found in import.
> import org.apache.cocoon.Cocoon;
>        ^
> Line 0, column 0: D:\Programme\Apache
> Tomcat\work\localhost\cocoon\_D_\_Programme\_Apache_Tomcat\_webapps\_cocoon\
> _sitemap_xmap.java:32: Class org.apache.cocoon.ProcessingException not found
> in import.
> import org.apache.cocoon.ProcessingException;
>        ^
> Line 0, column 0: D:\Programme\Apache
> Tomcat\work\localhost\cocoon\_D_\_Programme\_Apache_Tomcat\_webapps\_cocoon\
> _sitemap_xmap.java:33: Class org.apache.cocoon.acting.Action not found in
> import.
> import org.apache.cocoon.acting.Action;
>        ^
> Line 0, column 0: D:\Programme\Apache
> Tomcat\work\localhost\cocoon\_D_\_Programme\_Apache_Tomcat\_webapps\_cocoon\
> _sitemap_xmap.java:34: Class org.apache.cocoon.environment.Environment not
> found in import.
> import org.apache.cocoon.environment.Environment;
>        ^
> Line 0, column 0: D:\Programme\Apache
> Tomcat\work\localhost\cocoon\_D_\_Programme\_Apache_Tomcat\_webapps\_cocoon\
> _sitemap_xmap.java:35: Class org.apache.cocoon.matching.Matcher not found in
> import.
> import org.apache.cocoon.matching.Matcher;
>        ^
> Line 0, column 0: D:\Programme\Apache
> Tomcat\work\localhost\cocoon\_D_\_Programme\_Apache_Tomcat\_webapps\_cocoon\
> _sitemap_xmap.java:36: Class org.apache.cocoon.selection.Selector not found
> in import.
> import org.apache.cocoon.selection.Selector;
>        ^
> Line 0, column 0: D:\Programme\Apache
> Tomcat\work\localhost\cocoon\_D_\_Programme\_Apache_Tomcat\_webapps\_cocoon\
> _sitemap_xmap.java:37: Class org.apache.cocoon.sitemap.AbstractSitemap not
> found in import.
> import org.apache.cocoon.sitemap.AbstractSitemap;
>        ^
> Line 0, column 0: D:\Programme\Apache
> Tomcat\work\localhost\cocoon\_D_\_Programme\_Apache_Tomcat\_webapps\_cocoon\
> _sitemap_xmap.java:38: Class org.apache.cocoon.sitemap.ComponentHolder not
> found in import.
> import org.apache.cocoon.sitemap.ComponentHolder;
>        ^
> Line 0, column 0: D:\Programme\Apache
> Tomcat\work\localhost\cocoon\_D_\_Programme\_Apache_Tomcat\_webapps\_cocoon\
> _sitemap_xmap.java:39: Class org.apache.cocoon.sitemap.ResourcePipeline not
> found in import.
> import org.apache.cocoon.sitemap.ResourcePipeline;
>        ^
> Line 0, column 0: D:\Programme\Apache
> Tomcat\work\localhost\cocoon\_D_\_Programme\_Apache_Tomcat\_webapps\_cocoon\
> _sitemap_xmap.java:40: Class org.apache.cocoon.sitemap.Sitemap not found in
> import.
> import org.apache.cocoon.sitemap.Sitemap;
>        ^
> Line 0, column 0: D:\Programme\Apache
> Tomcat\work\localhost\cocoon\_D_\_Programme\_Apache_Tomcat\_webapps\_cocoon\
> _sitemap_xmap.java:41: Class org.apache.cocoon.sitemap.ErrorNotifier not
> found in import.
> import org.apache.cocoon.sitemap.ErrorNotifier;
>        ^
> Line 0, column 0: D:\Programme\Apache
> Tomcat\work\localhost\cocoon\_D_\_Programme\_Apache_Tomcat\_webapps\_cocoon\
> _sitemap_xmap.java:42: Class org.apache.cocoon.sitemap.Manager not found in
> import.
> import org.apache.cocoon.sitemap.Manager;
>        ^
> Line 0, column 0: D:\Programme\Apache
> Tomcat\work\localhost\cocoon\_D_\_Programme\_Apache_Tomcat\_webapps\_cocoon\
> _sitemap_xmap.java:51: Superclass org.apache.cocoon.sitemap.AbstractSitemap
> of class _D_._Programme._Apache_Tomcat._webapps._cocoon._sitemap_xmap not
> found.
> public class _sitemap_xmap extends AbstractSitemap {
>                                    ^
> 
> at
> org.apache.cocoon.components.language.programming.java.JavaLanguage.compile(
> JavaLanguage.java:183)
> at
> org.apache.cocoon.components.language.programming.CompiledProgrammingLanguag
> e.load(CompiledProgrammingLanguage.java:143)
> at
> org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(Pr
> ogramGeneratorImpl.java:233)
> at org.apache.cocoon.sitemap.Handler.run(Handler.java:162)
> at java.lang.Thread.run(Thread.java:484)
> DEBUG   62291   [cocoon  ] (HttpProcessor[80][4]): Sitemap regeneration
> complete
> ERROR   62292   [cocoon  ] (HttpProcessor[80][4]): Problem with servlet
> org.apache.cocoon.ProcessingException: The sitemap handler's sitemap is not
> available.
> at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:88)
> ----------------------------------------------
> 
> Thank's in adwance
> 
> 
> Regards,
> Christian Parpart
> SurakWare
> cparpart@surakware.com
> http://www.surakware.com
> 
> > -----Ursprungliche Nachricht-----
> > Von: Christian Parpart [mailto:trapni@gmx.de]
> > Gesendet: Mittwoch, 20. Dezember 2000 15:53
> > An: Cocoon-Users
> > Betreff: AW: !!! Tomcat2 C2: log file: namespace not supported vs.
> > sitemap not available
> >
> >
> > Hi
> >
> > no, I changed nothing in any configuration file
> > (including: webapps/web.xml,
> >             webapps/cocoon/(cocoon.xconf, sitemap.xmap)
> >             webapps/cocoon/WEB-INFO/web.xml)
> >
> > I just copied all .jar files from xml-cocoon2/lib to tomcat/lib.
> >
> > Regards,
> > Christian Parpart
> > SurakWare
> > cparpart@surakware.com
> > http://www.surakware.com
> >
> > > -----Ursprungliche Nachricht-----
> > > Von: Stuart Roebuck [mailto:stuart.roebuck@adolos.co.uk]
> > > Gesendet: Mittwoch, 20. Dezember 2000 09:46
> > > An: cocoon-users@xml.apache.org
> > > Cc: trapni@gmx.de
> > > Betreff: Re: !!! Tomcat2 C2: log file: namespace not supported vs.
> > > sitemap not available
> > >
> > >
> > > Have you changed the classpath setting in the web.xml file inside
> > > the tomcat*/webapps/cocoon/WEB-INF/ directory to the catalina
> > > setting given in the comments in the file?
> > >
> > > I don't know if this would create the problems your encountering,
> > > but it certainly causes some problems.
> > >
> > > Stuart.
> > >
> > >
> > > On Wednesday, December 20, 2000, at 03:58 AM, Christian Parpart wrote:
> > >
> > > > From: "Christian Parpart" <trapni@gmx.de>
> > > > Date: Wed Dec 20, 2000  03:58:32 AM Europe/London
> > > > To: "Cocoon-Users" <cocoon-users@xml.apache.org>
> > > > Subject: !!! Tomcat2 C2: log file: namespace not supported vs.
> > > sitemap not available
> > > > Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm
> > > > List-Help: <mailto:cocoon-users-help@xml.apache.org>
> > > > List-Unsubscribe: <mailto:cocoon-users-unsubscribe@xml.apache.org>
> > > > List-Post: <mailto:cocoon-users@xml.apache.org>
> > > > Delivered-To: mailing list cocoon-users@xml.apache.org
> > > > X-Priority: 3 (Normal)
> > > > X-Msmail-Priority: Normal
> > > > X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
> > > > X-Mimeole: Produced By Microsoft MimeOLE V5.50.4133.2400
> > > > Importance: Normal
> > > > X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N
> > > >
> > > > (oops, this mail includes the attachement I forgot to put)
> > > > ----------------------------------------------------------
> > > >
> > > > Hi
> > > >
> > > > I just got the latest CVS code from C2 and build the webapp.
> > > > Now I have the cocoon.war and I put it into the webapps
> > > > directory of Tomcat. Then I've restarted Tomcat with 'startup'
> > > > and typed in the browser http://localhost/cocoon.
> > > >
> > > > Here I get the message 'The sitemap handler's sitemap is not
> > > available.'
> > > >
> > > > But after taking a look into the log file from C2
> > > > (webapps/cocoon/WEB-INF/logs/cocoon.log) I saw that there're some more
> > > > initial exceptions, such as 'Namespace not supported by SAXParser'.
> > > >
> > > > I don't know how to fix that problem (btw. I think that these
> > exception
> > > > causes the sitemap error) and for more understanding I
> > attached the log
> > > > file to this mail, please take a look at it.
> > > >
> > > > I hope there's anyone who knows how to fix that..
> > > >
> > > > Thank's in adwance
> > > >
> > > > Regards,
> > > > Christian Parpart
> > > > SurakWare
> > > > cparpart@surakware.com
> > > >
> > > > http://www.surakware.com
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> > For additional commands, e-mail: cocoon-users-help@xml.apache.org
> >
> 


--------------------------------------------------------------------------------


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