Xforms warning message as another submission requires a second pass

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

Xforms warning message as another submission requires a second pass

venkata subrahmanyam
Hi,
In our log file when system is very slow we found around continuously 1000 + lines of warning when 35 users are working concurrently as

WARN XFormsModelSubmission: XForms - submission - another submission requiring a second pass already exists  (_TaskList_WAR_orbeon_INSTANCE_rMgH_onchange-submission). Ignoring new
submission (_TaskList_WAR_orbeon_INSTANCE_rMgH_save-submission).


Even the above Warning message appeared Connection reset by peer : socket write error

OUR CODE IS :

<xforms:submission id="save-submission" ref="instance('main-instance')"  method="post"  action="/usertasklist/edit">     
<xforms:message ev:event="xforms-submit-error" level="modal"> Please fill in all the mandatory  fields </xforms:message>
</xforms:submission>
                               

 <xforms:group ref="instance('control-instance')/endtask-trigger">
              <xforms:action ev:event="DOMActivate">
<xforms:setvalue ref="instance('main-instance')/request//processname" value="if(instance('main-instance')/request//processname='') then instance('main-instance')//newprocessname else instance('main-instance')/request//processname"></xforms:setvalue>

<xforms:setvalue ref="instance('main-instance')/request//processversion" value="if(instance('main-instance')/request//processversion='') then instance('main-instance')//newprocessversion else instance('main-instance')/request//processversion"></xforms:setvalue>
....
        <xforms:send submission="complete-submission"/>
         </xforms:action>
                                       
        <xforms:trigger appearance="minimal">
                <xforms:label>
                <xhtml:img src="/images/complete-task.jpg" alt="Complete Task"/>
                </xforms:label>
        </xforms:trigger>
                                     
    </xforms:group> 


When will the message come?
Is there any wrong with the above code. When a single user submits it is not giving any warning.  The message appear some times only. We found 10 to 20 times in a day. But some times continuously 300+ , 500+ lines of warning and system slow.
We are using liferay + ops3.7 in clustered nodes.
Any suggesstion?

Reply | Threaded
Open this post in threaded view
|

Re: Xforms warning message as another submission requires a second pass

Erik Bruchez
Administrator
This can be due to either more than one submission with replace="all"  
occurring during a single Ajax request, or more than one submission  
attempting to cause background uploads occurring during a single Ajax  
request. I assume you are using xforms:upload?

-Erik

On Feb 21, 2009, at 5:40 PM, subrahmanyam wrote:

>
> Hi,
> In our log file when system is very slow we found around  
> continuously 1000 +
> lines of warning when 35 users are working concurrently as
>
> WARN XFormsModelSubmission: XForms - submission - another submission
> requiring a second pass already exists
> (_TaskList_WAR_orbeon_INSTANCE_rMgH_onchange-submission). Ignoring new
> submission (_TaskList_WAR_orbeon_INSTANCE_rMgH_save-submission).
>
> Even the above Warning message appeared Connection reset by peer :  
> socket
> write error
>
> OUR CODE IS :
>
> <xforms:submission id="save-submission" ref="instance('main-
> instance')"
> method="post"  action="/usertasklist/edit">    
> <xforms:message ev:event="xforms-submit-error" level="modal"> Please  
> fill in
> all the mandatory  fields </xforms:message>
> </xforms:submission>
>
>
> <xforms:group ref="instance('control-instance')/endtask-trigger">
>              <xforms:action ev:event="DOMActivate">
> <xforms:setvalue ref="instance('main-instance')/request//processname"
> value="if(instance('main-instance')/request//processname='') then
> instance('main-instance')//newprocessname else
> instance('main-instance')/request//processname"></xforms:setvalue>
>
> <xforms:setvalue ref="instance('main-instance')/request//
> processversion"
> value="if(instance('main-instance')/request//processversion='') then
> instance('main-instance')//newprocessversion else
> instance('main-instance')/request//processversion"></xforms:setvalue>
> ....
> <xforms:send submission="complete-submission"/>
>         </xforms:action>
>
> <xforms:trigger appearance="minimal">
> <xforms:label>
> <xhtml:img src="/images/complete-task.jpg" alt="Complete Task"/>
> </xforms:label>
> </xforms:trigger>
>
>    </xforms:group>
>
>
> When will the message come?
> Is there any wrong with the above code. When a single user submits  
> it is not
> giving any warning.  The message appear some times only. We found 10  
> to 20
> times in a day. But some times continuously 300+ , 500+ lines of  
> warning and
> system slow.
> We are using liferay + ops3.7 in clustered nodes.
> Any suggesstion?
>
>
> --
> View this message in context: http://www.nabble.com/Xforms-warning-message-as-another-submission-requires-a-second-pass-tp22142494p22142494.html
> Sent from the ObjectWeb OPS - Users mailing list archive at  
> Nabble.com.
>
>
> --
> 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
--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
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
Reply | Threaded
Open this post in threaded view
|

Re: Xforms warning message as another submission requires a second pass

venkata subrahmanyam
<quote author="Erik Bruchez">
This can be due to either more than one submission with replace="all"  
occurring during a single Ajax request, or more than one submission  
attempting to cause background uploads occurring during a single Ajax  
request. I assume you are using xforms:upload?
-Erik

Hi Erik,
We are not using xforms:upload at all, even our submission is default (replace="all") . We found that our  java processor going to a long loop about 40,000+ at that time we found more warning messages as "another submission requires a second pass ...". ( we changed our java code so solve this)

We used xforms-state-handling as "server" resulting in repid increase of WEB-INF/exist-data size daily 1GB and some of the threads are blocked for some seconds result in system very slow.

We modified xforms-state-handling as "client" now and system working well now ( no exist-data increases no slowness now)
Thanks for your support.
Reply | Threaded
Open this post in threaded view
|

Re: Re: Xforms warning message as another submission requires a second pass

Erik Bruchez
Administrator
Glad you found a workaround! Hopefully we can fix the eXist-related  
issue soon.

-Erik

On Mar 10, 2009, at 8:05 AM, subrahmanyam wrote:

>
>
> This can be due to either more than one submission with replace="all"
> occurring during a single Ajax request, or more than one submission
> attempting to cause background uploads occurring during a single Ajax
> request. I assume you are using xforms:upload?
> -Erik
>
> Hi Erik,
> We are not using xforms:upload at all, even our submission is default
> (replace="all") . We found that our  java processor going to a long  
> loop
> about 40,000+ at that time we found more warning messages as "another
> submission requires a second pass ...". ( we changed our java code  
> so solve
> this)
>
> We used xforms-state-handling as "server" resulting in repid  
> increase of
> WEB-INF/exist-data size daily 1GB and some of the threads are  
> blocked for
> some seconds result in system very slow.
>
> We modified xforms-state-handling as "client" now and system working  
> well
> now ( no exist-data increases no slowness now)
> Thanks for your support.
>
> --
> View this message in context: http://www.nabble.com/Xforms-warning-message-as-another-submission-requires-a-second-pass-tp22142494p22436289.html
> Sent from the ObjectWeb OPS - Users mailing list archive at  
> Nabble.com.
>
>
> --
> 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
--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
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