myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Niklas <co...@dniklas.de>
Subject [Trinidad] problems with 2.0 - statis quo?
Date Thu, 21 Oct 2010 12:17:25 GMT

Hi folks,

we are currently on jsf/trinidad 1.1 within a portal environment (portlet
1.0). We are planning an upgrade to JSF/Trinidad and Portlet 2.0.
Just know i am beginning with some trinidad hello-worlds. I hope you can
give me some advice!

Problem 1 - trinidad and myfaces
--------------------------------
Serverside state saving is not working?! I get the following Exception:

SCHWERWIEGEND: An exception occurred
javax.faces.application.ViewExpiredException: /pages/test.facesNo saved view
state could be found for the view identifier: /pages/test.faces
        at
org.apache.myfaces.lifecycle.RestoreViewExecutor.execute(RestoreViewExecutor.java:128)
        at
org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:171)
        at
org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:189)
        at
org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:527)
        at
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1216)
        at
org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:280)
        at
org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:186)
        at
org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
        at
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1187)
        at
org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:421)
        at
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)
        at
org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:493)
        at
org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:225)
        at
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:930)
        at
org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:358)
        at
org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183)
        at
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:866)
        at
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
        at
org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:245)
        at
org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:126)
        at
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:113)
        at org.eclipse.jetty.server.Server.handle(Server.java:351)
        at
org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:594)
        at
org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.java:1059)
        at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:764)
        at
org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:217)
        at
org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:424)
        at
org.eclipse.jetty.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:506)
        at
org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:436)
        at java.lang.Thread.run(Thread.java:619)



Problem 2 - trinidad and mojarra
--------------------------------
This does not work at all?! I get the following Exception:

java.lang.NullPointerException
	at
org.apache.myfaces.trinidadinternal.config.dispatch.ContentTypeAndCharacterSet.<init>(ContentTypeAndCharacterSet.java:42)
	at
org.apache.myfaces.trinidadinternal.config.dispatch.DispatchServletResponse.setContentType(DispatchServletResponse.java:39)
	at
javax.servlet.ServletResponseWrapper.setContentType(ServletResponseWrapper.java:140)
	at
org.eclipse.jetty.servlet.DefaultServlet.writeHeaders(DefaultServlet.java:881)
	at
org.eclipse.jetty.servlet.DefaultServlet.sendData(DefaultServlet.java:764)
	at org.eclipse.jetty.servlet.DefaultServlet.doGet(DefaultServlet.java:465)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:527)


Best regards
Daniel



-- 
View this message in context: http://old.nabble.com/-Trinidad--problems-with-2.0---statis-quo--tp30018933p30018933.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.


Mime
View raw message