cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sternath Elmar <elmar.stern...@siemens.com>
Subject Cannot create a session after the response has been committed
Date Fri, 25 Jul 2003 15:13:02 GMT
Hello,

I use tomcat4.1.24, cocoon 2.0.4 and JDK1.3.1_07 on Win2000 test system and Solaris. On Win2000
everything works fine, but on Solaris I get the following exception:

Original exception : java.lang.IllegalStateException: Cannot create a session after the response
has been committed at org.apache.catalina.connector.HttpRequestBase.doGetSession(HttpRequestBase.java:1182)
at org.apache.catalina.connector.HttpRequestBase.getSession(HttpRequestBase.java:1142) at
org.apache.catalina.connector.HttpRequestFacade.getSession(HttpRequestFacade.java:208) at
org.apache.cocoon.environment.http.HttpRequest.getSession(HttpRequest.java:227) at org.apache.cocoon.environment.wrapper.RequestWrapper.getSession(RequestWrapper.java:312)
at org.apache.cocoon.www.file_.pvol1.icntest.wt0957.scworkflow.xsp.GetSessionAttributes_xsp.generate(/pvol1/icntest/wt0957/jakarta-tomcat-4.1.24/work/Standalone/localhost/cocoon/cocoon-files/org/apache/cocoon/www/file_/pvol1/icntest/wt0957/scworkflow/xsp/GetSessionAttributes_xsp.java:81)
at org.apache.cocoon.generation.ServerPagesGenerator.generate(ServerPagesGenerator.java:258)
at org.apache.cocoon.components.pipeline.CachingEv!
 entPipeline.process(CachingEventPipeline.java:250) at org.apache.cocoon.components.source.SitemapSource.toSAX(SitemapSource.java:381)
at org.apache.cocoon.transformation.CIncludeTransformer.processCIncludeElement(CIncludeTransformer.java:172)
at org.apache.cocoon.transformation.CIncludeTransformer.startElement(CIncludeTransformer.java:125)
at org.apache.cocoon.components.sax.XMLTeePipe.startElement(XMLTeePipe.java:118) at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown
Source) at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
at org.apache.xerces.impl.XMLNamespaceBinder.handleStartElement(Unknown Source) at org.apache.xerces.impl.XMLNamespaceBinder.emptyElement(Unknown
Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown
Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerI!
 mpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.!
 DT!
DConfiguration.parse(Unknown Source) at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown
Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
Source) at org.apache.avalon.excalibur.xml.JaxpParser.parse(JaxpParser.java:264) at org.apache.avalon.excalibur.xml.JaxpParser.parse(JaxpParser.java:215)
at org.apache.cocoon.components.source.AbstractStreamSource.toSAX(AbstractStreamSource.java:206)
at org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:143) at org.apache.cocoon.components.pipeline.CachingEventPipeline.process(CachingEventPipeline.java:250)
at org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(CachingStreamPipeline.java:395)
at org.apache.cocoon.www.file_.pvol1.icntest.wt0957.scworkflow.sitemap_xmap.matchN10120(/pvol1/icntest/wt0957/jakarta-tomcat-4.1.24/work/Standalone/localhost/cocoon/cocoon-files/org/apache/cocoon/www/file_/pvol1/icntest/wt0957/s!
 cworkflow/sitemap_xmap.java:1856) at org.apache.cocoon.www.file_.pvol1.icntest.wt0957.scworkflow.sitemap_xmap.process(/pvol1/icntest/wt0957/jakarta-tomcat-4.1.24/work/Standalone/localhost/cocoon/cocoon-files/org/apache/cocoon/www/file_/pvol1/icntest/wt0957/scworkflow/sitemap_xmap.java:1106)
at org.apache.cocoon.www.file_.pvol1.icntest.wt0957.scworkflow.sitemap_xmap.process(/pvol1/icntest/wt0957/jakarta-tomcat-4.1.24/work/Standalone/localhost/cocoon/cocoon-files/org/apache/cocoon/www/file_/pvol1/icntest/wt0957/scworkflow/sitemap_xmap.java:1011)
at org.apache.cocoon.sitemap.Handler.process(Handler.java:227) at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:173)
at org.apache.cocoon.sitemap.AbstractSitemap.invoke(AbstractSitemap.java:308) at org.apache.cocoon.www.sitemap_xmap.matchN10366(/pvol1/icntest/wt0957/jakarta-tomcat-4.1.24/work/Standalone/localhost/cocoon/cocoon-files/org/apache/cocoon/www/sitemap_xmap.java:3942)
at org.apache.cocoon.www.sitemap_xmap.process(/pv!
 ol1/icntest/wt0957/jakarta-tomcat-4.1.24/work/Standalone/local!
 ho!
st/cocoon/cocoon-files/org/apache/cocoon/www/sitemap_xmap.java:3151) at org.apache.cocoon.www.sitemap_xmap.process(/pvol1/icntest/wt0957/jakarta-tomcat-4.1.24/work/Standalone/localhost/cocoon/cocoon-files/org/apache/cocoon/www/sitemap_xmap.java:3097)
at org.apache.cocoon.sitemap.Handler.process(Handler.java:227) at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:173)
at org.apache.cocoon.sitemap.SitemapManager.process(SitemapManager.java:152) at org.apache.cocoon.Cocoon.process(Cocoon.java:579)
at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1043) 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:256) at
org.apache.catalina.core.StandardPipeline$StandardPipelineV!
 alveContext.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:171) at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i!
 nvokeNext(StandardPipeline.java:641) at org.apache.catalina.va!
 lv!
es.ErrorReportValve.invoke(ErrorReportValve.java:172) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:509) 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.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1040) at org.apache.catalina.connector.http.HttpProces!
 sor.run(HttpProcessor.java:1151) at java.lang.Thread.run(Thread.java:479) 

Any ideas??


Mit freundlichen Grüßen/ Best regards
Elmar Sternath

Siemens AG
Information and Communication Networks
ICN IT GA ST 2 - Web Applications
Mch H/Me19 - 99801-231a

Meglinger Straße 19 (99801-231a) D-84577 München
Tel.:   +49(89)722-24045
Mobil: +49(0)160-5860351
Fax.:  +49(89)722-53384
EMail: Elmar.Sternath@siemens.com

 <<Sternath Elmar.vcf>> 

Mime
View raw message