Do you use a web proxy to access the internet? If so you need to set the proxy in the shindig.properties file - it's bundled in the shindig*-common jar file - you can extract it and put it somewhere closer in the classpath (/WEB-INF/classes works for Tomcat) and modify it to include your proxy configuration.
Not that I've seen evidence of proxy related issues in your stack traces - but I figured it was worth mentioning just in case... From: Naresh Chaurasia [mailto:[email protected]] Sent: Thursday, September 15, 2011 9:36 AM To: [email protected] Subject: Re: Unable to locate an appropriate view in this gadget. Requested: 'default' Available: [home, preview, canvas, profile] I also tried the following in 3x container. <context-param> <param-name>system.properties</param-name> <param-value> shindig.host=localhost shindig.port=8080 <!--aKey=/shindig/gadgets/proxy?container=default&url=--> </param-value> </context-param> But the widgets are not being loaded. Please find attached screenshot. On Thu, Sep 15, 2011 at 6:32 PM, Henry Saputra <[email protected]<mailto:[email protected]>> wrote: Could you try removing the aKey line? On Thursday, September 15, 2011, Naresh Chaurasia <[email protected]<mailto:[email protected]>> wrote: > <context-param> > <param-name>system.properties</param-name> > <param-value> > shindig.host=localhost > > aKey=/shindig/gadgets/proxy?container=default&url= > shindig.port= > > </param-value> > </context-param> > > On Thu, Sep 15, 2011 at 6:07 PM, Henry Saputra > <[email protected]<mailto:[email protected]> >wrote: > >> What did you put for shindig.host in the web.xml? >> >> - Henry >> >> On Wed, Sep 14, 2011 at 10:42 PM, Naresh Chaurasia >> <[email protected]<mailto:[email protected]>> >> wrote: >> > I was following installation instructions specified in the following page >> : >> > *http://shindig.apache.org/download/index.html* >> > >> > When i try to hit the following URL >> > * >> > >> http://localhost:8180/gadgets/ifr?url=http://www.labpixies.com/campaigns/todo/todo.xml >> > * >> > >> > I get the message: >> > Unable to locate an appropriate view in this gadget. Requested: 'default' >> > Available: [home, preview, canvas, profile] >> > >> > >> > When i try to hit the following URL: >> > * >> > >> http://localhost:8180/gadgets/ifr?url=http://www.labpixies.com/campaigns/todo/todo.xml&view=home >> > * >> > I get the following error message. >> > >> > type Exception report >> > >> > message >> > >> > description The server encountered an internal error () that prevented it >> > from fulfilling this request. >> > >> > exception >> > >> > org.apache.shindig.common.uri.Uri$UriException: >> > java.lang.IllegalArgumentException: java.net.URISyntaxException: Illegal >> > character in authority at index 7: >> > http://localhostaKey=/shindig/gadgets/proxy?container=default&url= >> > shindig.port=:8080 >> > org.apache.shindig.common.uri.Uri.parse(Uri.java:109) >> > >> org.apache.shindig.gadgets.uri.DefaultJsUriManager.makeExternJsUri(DefaultJsUriManager.java:64) >> > >> org.apache.shindig.gadgets.render.RenderingGadgetRewriter.injectFeatureLibraries(RenderingGadgetRewriter.java:231) >> > >> org.apache.shindig.gadgets.render.RenderingGadgetRewriter.rewrite(RenderingGadgetRewriter.java:158) >> > >> org.apache.shindig.gadgets.render.HtmlRenderer.render(HtmlRenderer.java:88) >> > org.apache.shindig.gadgets.render.Renderer.render(Renderer.java:93) >> > >> org.apache.shindig.gadgets.servlet.GadgetRenderingServlet.render(GadgetRenderingServlet.java:104) >> > >> org.apache.shindig.gadgets.servlet.GadgetRenderingServlet.doGet(GadgetRenderingServlet.java:82) >> > javax.servlet.http.HttpServlet.service(HttpServlet.java:734) >> > javax.servlet.http.HttpServlet.service(HttpServlet.java:847) >> > >> org.apache.shindig.auth.AuthenticationServletFilter.callChain(AuthenticationServletFilter.java:124) >> > >> org.apache.shindig.auth.AuthenticationServletFilter.doFilter(AuthenticationServletFilter.java:87) >> > >> > how can i fix this problem. >> > >> > -- >> > Regards, >> > Naresh C >> > >> > > > > -- > Regards, > Naresh C > -- Regards, Naresh C
