You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by jasper chong <ja...@hotmail.com> on 2010/11/02 04:16:44 UTC

Example WAR not working?

Hi mates,i have been trying to run the shindig examples (both 2.0.0 and 1.1 incubating SNAPSHOT) but both of them doesnt work. Below are the logs, the 2.0.0 get the error during startup while the 1.1 hit the same error when trying to run the example (like example 1 to 7).I am deploying the war in tomcat 6.0.26. Am i missing something? desperately need help.************************************************2.0.0************************************************Nov 2, 2010 10:48:52 AM org.apache.shindig.gadgets.http.BasicHttpFetcher fetchINFO: Timeout for http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js Exception: java.net.SocketTimeoutException - Read timed out - 5372msNov 2, 2010 10:48:53 AM org.apache.shindig.gadgets.features.FeatureResourceLoader$UriResource getContentWARNING: Unable to retrieve remote library from http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.jsNov 2, 2010 10:48:53 AM org.apache.shindig.gadgets.features.FeatureRegistry registerINF
 O: Loading resources from: res:features/features.txtNov 2, 2010 10:48:58 AM org.apache.shindig.gadgets.http.BasicHttpFetcher fetchINFO: Timeout for http://www.google-analytics.com/urchin.js Exception: java.net.SocketTimeoutException - Read timed out - 4972msNov 2, 2010 10:48:58 AM org.apache.shindig.gadgets.features.FeatureResourceLoader$UriResource getContentWARNING: Unable to retrieve remote library from http://www.google-analytics.com/urchin.jsNov 2, 2010 10:49:03 AM org.apache.shindig.gadgets.http.BasicHttpFetcher fetchINFO: Timeout for http://www.google.com/ig/lib/libanalytics.js Exception: java.net.SocketTimeoutException - Read timed out - 5006ms************************************************ 1.1 incubating SNAPSHOT************************************************Nov 2, 2010 11:02:27 AM org.apache.shindig.gadgets.JsLibrary loadDataFromUrlINFO: Attempting to load js from: http://www.google-analytics.com/urchin.jsNov 2, 2010 11:02:32 AM org.apache.shindig.gadgets.JsLibra
 ry loadDataFromUrlWARNING: Unable to retrieve remote library from http://www.google-analytics.com/urchin.jsNov 2, 2010 11:02:32 AM org.apache.shindig.gadgets.JsLibrary loadDataFromUrlINFO: Attempting to load js from: http://www.google.com/ig/lib/libanalytics.jsNov 2, 2010 11:02:37 AM org.apache.shindig.gadgets.JsLibrary loadDataFromUrlWARNING: Unable to retrieve remote library from http://www.google.com/ig/lib/libanalytics.jsNov 2, 2010 11:02:37 AM org.apache.shindig.gadgets.JsLibrary loadResourceWARNING: Could not find resource: com/google/caja/plugin/domita-minified.opt.js-Can not locate resource: com/google/caja/plugin/domita-minified.opt.jsNov 2, 2010 11:02:37 AM org.apache.shindig.gadgets.JsLibrary loadResourceWARNING: Could not find resource: features/caja/caja.opt.js-Can not locate resource: features/caja/caja.opt.jsNov 2, 2010 11:02:37 AM org.apache.shindig.gadgets.JsLibrary loadResourceWARNING: Could not find resource: com/google/caja/plugin/valija.co.opt.js-Can not
  locate resource: com/google/caja/plugin/valija.co.opt.jsNov 2, 2010 11:02:37 AM org.apache.shindig.gadgets.JsLibrary loadResourceWARNING: Could not find resource: com/google/caja/plugin/html-sanitizer-minified.opt.js-Can not locate resource: com/google/caja/plugin/html-sanitizer-minified.opt.js************************************************Regards,Jasper
 		 	   		  

RE: Example WAR not working?

Posted by Andy B Smith <an...@us.ibm.com>.
Jasper,

Have you tried changing the default settings in shindig.properties for the
default HttpFetcher?

# Configuration for the HttpFetcher
# Connection timeout, in milliseconds, for requests.
shindig.http.client.connection-timeout-ms=5000

Try increasing that value to get past the timeout issues for those
features.

RE: Example WAR not working?

Posted by jasper chong <ja...@hotmail.com>.
Hi Kelvin,
yes, i am able to open the js file url from a browser. 

Regards,

Jasper Chong




