empty instances being passed on submit

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

empty instances being passed on submit

Doug Young

Hi,

  We have an OPS 3.0 application running on tomcat & apache.

We have three different sets of unix machines running the same apache tomcat and OPS.

On two of the systems our application works fine, on the third when a submission is triggered the instances passed to the called xpl file is empty. Even though the log file shows the value of the instance in the calling page to contain the correct information.

 

I have turned on xserver logging and added debugs to my processors

 

on the machine that does not work a bit of the log file looks like

 

xxf:event-response xmlns:xxf="http://orbeon.org/oxf/xml/xforms">

    <xxf:dynamic-state>session:BB037272-84BC-C134-C1CA-A2872E32C7F7</xxf:dynamic-state>

    <xxf:action>

        <xxf:control-values/>

        <xxf:divs/>

        <xxf:itemsets/>

    </xxf:action>

</xxf:event-response>

Ajp13Processor[8011][39] INFO  webapp.ProcessorService - /xforms-server - Timing: 259 - Cache hits: 266, fault: 1, adds: 0, success rate: 99%

Ajp13Processor[8011][18] INFO  webapp.ProcessorService - /common/getSummaryAndGraphInfo - Received request

Ajp13Processor[8011][18] INFO  processor.DebugProcessor - dddinstanceGetSummaryAndGraphInfo1:

oxf:/common-xpl/getSummaryAndGraphInfo.xpl, line 11, column 91

 

<null xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"></null>

 

the first thing I noticed was that the control-values element was empty on the machine that does not work, in the log from the working version it was

        <xxf:control-values>

            <xxf:control id="facilityID">195</xxf:control>

            <xxf:control id="xforms-element-44" readonly="false"/>

        </xxf:control-values>

 

secondly I noticed that there were far more xserver events on the machine that works

TP-Processor12 INFO  webapp.ProcessorService - /xforms-server - Timing: 206 - Cache hits: 293, fault: 2, adds: 1, success rate: 99%

TP-Processor6 INFO  webapp.ProcessorService - /xforms-server - Received request

TP-Processor6 DEBUG processor.XFormsServer - XForms - session cache: found and refreshed entry.

TP-Processor6 DEBUG processor.XFormsServer - XForms - session cache: found and refreshed entry.

TP-Processor6 DEBUG processor.XFormsServer - XForms - containing document cache (getContainingDocument): found containing document pool in cache; getting document from pool.

TP-Processor6 DEBUG processor.XFormsServer - XForms - dispatching event: xxforms-initialize-state - main-model - at XFormsContainingDocument.java, line 475, column -1

TP-Processor6 DEBUG processor.XFormsServer - XForms - dispatching event: xforms-revalidate - main-model - at XFormsModel.java, line 675, column -1

TP-Processor6 DEBUG processor.XFormsServer - XForms - dispatching event: DOMFocusIn - xforms-element-44 - at XFormsEventFactory.java, line 94, column -1

TP-Processor6 DEBUG processor.XFormsServer - XForms - dispatching event: xxforms-initialize-state - main-model - at XFormsContainingDocument.java, line 475, column -1

TP-Processor6 DEBUG processor.XFormsServer - XForms - dispatching event: xforms-revalidate - main-model - at XFormsModel.java, line 675, column -1

TP-Processor6 DEBUG processor.XFormsServer - XForms - dispatching event: DOMActivate - xforms-element-44 - at XFormsEventFactory.java, line 42, column -1

TP-Processor6 DEBUG processor.XFormsServer - XForms - dispatching event: xforms-submit - getPEAs-submission - at XFormsControls.java, line 2186, column -1

TP-Processor6 DEBUG processor.XFormsServer - XForms - dispatching event: xforms-revalidate - main-model - at XFormsModelSubmission.java, line 204, column -1

TP-Processor7 INFO  webapp.ProcessorService - /common/getSummaryAndGraphInfo - Received request

 

 

thirdly the instance passed into the called xpl file is totally empty its reported as <null>…</null>

 

I have attached the two excerpts from the log files.

 

Any ideas ?

 

thanks

 Doug

 

Doug Young

Software Engineer

 

Teleflex IT

