loosing session values in xforms-ready event

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

loosing session values in xforms-ready event

james s
Hi,

I am using nighly build and not able to get my values stored in session in xforms-ready event. I am able to get those values in normal button submission. Morever I am getting following warning message in my server console :

SessionContext.getIHttpSession: id XCVn8O-jifjxp63LrfmSKpH failed length check against 27
No error on UI.

I attached source code. ( zipped the entire folder). Suprisingly this code is working fine in 3.6 version.

Please see the log message from log4j... ( I enabled logging also)

2008-06-30 18:11:23,615 DEBUG XFormsServer  - XForms - event - dispatching {name: "xforms-ready", id: "main-model", location: "line 154 of XFormsEventFactory.java"}
2008-06-30 18:11:23,615 DEBUG XFormsServer  - XForms -   action - executing {action name: "action"}
2008-06-30 18:11:23,615 DEBUG XFormsServer  - XForms -     action - executing {action name: "send"}
2008-06-30 18:11:23,615 DEBUG XFormsServer  - XForms -       event - dispatching {name: "xforms-submit", id: "get", location: "line 49 of XFormsSendAction.java"}
2008-06-30 18:11:23,615 DEBUG XFormsServer  - XForms -         model - performing revalidate {model id: "main-model"}
2008-06-30 18:11:23,615 DEBUG XFormsServer  - XForms -         event - dispatching {name: "xxforms-valid", id: "test1", location: "line 911 of XFormsModel.java"}
2008-06-30 18:11:23,615 DEBUG XFormsServer  - XForms -         event - dispatching {name: "xxforms-valid", id: "test", location: "line 911 of XFormsModel.java"}
2008-06-30 18:11:23,615 DEBUG XFormsServer  - XForms -         model - done revalidating {model id: "main-model", time: "0"}
2008-06-30 18:11:23,615 DEBUG XFormsServer  - XForms -         event - dispatching {name: "xforms-submit-serialize", id: "get", location: "line 564 of XFormsModelSubmission.java"}
2008-06-30 18:11:23,615 DEBUG XFormsServer  - XForms -         submission - opening URL connection {URL: "http://localhost:9082/orbeon3.7/retrievesession/get"}
2008-06-30 18:11:23,615 DEBUG XFormsServer  - XForms -         submission - setting cookie {JSESSIONID: "URGxg3CbkXHvl64JgVPnbai"}
2008-06-30 18:11:23,615 DEBUG XFormsServer  - XForms -         submission - setting request body {mediatype: "application/xml", body: "<?xml version="1.0" encoding="UTF-8"?><test xmlns:xxforms="http://orbeon.org/oxf/xml/xforms" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xforms="http://www.w3.org/2002/xforms" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:xi="http://www.w3.org/2001/XInclude" xml:base="input:data">
                                        <value>testdata</value>
                                </test>"}
2008-06-30 18:11:23,615 INFO  ProcessorService  - /retrievesession/get - Received request
2008-06-30 18:11:23,646 INFO  ProcessorService  - /retrievesession/get - Timing: 31 - Cache hits for cache.main: 242, fault: 29, adds: 29, expirations: 27, success rate: 89%
2008-06-30 18:11:23,646 WARN  XFormsServer  - XForms - submission - instance replacement did not take place upon successful response because no body was provided. Submission: get
2008-06-30 18:11:23,646 DEBUG XFormsServer  - XForms -         submission - external submission time including handling returned body {time: "31"}
2008-06-30 18:11:23,646 DEBUG XFormsServer  - XForms -         event - dispatching {name: "xforms-submit-done", id: "get", location: "line 35 of XFormsSubmitDoneEvent.java"}
2008-06-30 18:11:23,646 DEBUG XFormsServer  - XForms -         submission - total submission time {time: "31"}
2008-06-30 18:11:23,646 DEBUG XFormsServer  - XForms - event - dispatching {name: "xforms-ready", id: "orbeon-xforms-instance-inspector-model", location: "line 154 of XFormsEventFactory.java"}
2008-06-30 18:11:23,646 DEBUG XFormsServer  - XForms -   action - executing {action name: "action"}
2008-06-30 18:11:23,646 DEBUG XFormsServer  - XForms -     action - executing {action name: "action", while iteration: "1"}
2008-06-30 18:11:23,646 DEBUG XFormsServer  - XForms -       action - executing {action name: "insert"}

Thanks
Phani



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws

retrievesession.zip (6K) Download Attachment