Hi Udara,

You can disable Shindig from loading default features. However this might
affect some of the gadgets in the dashboard. Comment below line in
<IS_HOME>/repository/deployment/server/webapps/shindig/WEB-INF/web.xml
org.apache.shindig.extras.ShindigExtrasGuiceModule:


Thanks
Godwin


On Mon, Jun 13, 2016 at 4:56 AM, Maninda Edirisooriya <mani...@wso2.com>
wrote:

> Hi Udara,
>
> Remove the below 3 lines from the features.txt which is located in
> <CARBON_HOME>/repository/deployment/server/webapps/shindig.war/WEB-INF/lib/shindig-extras-2.5.2.jar/feature-extras
> directory.
> (In the shindig-extras-2.5.2.jar jar in shindig.war)
>
> features-extras/analytics/feature.xml
> features-extras/com.google.gadgets.analytics/feature.xml
> features-extras/org.jquery.core-1.4.2/feature.xml
>
> If the extracted directory "shindig" is already there, delete that
> directory and let the shindig.war to be extracted in the server startup.
> Thanks.
>
>
> *Maninda Edirisooriya*
> Senior Software Engineer
>
> *WSO2, Inc.*lean.enterprise.middleware.
>
> *Blog* : http://maninda.blogspot.com/
> *E-mail* : mani...@wso2.com
> *Skype* : @manindae
> *Twitter* : @maninda
>
> On Thu, Jun 2, 2016 at 8:26 PM, Kasun Bandara <kas...@wso2.com> wrote:
>
>> Hi Bhathiya,
>>
>> Thanks for pointing out the corresponding version update. Created [1] to
>> ensure that this doesn't miss in the next release.
>>
>>
>> Regards,
>> Kasun.
>>
>> [1] https://wso2.org/jira/browse/IDENTITY-4650
>>
>> On Thu, Jun 2, 2016 at 7:41 PM, Bhathiya Jayasekara <bhath...@wso2.com>
>> wrote:
>>
>>> Hi Udara,
>>>
>>> This is fixed by carbon-dashboards 1.0.18. See [1]. IS has to upgrade
>>> its dependency.
>>>
>>> [1] [Dev] Shindig error on DS portal startup, due to connectivity errors
>>> to google
>>>
>>> Thanks,
>>> Bhathiya
>>>
>>> On Thu, Jun 2, 2016 at 7:01 PM, Udara Liyanage <ud...@wso2.com> wrote:
>>>
>>>> Hi,
>>>>
>>>> IS 510 tries to reach google analytic at startup. When an server is
>>>> started in a docker container where no internet access is available it
>>>> throws errors and server startup delays.
>>>>
>>>> Is there configuration to stop this?
>>>>
>>>>
>>>> TID: [-1234] [] [2016-06-02 12:58:43,036]  INFO
>>>> {org.apache.shindig.gadgets.http.BasicHttpFetcher} -*  The following
>>>> exception occurred when fetching
>>>> http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js
>>>> <http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js>: 25,573
>>>> ms elapsed. *
>>>> TID: [-1234] [] [2016-06-02 12:58:43,037]  INFO
>>>> {org.apache.shindig.gadgets.http.BasicHttpFetcher} -
>>>> org.apache.http.conn.ConnectTimeoutException: Connect to
>>>> ajax.googleapis.com:80 timed out
>>>> at
>>>> org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:119)
>>>> at
>>>> org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:177)
>>>> at
>>>> org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:144)
>>>> at
>>>> org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:131)
>>>> at
>>>> org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:611)
>>>> at
>>>> org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:446)
>>>> at
>>>> org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:863)
>>>> at
>>>> org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:115)
>>>> at
>>>> org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:57)
>>>> at
>>>> org.apache.shindig.gadgets.http.BasicHttpFetcher.fetch(BasicHttpFetcher.java:359)
>>>> at
>>>> org.apache.shindig.gadgets.features.FeatureResourceLoader$UriResource.getContent(FeatureResourceLoader.java:291)
>>>> at
>>>> org.apache.shindig.gadgets.features.FeatureResourceLoader$UriResource.<init>(FeatureResourceLoader.java:270)
>>>> at
>>>> org.apache.shindig.gadgets.features.FeatureResourceLoader$UriResource.<init>(FeatureResourceLoader.java:256)
>>>> at
>>>> org.apache.shindig.gadgets.features.FeatureResourceLoader.loadUri(FeatureResourceLoader.java:135)
>>>> at
>>>> org.apache.shindig.gadgets.features.FeatureResourceLoader.load(FeatureResourceLoader.java:88)
>>>> at
>>>> org.apache.shindig.gadgets.features.FeatureRegistry.loadFeature(FeatureRegistry.java:486)
>>>>
>>>>
>>>> --
>>>>
>>>> Udara Liyanage
>>>> Software Engineer
>>>> WSO2, Inc.: http://wso2.com
>>>> lean. enterprise. middleware
>>>>
>>>> web: http://udaraliyanage.wordpress.com
>>>> phone: +94 71 443 6897
>>>>
>>>> _______________________________________________
>>>> Dev mailing list
>>>> Dev@wso2.org
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>> *Bhathiya Jayasekara*
>>> *Senior Software Engineer,*
>>> *WSO2 inc., http://wso2.com <http://wso2.com>*
>>>
>>> *Phone: +94715478185 <%2B94715478185>*
>>> *LinkedIn: http://www.linkedin.com/in/bhathiyaj
>>> <http://www.linkedin.com/in/bhathiyaj>*
>>> *Twitter: https://twitter.com/bhathiyax <https://twitter.com/bhathiyax>*
>>> *Blog: http://movingaheadblog.blogspot.com
>>> <http://movingaheadblog.blogspot.com/>*
>>>
>>
>>
>>
>> --
>> Kasun Bandara
>> *Software Engineer*
>> Mobile : +94 (0) 718 338 360
>> <%2B94%20%280%29%20773%20451194>
>> kas...@wso2.com <thili...@wso2.com>
>>
>> _______________________________________________
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
> _______________________________________________
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Godwin Amila Shrimal*
Senior Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: *+94772264165*
linkedin: *http://lnkd.in/KUum6D <http://lnkd.in/KUum6D>*
twitter: https://twitter.com/godwinamila
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to