You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by KOZLOV Roman <r-...@opencascade.com> on 2002/08/21 10:29:26 UTC
The Sitemap is null, this should never be!
Hi,
There was a thread concerning the same problem but it was blocked.
After some memory consuming work Cocoon crashes. To get it work again I
have to restart Tomcat.
Just after crash the java.exe process of Tomcat uses about 170000 K of
memory.
JVM has the following setting:
CATALINA_OPTS= -Xmx256M
Amount of system memory at the crash time:
used - about 435 M
total - about 1500M
physical - 524M
My configuration is Cocoon 2.0.3, JDK 1.4, Tomcat 4.0.4., Win NT 4.0 SP
6a.
Could, somebody help to clarify the meaning/reason of this crash and how
to avoid it. The exception is the following:
Cocoon 2 - Internal server error
--------------------------------------------------------------------------------
type fatal
message The Sitemap is null, this should never be!
description java.lang.RuntimeException: The Sitemap is null, this should
never be!
sender org.apache.cocoon.servlet.CocoonServlet
source Cocoon servlet
request-uri
/cocoon/
path-info
stack-trace
java.lang.RuntimeException: The Sitemap is null, this should never be!
at org.apache.cocoon.sitemap.Handler.checkSanity(Handler.java:249)
at org.apache.cocoon.sitemap.Handler.process(Handler.java:219)
at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:179)
at
org.apache.cocoon.sitemap.SitemapManager.process(SitemapManager.java:154)
at org.apache.cocoon.Cocoon.process(Cocoon.java:575)
at
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:999)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027)
at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)
at java.lang.Thread.run(Thread.java:536)
--------------------------------------------------------------------------
Thank you in advance,
Roman
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
request parameter problems
Posted by am...@astronomica.as.arizona.edu.
Hi,
I got a problem regrading the request parameter handling in cocoon..
My problem is as follows :
<!-- Pipeline 1-->
<map:pipeline>
<map:match pattern="common/compile/**/*.spain">
<map:generate src="http://localhost:8080/xml/{1}/{2}.rio"/>
<map:transform src="http://localhost:8080/envs/common/compile.xsl" />
<map:serialize type="xml"/>
</map:match>
<map:match pattern="envs/*/param.xsp*">
<map:generate src="http://localhost:8080/envs/{1}/param.xsp{2}" type="serverpages"/>
<map:transform src="http://localhost:8080/envs/{1}/param.xsl" />
<map:serialize type="xml"/>
</map:match>
</map:pipeline>
<!-- Pipeline 2-->
<map:pipeline>
<map:match pattern="*/*/**/*.rio*">
<map:aggregate element="site">
<map:part src="http://localhost:8080/cocoon/common/compile/{3}/{4}.spain"/>
<map:generate src="http://localhost:8080/cocoon/envs/{1}/param.xsp{5}" type="serverpages"/>
</map:aggregate>
<map:serialize type="xml"/>
</map:match>
</map:pipeline>
if I have a url like
http://localhost:8080/cocoon/env1/audios/polsani/spain/spainRio.rio?view=double&sn=3
then my request parameters should be passed to "params.xsp" in pipeline 1.
Problem is "params.xsp" is not getting these request parameters..
In case I invoke
http://localhost:8080/envs/env1/param.xsp?view=double&sn=3 my request
parameters are passesed to params.xsp.
Can anyone tell me how to pass the request parameters to "params.xsp".
Thanks
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Re: The Sitemap is null, this should never be!
Posted by Vadim Gritsenko <va...@verizon.net>.
KOZLOV Roman wrote:
>Hi,
>There was a thread concerning the same problem but it was blocked.
>After some memory consuming work Cocoon crashes. To get it work again I
>have to restart Tomcat.
>Just after crash the java.exe process of Tomcat uses about 170000 K of
>memory.
>JVM has the following setting:
>CATALINA_OPTS= -Xmx256M
>Amount of system memory at the crash time:
>used - about 435 M
>total - about 1500M
>physical - 524M
>My configuration is Cocoon 2.0.3, JDK 1.4, Tomcat 4.0.4., Win NT 4.0 SP
>6a.
>
>Could, somebody help to clarify the meaning/reason of this crash and how
>to avoid it. The exception is the following:
>Cocoon 2 - Internal server error
>--------------------------------------------------------------------------------
>
>type fatal
>message The Sitemap is null, this should never be!
>description java.lang.RuntimeException: The Sitemap is null, this should
>never be!
>
I'm working on some patches that will change some of this (sitemap
handler) code, and may fix your problem (also I don't know what's
causing your problem). I expect to finish these patches in one or two
weeks. Stay tuned (to cvs logs) if interested.
Vadim
>sender org.apache.cocoon.servlet.CocoonServlet
>source Cocoon servlet
>request-uri
>/cocoon/
>path-info
>stack-trace
>
>java.lang.RuntimeException: The Sitemap is null, this should never be!
> at org.apache.cocoon.sitemap.Handler.checkSanity(Handler.java:249)
> at org.apache.cocoon.sitemap.Handler.process(Handler.java:219)
> at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:179)
> at
>org.apache.cocoon.sitemap.SitemapManager.process(SitemapManager.java:154)
>
> at org.apache.cocoon.Cocoon.process(Cocoon.java:575)
> at
>org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:999)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
>
> at
>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
>
> at
>org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
>
> at
>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
>
> at
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
>
> at
>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> at
>org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
>
> at
>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
>
> at
>org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
>
> at
>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
>
> at
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
>
> at
>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> at
>org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
>
> at
>org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
>
> at
>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
>
> at
>org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
>
> at
>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
>
> at
>org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
>
> at
>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
>
> at
>org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
>
> at
>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
>
> at
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
>
> at
>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> at
>org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
>
> at
>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
>
> at
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
>
> at
>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> at
>org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027)
>
> at
>org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)
>
> at java.lang.Thread.run(Thread.java:536)
>
>--------------------------------------------------------------------------
>
>Thank you in advance,
>Roman
>
>
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>