Strange submission behavior

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

Strange submission behavior

Colin Berry
I have an xpl based upon the sql processor which works fine when invoked  with [xf:submission replace="instance" method='post' action="/search/sql-xpl" /] with a local client (ie both client and server are the same cpu). When I log in from home it fails. From home [xf:submission replace="all" method='post' action="/search/sql-xpl" /] works, so this isn't a firewall or address problem, as I first suspected. Now I'm thinking this has something to do with the mode and synchronous submissions. But I really don't understand. Can somebody suggest an example?
Reply | Threaded
Open this post in threaded view
|

Re: Strange submission behavior

Erik Bruchez-3
Colin,

The two types of submissions (replace="instance" and replace="all")
work differently in several ways. So it could still be due to a host
resolution issue. With reasonably recent builds, you have a property
for the resolution of service URIs:

http://wiki.orbeon.com/forms/doc/developer-guide/configuration-properties#TOC-URL-rewriting

You might want to try setting that property.

-Erik

On Tue, Jul 28, 2009 at 7:13 AM, Colin Berry<[hidden email]> wrote:

>
> I have an xpl based upon the sql processor which works fine when invoked
> with [xf:submission replace="instance" method='post'
> action="/search/sql-xpl" /] with a local client (ie both client and server
> are the same cpu). When I log in from home it fails. From home
> [xf:submission replace="all" method='post' action="/search/sql-xpl" /]
> works, so this isn't a firewall or address problem, as I first suspected.
> Now I'm thinking this has something to do with the mode and synchronous
> submissions. But I really don't understand. Can somebody suggest an example?
> --
> View this message in context: http://www.nabble.com/Strange-submission-behavior-tp24698292p24698292.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
>
>


--
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: Strange submission behavior

Colin Berry
OK I'll track this down. Looks imposing...

Erik Bruchez-3 wrote
Colin,

The two types of submissions (replace="instance" and replace="all")
work differently in several ways. So it could still be due to a host
resolution issue. With reasonably recent builds, you have a property
for the resolution of service URIs:

http://wiki.orbeon.com/forms/doc/developer-guide/configuration-properties#TOC-URL-rewriting

You might want to try setting that property.

-Erik

On Tue, Jul 28, 2009 at 7:13 AM, Colin Berry<cberrymd@yahoo.com> wrote:
>
> I have an xpl based upon the sql processor which works fine when invoked
> with [xf:submission replace="instance" method='post'
> action="/search/sql-xpl" /] with a local client (ie both client and server
> are the same cpu). When I log in from home it fails. From home
> [xf:submission replace="all" method='post' action="/search/sql-xpl" /]
> works, so this isn't a firewall or address problem, as I first suspected.
> Now I'm thinking this has something to do with the mode and synchronous
> submissions. But I really don't understand. Can somebody suggest an example?
> --
> View this message in context: http://www.nabble.com/Strange-submission-behavior-tp24698292p24698292.html
> Sent from the ObjectWeb OPS - Users mailing list archive at Nabble.com.
>
>
>
> --
> You receive this message as a subscriber of the ops-users@ow2.org mailing list.
> To unsubscribe: mailto:ops-users-unsubscribe@ow2.org
> For general help: mailto:sympa@ow2.org?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>


--
You receive this message as a subscriber of the ops-users@ow2.org mailing list.
To unsubscribe: mailto:ops-users-unsubscribe@ow2.org
For general help: mailto:sympa@ow2.org?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Strange submission behavior

Colin Berry
I set a up a test case which reproduces the problem. The problem is reproduced inside my firewall. All relative urls are converted to absolute and the word localhost is converted to 192.168.0.100 including in the sql datasource. Then I replaced the sql processor altogether with an identity processor. Same problem.

At least the files are smaller and have no private info in them. I'll post them and take a break.

Have I ruled out host resolution problems?
get-patient.xplpage-flow.xmlview.xhtml
Erik Bruchez-3 wrote
Colin,

The two types of submissions (replace="instance" and replace="all")
work differently in several ways. So it could still be due to a host
resolution issue. With reasonably recent builds, you have a property
for the resolution of service URIs:

http://wiki.orbeon.com/forms/doc/developer-guide/configuration-properties#TOC-URL-rewriting

You might want to try setting that property.

-Erik

On Tue, Jul 28, 2009 at 7:13 AM, Colin Berry<cberrymd@yahoo.com> wrote:
>
> I have an xpl based upon the sql processor which works fine when invoked
> with [xf:submission replace="instance" method='post'
> action="/search/sql-xpl" /] with a local client (ie both client and server
> are the same cpu). When I log in from home it fails. From home
> [xf:submission replace="all" method='post' action="/search/sql-xpl" /]
> works, so this isn't a firewall or address problem, as I first suspected.
> Now I'm thinking this has something to do with the mode and synchronous
> submissions. But I really don't understand. Can somebody suggest an example?
> --
> View this message in context: http://www.nabble.com/Strange-submission-behavior-tp24698292p24698292.html
> Sent from the ObjectWeb OPS - Users mailing list archive at Nabble.com.
>
>
>
> --
> You receive this message as a subscriber of the ops-users@ow2.org mailing list.
> To unsubscribe: mailto:ops-users-unsubscribe@ow2.org
> For general help: mailto:sympa@ow2.org?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>


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

Reply | Threaded
Open this post in threaded view
|

Re: Strange submission behavior

Colin Berry
In reply to this post by Colin Berry

Aaaaaaaaargh! Copying my test case from webapps/blueridge/.../apps/ to webapps/orbeon/.../apps/ stopped the behavior. So it is in my theme or configuration. Clearly time for a break.