> From: kf.zhang@gmail.com
> Date: Tue, 2 Nov 2010 13:56:39 +0800
> Subject: Re: Example WAR not working?
> To: dev@shindig.apache.org
> 
> Hey Jasper,
> 
> Never see this error before, but seems your server has some problem when
> connecting to
> http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js, it's a
> timeout exception. Are you able to open this url from your browser directly?
> 
> 
> Thanks,
> 
> Kevin Zhang (凯峰)
> Gtalk:   kf.zhang@gmail.com
> Blog:    http://www.zhangkf.com
> Twitter: http://twitter.com/zhangkf
> 
> 
> 2010/11/2 jasper chong <ja...@hotmail.com>
> 
> >
> > Hi mates,i have been trying to run the shindig examples (both 2.0.0 and 1.1
> > incubating SNAPSHOT) but both of them doesnt work. Below are the logs, the
> > 2.0.0 get the error during startup while the 1.1 hit the same error when
> > trying to run the example (like example 1 to 7).I am deploying the war in
> > tomcat 6.0.26. Am i missing something? desperately need
> > help.************************************************2.0.0************************************************Nov
> > 2, 2010 10:48:52 AM org.apache.shindig.gadgets.http.BasicHttpFetcher
> > fetchINFO: Timeout for
> > http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js Exception:
> > java.net.SocketTimeoutException - Read timed out - 5372msNov 2, 2010
> > 10:48:53 AM
> > org.apache.shindig.gadgets.features.FeatureResourceLoader$UriResource
> > getContentWARNING: Unable to retrieve remote library from
> > http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.jsNov 2, 2010
> > 10:48:53 AM org.apache.shindig.gadgets.features.FeatureRegistry registerINF
> >  O: Loading resources from: res:features/features.txtNov 2, 2010 10:48:58
> > AM org.apache.shindig.gadgets.http.BasicHttpFetcher fetchINFO: Timeout for
> > http://www.google-analytics.com/urchin.js Exception:
> > java.net.SocketTimeoutException - Read timed out - 4972msNov 2, 2010
> > 10:48:58 AM
> > org.apache.shindig.gadgets.features.FeatureResourceLoader$UriResource
> > getContentWARNING: Unable to retrieve remote library from
> > http://www.google-analytics.com/urchin.jsNov 2, 2010 10:49:03 AM
> > org.apache.shindig.gadgets.http.BasicHttpFetcher fetchINFO: Timeout for
> > http://www.google.com/ig/lib/libanalytics.js Exception:
> > java.net.SocketTimeoutException - Read timed out -
> > 5006ms************************************************ 1.1 incubating
> > SNAPSHOT************************************************Nov 2, 2010 11:02:27
> > AM org.apache.shindig.gadgets.JsLibrary loadDataFromUrlINFO: Attempting to
> > load js from: http://www.google-analytics.com/urchin.jsNov 2, 2010
> > 11:02:32 AM org.apache.shindig.gadgets.JsLibra
> >  ry loadDataFromUrlWARNING: Unable to retrieve remote library from
> > http://www.google-analytics.com/urchin.jsNov 2, 2010 11:02:32 AM
> > org.apache.shindig.gadgets.JsLibrary loadDataFromUrlINFO: Attempting to load
> > js from: http://www.google.com/ig/lib/libanalytics.jsNov 2, 2010 11:02:37
> > AM org.apache.shindig.gadgets.JsLibrary loadDataFromUrlWARNING: Unable to
> > retrieve remote library from
> > http://www.google.com/ig/lib/libanalytics.jsNov 2, 2010 11:02:37 AM
> > org.apache.shindig.gadgets.JsLibrary loadResourceWARNING: Could not find
> > resource: com/google/caja/plugin/domita-minified.opt.js-Can not locate
> > resource: com/google/caja/plugin/domita-minified.opt.jsNov 2, 2010 11:02:37
> > AM org.apache.shindig.gadgets.JsLibrary loadResourceWARNING: Could not find
> > resource: features/caja/caja.opt.js-Can not locate resource:
> > features/caja/caja.opt.jsNov 2, 2010 11:02:37 AM
> > org.apache.shindig.gadgets.JsLibrary loadResourceWARNING: Could not find
> > resource: com/google/caja/plugin/valija.co.opt.js-Can not
> >  locate resource: com/google/caja/plugin/valija.co.opt.jsNov 2, 2010
> > 11:02:37 AM org.apache.shindig.gadgets.JsLibrary loadResourceWARNING: Could
> > not find resource: com/google/caja/plugin/html-sanitizer-minified.opt.js-Can
> > not locate resource:
> > com/google/caja/plugin/html-sanitizer-minified.opt.js************************************************Regards,Jasper
> >
 		 	   		  

