> ---------- Forwarded message ----------
> From: Edwin Shin <[email protected]>
> Date: Wed, May 12, 2010 at 7:21 AM
> Subject: Re: to irc eddies
> To: John Mettraux <[email protected]>
>
>
> John,
>
> I just tested again locally and can't reproduce the error message you
> noted in your gist. (and the mention of the "careless error" is in
> Warbler's History.txt).
>
> I just received an email from Nick Sieger who mentioned a) he's
> released warbler 1.0.3 and b) noted the following:
>
> when you deploy a war in Tomcat and other containers, you need to
> account for an extra
> context root in some cases, or deploy _ruote.war at the root of the
> container. In Tomcat, this can be done by copying your war to
> ROOT.war. Otherwise, you end up with the missing stylesheets as well
> as URLs like
>
> http://localhost:8080/_ruote/_ruote/expressions
>
> You might need to modify the Sinatra application to deal with the
> extra context path. A way to detect it would be
>
> if defined?($servlet_context) and $servlet_context.getContextPath == "/
> _ruote"
>  # do something here to re-configure URLs
> end
>
> /end quote
>
> So, I did try deploying _ruote.war as ROOT.war, and now ruote-kit
> looks like it's running correctly (able to add new processes, haven't
> tested further). However, I didn't follow Nick's suggestion about
> modifying the app to deal with the extra context path (as in, where
> and what exactly needs to happen), so that ruote-kit can be deployed
> as a "normal" war (i.e. not as ROOT).
>
> John, I've also pushed a copy of _ruote.war to my github project, if
> you want to just try that. I've tested that against two new installs
> of Tomcat (5.5.29 and 6.0.26).


Great news,

CCing Kenneth and Torsten, they might want to pull your changes.


(copy for mailing list)

-- 
John Mettraux   -   http://jmettraux.wordpress.com

-- 
you received this message because you are subscribed to the "ruote users" group.
to post : send email to [email protected]
to unsubscribe : send email to [email protected]
more options : http://groups.google.com/group/openwferu-users?hl=en

Reply via email to