cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Lamb" <p...@oil-law.com>
Subject RE: [C2] The sitemap handler's sitemap is not available
Date Thu, 28 Dec 2000 16:23:25 GMT
I was able to get it to work after I got the latest Tomcat4 from CVS.

Paul

-----Original Message-----
From: Klaus Drechsler [mailto:drechsler@gmx.net]
Sent: Thursday, December 28, 2000 9:27 AM
To: cocoon-dev@xml.apache.org
Subject: [C2] The sitemap handler's sitemap is not available


Hi,

I did the following:

1. Installed Tomcat4-m5
2. replaced crimson an jax with xerces
3. build cocoon.war
4. copied cocoon.war to webapps

http://localhost:8080 works fine!

http://localhost:8080/cocoon gives me the following error message
(output in the browser window + log entries):

What should I do to get Cocoon2 to work?


type internal-server-error
message The sitemap handler's sitemap is not available.
description org.apache.cocoon.ProcessingException: The sitemap handler's

sitemap is not available.
sender org.apache.cocoon.servlet.CocoonServlet
source Cocoon servlet
request-uri
/cocoon/
path-info
stacktrace
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(ApplicationFilt
erChain.java:208)
         at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:251)
         at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:977)
         at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:196)
         at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:977)
         at 
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:203
8)
         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.j
ava:811)
         at 
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:
890)
         at java.lang.Thread.run(Thread.java:484)



And here are the cocoon log entries:

WARN    1480    [cocoon  ] (Thread-2): Language Exception
org.apache.cocoon.components.language.LanguageException: Can't load
program 
- File doesn't exist: 
.\work\localhost\cocoon\_C_\_temp\_tomcat\_webapps\_cocoon\_sitemap_xmap
.java
         at 
org.apache.cocoon.components.language.programming.CompiledProgrammingLan
guage.load(CompiledProgrammingLanguage.java:132)
         at 
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.loa
d(ProgramGeneratorImpl.java:173)
         at org.apache.cocoon.sitemap.Handler.run(Handler.java:162)
         at java.lang.Thread.run(Thread.java:484)
ERROR   10270   [cocoon  ] (Thread-2): Error compiling sitemap
org.apache.cocoon.components.language.LanguageException: Error compiling

_sitemap_xmap:
Line 0, column 0: 
C:\temp\tomcat\work\localhost\cocoon\_C_\_temp\_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: 
C:\temp\tomcat\work\localhost\cocoon\_C_\_temp\_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: 
C:\temp\tomcat\work\localhost\cocoon\_C_\_temp\_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: 
C:\temp\tomcat\work\localhost\cocoon\_C_\_temp\_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: 
C:\temp\tomcat\work\localhost\cocoon\_C_\_temp\_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: 
C:\temp\tomcat\work\localhost\cocoon\_C_\_temp\_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: 
C:\temp\tomcat\work\localhost\cocoon\_C_\_temp\_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: 
C:\temp\tomcat\work\localhost\cocoon\_C_\_temp\_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: 
C:\temp\tomcat\work\localhost\cocoon\_C_\_temp\_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: 
C:\temp\tomcat\work\localhost\cocoon\_C_\_temp\_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: 
C:\temp\tomcat\work\localhost\cocoon\_C_\_temp\_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: 
C:\temp\tomcat\work\localhost\cocoon\_C_\_temp\_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: 
C:\temp\tomcat\work\localhost\cocoon\_C_\_temp\_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: 
C:\temp\tomcat\work\localhost\cocoon\_C_\_temp\_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: 
C:\temp\tomcat\work\localhost\cocoon\_C_\_temp\_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: 
C:\temp\tomcat\work\localhost\cocoon\_C_\_temp\_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: 
C:\temp\tomcat\work\localhost\cocoon\_C_\_temp\_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: 
C:\temp\tomcat\work\localhost\cocoon\_C_\_temp\_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: 
C:\temp\tomcat\work\localhost\cocoon\_C_\_temp\_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: 
C:\temp\tomcat\work\localhost\cocoon\_C_\_temp\_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: 
C:\temp\tomcat\work\localhost\cocoon\_C_\_temp\_tomcat\_webapps\_cocoon\
_sitemap_xmap.java:51: 
Superclass org.apache.cocoon.sitemap.AbstractSitemap of class 
_C_._temp._tomcat._webapps._cocoon._sitemap_xmap not found.
public class _sitemap_xmap extends AbstractSitemap {
                                    ^

         at 
org.apache.cocoon.components.language.programming.java.JavaLanguage.comp
ile(JavaLanguage.java:183)
         at 
org.apache.cocoon.components.language.programming.CompiledProgrammingLan
guage.load(CompiledProgrammingLanguage.java:140)
         at 
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.loa
d(ProgramGeneratorImpl.java:233)
         at org.apache.cocoon.sitemap.Handler.run(Handler.java:162)
         at java.lang.Thread.run(Thread.java:484)
DEBUG   10270   [cocoon  ] (HttpProcessor[8080][4]): Sitemap
regeneration 
complete
ERROR   10270   [cocoon  ] (HttpProcessor[8080][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(ApplicationFilt
erCha



--------------------------------------
Farewell! I will omit no opportunity
That may convey my greetings, love, to thee.
Romeo&Juliet
                         (Act III, Scene V)
--------------------------------------
PGP-Key: http://www.kdnet.de/pgp


Mime
View raw message