Try accessing the paths directly on JBoss: http://adobe:8080/index.cfm
That will help you debug the problem (this isn't a proxy problem per se, it's a problem with your CF-on-JBoss setup I suspect). Sean On Wed, Jul 29, 2009 at 3:41 PM, martin t.<[email protected]> wrote: > > I have the following development setup > > Windows XP 32 Pro 32bit > JRE 6 > JBoss 5.1 > Apache 2.2 > ColdFusion 8 > Railo 3.1 > > ColdFusion and Railo are configured as JBoss virtual hosts with the > same contex-root -> / > > Apache is the reverse proxy with ColdFusion and Railo as virtual hosts > <VirtualHost adobe:80 > > ServerName adobe > ServerAlias adobe > RewriteEngine On > RewriteOptions Inherit > RewriteRule ^/(.*) http://127.0.0.1:8080/$1 [P,L] > ProxyPassReverse / http://127.0.0.1:8080/ > ProxyPreserveHost on > </VirtualHost> > > <VirtualHost railo:80 > > ServerName railo > ServerAlias railo > RewriteEngine On > RewriteOptions Inherit > RewriteRule ^/(.*) http://127.0.0.1:8080/$1 [P,L] > ProxyPassReverse / http://127.0.0.1:8080/ > ProxyPreserveHost on > </VirtualHost> > > In the Railo Administrator i have pointed the documentroot to the > documentroot of ColdFusion (C:\jboss\server\web\deploy\cfusion.ear > \cfusion.war\). This makes it possible to access the same documentroot > through both cfml engines: > > http://adobe/index.cfm > http://railo/index.cfm > > render the same file. > > I want to try out model-glue and downloaded coldspring and model-glue, > decompressed the necessary files into my documentroot and configured > the mappings in both servers (/coldspring and /ModelGlue). > > Now i am able to open http://railo/modelgluesamples/helloworld/index.cfm > but http://adobe/modelgluesamples/helloworld/index.cfm gives me this > error: > > 502 > Proxy Error > > The proxy server received an invalid response from an upstream server. > The proxy server could not handle the request GET /modelgluesamples/ > helloworld/index.cfm. > > Reason: Error reading from remote server > > Has anyone an idea what could be the reason for this strange behavior? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "model-glue" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/model-glue?hl=en For more about Model-Glue, check http://www.model-glue.com . -~----------~----~----~----~------~----~------~--~---
