<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
<html xmlns="http://www.w3.org/1999/xhtml";
      xmlns:f="http://java.sun.com/jsf/core";
      xmlns:h="http://java.sun.com/jsf/html";
      xmlns:p="http://primefaces.prime.com.tr/ui";
      xmlns:ui="http://java.sun.com/jsf/facelets";
        >
<h:head>
    <title></title>
</h:head>

<h:body>

    <h:form id="Form">
        <h1>#{msgs.VvediteGrapmmlDocument}</h1>
        <h:panelGrid id="Grid" columns="3">
            #{msgs.KluchGraphml}
            <h:inputText id="Key"
value="#{graphmlInputBean.key}"></h:inputText>
            <h:message for="Key" showSummary="true" showDetail="false"/>

            #{msgs.ImyaFaila}
            <h:inputText id="File"
value="#{graphmlInputBean.fileName}"></h:inputText>
            <h:message for="File" showSummary="true" showDetail="false"/>
        </h:panelGrid>

        <h:panelGrid>
            #{msgs.Body}
            <h:inputTextarea id="Body" value="#{graphmlInputBean.body}"
cols="100" rows="20"></h:inputTextarea>
            <h:message for="Body" showSummary="true" showDetail="false"/>


            <h:commandButton value="#{msgs.Ok}"
actionListener="#{graphmlInputOperator.addGraphml}"/>
        </h:panelGrid>
    </h:form>


    <h:panelGrid columns="2">
        <h:outputText value="#{msgs.KluchGraphml}"/> <h:outputText
value="#{graphmlInputBean.key}"/>
        <h:outputText value="#{msgs.ImyaFaila}"/> <h:outputText
value="#{graphmlInputBean.fileName}"/>
    </h:panelGrid>

    <h:outputText value="#{msgs.Body}"/> <h:outputText
value="#{graphmlInputBean.body}" />

</h:body>
</html>

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

> Mhh can you make a small snapshot of the program, just one page and the
> configuration you use, so that I can look more deeply into the problem
> tomorrow?
>
>
> Werner
>
>
> Am 13.12.10 21:57, schrieb Nikolay Rychkov:
>
>  I removed
>> <context-param>
>>             <param-name>org.apache.myfaces.SECRET</param-name>
>>             <param-value>xxx</param-value>
>>         </context-param>
>>
>> but problem still exists
>>
>> I use MyFaces 2.0.2
>>
>>
>> 2010/12/13 Werner Punz<werner.p...@gmail.com>
>>
>>  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