Sorry, I forgot my environment:

Win2K
jdk1.3.1_03
tomcat 4.1.3
cocoon 2.0.3

:)

> -----Original Message-----
> From: Matthew Hailstone 
> Sent: Wednesday, August 28, 2002 10:15 AM
> To: [EMAIL PROTECTED]
> Subject: xsp-session:invalidate
> 
> 
> I have a simple xsp file that includes the following:
> 
> <?xml version="1.0" encoding="ISO-8859-1"?>
> <xsp:page
>     language="java"
>     xmlns:xsp="http://apache.org/xsp";
>     xmlns:xsp-session="http://apache.org/xsp/session/2.0";>
>     <xsp-session:invalidate/>
> </xsp:page>
> 
> Here is the portion of the sitemap that selects this xsp file:
> 
>       <map:match pattern="reset">
>         <map:generate type="serverpages" src="logic/reset.xsp"/>
>         <map:redirect-to uri="form"/>
>       </map:match>
> 
> 
> I get the following error:
> 
> org.apache.cocoon.ProcessingException: Language Exception:
> org.apache.cocoon.components.language.LanguageException: 
> Error compiling
> reset_xsp:
> Line 64, column 24:   expected
> Line 64, column 14:  cannot access class invalidate; file 
> session\invalidate.class not found Line 0, column 0: 
> 2 errors
> 
>       at 
> org.apache.cocoon.components.language.generator.ProgramGenerat
> orImpl.cre
> ateResource(ProgramGeneratorImpl.java:340)
>       at 
> org.apache.cocoon.components.language.generator.ProgramGenerat
> orImpl.loa
> d(ProgramGeneratorImpl.java:292)
>       at 
> org.apache.cocoon.generation.ServerPagesGenerator.setup(Server
> PagesGener
> ator.java:198)
>       at 
> org.apache.cocoon.components.pipeline.AbstractEventPipeline.se
> tupPipelin
> e(AbstractEventPipeline.java:202)
>       at 
> org.apache.cocoon.components.pipeline.CachingEventPipeline.set
> up(Caching
> EventPipeline.java:278)
>       at 
> org.apache.cocoon.components.pipeline.CachingEventPipeline.gen
> erateKey(C
> achingEventPipeline.java:141)
>       at 
> org.apache.cocoon.components.pipeline.CachingStreamPipeline.pr
> ocess(Cach
> ingStreamPipeline.java:317)
>       at 
> org.apache.cocoon.www.eval.sitemap_xmap.matchN1004D(D:\apps\Tomcat
> 4.1\work\Standalone\localhost\cocoon203\cocoon-files\org/apach
> e/cocoon/w
> ww/eval\sitemap_xmap.java:676)
>       at 
> org.apache.cocoon.www.eval.sitemap_xmap.process(D:\apps\Tomcat
> 4.1\work\Standalone\localhost\cocoon203\cocoon-files\org/apach
> e/cocoon/w
> ww/eval\sitemap_xmap.java:448)
>       at 
> org.apache.cocoon.www.eval.sitemap_xmap.process(D:\apps\Tomcat
> 4.1\work\Standalone\localhost\cocoon203\cocoon-files\org/apach
> e/cocoon/w
> ww/eval\sitemap_xmap.java:373)
>       at org.apache.cocoon.sitemap.Handler.process(Handler.java:224)
>       at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:179)
>       at org.apache.cocoon.www.sitemap_xmap.matchN10697(D:\apps\Tomcat
> 4.1\work\Standalone\localhost\cocoon203\cocoon-files\org/apach
> e/cocoon/w
> ww\sitemap_xmap.java:7860)
>       at org.apache.cocoon.www.sitemap_xmap.process(D:\apps\Tomcat
> 4.1\work\Standalone\localhost\cocoon203\cocoon-files\org/apach
> e/cocoon/w
> ww\sitemap_xmap.java:3663)
>       at org.apache.cocoon.www.sitemap_xmap.process(D:\apps\Tomcat
> 4.1\work\Standalone\localhost\cocoon203\cocoon-files\org/apach
> e/cocoon/w
> ww\sitemap_xmap.java:3166)
>       at org.apache.cocoon.sitemap.Handler.process(Handler.java:224)
>       at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:179)
>       at 
> org.apache.cocoon.sitemap.SitemapManager.process(SitemapManage
> r.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.internalDoFilt
> er(Applica
> tionFilterChain.java:247)
>       at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(Appli
> cationFilt
> erChain.java:193)
>       at 
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardW
> rapperValv
> e.java:260)
>       at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.i
> nvokeNext(StandardPipeline.java:646)
>       at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.java:4
> 83)
>       at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>       at 
> org.apache.catalina.core.StandardContextValve.invoke(StandardC
> ontextValv
> e.java:191)
>       at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.i
> nvokeNext(StandardPipeline.java:646)
>       at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.java:4
> 83)
>       at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>       at 
> org.apache.catalina.core.StandardContext.invoke(StandardContex
> t.java:234
> 9)
>       at 
> org.apache.catalina.core.StandardHostValve.invoke(StandardHost
> Valve.java
> :180)
>       at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.i
> nvokeNext(StandardPipeline.java:646)
>       at 
> org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDi
> spatcherVa
> lve.java:170)
>       at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.i
> nvokeNext(StandardPipeline.java:644)
>       at 
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReport
> Valve.java
> :171)
>       at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.i
> nvokeNext(StandardPipeline.java:644)
>       at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.java:4
> 83)
>       at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>       at 
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEn
> gineValve.
> java:174)
>       at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.i
> nvokeNext(StandardPipeline.java:646)
>       at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.java:4
> 83)
>       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(Http11Process
> or.java:40
> 5)
>       at 
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandle
> r.processC
> onnection(Http11Protocol.java:376)
>       at 
> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoi
> nt.java:50
> 8)
>       at 
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
> ThreadPool
> .java:518)
>       at java.lang.Thread.run(Thread.java:479)
> 
> 
> Any thoughts?
> 
> Thanks.
> 
> Matthew
> 
> ---------------------------------------------------------------------
> 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:     <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
> 
> 

---------------------------------------------------------------------
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:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to