cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luca Morandini" <luca.morandi...@tin.it>
Subject RE: xsp-session:invalidate
Date Wed, 28 Aug 2002 16:33:00 GMT
Matthew,

this works for me:

<?xml version="1.0" encoding="iso-8859-1" standalone="yes"?>
<!--

                          drop-session.xsp

    Descrizione:
	Elimina la sessone corrente.

    Storia:
    25/06/02 Luca Morandini Creazione

-->

<xsp:page
	xmlns:xsp="http://apache.org/xsp"
	xmlns:xsp-session="http://apache.org/xsp/session/2.0">

	<page>
		<xsp-session:invalidate/>
	</page>

</xsp:page>


--------------------------------------------- 
               Luca Morandini 
               GIS Consultant 
              lmorandini@ieee.org 
http://utenti.tripod.it/lmorandini/index.html 
---------------------------------------------
 

> -----Original Message-----
> From: Matthew Hailstone [mailto:matthew.hailstone@waterford.org]
> Sent: Wednesday, August 28, 2002 6:15 PM
> To: cocoon-users@xml.apache.org
> 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.ProgramGeneratorImpl.cre
> ateResource(ProgramGeneratorImpl.java:340)
> 	at
> org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.loa
> d(ProgramGeneratorImpl.java:292)
> 	at
> org.apache.cocoon.generation.ServerPagesGenerator.setup(ServerPagesGener
> ator.java:198)
> 	at
> org.apache.cocoon.components.pipeline.AbstractEventPipeline.setupPipelin
> e(AbstractEventPipeline.java:202)
> 	at
> org.apache.cocoon.components.pipeline.CachingEventPipeline.setup(Caching
> EventPipeline.java:278)
> 	at
> org.apache.cocoon.components.pipeline.CachingEventPipeline.generateKey(C
> achingEventPipeline.java:141)
> 	at
> org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(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/apache/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/apache/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/apache/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/apache/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/apache/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/apache/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(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(Applica
> tionFilterChain.java:247)
> 	at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
> erChain.java:193)
> 	at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
> e.java:260)
> 	at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
> nvokeNext(StandardPipeline.java:646)
> 	at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
> 83)
> 	at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> 	at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
> e.java:191)
> 	at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
> nvokeNext(StandardPipeline.java:646)
> 	at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
> 83)
> 	at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> 	at
> org.apache.catalina.core.StandardContext.invoke(StandardContext.java:234
> 9)
> 	at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
> :180)
> 	at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
> nvokeNext(StandardPipeline.java:646)
> 	at
> org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVa
> lve.java:170)
> 	at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
> nvokeNext(StandardPipeline.java:644)
> 	at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
> :171)
> 	at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
> nvokeNext(StandardPipeline.java:644)
> 	at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
> 83)
> 	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.i
> nvokeNext(StandardPipeline.java:646)
> 	at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.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(Http11Processor.java:40
> 5)
> 	at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC
> onnection(Http11Protocol.java:376)
> 	at
> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.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:     <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>
> 

---------------------------------------------------------------------
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:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message