On 27 September 2011 17:09, Tomer G. <[email protected]> wrote: > I'm using Shindig 2.0 with its default container. When the container > renders > the gadget, it calls the servlet: /gadgets/ifr?url= > > http://iltlvl094:8080/sample-gadget/spec.xml&libs=rpc&parent=http://iltlvl094&debug=1&#rpctoken=54612318 > > This servlet returns HTML code that imports JavaScript file from localhost: > > <script src=" > > http://localhost:8080/gadgets/js/rpc.js?container=default&nocache=0&debug=1&c=0&v=249039fb66d20be125366df4d5ec26c2 > "></script> > > Why it's referring localhost and not the actual hostname - iltlvl094? Where > I can change it? > > I'm using Shindig out of the box, thus I don't have any source code or > configuration files to modify. Maybe I can do this via command line > arguments? > > Appreciate your help, > > Tomer >
You can set a system property shindig.host=iltlvl094 See http://svn.apache.org/repos/asf/shindig/tags/shindig-project-2.0.2/java/common/src/main/java/org/apache/shindig/common/PropertiesModule.java Jasha Joachimsthal Europe - Amsterdam - Oosteinde 11, 1017 WT Amsterdam - +31(0)20 522 4466 US - Boston - 1 Broadway, Cambridge, MA 02142 - +1 877 414 4776 (toll free) www.onehippo.com
