You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Peter Klotz <pk...@iconet.wn.bawue.de> on 2003/05/19 17:18:42 UTC

PLEASE HELP: Re: empty page and IllegalStateException

In the mean time I tried with the newest JDK1.4-version of Tomcat 4.1.24
and the JDK 1.4 version of Cocoon but STILL the same problem: empty page
with IllegalStateException in the Tomcat Log.
I see in the other logfiles that the webapp behind all this works
correctly so it is a problem in the environment when rendering the whole
thing.
Must have something to do with JDK 1.4 and Xerces/Xalan.
PLEASE PLEASE when somebody is running in this scenario - there must be
many - please let me know how you solved this.

Peter

P.S. Whoever bundled Xerces and Xalan with JDK 1.4 should be blamed! ;-(

> Hi,
>
> I'm using Tomcat 4.1.18, Cocoon 2.0.4 and Sun JDK 1.4.1. I also tried my
> old version of Tomcat 4.1.12 but the same.
> With a web application that has been running perfectly fine I now suddenly
> get only an empty page and in the Tomcat log I get an
> IllegalStateException.
> Memory should not be the problem as suggested in an older posting, as I
> have configured 256 Meg in store-janitor.
> so I did a plain installation of Tomcat and Cooon and e.g. used the Search
> example, which also uses XSL. And the same effect. Now suddenly nothing is
> working again, always empty page and IllegalStateException!!!
> Several systems all with this setup pure without any additional web app
> have this problem!
>
> Please please help, what is the problem???
>
>
>
> 2003-05-19 14:50:06 StandardWrapperValve[Cocoon2]: Servlet.service() for
> servlet Cocoon2 threw exception
> java.lang.IllegalStateException
> 	at
> org.apache.coyote.tomcat4.CoyoteResponseFacade.reset(CoyoteResponseFacade.java:251)
> 	at
> org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1115)
> 	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:260)
> 	at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
> 	at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> 	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> 	at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
> 	at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
> 	at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> 	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> 	at
> org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
> 	at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
> 	at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
> 	at
> org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
> 	at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
> 	at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
> 	at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
> 	at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> 	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> 	at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
> 	at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
> 	at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> 	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> 	at
> org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
> 	at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:432)
> 	at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:386)
> 	at
> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534)
> 	at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:530)
> 	at java.lang.Thread.run(Thread.java:536)
>
>
>
>
> ---------------------------------------------------------------------
> 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


Re: PLEASE HELP: Re: empty page and IllegalStateException

Posted by Peter Klotz <pk...@iconet.wn.bawue.de>.
Hi,

but that refers to Cocoon 2.1 build from CVS, I'm using Cocoon 2.0.4 and
htat has e.g. no WEB-INF/lib/endorsed. Of course I tried what is probably
intendet and that is copying xalan-*.jar xercesImpl.jar and xml-api.jar to
$TOMCAT/common/endorsed. I moved it instead of copying. Still empty page
and IllegalStateException. I tried copying those jars to
$JRE/lib/endorsed, no change, Tomcat redirects that to common/endorsed
anyway.

The problem is I don't know what is the problem?? Is it Xalan or Xerces
and JDK 1.4 is it Cocoon and JDK 1.4 or what is the problem?????

Please please please, if somebody is running Cococon 2.0.4, Tomcat 4.1.x
and JDK 1.4.1, had this problem and tell me please please please how he
solved it!!!

Please, this is killing me, there is no other information in any logfile
than this useless IllegalStateException and I have no clue what to do,


Please please help, Peter


