Hi,
There is a bug left in recent releases. Index.php has some definitions for
the incoming server requests.
the code which is there
$servletMap = array(
Config::get('web_prefix') . '/gadgets/files' => 'FilesServlet',
Config::get('web_prefix') . '/gadgets/js' => 'JsServlet',
Config::get('web_prefix') . '/gadgets/proxy' => 'ProxyServlet',
Config::get('web_prefix') . '/gadgets/ifr' =>
'GadgetRenderingServlet',
Config::get('web_prefix') . '/gadgets/metadata' => 'JsonRpcServlet',
Config::get('web_prefix') . '/social/data' => 'GadgetDataServlet',
Config::get('web_prefix') . '/public.crt' => 'CertServlet'
);
you will have to change
Config::get('web_prefix') . '/social/data' => 'GadgetDataServlet',
to
Config::get('web_prefix') . '/social/rest' => 'GadgetDataServlet',
I think it will work for you.
- Ram Sharma
Impetus Infotech India Pvt Ltd
On Fri, Jun 6, 2008 at 12:07 AM, xin zhang <[EMAIL PROTECTED]> wrote:
> Hi,
>
> When I run the open social sample container
> hhttp://localhost/shindig/php/gadgets/files/samplecontainer/samplecontainer.html,
> I got "The request to the server caused an error" caused by
> POST http://localhost/shindig/php/social/rest/samplecontainer/setstate 404
>
> It is ok if start java shindig server with mvn -Prun.
>
> Can anyone help me this?
> Thanks
>
>
>
>
>
>
>
>
--
Ram Sharma
Software Engineer
Impetus Infotech (India) Pvt Ltd
Indore