Thanks Dirk.

That seems ok. I run curl 
http://localhost:8080/gadgets/files/samplecontainer/examples/oauth.xml and it 
returns the xml file.

--- On Mon, 6/2/08, Dirk Balfanz <[EMAIL PROTECTED]> wrote:
From: Dirk Balfanz <[EMAIL PROTECTED]>
Subject: Re: Failed to initialize OAuth
To: [email protected], [EMAIL PROTECTED]
Date: Monday, June 2, 2008, 12:07 PM

Looks to me like it can't fetch one of the gadgets listed in
config/oauth.json. From where you're running jetty, can you curl the
gadgets listed in oauth.json?

Dirk.

On Mon, Jun 2, 2008 at 8:17 AM, xin zhang <[EMAIL PROTECTED]> wrote:
> Hi
>
> I checkout the latest shindig code from the  its Subversion repository, I
got the following error no matter I start it in jetty server or install the war
file to tomcat.
>
> WARNING: Failed to initialize OAuth
> org.apache.shindig.gadgets.GadgetException: Unable to retrieve gadget xml.
HTTP error 404
>         at
org.apache.shindig.gadgets.BasicGadgetSpecFactory.getGadgetSpec(BasicGadgetSpecFactory.java:81)
>         at
org.apache.shindig.gadgets.oauth.BasicGadgetOAuthTokenStore.storeProviderInfos(BasicGadgetOAuthTokenStore.java:73)
>         at
org.apache.shindig.gadgets.oauth.BasicGadgetOAuthTokenStore.initFromConfigFile(BasicGadgetOAuthTokenStore.java:57)
>         at
org.apache.shindig.gadgets.oauth.OAuthFetcherFactory.<init>(OAuthFetcherFactory.java:60)
>         at
org.apache.shindig.gadgets.oauth.OAuthFetcherFactory$$FastClassByGuice$$93352e00.newInstance(<generated>)
>         at
com.google.inject.cglib.reflect.FastConstructor.newInstance(FastConstructor.java:40)
>         at
com.google.inject.DefaultConstructionProxyFactory$2.newInstance(DefaultConstructionProxyFactory.java:67)
>
> How to fix the problem?
>
> Thanks
>
>
>
>
>


      

Reply via email to