1 Michaelson Square
Livingston
West Lothian
Scotland
EH54 7DP

+44 (0) 1506 407107

 



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws

devextract.txt (4K) Download Attachment
prodextract.txt (1016 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

RE: empty instances being passed on submit

Ryan Puddephatt

Hi all,

            I have looked at the HTTPRequest made from the problem machine and a working one, they both send the same information, so it definitely looks like it is a server side problem.

 

Ryan Puddephatt

Software Engineer

TFX Group - IT UK

1 Michaelson Square

Livingston

West Lothian

Scotand

EH54 7DP

 

* [hidden email]

( 01506 407 110

7  01506 407 108

 


From: Doug Young [mailto:[hidden email]]
Sent: 22 March 2006 17:04
To: [hidden email]
Subject: [ops-users] empty instances being passed on submit

 

Hi,

  We have an OPS 3.0 application running on tomcat & apache.

We have three different sets of unix machines running the same apache tomcat and OPS.

On two of the systems our application works fine, on the third when a submission is triggered the instances passed to the called xpl file is empty. Even though the log file shows the value of the instance in the calling page to contain the correct information.

 

I have turned on xserver logging and added debugs to my processors

 

on the machine that does not work a bit of the log file looks like

 

xxf:event-response xmlns:xxf="http://orbeon.org/oxf/xml/xforms">

    <xxf:dynamic-state>session:BB037272-84BC-C134-C1CA-A2872E32C7F7</xxf:dynamic-state>

    <xxf:action>

        <xxf:control-values/>

        <xxf:divs/>

        <xxf:itemsets/>

    </xxf:action>

</xxf:event-response>

Ajp13Processor[8011][39] INFO  webapp.ProcessorService - /xforms-server - Timing: 259 - Cache hits: 266, fault: 1, adds: 0, success rate: 99%

Ajp13Processor[8011][18] INFO  webapp.ProcessorService - /common/getSummaryAndGraphInfo - Received request

Ajp13Processor[8011][18] INFO  processor.DebugProcessor - dddinstanceGetSummaryAndGraphInfo1:

oxf:/common-xpl/getSummaryAndGraphInfo.xpl, line 11, column 91

 

<null xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"></null>

 

the first thing I noticed was that the control-values element was empty on the machine that does not work, in the log from the working version it was

        <xxf:control-values>

            <xxf:control id="facilityID">195</xxf:control>

            <xxf:control id="xforms-element-44" readonly="false"/>

        </xxf:control-values>

 

secondly I noticed that there were far more xserver events on the machine that works

TP-Processor12 INFO  webapp.ProcessorService - /xforms-server - Timing: 206 - Cache hits: 293, fault: 2, adds: 1, success rate: 99%

TP-Processor6 INFO  webapp.ProcessorService - /xforms-server - Received request

TP-Processor6 DEBUG processor.XFormsServer - XForms - session cache: found and refreshed entry.

TP-Processor6 DEBUG processor.XFormsServer - XForms - session cache: found and refreshed entry.

TP-Processor6 DEBUG processor.XFormsServer - XForms - containing document cache (getContainingDocument): found containing document pool in cache; getting document from pool.

TP-Processor6 DEBUG processor.XFormsServer - XForms - dispatching event: xxforms-initialize-state - main-model - at XFormsContainingDocument.java, line 475, column -1

TP-Processor6 DEBUG processor.XFormsServer - XForms - dispatching event: xforms-revalidate - main-model - at XFormsModel.java, line 675, column -1

TP-Processor6 DEBUG processor.XFormsServer - XForms - dispatching event: DOMFocusIn - xforms-element-44 - at XFormsEventFactory.java, line 94, column -1

TP-Processor6 DEBUG processor.XFormsServer - XForms - dispatching event: xxforms-initialize-state - main-model - at XFormsContainingDocument.java, line 475, column -1

TP-Processor6 DEBUG processor.XFormsServer - XForms - dispatching event: xforms-revalidate - main-model - at XFormsModel.java, line 675, column -1

TP-Processor6 DEBUG processor.XFormsServer - XForms - dispatching event: DOMActivate - xforms-element-44 - at XFormsEventFactory.java, line 42, column -1

TP-Processor6 DEBUG processor.XFormsServer - XForms - dispatching event: xforms-submit - getPEAs-submission - at XFormsControls.java, line 2186, column -1

TP-Processor6 DEBUG processor.XFormsServer - XForms - dispatching event: xforms-revalidate - main-model - at XFormsModelSubmission.java, line 204, column -1

TP-Processor7 INFO  webapp.ProcessorService - /common/getSummaryAndGraphInfo - Received request

 

 

thirdly the instance passed into the called xpl file is totally empty its reported as <null>…</null>

 

I have attached the two excerpts from the log files.

 

Any ideas ?

 

thanks

 Doug

 

Doug Young

Software Engineer

 

Teleflex IT

1 Michaelson Square
Livingston
West Lothian
Scotland
EH54 7DP

+44 (0) 1506 407107

 



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: empty instances being passed on submit

Alessandro  Vernet
Administrator
Doug/Ryan,

This is with a <xforms:submission replace="instance">, right?

Ryan, are you saying that the Ajax HTTP request is the same in both
cases (working vs. non-working)? You can see what is sent by the
client and what is returned by the server by adding debugs on the
input and output of <p:processor name="oxf:xforms-server"> in
xforms-server.xpl.

Alex

On 3/23/06, Ryan Puddephatt <[hidden email]> wrote:

>
>
>
> Hi all,
>
>             I have looked at the HTTPRequest made from the problem machine
> and a working one, they both send the same information, so it definitely
> looks like it is a server side problem.
>
>
>
>
> Ryan Puddephatt
>
> Software Engineer
>
> TFX Group - IT UK
>
>
> 1 Michaelson Square
>
> Livingston
>
> West Lothian
>
>
> Scotand
>
> EH54 7DP
>
>
>
> * [hidden email]
>
> ( 01506 407 110
>
> 7  01506 407 108
>
>
>
>
>  ________________________________
>
>
> From: Doug Young [mailto:[hidden email]]
>  Sent: 22 March 2006 17:04
>  To: [hidden email]
>  Subject: [ops-users] empty instances being passed on submit
>
>
>
>
> Hi,
>
>   We have an OPS 3.0 application running on tomcat & apache.
>
> We have three different sets of unix machines running the same apache tomcat
> and OPS.
>
> On two of the systems our application works fine, on the third when a
> submission is triggered the instances passed to the called xpl file is
> empty. Even though the log file shows the value of the instance in the
> calling page to contain the correct information.
>
>
>
> I have turned on xserver logging and added debugs to my processors
>
>
>
> on the machine that does not work a bit of the log file looks like
>
>
>
> xxf:event-response
> xmlns:xxf="http://orbeon.org/oxf/xml/xforms">
>
>
> <xxf:dynamic-state>session:BB037272-84BC-C134-C1CA-A2872E32C7F7</xxf:dynamic-state>
>
>     <xxf:action>
>
>         <xxf:control-values/>
>
>         <xxf:divs/>
>
>         <xxf:itemsets/>
>
>     </xxf:action>
>
> </xxf:event-response>
>
> Ajp13Processor[8011][39] INFO  webapp.ProcessorService - /xforms-server -
> Timing: 259 - Cache hits: 266, fault: 1, adds: 0, success rate: 99%
>
> Ajp13Processor[8011][18] INFO  webapp.ProcessorService -
> /common/getSummaryAndGraphInfo - Received request
>
> Ajp13Processor[8011][18] INFO  processor.DebugProcessor -
> dddinstanceGetSummaryAndGraphInfo1:
>
> oxf:/common-xpl/getSummaryAndGraphInfo.xpl, line 11, column
> 91
>
>
>
> <null xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:nil="true"></null>
>
>
>
> the first thing I noticed was that the control-values element was empty on
> the machine that does not work, in the log from the working version it was
>
>         <xxf:control-values>
>
>             <xxf:control id="facilityID">195</xxf:control>
>
>             <xxf:control id="xforms-element-44" readonly="false"/>
>
>         </xxf:control-values>
>
>
>
> secondly I noticed that there were far more xserver events on the machine
> that works
>
> TP-Processor12 INFO  webapp.ProcessorService - /xforms-server - Timing: 206
> - Cache hits: 293, fault: 2, adds: 1, success rate: 99%
>
> TP-Processor6 INFO  webapp.ProcessorService - /xforms-server - Received
> request
>
> TP-Processor6 DEBUG processor.XFormsServer - XForms - session cache: found
> and refreshed entry.
>
> TP-Processor6 DEBUG processor.XFormsServer - XForms - session cache: found
> and refreshed entry.
>
> TP-Processor6 DEBUG processor.XFormsServer - XForms - containing document
> cache (getContainingDocument): found containing document pool in cache;
> getting document from pool.
>
> TP-Processor6 DEBUG processor.XFormsServer - XForms - dispatching event:
> xxforms-initialize-state - main-model - at XFormsContainingDocument.java,
> line 475, column -1
>
> TP-Processor6 DEBUG processor.XFormsServer - XForms - dispatching event:
> xforms-revalidate - main-model - at XFormsModel.java, line 675, column -1
>
> TP-Processor6 DEBUG processor.XFormsServer - XForms - dispatching event:
> DOMFocusIn - xforms-element-44 - at XFormsEventFactory.java, line 94, column
> -1
>
> TP-Processor6 DEBUG processor.XFormsServer - XForms - dispatching event:
> xxforms-initialize-state - main-model - at XFormsContainingDocument.java,
> line 475, column -1
>
> TP-Processor6 DEBUG processor.XFormsServer - XForms - dispatching event:
> xforms-revalidate - main-model - at XFormsModel.java, line 675, column -1
>
> TP-Processor6 DEBUG processor.XFormsServer - XForms - dispatching event:
> DOMActivate - xforms-element-44 - at XFormsEventFactory.java, line 42,
> column -1
>
> TP-Processor6 DEBUG processor.XFormsServer - XForms - dispatching event:
> xforms-submit - getPEAs-submission - at XFormsControls.java, line 2186,
> column -1
>
> TP-Processor6 DEBUG processor.XFormsServer - XForms - dispatching event:
> xforms-revalidate - main-model - at XFormsModelSubmission.java, line 204,
> column -1
>
> TP-Processor7 INFO  webapp.ProcessorService - /common/getSummaryAndGraphInfo
> - Received request
>
>
>
>
>
> thirdly the instance passed into the called xpl file is totally empty its
> reported as <null>…</null>
>
>
>
> I have attached the two excerpts from the log files.
>
>
>
> Any ideas ?
>
>
>
> thanks
>
>  Doug
>
>
>
> Doug Young
>
> Software Engineer
>
>
>
> Teleflex IT
>
> 1 Michaelson Square
>  Livingston
>  West Lothian
>  Scotland
>  EH54 7DP
>
>
> +44 (0) 1506 407107
>
>
>
>
> --
> 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
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>
>
>

--
Blog (XML, Web apps, Open Source):
http://www.orbeon.com/blog/



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

RE: empty instances being passed on submit

Ryan Puddephatt
Alex,
        Correct we are doing a replace="instance", I checked what was being
sent to the server by AJAX and in both cases it was the same, but the
returning data was different. Doug put a debug on the input param to the XPL
file and it was showing <null/> so some where between the data being sent to
the Xforms Engine and the call to the XPL being made, the data is being
lost! Could it be an authorization problem again?

Hope this helps

Ryan Puddephatt
Software Engineer
TFX Group - IT UK
1 Michaelson Square
Livingston
West Lothian
Scotand
EH54 7DP
 
* [hidden email]
( 01506 407 110
7  01506 407 108
 

>-----Original Message-----
>From: [hidden email] [mailto:[hidden email]] On Behalf Of Alessandro
>Vernet
>Sent: 24 March 2006 01:35
>To: [hidden email]
>Subject: Re: [ops-users] empty instances being passed on submit
>
>Doug/Ryan,
>
>This is with a <xforms:submission replace="instance">, right?
>
>Ryan, are you saying that the Ajax HTTP request is the same in both
>cases (working vs. non-working)? You can see what is sent by the
>client and what is returned by the server by adding debugs on the
>input and output of <p:processor name="oxf:xforms-server"> in
>xforms-server.xpl.
>
>Alex
>
>On 3/23/06, Ryan Puddephatt <[hidden email]> wrote:
>>
>>
>>
>> Hi all,
>>
>>             I have looked at the HTTPRequest made from the problem
>machine
>> and a working one, they both send the same information, so it definitely
>> looks like it is a server side problem.
>>
>>
>>
>>
>> Ryan Puddephatt
>>
>> Software Engineer
>>
>> TFX Group - IT UK
>>
>>
>> 1 Michaelson Square
>>
>> Livingston
>>
>> West Lothian
>>
>>
>> Scotand
>>
>> EH54 7DP
>>
>>
>>
>> * [hidden email]
>>
>> ( 01506 407 110
>>
>> 7  01506 407 108
>>
>>
>>
>>
>>  ________________________________
>>
>>
>> From: Doug Young [mailto:[hidden email]]
>>  Sent: 22 March 2006 17:04
>>  To: [hidden email]
>>  Subject: [ops-users] empty instances being passed on submit
>>
>>
>>
>>
>> Hi,
>>
>>   We have an OPS 3.0 application running on tomcat & apache.
>>
>> We have three different sets of unix machines running the same apache
>tomcat
>> and OPS.
>>
>> On two of the systems our application works fine, on the third when a
>> submission is triggered the instances passed to the called xpl file is
>> empty. Even though the log file shows the value of the instance in the
>> calling page to contain the correct information.
>>
>>
>>
>> I have turned on xserver logging and added debugs to my processors
>>
>>
>>
>> on the machine that does not work a bit of the log file looks like
>>
>>
>>
>> xxf:event-response
>> xmlns:xxf="http://orbeon.org/oxf/xml/xforms">
>>
>>
>> <xxf:dynamic-state>session:BB037272-84BC-C134-C1CA-
>A2872E32C7F7</xxf:dynamic-state>
>>
>>     <xxf:action>
>>
>>         <xxf:control-values/>
>>
>>         <xxf:divs/>
>>
>>         <xxf:itemsets/>
>>
>>     </xxf:action>
>>
>> </xxf:event-response>
>>
>> Ajp13Processor[8011][39] INFO  webapp.ProcessorService - /xforms-server -
>> Timing: 259 - Cache hits: 266, fault: 1, adds: 0, success rate: 99%
>>
>> Ajp13Processor[8011][18] INFO  webapp.ProcessorService -
>> /common/getSummaryAndGraphInfo - Received request
>>
>> Ajp13Processor[8011][18] INFO  processor.DebugProcessor -
>> dddinstanceGetSummaryAndGraphInfo1:
>>
>> oxf:/common-xpl/getSummaryAndGraphInfo.xpl, line 11, column
>> 91
>>
>>
>>
>> <null xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>> xsi:nil="true"></null>
>>
>>
>>
>> the first thing I noticed was that the control-values element was empty
>on
>> the machine that does not work, in the log from the working version it
>was
>>
>>         <xxf:control-values>
>>
>>             <xxf:control id="facilityID">195</xxf:control>
>>
>>             <xxf:control id="xforms-element-44" readonly="false"/>
>>
>>         </xxf:control-values>
>>
>>
>>
>> secondly I noticed that there were far more xserver events on the machine
>> that works
>>
>> TP-Processor12 INFO  webapp.ProcessorService - /xforms-server - Timing:
>206
>> - Cache hits: 293, fault: 2, adds: 1, success rate: 99%
>>
>> TP-Processor6 INFO  webapp.ProcessorService - /xforms-server - Received
>> request
>>
>> TP-Processor6 DEBUG processor.XFormsServer - XForms - session cache:
>found
>> and refreshed entry.
>>
>> TP-Processor6 DEBUG processor.XFormsServer - XForms - session cache:
>found
>> and refreshed entry.
>>
>> TP-Processor6 DEBUG processor.XFormsServer - XForms - containing document
>> cache (getContainingDocument): found containing document pool in cache;
>> getting document from pool.
>>
>> TP-Processor6 DEBUG processor.XFormsServer - XForms - dispatching event:
>> xxforms-initialize-state - main-model - at XFormsContainingDocument.java,
>> line 475, column -1
>>
>> TP-Processor6 DEBUG processor.XFormsServer - XForms - dispatching event:
>> xforms-revalidate - main-model - at XFormsModel.java, line 675, column -1
>>
>> TP-Processor6 DEBUG processor.XFormsServer - XForms - dispatching event:
>> DOMFocusIn - xforms-element-44 - at XFormsEventFactory.java, line 94,
>column
>> -1
>>
>> TP-Processor6 DEBUG processor.XFormsServer - XForms - dispatching event:
>> xxforms-initialize-state - main-model - at XFormsContainingDocument.java,
>> line 475, column -1
>>
>> TP-Processor6 DEBUG processor.XFormsServer - XForms - dispatching event:
>> xforms-revalidate - main-model - at XFormsModel.java, line 675, column -1
>>
>> TP-Processor6 DEBUG processor.XFormsServer - XForms - dispatching event:
>> DOMActivate - xforms-element-44 - at XFormsEventFactory.java, line 42,
>> column -1
>>
>> TP-Processor6 DEBUG processor.XFormsServer - XForms - dispatching event:
>> xforms-submit - getPEAs-submission - at XFormsControls.java, line 2186,
>> column -1
>>
>> TP-Processor6 DEBUG processor.XFormsServer - XForms - dispatching event:
>> xforms-revalidate - main-model - at XFormsModelSubmission.java, line 204,
>> column -1
>>
>> TP-Processor7 INFO  webapp.ProcessorService -
>/common/getSummaryAndGraphInfo
>> - Received request
>>
>>
>>
>>
>>
>> thirdly the instance passed into the called xpl file is totally empty its
>> reported as <null>.</null>
>>
>>
>>
>> I have attached the two excerpts from the log files.
>>
>>
>>
>> Any ideas ?
>>
>>
>>
>> thanks
>>
>>  Doug
>>
>>
>>
>> Doug Young
>>
>> Software Engineer
>>
>>
>>
>> Teleflex IT
>>
>> 1 Michaelson Square
>>  Livingston
>>  West Lothian
>>  Scotland
>>  EH54 7DP
>>
>>
>> +44 (0) 1506 407107
>>
>>
>>
>>
>> --
>> 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
>> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>>
>>
>>
>
>
>--
>Blog (XML, Web apps, Open Source):
>http://www.orbeon.com/blog/




--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: empty instances being passed on submit

Alessandro  Vernet
Administrator
Ryan,

If there was an authorization problem, the request made by the XForms
server would be blocked and the XPL file would not be called. In this
case it is called, so this indicates that this is not an
authentication problem.

Try replacing the file ops/pfc/xforms-xml-submission.xpl in the
resources with the copy attached which includes a number of debugs.
Run your test case again, and send us the part of the log that shows
the XML documents that go through the "debug" in this pipeline.

Alex

On 3/24/06, Ryan Puddephatt <[hidden email]> wrote:

> Alex,
>         Correct we are doing a replace="instance", I checked what was being
> sent to the server by AJAX and in both cases it was the same, but the
> returning data was different. Doug put a debug on the input param to the XPL
> file and it was showing <null/> so some where between the data being sent to
> the Xforms Engine and the call to the XPL being made, the data is being
> lost! Could it be an authorization problem again?
>
> Hope this helps
>
> Ryan Puddephatt
> Software Engineer
> TFX Group - IT UK
> 1 Michaelson Square
> Livingston
> West Lothian
> Scotand
> EH54 7DP
>
> * [hidden email]
> ( 01506 407 110
> 7  01506 407 108
>
>
> >-----Original Message-----
> >From: [hidden email] [mailto:[hidden email]] On Behalf Of Alessandro
> >Vernet
> >Sent: 24 March 2006 01:35
> >To: [hidden email]
> >Subject: Re: [ops-users] empty instances being passed on submit
> >
> >Doug/Ryan,
> >
> >This is with a <xforms:submission replace="instance">, right?
> >
> >Ryan, are you saying that the Ajax HTTP request is the same in both
> >cases (working vs. non-working)? You can see what is sent by the
> >client and what is returned by the server by adding debugs on the
> >input and output of <p:processor name="oxf:xforms-server"> in
> >xforms-server.xpl.
> >
> >Alex
> >
> >On 3/23/06, Ryan Puddephatt <[hidden email]> wrote:
> >>
> >>
> >>
> >> Hi all,
> >>
> >>             I have looked at the HTTPRequest made from the problem
> >machine
> >> and a working one, they both send the same information, so it definitely
> >> looks like it is a server side problem.
> >>
> >>
> >>
> >>
> >> Ryan Puddephatt
> >>
> >> Software Engineer
> >>
> >> TFX Group - IT UK
> >>
> >>
> >> 1 Michaelson Square
> >>
> >> Livingston
> >>
> >> West Lothian
> >>
> >>
> >> Scotand
> >>
> >> EH54 7DP
> >>
> >>
> >>
> >> * [hidden email]
> >>
> >> ( 01506 407 110
> >>
> >> 7  01506 407 108
> >>
> >>
> >>
> >>
> >>  ________________________________
> >>
> >>
> >> From: Doug Young [mailto:[hidden email]]
> >>  Sent: 22 March 2006 17:04
> >>  To: [hidden email]
> >>  Subject: [ops-users] empty instances being passed on submit
> >>
> >>
> >>
> >>
> >> Hi,
> >>
> >>   We have an OPS 3.0 application running on tomcat & apache.
> >>
> >> We have three different sets of unix machines running the same apache
> >tomcat
> >> and OPS.
> >>
> >> On two of the systems our application works fine, on the third when a
> >> submission is triggered the instances passed to the called xpl file is
> >> empty. Even though the log file shows the value of the instance in the
> >> calling page to contain the correct information.
> >>
> >>
> >>
> >> I have turned on xserver logging and added debugs to my processors
> >>
> >>
> >>
> >> on the machine that does not work a bit of the log file looks like
> >>
> >>
> >>
> >> xxf:event-response
> >> xmlns:xxf="http://orbeon.org/oxf/xml/xforms">
> >>
> >>
> >> <xxf:dynamic-state>session:BB037272-84BC-C134-C1CA-
> >A2872E32C7F7</xxf:dynamic-state>
> >>
> >>     <xxf:action>
> >>
> >>         <xxf:control-values/>
> >>
> >>         <xxf:divs/>
> >>
> >>         <xxf:itemsets/>
> >>
> >>     </xxf:action>
> >>
> >> </xxf:event-response>
> >>
> >> Ajp13Processor[8011][39] INFO  webapp.ProcessorService - /xforms-server -
> >> Timing: 259 - Cache hits: 266, fault: 1, adds: 0, success rate: 99%
> >>
> >> Ajp13Processor[8011][18] INFO  webapp.ProcessorService -
> >> /common/getSummaryAndGraphInfo - Received request
> >>
> >> Ajp13Processor[8011][18] INFO  processor.DebugProcessor -
> >> dddinstanceGetSummaryAndGraphInfo1:
> >>
> >> oxf:/common-xpl/getSummaryAndGraphInfo.xpl, line 11, column
> >> 91
> >>
> >>
> >>
> >> <null xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> >> xsi:nil="true"></null>
> >>
> >>
> >>
> >> the first thing I noticed was that the control-values element was empty
> >on
> >> the machine that does not work, in the log from the working version it
> >was
> >>
> >>         <xxf:control-values>
> >>
> >>             <xxf:control id="facilityID">195</xxf:control>
> >>
> >>             <xxf:control id="xforms-element-44" readonly="false"/>
> >>
> >>         </xxf:control-values>
> >>
> >>
> >>
> >> secondly I noticed that there were far more xserver events on the machine
> >> that works
> >>
> >> TP-Processor12 INFO  webapp.ProcessorService - /xforms-server - Timing:
> >206
> >> - Cache hits: 293, fault: 2, adds: 1, success rate: 99%
> >>
> >> TP-Processor6 INFO  webapp.ProcessorService - /xforms-server - Received
> >> request
> >>
> >> TP-Processor6 DEBUG processor.XFormsServer - XForms - session cache:
> >found
> >> and refreshed entry.
> >>
> >> TP-Processor6 DEBUG processor.XFormsServer - XForms - session cache:
> >found
> >> and refreshed entry.
> >>
> >> TP-Processor6 DEBUG processor.XFormsServer - XForms - containing document
> >> cache (getContainingDocument): found containing document pool in cache;
> >> getting document from pool.
> >>
> >> TP-Processor6 DEBUG processor.XFormsServer - XForms - dispatching event:
> >> xxforms-initialize-state - main-model - at XFormsContainingDocument.java,
> >> line 475, column -1
> >>
> >> TP-Processor6 DEBUG processor.XFormsServer - XForms - dispatching event:
> >> xforms-revalidate - main-model - at XFormsModel.java, line 675, column -1
> >>
> >> TP-Processor6 DEBUG processor.XFormsServer - XForms - dispatching event:
> >> DOMFocusIn - xforms-element-44 - at XFormsEventFactory.java, line 94,
> >column
> >> -1
> >>
> >> TP-Processor6 DEBUG processor.XFormsServer - XForms - dispatching event:
> >> xxforms-initialize-state - main-model - at XFormsContainingDocument.java,
> >> line 475, column -1
> >>
> >> TP-Processor6 DEBUG processor.XFormsServer - XForms - dispatching event:
> >> xforms-revalidate - main-model - at XFormsModel.java, line 675, column -1
> >>
> >> TP-Processor6 DEBUG processor.XFormsServer - XForms - dispatching event:
> >> DOMActivate - xforms-element-44 - at XFormsEventFactory.java, line 42,
> >> column -1
> >>
> >> TP-Processor6 DEBUG processor.XFormsServer - XForms - dispatching event:
> >> xforms-submit - getPEAs-submission - at XFormsControls.java, line 2186,
> >> column -1
> >>
> >> TP-Processor6 DEBUG processor.XFormsServer - XForms - dispatching event:
> >> xforms-revalidate - main-model - at XFormsModelSubmission.java, line 204,
> >> column -1
> >>
> >> TP-Processor7 INFO  webapp.ProcessorService -
> >/common/getSummaryAndGraphInfo
> >> - Received request
> >>
> >>
> >>
> >>
> >>
> >> thirdly the instance passed into the called xpl file is totally empty its
> >> reported as <null>.</null>
> >>
> >>
> >>
> >> I have attached the two excerpts from the log files.
> >>
> >>
> >>
> >> Any ideas ?
> >>
> >>
> >>
> >> thanks
> >>
> >>  Doug
> >>
> >>
> >>
> >> Doug Young
> >>
> >> Software Engineer
> >>
> >>
> >>
> >> Teleflex IT
> >>
> >> 1 Michaelson Square
> >>  Livingston
> >>  West Lothian
> >>  Scotland
> >>  EH54 7DP
> >>
> >>
> >> +44 (0) 1506 407107
> >>
> >>
> >>
> >>
> >> --
> >> 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
> >> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
> >>
> >>
> >>
> >
> >
> >--
> >Blog (XML, Web apps, Open Source):
> >http://www.orbeon.com/blog/
>
>
>
>
>
>
> --
> 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
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>
>
>

--
Blog (XML, Web apps, Open Source):
http://www.orbeon.com/blog/


--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws

xforms-xml-submission.xpl Download Attachment
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: empty instances being passed on submit

Alessandro  Vernet
Administrator
It looks like the file I attached was empty. Here is it again.

Alex


--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws

xforms-xml-submission.xpl (10K) Download Attachment
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: empty instances being passed on submit

Colin O'Brien
Hi Alex,

sorry, I have been out of the office and have hundreds of unread OPS
list email! Since this was at the top of the list when I opened my OPS
folder, it caught my eye.

Don't have any additional info of substance, except to say that I saw
something like this just before I went on my travels. Since it was in a
part of the system I was not giving to the client, I didn't prioritize
investigating it.

It didn't happen on every submission (and I think it was only from the
one form out of three). I was theorizing that it might be related to
the sequence in which I clicked into, and typed into, different fields.

Will take me a day or two to get up to speed to look at it again - just
wanted to encourage you (and Ryan) that this is not exclusive to Ryan.

I believe I was using the nightly build of 2006/03/11 03:26

Thanks & regards
Colin




--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws