Very strange. If it's any encouragement, the JumpStart demo site is served 
through Apache Proxy, so it is possible.

Do you have this:

    ProxyPreserveHost On
    ProxyVia On

Also, although I doubt it's the problem, add "retry", e.g.

        ProxyPass / http://localhost:8080/ retry=5
        ProxyPassReverse / http://localhost:8080/ retry=5

Cheers,

Geoff

On 12/04/2012, at 3:55 AM, jellevangompel wrote:

> Hi all, 
> 
> 
> I'm having some strange behaviour using the ZoneUpdater Mixin from Jumpstart
> ( http://jumpstart.doublenegative.com.au/jumpstart/examples/ajax/onevent
> http://jumpstart.doublenegative.com.au/jumpstart/examples/ajax/onevent ) in
> combination with an Apache Proxy.
> 
> I have created following test setup (simple input field that should update a
> zone on each "keyup" event): 
> 
> .tml file: 
> http://tapestry.1045711.n5.nabble.com/file/n5633615/Screen_Shot_2012-04-11_at_19.44.19.png
>  
> 
> .java file: 
> http://tapestry.1045711.n5.nabble.com/file/n5633615/Screen_Shot_2012-04-11_at_19.43.53.png
>  
> 
> 
> When I test the application on my jetty server (port 8080), the application
> works as expected: 
> 
> 0:0:0:0:0:0:0:1%0 -  -  [11/Apr/2012:17:23:01 +0000] "POST
> /app/test.testinput:testevent?param=a HTTP/1.1" 200 190
> "http://localhost:8080/app/test"; 
> 0:0:0:0:0:0:0:1%0 -  -  [11/Apr/2012:17:23:05 +0000] "POST
> /app/test.testinput:testevent?param=az HTTP/1.1" 200 192
> "http://localhost:8080/app/test"; 
> 0:0:0:0:0:0:0:1%0 -  -  [11/Apr/2012:17:23:05 +0000] "POST
> /app/test.testinput:testevent?param=aze HTTP/1.1" 200 190
> "http://localhost:8080/app/test";
> 
> 
> However, when I test the application with an Apache server (port 8888) and
> proxy to the jetty server, I get following output:
> 
> 0:0:0:0:0:0:0:1%0 -  -  [11/Apr/2012:17:24:11 +0000] "OPTIONS
> /app/test.testinput:testevent?param=a HTTP/1.1" 302 0
> "http://localhost:8888/app/test"; 
> 0:0:0:0:0:0:0:1%0 -  -  [11/Apr/2012:17:24:12 +0000] "OPTIONS
> /app/test.testinput:testevent?param=az HTTP/1.1" 302 0
> "http://localhost:8888/app/test"; 
> 0:0:0:0:0:0:0:1%0 -  -  [11/Apr/2012:17:24:12 +0000] "OPTIONS
> /app/test.testinput:testevent?param=aze HTTP/1.1" 302 0
> "http://localhost:8888/app/test"; 
> 
> 
> Tapestry displays following error on my screen: 
> Ajax failure: Status 0 for
> http://localhost:8080/app/test.testinput:testevent?param=a: null
> Communication with the server failed: null
> 
> This is a snippet from my Apache configuration: 
> <Proxy *>
>    AddDefaultCharset Off
>    DefaultType None
>    Order deny,allow
>    Allow from all
> </Proxy>
> 
> 
> ProxyPass / http://localhost:8080/
> ProxyPassReverse / http://localhost:8080/
> 
> 
> Does anyone have any idea what causes the ajax error? And why do th
> etapestry output show a HTTP OPTIONS call instead of a HTTP GET call? 
> 
> Regards,
> Jelle Van Gompel
> 
> --
> View this message in context: 
> http://tapestry.1045711.n5.nabble.com/Problem-using-ZoneUpdater-Mixin-and-Apache-Proxy-tp5633615p5633615.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to