> I had the same problem some hours ago:
> goto http://www.lenya.org/installation/source_version.html
> have a look at 10 Copy the endorsed libraries!
> before you should download http://www.wyona.org/lenya/endorsed.tar.gz!
>
> It help with some of my problems but not all!
>
> Hope that helps
> </Thorsten>
>
> Peter Klotz wrote:
>> In the mean time I tried with the newest JDK1.4-version of Tomcat 4.1.24
>> and the JDK 1.4 version of Cocoon but STILL the same problem: empty page
>> with IllegalStateException in the Tomcat Log.
>> I see in the other logfiles that the webapp behind all this works
>> correctly so it is a problem in the environment when rendering the whole
>> thing.
>> Must have something to do with JDK 1.4 and Xerces/Xalan.
>> PLEASE PLEASE when somebody is running in this scenario - there must be
>> many - please let me know how you solved this.
>>
>> Peter
>>
>> P.S. Whoever bundled Xerces and Xalan with JDK 1.4 should be blamed! ;-(
>>
>>
>>>Hi,
>>>
>>>I'm using Tomcat 4.1.18, Cocoon 2.0.4 and Sun JDK 1.4.1. I also tried my
>>>old version of Tomcat 4.1.12 but the same.
>>>With a web application that has been running perfectly fine I now
>>> suddenly
>>>get only an empty page and in the Tomcat log I get an
>>>IllegalStateException.
>>>Memory should not be the problem as suggested in an older posting, as I
>>>have configured 256 Meg in store-janitor.
>>>so I did a plain installation of Tomcat and Cooon and e.g. used the
>>> Search
>>>example, which also uses XSL. And the same effect. Now suddenly nothing
>>> is
>>>working again, always empty page and IllegalStateException!!!
>>>Several systems all with this setup pure without any additional web app
>>>have this problem!
>>>
>>>Please please help, what is the problem???
>>>
>>>
>>>
>>>2003-05-19 14:50:06 StandardWrapperValve[Cocoon2]: Servlet.service() for
>>>servlet Cocoon2 threw exception
>>>java.lang.IllegalStateException
>>>	at
>>>org.apache.coyote.tomcat4.CoyoteResponseFacade.reset(CoyoteResponseFacade.java:251)
>>>	at
>>>org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1115)
>>>	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:260)
>>>	at
>>>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
>>>	at
>>>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
>>>	at
>>> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>>>	at
>>>org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
>>>	at
>>>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
>>>	at
>>>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
>>>	at
>>> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>>>	at
>>>org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
>>>	at
>>>org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
>>>	at
>>>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
>>>	at
>>>org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
>>>	at
>>>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
>>>	at
>>>org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
>>>	at
>>>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
>>>	at
>>>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
>>>	at
>>> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>>>	at
>>>org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
>>>	at
>>>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
>>>	at
>>>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
>>>	at
>>> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>>>	at
>>>org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
>>>	at
>>>org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:432)
>>>	at
>>>org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:386)
>>>	at
>>>org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534)
>>>	at
>>>org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:530)
>>>	at java.lang.Thread.run(Thread.java:536)
>>>
>>>
>>>
>>>
>>>---------------------------------------------------------------------
>>>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
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org


Re: PLEASE HELP: Re: empty page and IllegalStateException

Posted by Thorsten Scherler <th...@apache.org>.
Hi Peter,

I had the same problem some hours ago:
goto http://www.lenya.org/installation/source_version.html
have a look at 10 Copy the endorsed libraries!
before you should download http://www.wyona.org/lenya/endorsed.tar.gz!

It help with some of my problems but not all!

Hope that helps
</Thorsten>

Peter Klotz wrote:
> In the mean time I tried with the newest JDK1.4-version of Tomcat 4.1.24
> and the JDK 1.4 version of Cocoon but STILL the same problem: empty page
> with IllegalStateException in the Tomcat Log.
> I see in the other logfiles that the webapp behind all this works
> correctly so it is a problem in the environment when rendering the whole
> thing.
> Must have something to do with JDK 1.4 and Xerces/Xalan.
> PLEASE PLEASE when somebody is running in this scenario - there must be
> many - please let me know how you solved this.
> 
> Peter
> 
> P.S. Whoever bundled Xerces and Xalan with JDK 1.4 should be blamed! ;-(
> 
> 
>>Hi,
>>
>>I'm using Tomcat 4.1.18, Cocoon 2.0.4 and Sun JDK 1.4.1. I also tried my
>>old version of Tomcat 4.1.12 but the same.
>>With a web application that has been running perfectly fine I now suddenly
>>get only an empty page and in the Tomcat log I get an
>>IllegalStateException.
>>Memory should not be the problem as suggested in an older posting, as I
>>have configured 256 Meg in store-janitor.
>>so I did a plain installation of Tomcat and Cooon and e.g. used the Search
>>example, which also uses XSL. And the same effect. Now suddenly nothing is
>>working again, always empty page and IllegalStateException!!!
>>Several systems all with this setup pure without any additional web app
>>have this problem!
>>
>>Please please help, what is the problem???
>>
>>
>>
>>2003-05-19 14:50:06 StandardWrapperValve[Cocoon2]: Servlet.service() for
>>servlet Cocoon2 threw exception
>>java.lang.IllegalStateException
>>	at
>>org.apache.coyote.tomcat4.CoyoteResponseFacade.reset(CoyoteResponseFacade.java:251)
>>	at
>>org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1115)
>>	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:260)
>>	at
>>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
>>	at
>>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
>>	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>>	at
>>org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
>>	at
>>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
>>	at
>>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
>>	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>>	at
>>org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
>>	at
>>org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
>>	at
>>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
>>	at
>>org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
>>	at
>>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
>>	at
>>org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
>>	at
>>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
>>	at
>>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
>>	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>>	at
>>org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
>>	at
>>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
>>	at
>>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
>>	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>>	at
>>org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
>>	at
>>org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:432)
>>	at
>>org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:386)
>>	at
>>org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534)
>>	at
>>org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:530)
>>	at java.lang.Thread.run(Thread.java:536)
>>
>>
>>
>>
>>---------------------------------------------------------------------
>>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