On 28 Mar 2012, at 17:29, Jasha Joachimsthal wrote:
...
> Should System.getProperty("user.dir") lead to {tomcat}/bin?
> I modified my setenv.sh so that -Duser.dir=/path/to/tomcat/bin is added to
> {CATALINA_OPTS}.
> After restarting Tomcat (and deleting the exploded war, work directory and
> widgetStore) the widgets render, but the metadata still returns
> localhost:8080 for the thumbnail url (I don't see the thumbnails in the
> widget picker either).
After a bit of digging around, it turns out that all requests apart from the
one for the widget metadata use configuration properties to override the
request; the /widgets request still used a legacy method that just used the
request to generate the icon URLs. I've committed a fix for it into Wookie
trunk so we won't have this problem in Wookie 0.10.