Re: [appengine-java] Re: JSF 2.0.1 java.lang.ClassNotFoundException: void

2009-11-28 Thread Derek Berube
A simple project (where the JSF2 framework initializes and a default page is 
displayed) is available at Google Code: http://code.google.com/p/jsf2template/. 
 This is the source code for the application I wrote developing the tutorial 
for configuring a JSF 2 project to run on Google App Engine - 
http://jsf2template.appspot.com/.

Derek


On Nov 23, 2009, at 1:55 PM, Alexandre Calvão wrote:

 Does anyone have a archetype project for GAE, whith the JSF Working ?
 
 I could not do this think work.
  
 Thanks
 
 
  
 2009/11/20 addy.bhardwaj addy.bhard...@gmail.com
 I had a similar issue. The way I fixed it was to configure state
 saving to client rather than server. For details check my blog
 http://consultingblogs.emc.com/jaddy/archive/2009/11/20/jsf2-in-google-app-engine.aspx
 
 Let me know if this fixes your problem.
 
 On Nov 12, 6:15 pm, Mirco Attocchi ami...@gmail.com wrote:
  Problem using majorra 2.0.1 and GAE 1.2.6, but some times pages render
  correctly.
 
  javax.servlet.ServletException: java.lang.RuntimeException:
  java.lang.ClassNotFoundException: void
  at com.google.apphosting.runtime.jetty.AppVersionHandlerMap.handle
  (AppVersionHandlerMap.java:240)
  at org.mortbay.jetty.handler.HandlerWrapper.handle
  (HandlerWrapper.java:139)
  at org.mortbay.jetty.Server.handle(Server.java:313)
  at 
  org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:
  506)
  at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete
  (HttpConnection.java:830)
  at 
  com.google.apphosting.runtime.jetty.RpcRequestParser.parseAvailable
  (RpcRequestParser.java:76)
  at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)
  at
  com.google.apphosting.runtime.jetty.JettyServletEngineAdapter.serviceReques 
  t
  (JettyServletEngineAdapter.java:139)
  at com.google.apphosting.runtime.JavaRuntime.handleRequest
  (JavaRuntime.java:239)
  at com.google.apphosting.base.RuntimePb$EvaluationRuntime
  $6.handleBlockingRequest(RuntimePb.java:5135)
  at com.google.apphosting.base.RuntimePb$EvaluationRuntime
  $6.handleBlockingRequest(RuntimePb.java:5133)
  at com.google.net.rpc.impl.BlockingApplicationHandler.handleRequest
  (BlockingApplicationHandler.java:24)
  at com.google.net.rpc.impl.RpcUtil.runRpcInApplication(RpcUtil.java:
  363)
  at com.google.net.rpc.impl.Server$2.run(Server.java:814)
  at com.google.tracing.LocalTraceSpanRunnable.run
  (LocalTraceSpanRunnable.java:56)
  at com.google.tracing.LocalTraceSpanBuilder.internalContinueSpan
  (LocalTraceSpanBuilder.java:516)
  at com.google.net.rpc.impl.Server.startRpc(Server.java:769)
  at com.google.net.rpc.impl.Server.processRequest(Server.java:351)
  at com.google.net.rpc.impl.ServerConnection.messageReceived
  (ServerConnection.java:437)
  at com.google.net.rpc.impl.RpcConnection.parseMessages
  (RpcConnection.java:319)
  at com.google.net.rpc.impl.RpcConnection.dataReceived
  (RpcConnection.java:290)
  at com.google.net.async.Connection.handleReadEvent(Connection.java:
  436)
  at com.google.net.async.EventDispatcher.processNetworkEvents
  (EventDispatcher.java:762)
  at com.google.net.async.EventDispatcher.internalLoop
  (EventDispatcher.java:207)
  at com.google.net.async.EventDispatcher.loop(EventDispatcher.java:
  101)
  at com.google.net.rpc.RpcService.runUntilServerShutdown
  (RpcService.java:251)
  at com.google.apphosting.runtime.JavaRuntime$RpcRunnable.run
  (JavaRuntime.java:396)
  at java.lang.Thread.run(Unknown Source)
  Caused by: java.lang.RuntimeException:
  java.lang.ClassNotFoundException: void
  at com.google.apphosting.runtime.jetty.SessionManager.deserialize
  (SessionManager.java:389)
  at com.google.apphosting.runtime.jetty.SessionManager.loadSession
  (SessionManager.java:307)
  at com.google.apphosting.runtime.jetty.SessionManager.getSession
  (SessionManager.java:282)
  at org.mortbay.jetty.servlet.AbstractSessionManager.getHttpSession
  (AbstractSessionManager.java:237)
  at org.mortbay.jetty.Request.getSession(Request.java:998)
  at
  com.sun.faces.application.WebappLifecycleListener.syncSessionScopedBeans
  (WebappLifecycleListener.java:393)
  at 
  com.sun.faces.application.WebappLifecycleListener.requestDestroyed
  (WebappLifecycleListener.java:117)
  at com.sun.faces.config.ConfigureListener.requestDestroyed
  (ConfigureListener.java:341)
  at org.mortbay.jetty.handler.ContextHandler.handle
  (ContextHandler.java:725)
  at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:
  405)
  at com.google.apphosting.runtime.jetty.AppVersionHandlerMap.handle
  (AppVersionHandlerMap.java:238)
  ... 27 more
  Caused by: java.lang.ClassNotFoundException: void
  at 

