Am 13.12.10 21:28, schrieb ken keller:
primefaces&  richfaces teams seem to dismiss myfaces. Maybe the myfaces team
should get closer to these teams. Latest icefaces might not work w/ myfaces:
http://jira.icefaces.org/browse/ICE-5858


Actually the error on the Icefaces side indicates they use some implementation specific classes from Mojarra. Not sure why they are programming against the implementation at all, I assume it has to do with their delta ajaxing. To my knowledge icefaces has done that in the past as well, and they were going to stop to program directly against the implementation. Guess not yet. I contacted them also a while ago to contact me if they need something regarding myfaces and that I am eager to help out.
But I have yet to hear more from them.


Primefaces does not dismiss myfaces, I contacted Cagatay a while ago to ask whether he had problems and what he needs to have fixed, and he is testing against us. Have in mind Cagatay still is committer on MyFaces and member of the ASF so he is hardly dismissing us :-)

As for Richfaces I dont kow what they are up to, I got a couple of bugs a while ago from them which I fixed, since then I have not heard too much from them. I contacted once one of those guys regarding more feedback and he told me basically that they filed the bugs they found. Must have been the ones I fixed.




Werner


<http://jira.icefaces.org/browse/ICE-5858>Being a Java programmer isn't easy
:)

On Mon, Dec 13, 2010 at 12:23 PM, Werner Punz<werner.p...@gmail.com>  wrote:

Ok outside of the crypto stuff I do not see any problem.
Try to remove the encryption alltogether for a quick testing and see if it
resolves your problem (also turn it off).
The problem also could be primefaces related.
With the exact crypto config i also had problems (I think the documentation
is not entirely correct on our page there, I noticed that after a while I
got viewexpiredexceptions with that one)

What myfaces version do you use. I did my testing on 2.0.2 but my testcase
was rather basic:

http://2.testinck4040.appspot.com/welcome.jsf


Werner



Am 13.12.10 20:28, schrieb Nikolay Rychkov:

<?xml version="1.0" encoding="utf-8"?>
<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee";
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
          xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd";>
     <display-name>
         Sight www.agost.ru
     </display-name>
     <description>
         I really need www.agost.ru
     </description>

     <context-param>


  
<param-name>org.apache.myfaces.config.annotation.LifecycleProvider</param-name>


  
<param-value>org.apache.myfaces.config.annotation.NoInjectionAnnotationLifecycleProvider</param-value>
     </context-param>
    <!--
             Need to set a secret to avoid
javax.crypto.BadPaddingException.
             "param-value" must be Base64 encoded.
             More details:
http://wiki.apache.org/myfaces/Secure_Your_Application
          -->
         <context-param>
             <param-name>org.apache.myfaces.SECRET</param-name>
             <param-value>xxxxx</param-value>
         </context-param>

     <!-- ***** GAE 1.3.0 appears to handle server-side state saving. *****
  -->
     <!--<context-param>-->
         <!--<param-name>javax.faces.STATE_SAVING_METHOD</param-name>-->
         <!--<param-value>server</param-value>-->
     <!--</context-param>-->
     <context-param>
         <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
         <param-value>.xhtml</param-value>
     </context-param>

     <servlet-mapping>
         <servlet-name>Faces Servlet</servlet-name>
         <url-pattern>*.do</url-pattern>
     </servlet-mapping>
     <!-- Faces Servlet -->
     <servlet>
         <servlet-name>Faces Servlet</servlet-name>
         <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
     </servlet>
     <session-config>
         <session-timeout>10</session-timeout>
     </session-config>
     <welcome-file-list>
         <welcome-file>index.do</welcome-file>
         <!--<welcome-file>index.jsp</welcome-file>-->
         <!--<welcome-file>index.xhtml</welcome-file>-->
         <!--<welcome-file>index.html</welcome-file>-->
     </welcome-file-list>
         <context-param>
     <param-name>javax.faces.PROJECT_STAGE</param-name>
     <param-value>Production</param-value>
     </context-param>
     <context-param>
         <param-name>primefaces.skin</param-name>
         <param-value>none</param-value>
     </context-param>
     <error-page>


  <exception-type>javax.faces.application.ViewExpiredException</exception-type>
         <location>/sessionerror.xhtml</location>
     </error-page>

     <!--<context-param>-->
     <!--<param-name>javax.faces.FACELETS_SKIP_COMMENTS</param-name>-->
     <!--<param-value>true</param-value>-->
     <!--</context-param>-->
     <!--<context-param>-->
     <!--<param-name>com.sun.faces.allowTextChildren</param-name>-->
     <!--<param-value>true</param-value>-->
     <!--</context-param>-->
     <!--<servlet>-->
     <!--<servlet-name>Resource Servlet</servlet-name>-->


  <!--<servlet-class>org.primefaces.resource.ResourceServlet</servlet-class>-->
     <!--</servlet>-->
     <!--<servlet-mapping>-->
     <!--<servlet-name>Resource Servlet</servlet-name>-->
     <!--<url-pattern>/primefaces_resource/*</url-pattern>-->
     <!--</servlet-mapping>-->
</web-app>

2010/12/13 Werner Punz<werner.p...@gmail.com>

  Hi can you show me your web.xml,
I have done some extensive jsf testing on the weekend with gae and did
not
have this error.


Werner

Am 13.12.10 18:45, schrieb Nikolay Rychkov:

  I have this error in every page on GAE:

What is it?



java.lang.IllegalStateException: STREAM
at org.mortbay.jetty.Response.getWriter(Response.java:616)
at


javax.servlet.ServletResponseWrapper.getWriter(ServletResponseWrapper.java:115)
at


org.apache.myfaces.context.servlet.ServletExternalContextImpl.getResponseOutputWriter(ServletExternalContextImpl.java:184)
at


org.apache.myfaces.shared_impl.view.JspViewDeclarationLanguageBase.renderView(JspViewDeclarationLanguageBase.java:154)
at


org.apache.myfaces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:263)
at


org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:85)
at

org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:239)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:191)
at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:390)
at


org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
at


com.google.apphosting.utils.jetty.DevAppEngineWebAppContext.handle(DevAppEngineWebAppContext.java:70)
at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:327)
at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:126)
at


com.google.appengine.tools.development.StaticFileUtils.serveWelcomeFileAsForward(StaticFileUtils.java:80)
at


com.google.appengine.tools.development.LocalResourceFileServlet.maybeServeWelcomeFile(LocalResourceFileServlet.java:247)
at


com.google.appengine.tools.development.LocalResourceFileServlet.doGet(LocalResourceFileServlet.java:120)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:693)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
at


org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)
at


com.google.appengine.api.blobstore.dev.ServeBlobFilter.doFilter(ServeBlobFilter.java:58)
at


org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at


com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java:43)
at


org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at


com.google.appengine.tools.development.StaticFileFilter.doFilter(StaticFileFilter.java:122)
at


org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
at


org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
at


com.google.apphosting.utils.jetty.DevAppEngineWebAppContext.handle(DevAppEngineWebAppContext.java:70)
at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at


com.google.appengine.tools.development.JettyContainerService$ApiProxyHandler.handle(JettyContainerService.java:349)
at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
at


org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:923)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:547)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
at


org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
at


org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)











Reply via email to