Hi Mustafa,

which version of RIFE are you using?

On 18 Oct 2006, at 08:58, mustafa sener wrote:

Hi all,
I have a problem with usage of defer() method in Element. I am using a PRE element before all of the elements in my site. This PRE element is print an error message with print(Template) method and then calling defer method. It seems to work, and I get the returned error message correctly. However, when I lokked at log messages I see:

06:56:09.592 ERROR! [P1-19] org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java: 593) >11> /MyWebApp/listItems
java.lang.IllegalStateException: Committed
at org.mortbay.jetty.servlet.ServletHttpResponse.resetBuffer (ServletHttpResponse.java:212) at org.mortbay.jetty.servlet.ServletHttpResponse.sendError (ServletHttpResponse.java:378) at org.mortbay.jetty.servlet.ServletHttpResponse.sendError (ServletHttpResponse.java:430)
    at org.mortbay.jetty.servlet.Default.handleGet(Default.java:266)
    at org.mortbay.jetty.servlet.Default.service(Default.java:223)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at org.mortbay.jetty.servlet.ServletHolder.handle (ServletHolder.java:428) at org.mortbay.jetty.servlet.WebApplicationHandler $CachedChain.doFilter(WebApplicationHandler.java:830)
    at com.uwyn.rife.servlet.RifeFilter.doFilter(RifeFilter.java:138)
at org.mortbay.jetty.servlet.WebApplicationHandler $CachedChain.doFilter(WebApplicationHandler.java:821) at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch (WebApplicationHandler.java:471) at org.mortbay.jetty.servlet.ServletHandler.handle (ServletHandler.java:568)
    at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
at org.mortbay.jetty.servlet.WebApplicationContext.handle (WebApplicationContext.java:633)
    at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
    at org.mortbay.http.HttpServer.service(HttpServer.java:909)
at org.mortbay.http.HttpConnection.service(HttpConnection.java: 820) at org.mortbay.http.HttpConnection.handleNext (HttpConnection.java:986)
    at org.mortbay.http.HttpConnection.handle(HttpConnection.java:837)
at org.mortbay.http.SocketListener.handleConnection (SocketListener.java:245)
    at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
    at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)

I cannot understand what is the problem here. Please help...

Mustafa


Do you Yahoo!?
Get on board. You're invited to try the new Yahoo! Mail.
_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users

--
Geert Bevin
Uwyn "Use what you need" - http://uwyn.com
RIFE Java application framework - http://rifers.org
Music and words - http://gbevin.com


_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users

Reply via email to