You might need to tweak the container configuration file as well. This mostly provides configuration for javascript libraries and things that you might want configured differently for different environments (like dev vs. prod). The todo gadget does dynamic url rewriting, which is probably causing it to grab the proxy url from the js configuration.
On Mon, Jan 4, 2010 at 10:20 PM, Rafael Barrera Oro <boraf...@gmail.com>wrote: > Thanks for the reply! > > I overriden the shindig.properties file as you instructed (by putting it in > /usr/share/tomcat6/lib/ and changing the line > "shindig.content-rewrite.concat-url=/gadgets/concat" to > "#shindig.content-rewrite.concat-url=/shindig/gadgets/concat", being > shindig > the name of the app in the tomcat). > > However i still can't get the todo gadget to work, watching the logs i > noticed these two lines: > > GRAVE: HTTP Error 404 fetching service methods from endpoint > http://localhost:8080/social/rpc > GRAVE: HTTP Error 404 fetching service methods from endpoint > http://localhost:8080/gadgets/api/rpc > > i dont know what else i can change in the shindig.properties file, could it > be something else? > > Thanks for everything, sincerely > > Rafael > > PD: In order the try to get to run the todo gadget i use the following URL: > > http://localhost:8080/shindig/gadgets/ifr?url=http://www.labpixies.com/campaigns/todo/todo.xml > > 2010/1/4 Paul Lindner <lind...@inuus.com> > > > That file is contained inside the shindig-common jar file. > > > > You can override the default shindig.properties file by putting an edited > > version of the shindig.properties file in Tomcat's classpath. An easy > way > > to do this is to put the shindig.properties file in > > $CATALINA_HOME/lib/shindig.properties > > > > Given time I'd expect shindig to properly use getContextPath() to > determine > > the directory of the deployed war file. That's a servlet 2.5 feature > > though and we're stuck on 2.4 so far. If anyone has suggestions on how > > this > > might work better I'd love to hear it. > > > > Thanks! > > Paul > > > > On Tue, Dec 22, 2009 at 6:58 AM, Rafael Barrera Oro <boraf...@gmail.com > > >wrote: > > > > > Hello everyone! > > > > > > According to the wiki, to accomplish the goal mentioned in the subject > of > > > this mail i have to edit the file: > > > > > > /java/common/conf/shindig.properties > > > > > > in order to match the new path > > > > > > However, i am not able to find the afforementioned configuration file. > > > > > > The only steps i've so far are installing tomcat and then installing > > > shindig > > > by using the war project. > > > > > > Thanks in advance! > > > > > > Rafael > > > > > >