Multiple jruby apps in tomcat

hello ,
I have 2 rails war files deployed into tomcat under JRuby, app1.war and
app2.war. I am trying to setup 2 virtualhosts in apache to route the
different hostnames to the war files under just / with no subdir, but
keep
getting an error like

ActionController::RoutingError (No route matches “//” with
{:method=>:get}):

Apache is setup like so

<Proxy balancer://app1/>
BalancerMember ajp://localhost:8009/app1/

<Proxy balancer://app2/>
BalancerMember ajp://localhost:8009/app2/

Then 2 virtualhosts each with

.... Servername app1.domain.com ProxyPass / balancer://app1/ ProxyPassReverse / balancer://app1/ .. Servername app2.domain.com ProxyPass / balancer://app2/ ProxyPassReverse / balancer://app2/ ...

Any ideas here ?

thanks
Adam

On Wed, Sep 3, 2008 at 3:48 PM, AD [email protected] wrote:

Servername app2.domain.com ProxyPass / balancer://app2/ ProxyPassReverse / balancer://app2/ ... Any ideas here ?

Apache is picky with regard to trailing slashes in configuration URLs.
Have you tried tweaking them by removing trailing slashes?

/Nick


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

I have tried a few options there with no luck unfortunately.