Orbeon 3.9 RC1: Error when going through reverse proxy

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

Orbeon 3.9 RC1: Error when going through reverse proxy

Ralf Jung
Hi list,

I just tried Orbeon 3.9 RC, and most of my app seems to work fine (I did not
yet port the upload form control).
I do however experience a strange issue when using reverse proxy through
apache2: As soon as I click anything in the website, it says

Error tag name "xxforms:static-state" is not allowed. Possible tag names are:
<uuid>(schema: oxf:/ops/xforms/xforms-server-request.rng)
The file it complains about is
file:/tmp/tomcat6-tmp/upload_14db3d1c_12ee367338e__7ffe_00000027.tmp

I configured two connectors for tomcat, and when I access it directly using
HTTP, it's working all fine. Here are my apache reverse proxy settings (but the
same are working great of the same app with Orbeon 3.8):

RewriteEngine on
RewriteRule ^/myprefix/fr.* - [F]
# circumvent Orbeon's URL rewriting
RewriteRule ^/myprefix/root/(.*)  /$1

# Tomcat forwarding
ProxyRequests Off
ProxyPreserveHost On

ProxyPass /myprefix ajp://localhost:8080/myprefix
ProxyPassReverse /myprefix ajp://localhost:8080/myprefix

I do not use the default name "orbeon" for the orbeon servlet, but this wasn't
an issue before either.

Any ideas?

Kind regards,
Ralf


--
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: Orbeon 3.9 RC1: Error when going through reverse proxy

Ralf Jung
Hi list,

weird, clearing cache and cookies in my browser solved this. Obviously I
confused Orbeon's state management by restarting the server but leaving the
browser running, and accessing it via two different connectors.

Sorry for the noise.
Ralf

Am Mittwoch 23 März 2011, um 17:02:44 schrieb Ralf Jung:

> Hi list,
>
> I just tried Orbeon 3.9 RC, and most of my app seems to work fine (I did
> not yet port the upload form control).
> I do however experience a strange issue when using reverse proxy through
> apache2: As soon as I click anything in the website, it says
>
> Error tag name "xxforms:static-state" is not allowed. Possible tag names
> are: <uuid>(schema: oxf:/ops/xforms/xforms-server-request.rng)
> The file it complains about is
> file:/tmp/tomcat6-tmp/upload_14db3d1c_12ee367338e__7ffe_00000027.tmp
>
> I configured two connectors for tomcat, and when I access it directly using
> HTTP, it's working all fine. Here are my apache reverse proxy settings (but
> the same are working great of the same app with Orbeon 3.8):
>
> RewriteEngine on
> RewriteRule ^/myprefix/fr.* - [F]
> # circumvent Orbeon's URL rewriting
> RewriteRule ^/myprefix/root/(.*)  /$1
>
> # Tomcat forwarding
> ProxyRequests Off
> ProxyPreserveHost On
>
> ProxyPass /myprefix ajp://localhost:8080/myprefix
> ProxyPassReverse /myprefix ajp://localhost:8080/myprefix
>
> I do not use the default name "orbeon" for the orbeon servlet, but this
> wasn't an issue before either.
>
> Any ideas?
>
> Kind regards,
> Ralf


--
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: Re: Orbeon 3.9 RC1: Error when going through reverse proxy

Erik Bruchez
Administrator
Phew ;) -Erik

On Wed, Mar 23, 2011 at 9:39 AM, Ralf Jung <[hidden email]> wrote:

> Hi list,
>
> weird, clearing cache and cookies in my browser solved this. Obviously I
> confused Orbeon's state management by restarting the server but leaving the
> browser running, and accessing it via two different connectors.
>
> Sorry for the noise.
> Ralf
>
> Am Mittwoch 23 März 2011, um 17:02:44 schrieb Ralf Jung:
>> Hi list,
>>
>> I just tried Orbeon 3.9 RC, and most of my app seems to work fine (I did
>> not yet port the upload form control).
>> I do however experience a strange issue when using reverse proxy through
>> apache2: As soon as I click anything in the website, it says
>>
>> Error tag name "xxforms:static-state" is not allowed. Possible tag names
>> are: <uuid>(schema: oxf:/ops/xforms/xforms-server-request.rng)
>> The file it complains about is
>> file:/tmp/tomcat6-tmp/upload_14db3d1c_12ee367338e__7ffe_00000027.tmp
>>
>> I configured two connectors for tomcat, and when I access it directly using
>> HTTP, it's working all fine. Here are my apache reverse proxy settings (but
>> the same are working great of the same app with Orbeon 3.8):
>>
>> RewriteEngine on
>> RewriteRule ^/myprefix/fr.* - [F]
>> # circumvent Orbeon's URL rewriting
>> RewriteRule ^/myprefix/root/(.*)  /$1
>>
>> # Tomcat forwarding
>> ProxyRequests Off
>> ProxyPreserveHost On
>>
>> ProxyPass /myprefix ajp://localhost:8080/myprefix
>> ProxyPassReverse /myprefix ajp://localhost:8080/myprefix
>>
>> I do not use the default name "orbeon" for the orbeon servlet, but this
>> wasn't an issue before either.
>>
>> Any ideas?
>>
>> Kind regards,
>> Ralf
>
>
> --
> 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