Forum: JRuby multiple jruby apps in tomcat

F15fdc7cb2e911b3808837f2be244add?d=identicon&s=25 AD (Guest)
on 2008-09-03 15:49
(Received via mailing list)
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
getting an error like

ActionController::RoutingError (No route matches "//" with

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

ProxyPass / balancer://app1/
ProxyPassReverse / balancer://app1/

ProxyPass / balancer://app2/
ProxyPassReverse / balancer://app2/

Any ideas here ?

526d60de6472502bb570a9df2842b33b?d=identicon&s=25 Nick Sieger (Guest)
on 2008-09-04 11:00
(Received via mailing list)
On Wed, Sep 3, 2008 at 3:48 PM, AD <> wrote:
> </Proxy>
> </Virtualhost>
> <Virtualhost>
> Servername
> ProxyPass / balancer://app2/
> ProxyPassReverse / balancer://app2/
> ...
> </Virtualhost>
> Any ideas here ?

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


To unsubscribe from this list, please visit:
F15fdc7cb2e911b3808837f2be244add?d=identicon&s=25 AD (Guest)
on 2008-09-04 22:48
(Received via mailing list)
I have tried a few options there with no luck unfortunately.
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.