So, let me make sure I understand your current setup...   

You have both Tomcat and Jetty running locally...  
Shindig is running in Tomcat..
You gadget spec is sitting on the Jetty server..

This should work.  Are they on separate ports?  Are you specifying the
correct port for the spec (Jetty server port) when you try to retrieve
it?

Tim

-----Original Message-----
From: Michael Smith [mailto:jykloo...@gmail.com] 
Sent: Thursday, November 19, 2009 9:43 AM
To: shindig-dev@incubator.apache.org
Subject: Re: installing a gadget

I actually have a shindig container running in my Tomcat server. Only if
i try to display a gadget which has a very simple XML spec:

<?xml version="1.0" encoding="UTF-8" ?>
   <Module>
           <ModulePrefs title="Hello World!">
               <Require feature="opensocial-0.8" />
            </ModulePrefs>
           <Content type="html"><![CDATA[Hello, world!]]></Content>
  </Module>


and this xml file resides in my own simple Jetty server, then when i run
the Shindig page, it does not show Hello world, but instead 'Unable to
retrieve spec for http://localhost:8080/tmt/gadget.
HTTP error 401'.

My aim is to dynamically change the content of the gadget from my jetty
server and make it available to many sites as an opensocial gadget. Is
that at all possible?


Thanks,
Michael.





2009/11/19 Fisher, Tim <tim.fis...@compuware.com>

> That depends on what exactly you mean by "gadget".  If you are talking

> about a gadget that uses the Gadget API or OpenSocial API specs, then 
> you need a gadget container (i.e. Shindig) to render the gadget.
> However, I suppose you could create something that looked very much 
> like a gadget and displayed some HTML that was not tied to the gadget 
> specs at all and in that case sure you could use a web server.
>
> Tim
>
>
> The contents of this e-mail are intended for the named addressee only.

> It contains information that may be confidential. Unless you are the 
> named addressee or an authorized designee, you may not copy or use it,

> or disclose it to anyone else. If you received it in error please 
> notify us immediately and then destroy it.
>
> From: Michael Smith [mailto:jykloo...@gmail.com]
> Sent: Thursday, November 19, 2009 9:12 AM
> To: shindig-dev@incubator.apache.org
> Subject: installing a gadget
>
> Hi,
> can please anybody tell me if it is possible to just make a gadget 
> that displays some information (in HTML) and deploy the gadget xml 
> file to a Tomcat server and then use it somewhere else? I mean do i 
> have to have an opensocial container or can i set up simple gadgets to

> any web server i want?
>
>
> Thanks,
> Michael.
>
>

Reply via email to