I already got a wierd problem with client-side saving. Mine was solved by
adding this to the application-config part of my web.xml.

<context-param>
   <param-name>org.apache.myfaces.adf.CLIENT_STATE_METHOD</param-name>
   <param-value>all</param-value>
 </context-param>

Does this helps?


On 6/14/07, Adam Winer <[EMAIL PROTECTED]> wrote:

On 6/14/07, Hans Reip <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I am trying to use trinidad together with other tomahawk and SUN RI
> components. The view technology is JSP. So I followed the instructions
for
> installing trinidad from the myFaces page. Some JSP work but others
don't.
>
> I get the following message after I submit the form :
>
> ### backing-bean method -> start ###
> 14.06.2007 10:10:00 com.test.twa.reuse.logging.PerformanceLogAdviceAOP
> invoke
> INFO: ***** Running time of method
> [com.test.twa.business.coffeeservice.IConsumerService.getConsumerData]
is: 0
> ms
> ## return string is: editConsumer ##
> 14.06.2007 10:10:00 org.apache.myfaces.trinidad.context.RenderingContext
> attach
> WARNUNG: Trying to attach RenderingContext to a thread that already had
one.
> 14.06.2007 10:10:00 com.test.twa.reuse.logging.PerformanceLogAdviceAOP
> invoke
> INFO: ***** Running time of method
> [
com.test.twa.business.coffeeservice.IConsumerService.getConsumerOverview]
> is: 0 ms
>
> I get this message many times until a StackOverflowError occurs:
>
> FATAL: Servlet.service() for servlet Faces Servlet threw exception
> java.lang.StackOverflowError
>         at org.apache.catalina.connector.Request.doGetSession(
Request.java:2190)
>         at org.apache.catalina.connector.Request.getSession(Request.java
:2031)
>         at
> org.apache.catalina.connector.RequestFacade.getSession(
RequestFacade.java:832)
>         ...

Can you give us a longer stack trace?  We need to see what
part of the stack is recursive.

-- Adam


>         ...
>
> Why does this error occur only at some JSPs, and why only when the
> STATE_SAVING_METHOD is "client"?
>
> By the way: if the STATE_SAVING_METHOD is "server" it works so far, but
> there still is the following warning:
> ...
> 14.06.2007 09:59:30
> org.apache.myfaces.trinidadinternal.renderkit.core.CoreRenderKit
> encodeFinally
> WARNING: No AdfRenderingContext available
> ...
> What does ths warning mean?
>
> Thanks in advance
> Hans
> --
> View this message in context:
http://www.nabble.com/-Trinidad--RenderingContext-Error-when-STATE_SAVING_METHODis-%22client%22-tf3920348.html#a11115961
> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>
>

Reply via email to