[appengine-java] Re: JSF 2.0.1 java.lang.ClassNotFoundException: void

2009-11-23 Thread addy.bhardwaj
I had a similar issue. The way I fixed it was to configure state
saving to client rather than server. For details check my blog
http://consultingblogs.emc.com/jaddy/archive/2009/11/20/jsf2-in-google-app-engine.aspx

Let me know if this fixes your problem.

On Nov 12, 6:15 pm, Mirco Attocchi ami...@gmail.com wrote:
 Problem using majorra 2.0.1 and GAE 1.2.6, but some times pages render
 correctly.

 javax.servlet.ServletException: java.lang.RuntimeException:
 java.lang.ClassNotFoundException: void
         at com.google.apphosting.runtime.jetty.AppVersionHandlerMap.handle
 (AppVersionHandlerMap.java:240)
         at org.mortbay.jetty.handler.HandlerWrapper.handle
 (HandlerWrapper.java:139)
         at org.mortbay.jetty.Server.handle(Server.java:313)
         at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:
 506)
         at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete
 (HttpConnection.java:830)
         at com.google.apphosting.runtime.jetty.RpcRequestParser.parseAvailable
 (RpcRequestParser.java:76)
         at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)
         at
 com.google.apphosting.runtime.jetty.JettyServletEngineAdapter.serviceReques t
 (JettyServletEngineAdapter.java:139)
         at com.google.apphosting.runtime.JavaRuntime.handleRequest
 (JavaRuntime.java:239)
         at com.google.apphosting.base.RuntimePb$EvaluationRuntime
 $6.handleBlockingRequest(RuntimePb.java:5135)
         at com.google.apphosting.base.RuntimePb$EvaluationRuntime
 $6.handleBlockingRequest(RuntimePb.java:5133)
         at com.google.net.rpc.impl.BlockingApplicationHandler.handleRequest
 (BlockingApplicationHandler.java:24)
         at com.google.net.rpc.impl.RpcUtil.runRpcInApplication(RpcUtil.java:
 363)
         at com.google.net.rpc.impl.Server$2.run(Server.java:814)
         at com.google.tracing.LocalTraceSpanRunnable.run
 (LocalTraceSpanRunnable.java:56)
         at com.google.tracing.LocalTraceSpanBuilder.internalContinueSpan
 (LocalTraceSpanBuilder.java:516)
         at com.google.net.rpc.impl.Server.startRpc(Server.java:769)
         at com.google.net.rpc.impl.Server.processRequest(Server.java:351)
         at com.google.net.rpc.impl.ServerConnection.messageReceived
 (ServerConnection.java:437)
         at com.google.net.rpc.impl.RpcConnection.parseMessages
 (RpcConnection.java:319)
         at com.google.net.rpc.impl.RpcConnection.dataReceived
 (RpcConnection.java:290)
         at com.google.net.async.Connection.handleReadEvent(Connection.java:
 436)
         at com.google.net.async.EventDispatcher.processNetworkEvents
 (EventDispatcher.java:762)
         at com.google.net.async.EventDispatcher.internalLoop
 (EventDispatcher.java:207)
         at com.google.net.async.EventDispatcher.loop(EventDispatcher.java:
 101)
         at com.google.net.rpc.RpcService.runUntilServerShutdown
 (RpcService.java:251)
         at com.google.apphosting.runtime.JavaRuntime$RpcRunnable.run
 (JavaRuntime.java:396)
         at java.lang.Thread.run(Unknown Source)
 Caused by: java.lang.RuntimeException:
 java.lang.ClassNotFoundException: void
         at com.google.apphosting.runtime.jetty.SessionManager.deserialize
 (SessionManager.java:389)
         at com.google.apphosting.runtime.jetty.SessionManager.loadSession
 (SessionManager.java:307)
         at com.google.apphosting.runtime.jetty.SessionManager.getSession
 (SessionManager.java:282)
         at org.mortbay.jetty.servlet.AbstractSessionManager.getHttpSession
 (AbstractSessionManager.java:237)
         at org.mortbay.jetty.Request.getSession(Request.java:998)
         at
 com.sun.faces.application.WebappLifecycleListener.syncSessionScopedBeans
 (WebappLifecycleListener.java:393)
         at com.sun.faces.application.WebappLifecycleListener.requestDestroyed
 (WebappLifecycleListener.java:117)
         at com.sun.faces.config.ConfigureListener.requestDestroyed
 (ConfigureListener.java:341)
         at org.mortbay.jetty.handler.ContextHandler.handle
 (ContextHandler.java:725)
         at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:
 405)
         at com.google.apphosting.runtime.jetty.AppVersionHandlerMap.handle
 (AppVersionHandlerMap.java:238)
         ... 27 more
 Caused by: java.lang.ClassNotFoundException: void
         at com.google.appengine.runtime.Request.process-7a0672406190a0e0
 (Request.java)
         ... 35 more

--

You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=.