Re: Example WAR not working?

Posted by Kai Feng Zhang <kf...@gmail.com>.
Hey Jasper,

Never see this error before, but seems your server has some problem when
connecting to
http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js, it's a
timeout exception. Are you able to open this url from your browser directly?


Thanks,

Kevin Zhang (凯峰)
Gtalk:   kf.zhang@gmail.com
Blog:    http://www.zhangkf.com
Twitter: http://twitter.com/zhangkf


2010/11/2 jasper chong <ja...@hotmail.com>

>
> Hi mates,i have been trying to run the shindig examples (both 2.0.0 and 1.1
> incubating SNAPSHOT) but both of them doesnt work. Below are the logs, the
> 2.0.0 get the error during startup while the 1.1 hit the same error when
> trying to run the example (like example 1 to 7).I am deploying the war in
> tomcat 6.0.26. Am i missing something? desperately need
> help.************************************************2.0.0************************************************Nov
> 2, 2010 10:48:52 AM org.apache.shindig.gadgets.http.BasicHttpFetcher
> fetchINFO: Timeout for
> http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js Exception:
> java.net.SocketTimeoutException - Read timed out - 5372msNov 2, 2010
> 10:48:53 AM
> org.apache.shindig.gadgets.features.FeatureResourceLoader$UriResource
> getContentWARNING: Unable to retrieve remote library from
> http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.jsNov 2, 2010
> 10:48:53 AM org.apache.shindig.gadgets.features.FeatureRegistry registerINF
>  O: Loading resources from: res:features/features.txtNov 2, 2010 10:48:58
> AM org.apache.shindig.gadgets.http.BasicHttpFetcher fetchINFO: Timeout for
> http://www.google-analytics.com/urchin.js Exception:
> java.net.SocketTimeoutException - Read timed out - 4972msNov 2, 2010
> 10:48:58 AM
> org.apache.shindig.gadgets.features.FeatureResourceLoader$UriResource
> getContentWARNING: Unable to retrieve remote library from
> http://www.google-analytics.com/urchin.jsNov 2, 2010 10:49:03 AM
> org.apache.shindig.gadgets.http.BasicHttpFetcher fetchINFO: Timeout for
> http://www.google.com/ig/lib/libanalytics.js Exception:
> java.net.SocketTimeoutException - Read timed out -
> 5006ms************************************************ 1.1 incubating
> SNAPSHOT************************************************Nov 2, 2010 11:02:27
> AM org.apache.shindig.gadgets.JsLibrary loadDataFromUrlINFO: Attempting to
> load js from: http://www.google-analytics.com/urchin.jsNov 2, 2010
> 11:02:32 AM org.apache.shindig.gadgets.JsLibra
>  ry loadDataFromUrlWARNING: Unable to retrieve remote library from
> http://www.google-analytics.com/urchin.jsNov 2, 2010 11:02:32 AM
> org.apache.shindig.gadgets.JsLibrary loadDataFromUrlINFO: Attempting to load
> js from: http://www.google.com/ig/lib/libanalytics.jsNov 2, 2010 11:02:37
> AM org.apache.shindig.gadgets.JsLibrary loadDataFromUrlWARNING: Unable to
> retrieve remote library from
> http://www.google.com/ig/lib/libanalytics.jsNov 2, 2010 11:02:37 AM
> org.apache.shindig.gadgets.JsLibrary loadResourceWARNING: Could not find
> resource: com/google/caja/plugin/domita-minified.opt.js-Can not locate
> resource: com/google/caja/plugin/domita-minified.opt.jsNov 2, 2010 11:02:37
> AM org.apache.shindig.gadgets.JsLibrary loadResourceWARNING: Could not find
> resource: features/caja/caja.opt.js-Can not locate resource:
> features/caja/caja.opt.jsNov 2, 2010 11:02:37 AM
> org.apache.shindig.gadgets.JsLibrary loadResourceWARNING: Could not find
> resource: com/google/caja/plugin/valija.co.opt.js-Can not
>  locate resource: com/google/caja/plugin/valija.co.opt.jsNov 2, 2010
> 11:02:37 AM org.apache.shindig.gadgets.JsLibrary loadResourceWARNING: Could
> not find resource: com/google/caja/plugin/html-sanitizer-minified.opt.js-Can
> not locate resource:
> com/google/caja/plugin/html-sanitizer-minified.opt.js************************************************Regards,Jasper
>