[JBoss JIRA] (GTNPORTAL-2518) Shindig startup issue when there's no internet connection
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-2518?page=com.atlassian.jira.pl... ]
RH Bugzilla Integration commented on GTNPORTAL-2518:
----------------------------------------------------
Adam Kovari <akovari(a)redhat.com> made a comment on [bug 893959|https://bugzilla.redhat.com/show_bug.cgi?id=893959]
Hi Vlasta,
I don't remember exactly but I found we recommended editing features.txt file directly: https://access.redhat.com/site/solutions/68308
2. jar -xvf shindig-features-VERSION.jar features
3. Open features/features.txt with a text editor
4. Comment / Remove the following two lines:
#features/analytics/feature.xml
#features/com.google.gadgets.analytics/feature.xml
5. Save file
6. jar -uvf shindig-features-VERSION.jar features
Hope this helps.
Adam
> Shindig startup issue when there's no internet connection
> ---------------------------------------------------------
>
> Key: GTNPORTAL-2518
> URL: https://issues.jboss.org/browse/GTNPORTAL-2518
> Project: GateIn Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Environment: GateIn on AS7 without internet connection
> Reporter: Marko Strukelj
> Assignee: Trong Tran
> Fix For: 3.5.6.Final, 3.6.1.Final, 3.7.0.Final
>
>
> The following exceptions occur after some stalling during first startup:
> 23:18:11,400 INFO [org.apache.shindig.gadgets.http.BasicHttpFetcher] (MSC service thread 1-16) Got Exception fetching http://www.google-analytics.com/urchin.js - 30056ms: org.apache.http.conn.ConnectTimeoutException: Connect to www.google-analytics.com/173.194.70.100:80 timed out
> at org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:125)
> at org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:179)
> at org.apache.http.conn.scheme.SchemeSocketFactoryAdaptor.connectSocket(SchemeSocketFactoryAdaptor.java:62)
> at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:148)
> at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:149)
> at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:121)
> at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:573)
> at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:425)
> at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:820)
> at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:776)
> at org.apache.shindig.gadgets.http.BasicHttpFetcher.fetch(BasicHttpFetcher.java:354) [exo.portal.gadgets-core-3.4.0-GA-SNAPSHOT.jar:3.4.0-GA-SNAPSHOT]
> at org.apache.shindig.gadgets.features.FeatureResourceLoader$UriResource.getContent(FeatureResourceLoader.java:250) [exo.portal.gadgets-core-3.4.0-GA-SNAPSHOT.jar:3.4.0-GA-SNAPSHOT]
> at org.apache.shindig.gadgets.features.FeatureResourceLoader$UriResource.<init>(FeatureResourceLoader.java:229) [exo.portal.gadgets-core-3.4.0-GA-SNAPSHOT.jar:3.4.0-GA-SNAPSHOT]
> at org.apache.shindig.gadgets.features.FeatureResourceLoader$UriResource.<init>(FeatureResourceLoader.java:217) [exo.portal.gadgets-core-3.4.0-GA-SNAPSHOT.jar:3.4.0-GA-SNAPSHOT]
> at org.apache.shindig.gadgets.features.FeatureResourceLoader.loadUri(FeatureResourceLoader.java:122) [exo.portal.gadgets-core-3.4.0-GA-SNAPSHOT.jar:3.4.0-GA-SNAPSHOT]
> at org.apache.shindig.gadgets.features.FeatureResourceLoader.load(FeatureResourceLoader.java:86) [exo.portal.gadgets-core-3.4.0-GA-SNAPSHOT.jar:3.4.0-GA-SNAPSHOT]
> at org.apache.shindig.gadgets.features.FeatureRegistry.loadFeature(FeatureRegistry.java:459) [exo.portal.gadgets-core-3.4.0-GA-SNAPSHOT.jar:3.4.0-GA-SNAPSHOT]
> at org.apache.shindig.gadgets.features.FeatureRegistry.loadResources(FeatureRegistry.java:402) [exo.portal.gadgets-core-3.4.0-GA-SNAPSHOT.jar:3.4.0-GA-SNAPSHOT]
> at org.apache.shindig.gadgets.features.FeatureRegistry.register(FeatureRegistry.java:151) [exo.portal.gadgets-core-3.4.0-GA-SNAPSHOT.jar:3.4.0-GA-SNAPSHOT]
> at org.apache.shindig.gadgets.features.FeatureRegistry.<init>(FeatureRegistry.java:88) [exo.portal.gadgets-core-3.4.0-GA-SNAPSHOT.jar:3.4.0-GA-SNAPSHOT]
> at org.apache.shindig.gadgets.features.FeatureRegistry$$FastClassByGuice$$536f6a5.newInstance(<generated>)
> at com.google.inject.internal.cglib.reflect.FastConstructor.newInstance(FastConstructor.java:40) [guice-2.0.jar:]
> at com.google.inject.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:60) [guice-2.0.jar:]
> at com.google.inject.ConstructorInjector.construct(ConstructorInjector.java:85) [guice-2.0.jar:]
> at com.google.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:111) [guice-2.0.jar:]
> at com.google.inject.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:45) [guice-2.0.jar:]
> at com.google.inject.InjectorImpl.callInContext(InjectorImpl.java:811) [guice-2.0.jar:]
> at com.google.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:42) [guice-2.0.jar:]
> at com.google.inject.Scopes$1$1.get(Scopes.java:54) [guice-2.0.jar:]
> at com.google.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:48) [guice-2.0.jar:]
> at com.google.inject.SingleParameterInjector.inject(SingleParameterInjector.java:42) [guice-2.0.jar:]
> at com.google.inject.SingleParameterInjector.getAll(SingleParameterInjector.java:66) [guice-2.0.jar:]
> at com.google.inject.ConstructorInjector.construct(ConstructorInjector.java:84) [guice-2.0.jar:]
> at com.google.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:111) [guice-2.0.jar:]
> at com.google.inject.FactoryProxy.get(FactoryProxy.java:56) [guice-2.0.jar:]
> at com.google.inject.InjectorImpl$4$1.call(InjectorImpl.java:758) [guice-2.0.jar:]
> at com.google.inject.InjectorImpl.callInContext(InjectorImpl.java:811) [guice-2.0.jar:]
> at com.google.inject.InjectorImpl$4.get(InjectorImpl.java:754) [guice-2.0.jar:]
> at com.google.inject.multibindings.Multibinder$RealMultibinder.get(Multibinder.java:266) [guice-multibindings-2.0.jar:]
> at com.google.inject.multibindings.Multibinder$RealMultibinder.get(Multibinder.java:194) [guice-multibindings-2.0.jar:]
> at com.google.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:48) [guice-2.0.jar:]
> at com.google.inject.SingleParameterInjector.inject(SingleParameterInjector.java:42) [guice-2.0.jar:]
> at com.google.inject.SingleParameterInjector.getAll(SingleParameterInjector.java:66) [guice-2.0.jar:]
> at com.google.inject.ConstructorInjector.construct(ConstructorInjector.java:84) [guice-2.0.jar:]
> at com.google.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:111) [guice-2.0.jar:]
> at com.google.inject.InjectorImpl$3.get(InjectorImpl.java:549) [guice-2.0.jar:]
> at com.google.inject.SingleParameterInjector.inject(SingleParameterInjector.java:42) [guice-2.0.jar:]
> at com.google.inject.SingleParameterInjector.getAll(SingleParameterInjector.java:66) [guice-2.0.jar:]
> at com.google.inject.ConstructorInjector.construct(ConstructorInjector.java:84) [guice-2.0.jar:]
> at com.google.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:111) [guice-2.0.jar:]
> at com.google.inject.InjectorImpl$4$1.call(InjectorImpl.java:758) [guice-2.0.jar:]
> at com.google.inject.InjectorImpl.callInContext(InjectorImpl.java:811) [guice-2.0.jar:]
> at com.google.inject.InjectorImpl$4.get(InjectorImpl.java:754) [guice-2.0.jar:]
> at com.google.inject.spi.ProviderLookup$1.get(ProviderLookup.java:89) [guice-2.0.jar:]
> at com.google.inject.internal.ProviderMethod.get(ProviderMethod.java:95) [guice-2.0.jar:]
> at com.google.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:48) [guice-2.0.jar:]
> at com.google.inject.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:45) [guice-2.0.jar:]
> at com.google.inject.InjectorImpl.callInContext(InjectorImpl.java:811) [guice-2.0.jar:]
> at com.google.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:42) [guice-2.0.jar:]
> at com.google.inject.Scopes$1$1.get(Scopes.java:54) [guice-2.0.jar:]
> at com.google.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:48) [guice-2.0.jar:]
> at com.google.inject.InjectorBuilder$1.call(InjectorBuilder.java:200) [guice-2.0.jar:]
> at com.google.inject.InjectorBuilder$1.call(InjectorBuilder.java:194) [guice-2.0.jar:]
> at com.google.inject.InjectorImpl.callInContext(InjectorImpl.java:804) [guice-2.0.jar:]
> at com.google.inject.InjectorBuilder.loadEagerSingletons(InjectorBuilder.java:194) [guice-2.0.jar:]
> at com.google.inject.InjectorBuilder.injectDynamically(InjectorBuilder.java:176) [guice-2.0.jar:]
> at com.google.inject.InjectorBuilder.build(InjectorBuilder.java:113) [guice-2.0.jar:]
> at com.google.inject.Guice.createInjector(Guice.java:92) [guice-2.0.jar:]
> at org.apache.shindig.common.servlet.GuiceServletContextListener.contextInitialized(GuiceServletContextListener.java:73) [shindig-common-2.0.2-CP01.jar:2.0.2-CP01]
> at org.exoplatform.portal.gadget.core.GateInGuiceServletContextListener.contextInitialized(GateInGuiceServletContextListener.java:68) [exo.portal.gadgets-core-3.4.0-GA-SNAPSHOT.jar:3.4.0-GA-SNAPSHOT]
> at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.10.Final.jar:]
> at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.10.Final.jar:]
> at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.0.Final.jar:7.1.0.Final]
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [classes.jar:1.6.0_33]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [classes.jar:1.6.0_33]
> at java.lang.Thread.run(Thread.java:680) [classes.jar:1.6.0_33]
> 23:18:11,423 WARNING [org.apache.shindig.gadgets] (MSC service thread 1-16) Unable to retrieve remote library from http://www.google-analytics.com/urchin.js
> 23:18:36,428 INFO [org.apache.shindig.gadgets.http.BasicHttpFetcher] (MSC service thread 1-16) Got Exception fetching http://www.google.com/ig/lib/libanalytics.js - 25005ms: org.apache.http.conn.ConnectTimeoutException: Connect to www.google.com/173.194.35.147:80 timed out
> at org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:125)
> at org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:179)
> at org.apache.http.conn.scheme.SchemeSocketFactoryAdaptor.connectSocket(SchemeSocketFactoryAdaptor.java:62)
> at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:148)
> at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:149)
> at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:121)
> at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:573)
> at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:425)
> at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:820)
> at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:776)
> at org.apache.shindig.gadgets.http.BasicHttpFetcher.fetch(BasicHttpFetcher.java:354) [exo.portal.gadgets-core-3.4.0-GA-SNAPSHOT.jar:3.4.0-GA-SNAPSHOT]
> at org.apache.shindig.gadgets.features.FeatureResourceLoader$UriResource.getContent(FeatureResourceLoader.java:250) [exo.portal.gadgets-core-3.4.0-GA-SNAPSHOT.jar:3.4.0-GA-SNAPSHOT]
> at org.apache.shindig.gadgets.features.FeatureResourceLoader$UriResource.<init>(FeatureResourceLoader.java:229) [exo.portal.gadgets-core-3.4.0-GA-SNAPSHOT.jar:3.4.0-GA-SNAPSHOT]
> at org.apache.shindig.gadgets.features.FeatureResourceLoader$UriResource.<init>(FeatureResourceLoader.java:217) [exo.portal.gadgets-core-3.4.0-GA-SNAPSHOT.jar:3.4.0-GA-SNAPSHOT]
> at org.apache.shindig.gadgets.features.FeatureResourceLoader.loadUri(FeatureResourceLoader.java:122) [exo.portal.gadgets-core-3.4.0-GA-SNAPSHOT.jar:3.4.0-GA-SNAPSHOT]
> at org.apache.shindig.gadgets.features.FeatureResourceLoader.load(FeatureResourceLoader.java:86) [exo.portal.gadgets-core-3.4.0-GA-SNAPSHOT.jar:3.4.0-GA-SNAPSHOT]
> at org.apache.shindig.gadgets.features.FeatureRegistry.loadFeature(FeatureRegistry.java:459) [exo.portal.gadgets-core-3.4.0-GA-SNAPSHOT.jar:3.4.0-GA-SNAPSHOT]
> at org.apache.shindig.gadgets.features.FeatureRegistry.loadResources(FeatureRegistry.java:402) [exo.portal.gadgets-core-3.4.0-GA-SNAPSHOT.jar:3.4.0-GA-SNAPSHOT]
> at org.apache.shindig.gadgets.features.FeatureRegistry.register(FeatureRegistry.java:151) [exo.portal.gadgets-core-3.4.0-GA-SNAPSHOT.jar:3.4.0-GA-SNAPSHOT]
> at org.apache.shindig.gadgets.features.FeatureRegistry.<init>(FeatureRegistry.java:88) [exo.portal.gadgets-core-3.4.0-GA-SNAPSHOT.jar:3.4.0-GA-SNAPSHOT]
> at org.apache.shindig.gadgets.features.FeatureRegistry$$FastClassByGuice$$536f6a5.newInstance(<generated>)
> at com.google.inject.internal.cglib.reflect.FastConstructor.newInstance(FastConstructor.java:40) [guice-2.0.jar:]
> at com.google.inject.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:60) [guice-2.0.jar:]
> at com.google.inject.ConstructorInjector.construct(ConstructorInjector.java:85) [guice-2.0.jar:]
> at com.google.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:111) [guice-2.0.jar:]
> at com.google.inject.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:45) [guice-2.0.jar:]
> at com.google.inject.InjectorImpl.callInContext(InjectorImpl.java:811) [guice-2.0.jar:]
> at com.google.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:42) [guice-2.0.jar:]
> at com.google.inject.Scopes$1$1.get(Scopes.java:54) [guice-2.0.jar:]
> at com.google.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:48) [guice-2.0.jar:]
> at com.google.inject.SingleParameterInjector.inject(SingleParameterInjector.java:42) [guice-2.0.jar:]
> at com.google.inject.SingleParameterInjector.getAll(SingleParameterInjector.java:66) [guice-2.0.jar:]
> at com.google.inject.ConstructorInjector.construct(ConstructorInjector.java:84) [guice-2.0.jar:]
> at com.google.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:111) [guice-2.0.jar:]
> at com.google.inject.FactoryProxy.get(FactoryProxy.java:56) [guice-2.0.jar:]
> at com.google.inject.InjectorImpl$4$1.call(InjectorImpl.java:758) [guice-2.0.jar:]
> at com.google.inject.InjectorImpl.callInContext(InjectorImpl.java:811) [guice-2.0.jar:]
> at com.google.inject.InjectorImpl$4.get(InjectorImpl.java:754) [guice-2.0.jar:]
> at com.google.inject.multibindings.Multibinder$RealMultibinder.get(Multibinder.java:266) [guice-multibindings-2.0.jar:]
> at com.google.inject.multibindings.Multibinder$RealMultibinder.get(Multibinder.java:194) [guice-multibindings-2.0.jar:]
> at com.google.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:48) [guice-2.0.jar:]
> at com.google.inject.SingleParameterInjector.inject(SingleParameterInjector.java:42) [guice-2.0.jar:]
> at com.google.inject.SingleParameterInjector.getAll(SingleParameterInjector.java:66) [guice-2.0.jar:]
> at com.google.inject.ConstructorInjector.construct(ConstructorInjector.java:84) [guice-2.0.jar:]
> at com.google.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:111) [guice-2.0.jar:]
> at com.google.inject.InjectorImpl$3.get(InjectorImpl.java:549) [guice-2.0.jar:]
> at com.google.inject.SingleParameterInjector.inject(SingleParameterInjector.java:42) [guice-2.0.jar:]
> at com.google.inject.SingleParameterInjector.getAll(SingleParameterInjector.java:66) [guice-2.0.jar:]
> at com.google.inject.ConstructorInjector.construct(ConstructorInjector.java:84) [guice-2.0.jar:]
> at com.google.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:111) [guice-2.0.jar:]
> at com.google.inject.InjectorImpl$4$1.call(InjectorImpl.java:758) [guice-2.0.jar:]
> at com.google.inject.InjectorImpl.callInContext(InjectorImpl.java:811) [guice-2.0.jar:]
> at com.google.inject.InjectorImpl$4.get(InjectorImpl.java:754) [guice-2.0.jar:]
> at com.google.inject.spi.ProviderLookup$1.get(ProviderLookup.java:89) [guice-2.0.jar:]
> at com.google.inject.internal.ProviderMethod.get(ProviderMethod.java:95) [guice-2.0.jar:]
> at com.google.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:48) [guice-2.0.jar:]
> at com.google.inject.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:45) [guice-2.0.jar:]
> at com.google.inject.InjectorImpl.callInContext(InjectorImpl.java:811) [guice-2.0.jar:]
> at com.google.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:42) [guice-2.0.jar:]
> at com.google.inject.Scopes$1$1.get(Scopes.java:54) [guice-2.0.jar:]
> at com.google.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:48) [guice-2.0.jar:]
> at com.google.inject.InjectorBuilder$1.call(InjectorBuilder.java:200) [guice-2.0.jar:]
> at com.google.inject.InjectorBuilder$1.call(InjectorBuilder.java:194) [guice-2.0.jar:]
> at com.google.inject.InjectorImpl.callInContext(InjectorImpl.java:804) [guice-2.0.jar:]
> at com.google.inject.InjectorBuilder.loadEagerSingletons(InjectorBuilder.java:194) [guice-2.0.jar:]
> at com.google.inject.InjectorBuilder.injectDynamically(InjectorBuilder.java:176) [guice-2.0.jar:]
> at com.google.inject.InjectorBuilder.build(InjectorBuilder.java:113) [guice-2.0.jar:]
> at com.google.inject.Guice.createInjector(Guice.java:92) [guice-2.0.jar:]
> at org.apache.shindig.common.servlet.GuiceServletContextListener.contextInitialized(GuiceServletContextListener.java:73) [shindig-common-2.0.2-CP01.jar:2.0.2-CP01]
> at org.exoplatform.portal.gadget.core.GateInGuiceServletContextListener.contextInitialized(GateInGuiceServletContextListener.java:68) [exo.portal.gadgets-core-3.4.0-GA-SNAPSHOT.jar:3.4.0-GA-SNAPSHOT]
> at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.10.Final.jar:]
> at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.10.Final.jar:]
> at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.0.Final.jar:7.1.0.Final]
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [classes.jar:1.6.0_33]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [classes.jar:1.6.0_33]
> at java.lang.Thread.run(Thread.java:680) [classes.jar:1.6.0_33]
> 23:18:36,447 WARNING [org.apache.shindig.gadgets] (MSC service thread 1-16) Unable to retrieve remote library from http://www.google.com/ig/lib/libanalytics.js
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 1 month
[JBoss JIRA] (GTNPORTAL-2518) Shindig startup issue when there's no internet connection
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-2518?page=com.atlassian.jira.pl... ]
RH Bugzilla Integration commented on GTNPORTAL-2518:
----------------------------------------------------
vramik(a)redhat.com made a comment on [bug 893959|https://bugzilla.redhat.com/show_bug.cgi?id=893959]
Hi,
I've tried to start portal without internet connection and I can see
16:52:57,090 INFO [org.apache.shindig.gadgets] (ServerService Thread Pool -- 55) Loading resources from: res:features/features.txt
16:52:57,146 INFO [org.apache.shindig.gadgets.http.BasicHttpFetcher] (ServerService Thread Pool -- 55) Timeout for http://www.google-analytics.com/urchin.js Exception: java.net.UnknownHostException - www.google-analytics.com - 34ms
16:52:57,207 WARNING [org.apache.shindig.gadgets] (ServerService Thread Pool -- 55) Unable to retrieve remote library from http://www.google-analytics.com/urchin.js
16:52:57,208 INFO [org.apache.shindig.gadgets.http.BasicHttpFetcher] (ServerService Thread Pool -- 55) Timeout for http://www.google.com/ig/lib/libanalytics.js Exception: java.net.UnknownHostException - www.google.com - 1ms
16:52:57,208 WARNING [org.apache.shindig.gadgets] (ServerService Thread Pool -- 55) Unable to retrieve remote library from http://www.google.com/ig/lib/libanalytics.js
16:52:57,347 INFO [org.apache.shindig.gadgets.http.BasicHttpFetcher] (ServerService Thread Pool -- 55) Timeout for http://www.google.com/ig/lib/libga.js Exception: java.net.UnknownHostException - www.google.com - 1ms
16:52:57,347 WARNING [org.apache.shindig.gadgets] (ServerService Thread Pool -- 55) Unable to retrieve remote library from http://www.google.com/ig/lib/libga.js
so in my environment this is very minor delay at startup. Then I've edited $JBOSS_HOME/standalone/configuration/gatein/gadgets/shindig.properties according to https://docs.jboss.org/author/display/GTNPORTAL36/Shindig+Configuration and have tried to start the portal again. I can still see the WARNINGs in log. I suppose this is expected but can you tell if/how can I verify whether the change in the shindig.properties fix the longer delay?
Thanks
Vlasta
> Shindig startup issue when there's no internet connection
> ---------------------------------------------------------
>
> Key: GTNPORTAL-2518
> URL: https://issues.jboss.org/browse/GTNPORTAL-2518
> Project: GateIn Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Environment: GateIn on AS7 without internet connection
> Reporter: Marko Strukelj
> Assignee: Trong Tran
> Fix For: 3.5.6.Final, 3.6.1.Final, 3.7.0.Final
>
>
> The following exceptions occur after some stalling during first startup:
> 23:18:11,400 INFO [org.apache.shindig.gadgets.http.BasicHttpFetcher] (MSC service thread 1-16) Got Exception fetching http://www.google-analytics.com/urchin.js - 30056ms: org.apache.http.conn.ConnectTimeoutException: Connect to www.google-analytics.com/173.194.70.100:80 timed out
> at org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:125)
> at org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:179)
> at org.apache.http.conn.scheme.SchemeSocketFactoryAdaptor.connectSocket(SchemeSocketFactoryAdaptor.java:62)
> at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:148)
> at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:149)
> at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:121)
> at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:573)
> at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:425)
> at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:820)
> at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:776)
> at org.apache.shindig.gadgets.http.BasicHttpFetcher.fetch(BasicHttpFetcher.java:354) [exo.portal.gadgets-core-3.4.0-GA-SNAPSHOT.jar:3.4.0-GA-SNAPSHOT]
> at org.apache.shindig.gadgets.features.FeatureResourceLoader$UriResource.getContent(FeatureResourceLoader.java:250) [exo.portal.gadgets-core-3.4.0-GA-SNAPSHOT.jar:3.4.0-GA-SNAPSHOT]
> at org.apache.shindig.gadgets.features.FeatureResourceLoader$UriResource.<init>(FeatureResourceLoader.java:229) [exo.portal.gadgets-core-3.4.0-GA-SNAPSHOT.jar:3.4.0-GA-SNAPSHOT]
> at org.apache.shindig.gadgets.features.FeatureResourceLoader$UriResource.<init>(FeatureResourceLoader.java:217) [exo.portal.gadgets-core-3.4.0-GA-SNAPSHOT.jar:3.4.0-GA-SNAPSHOT]
> at org.apache.shindig.gadgets.features.FeatureResourceLoader.loadUri(FeatureResourceLoader.java:122) [exo.portal.gadgets-core-3.4.0-GA-SNAPSHOT.jar:3.4.0-GA-SNAPSHOT]
> at org.apache.shindig.gadgets.features.FeatureResourceLoader.load(FeatureResourceLoader.java:86) [exo.portal.gadgets-core-3.4.0-GA-SNAPSHOT.jar:3.4.0-GA-SNAPSHOT]
> at org.apache.shindig.gadgets.features.FeatureRegistry.loadFeature(FeatureRegistry.java:459) [exo.portal.gadgets-core-3.4.0-GA-SNAPSHOT.jar:3.4.0-GA-SNAPSHOT]
> at org.apache.shindig.gadgets.features.FeatureRegistry.loadResources(FeatureRegistry.java:402) [exo.portal.gadgets-core-3.4.0-GA-SNAPSHOT.jar:3.4.0-GA-SNAPSHOT]
> at org.apache.shindig.gadgets.features.FeatureRegistry.register(FeatureRegistry.java:151) [exo.portal.gadgets-core-3.4.0-GA-SNAPSHOT.jar:3.4.0-GA-SNAPSHOT]
> at org.apache.shindig.gadgets.features.FeatureRegistry.<init>(FeatureRegistry.java:88) [exo.portal.gadgets-core-3.4.0-GA-SNAPSHOT.jar:3.4.0-GA-SNAPSHOT]
> at org.apache.shindig.gadgets.features.FeatureRegistry$$FastClassByGuice$$536f6a5.newInstance(<generated>)
> at com.google.inject.internal.cglib.reflect.FastConstructor.newInstance(FastConstructor.java:40) [guice-2.0.jar:]
> at com.google.inject.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:60) [guice-2.0.jar:]
> at com.google.inject.ConstructorInjector.construct(ConstructorInjector.java:85) [guice-2.0.jar:]
> at com.google.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:111) [guice-2.0.jar:]
> at com.google.inject.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:45) [guice-2.0.jar:]
> at com.google.inject.InjectorImpl.callInContext(InjectorImpl.java:811) [guice-2.0.jar:]
> at com.google.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:42) [guice-2.0.jar:]
> at com.google.inject.Scopes$1$1.get(Scopes.java:54) [guice-2.0.jar:]
> at com.google.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:48) [guice-2.0.jar:]
> at com.google.inject.SingleParameterInjector.inject(SingleParameterInjector.java:42) [guice-2.0.jar:]
> at com.google.inject.SingleParameterInjector.getAll(SingleParameterInjector.java:66) [guice-2.0.jar:]
> at com.google.inject.ConstructorInjector.construct(ConstructorInjector.java:84) [guice-2.0.jar:]
> at com.google.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:111) [guice-2.0.jar:]
> at com.google.inject.FactoryProxy.get(FactoryProxy.java:56) [guice-2.0.jar:]
> at com.google.inject.InjectorImpl$4$1.call(InjectorImpl.java:758) [guice-2.0.jar:]
> at com.google.inject.InjectorImpl.callInContext(InjectorImpl.java:811) [guice-2.0.jar:]
> at com.google.inject.InjectorImpl$4.get(InjectorImpl.java:754) [guice-2.0.jar:]
> at com.google.inject.multibindings.Multibinder$RealMultibinder.get(Multibinder.java:266) [guice-multibindings-2.0.jar:]
> at com.google.inject.multibindings.Multibinder$RealMultibinder.get(Multibinder.java:194) [guice-multibindings-2.0.jar:]
> at com.google.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:48) [guice-2.0.jar:]
> at com.google.inject.SingleParameterInjector.inject(SingleParameterInjector.java:42) [guice-2.0.jar:]
> at com.google.inject.SingleParameterInjector.getAll(SingleParameterInjector.java:66) [guice-2.0.jar:]
> at com.google.inject.ConstructorInjector.construct(ConstructorInjector.java:84) [guice-2.0.jar:]
> at com.google.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:111) [guice-2.0.jar:]
> at com.google.inject.InjectorImpl$3.get(InjectorImpl.java:549) [guice-2.0.jar:]
> at com.google.inject.SingleParameterInjector.inject(SingleParameterInjector.java:42) [guice-2.0.jar:]
> at com.google.inject.SingleParameterInjector.getAll(SingleParameterInjector.java:66) [guice-2.0.jar:]
> at com.google.inject.ConstructorInjector.construct(ConstructorInjector.java:84) [guice-2.0.jar:]
> at com.google.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:111) [guice-2.0.jar:]
> at com.google.inject.InjectorImpl$4$1.call(InjectorImpl.java:758) [guice-2.0.jar:]
> at com.google.inject.InjectorImpl.callInContext(InjectorImpl.java:811) [guice-2.0.jar:]
> at com.google.inject.InjectorImpl$4.get(InjectorImpl.java:754) [guice-2.0.jar:]
> at com.google.inject.spi.ProviderLookup$1.get(ProviderLookup.java:89) [guice-2.0.jar:]
> at com.google.inject.internal.ProviderMethod.get(ProviderMethod.java:95) [guice-2.0.jar:]
> at com.google.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:48) [guice-2.0.jar:]
> at com.google.inject.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:45) [guice-2.0.jar:]
> at com.google.inject.InjectorImpl.callInContext(InjectorImpl.java:811) [guice-2.0.jar:]
> at com.google.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:42) [guice-2.0.jar:]
> at com.google.inject.Scopes$1$1.get(Scopes.java:54) [guice-2.0.jar:]
> at com.google.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:48) [guice-2.0.jar:]
> at com.google.inject.InjectorBuilder$1.call(InjectorBuilder.java:200) [guice-2.0.jar:]
> at com.google.inject.InjectorBuilder$1.call(InjectorBuilder.java:194) [guice-2.0.jar:]
> at com.google.inject.InjectorImpl.callInContext(InjectorImpl.java:804) [guice-2.0.jar:]
> at com.google.inject.InjectorBuilder.loadEagerSingletons(InjectorBuilder.java:194) [guice-2.0.jar:]
> at com.google.inject.InjectorBuilder.injectDynamically(InjectorBuilder.java:176) [guice-2.0.jar:]
> at com.google.inject.InjectorBuilder.build(InjectorBuilder.java:113) [guice-2.0.jar:]
> at com.google.inject.Guice.createInjector(Guice.java:92) [guice-2.0.jar:]
> at org.apache.shindig.common.servlet.GuiceServletContextListener.contextInitialized(GuiceServletContextListener.java:73) [shindig-common-2.0.2-CP01.jar:2.0.2-CP01]
> at org.exoplatform.portal.gadget.core.GateInGuiceServletContextListener.contextInitialized(GateInGuiceServletContextListener.java:68) [exo.portal.gadgets-core-3.4.0-GA-SNAPSHOT.jar:3.4.0-GA-SNAPSHOT]
> at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.10.Final.jar:]
> at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.10.Final.jar:]
> at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.0.Final.jar:7.1.0.Final]
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [classes.jar:1.6.0_33]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [classes.jar:1.6.0_33]
> at java.lang.Thread.run(Thread.java:680) [classes.jar:1.6.0_33]
> 23:18:11,423 WARNING [org.apache.shindig.gadgets] (MSC service thread 1-16) Unable to retrieve remote library from http://www.google-analytics.com/urchin.js
> 23:18:36,428 INFO [org.apache.shindig.gadgets.http.BasicHttpFetcher] (MSC service thread 1-16) Got Exception fetching http://www.google.com/ig/lib/libanalytics.js - 25005ms: org.apache.http.conn.ConnectTimeoutException: Connect to www.google.com/173.194.35.147:80 timed out
> at org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:125)
> at org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:179)
> at org.apache.http.conn.scheme.SchemeSocketFactoryAdaptor.connectSocket(SchemeSocketFactoryAdaptor.java:62)
> at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:148)
> at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:149)
> at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:121)
> at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:573)
> at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:425)
> at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:820)
> at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:776)
> at org.apache.shindig.gadgets.http.BasicHttpFetcher.fetch(BasicHttpFetcher.java:354) [exo.portal.gadgets-core-3.4.0-GA-SNAPSHOT.jar:3.4.0-GA-SNAPSHOT]
> at org.apache.shindig.gadgets.features.FeatureResourceLoader$UriResource.getContent(FeatureResourceLoader.java:250) [exo.portal.gadgets-core-3.4.0-GA-SNAPSHOT.jar:3.4.0-GA-SNAPSHOT]
> at org.apache.shindig.gadgets.features.FeatureResourceLoader$UriResource.<init>(FeatureResourceLoader.java:229) [exo.portal.gadgets-core-3.4.0-GA-SNAPSHOT.jar:3.4.0-GA-SNAPSHOT]
> at org.apache.shindig.gadgets.features.FeatureResourceLoader$UriResource.<init>(FeatureResourceLoader.java:217) [exo.portal.gadgets-core-3.4.0-GA-SNAPSHOT.jar:3.4.0-GA-SNAPSHOT]
> at org.apache.shindig.gadgets.features.FeatureResourceLoader.loadUri(FeatureResourceLoader.java:122) [exo.portal.gadgets-core-3.4.0-GA-SNAPSHOT.jar:3.4.0-GA-SNAPSHOT]
> at org.apache.shindig.gadgets.features.FeatureResourceLoader.load(FeatureResourceLoader.java:86) [exo.portal.gadgets-core-3.4.0-GA-SNAPSHOT.jar:3.4.0-GA-SNAPSHOT]
> at org.apache.shindig.gadgets.features.FeatureRegistry.loadFeature(FeatureRegistry.java:459) [exo.portal.gadgets-core-3.4.0-GA-SNAPSHOT.jar:3.4.0-GA-SNAPSHOT]
> at org.apache.shindig.gadgets.features.FeatureRegistry.loadResources(FeatureRegistry.java:402) [exo.portal.gadgets-core-3.4.0-GA-SNAPSHOT.jar:3.4.0-GA-SNAPSHOT]
> at org.apache.shindig.gadgets.features.FeatureRegistry.register(FeatureRegistry.java:151) [exo.portal.gadgets-core-3.4.0-GA-SNAPSHOT.jar:3.4.0-GA-SNAPSHOT]
> at org.apache.shindig.gadgets.features.FeatureRegistry.<init>(FeatureRegistry.java:88) [exo.portal.gadgets-core-3.4.0-GA-SNAPSHOT.jar:3.4.0-GA-SNAPSHOT]
> at org.apache.shindig.gadgets.features.FeatureRegistry$$FastClassByGuice$$536f6a5.newInstance(<generated>)
> at com.google.inject.internal.cglib.reflect.FastConstructor.newInstance(FastConstructor.java:40) [guice-2.0.jar:]
> at com.google.inject.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:60) [guice-2.0.jar:]
> at com.google.inject.ConstructorInjector.construct(ConstructorInjector.java:85) [guice-2.0.jar:]
> at com.google.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:111) [guice-2.0.jar:]
> at com.google.inject.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:45) [guice-2.0.jar:]
> at com.google.inject.InjectorImpl.callInContext(InjectorImpl.java:811) [guice-2.0.jar:]
> at com.google.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:42) [guice-2.0.jar:]
> at com.google.inject.Scopes$1$1.get(Scopes.java:54) [guice-2.0.jar:]
> at com.google.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:48) [guice-2.0.jar:]
> at com.google.inject.SingleParameterInjector.inject(SingleParameterInjector.java:42) [guice-2.0.jar:]
> at com.google.inject.SingleParameterInjector.getAll(SingleParameterInjector.java:66) [guice-2.0.jar:]
> at com.google.inject.ConstructorInjector.construct(ConstructorInjector.java:84) [guice-2.0.jar:]
> at com.google.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:111) [guice-2.0.jar:]
> at com.google.inject.FactoryProxy.get(FactoryProxy.java:56) [guice-2.0.jar:]
> at com.google.inject.InjectorImpl$4$1.call(InjectorImpl.java:758) [guice-2.0.jar:]
> at com.google.inject.InjectorImpl.callInContext(InjectorImpl.java:811) [guice-2.0.jar:]
> at com.google.inject.InjectorImpl$4.get(InjectorImpl.java:754) [guice-2.0.jar:]
> at com.google.inject.multibindings.Multibinder$RealMultibinder.get(Multibinder.java:266) [guice-multibindings-2.0.jar:]
> at com.google.inject.multibindings.Multibinder$RealMultibinder.get(Multibinder.java:194) [guice-multibindings-2.0.jar:]
> at com.google.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:48) [guice-2.0.jar:]
> at com.google.inject.SingleParameterInjector.inject(SingleParameterInjector.java:42) [guice-2.0.jar:]
> at com.google.inject.SingleParameterInjector.getAll(SingleParameterInjector.java:66) [guice-2.0.jar:]
> at com.google.inject.ConstructorInjector.construct(ConstructorInjector.java:84) [guice-2.0.jar:]
> at com.google.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:111) [guice-2.0.jar:]
> at com.google.inject.InjectorImpl$3.get(InjectorImpl.java:549) [guice-2.0.jar:]
> at com.google.inject.SingleParameterInjector.inject(SingleParameterInjector.java:42) [guice-2.0.jar:]
> at com.google.inject.SingleParameterInjector.getAll(SingleParameterInjector.java:66) [guice-2.0.jar:]
> at com.google.inject.ConstructorInjector.construct(ConstructorInjector.java:84) [guice-2.0.jar:]
> at com.google.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:111) [guice-2.0.jar:]
> at com.google.inject.InjectorImpl$4$1.call(InjectorImpl.java:758) [guice-2.0.jar:]
> at com.google.inject.InjectorImpl.callInContext(InjectorImpl.java:811) [guice-2.0.jar:]
> at com.google.inject.InjectorImpl$4.get(InjectorImpl.java:754) [guice-2.0.jar:]
> at com.google.inject.spi.ProviderLookup$1.get(ProviderLookup.java:89) [guice-2.0.jar:]
> at com.google.inject.internal.ProviderMethod.get(ProviderMethod.java:95) [guice-2.0.jar:]
> at com.google.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:48) [guice-2.0.jar:]
> at com.google.inject.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:45) [guice-2.0.jar:]
> at com.google.inject.InjectorImpl.callInContext(InjectorImpl.java:811) [guice-2.0.jar:]
> at com.google.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:42) [guice-2.0.jar:]
> at com.google.inject.Scopes$1$1.get(Scopes.java:54) [guice-2.0.jar:]
> at com.google.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:48) [guice-2.0.jar:]
> at com.google.inject.InjectorBuilder$1.call(InjectorBuilder.java:200) [guice-2.0.jar:]
> at com.google.inject.InjectorBuilder$1.call(InjectorBuilder.java:194) [guice-2.0.jar:]
> at com.google.inject.InjectorImpl.callInContext(InjectorImpl.java:804) [guice-2.0.jar:]
> at com.google.inject.InjectorBuilder.loadEagerSingletons(InjectorBuilder.java:194) [guice-2.0.jar:]
> at com.google.inject.InjectorBuilder.injectDynamically(InjectorBuilder.java:176) [guice-2.0.jar:]
> at com.google.inject.InjectorBuilder.build(InjectorBuilder.java:113) [guice-2.0.jar:]
> at com.google.inject.Guice.createInjector(Guice.java:92) [guice-2.0.jar:]
> at org.apache.shindig.common.servlet.GuiceServletContextListener.contextInitialized(GuiceServletContextListener.java:73) [shindig-common-2.0.2-CP01.jar:2.0.2-CP01]
> at org.exoplatform.portal.gadget.core.GateInGuiceServletContextListener.contextInitialized(GateInGuiceServletContextListener.java:68) [exo.portal.gadgets-core-3.4.0-GA-SNAPSHOT.jar:3.4.0-GA-SNAPSHOT]
> at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.10.Final.jar:]
> at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.10.Final.jar:]
> at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.0.Final.jar:7.1.0.Final]
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [classes.jar:1.6.0_33]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [classes.jar:1.6.0_33]
> at java.lang.Thread.run(Thread.java:680) [classes.jar:1.6.0_33]
> 23:18:36,447 WARNING [org.apache.shindig.gadgets] (MSC service thread 1-16) Unable to retrieve remote library from http://www.google.com/ig/lib/libanalytics.js
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 1 month
[JBoss JIRA] (GTNPORTAL-2751) <priority> in navigation.xml files ignored for merge importMode
by Peter Palaga (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-2751?page=com.atlassian.jira.pl... ]
Peter Palaga commented on GTNPORTAL-2751:
-----------------------------------------
Hai, please note that GTNPORTAL-3263 with new gatein_objects_1_6 is underway. I'll wait for your changes related to {{<priority>}} with publishing gatein_objects_1_6 under http://www.gatein.org/xml/ns/.
> <priority> in navigation.xml files ignored for merge importMode
> ----------------------------------------------------------------
>
> Key: GTNPORTAL-2751
> URL: https://issues.jboss.org/browse/GTNPORTAL-2751
> Project: GateIn Portal
> Issue Type: Task
> Security Level: Public(Everyone can see)
> Reporter: Peter Palaga
> Assignee: Hai Nguyen
> Original Estimate: 4 hours
> Time Spent: 3 hours
> Remaining Estimate: 7 hours
>
> Steps to reproduce:
> Clone the Portal Extension Quickstart and deploy it changing the {{<priority>}} value in {{war/src/main/webapp/WEB-INF/conf/sample-ext/portal/group/platform/administrators/navigation.xml}}.
> NOT OK: The changes have no effect, because priority is ignored in {{org.exoplatform.portal.mop.importer.NavigationImporter.perform()}} with {{importMode}} {{merge}}.
> h3. Solution Proposal A
> * Make {{<priority>}} optional in {{gatein_objects}} XSD and {{NavigationMarshaller.unmarshalNavigation(StaxNavigator<Element>)}}
> * Explicitly state in the documentation [1] that {{<priority>}} is considered only if not already set (first wins).
> h3. Solution Proposal B
> * Make {{<priority>}} optional in {{gatein_objects}} XSD and {{NavigationMarshaller.unmarshalNavigation(StaxNavigator<Element>)}}
> * Change the behavior of {{NavigationMarshaller.unmarshalNavigation(StaxNavigator<Element>)}} to the effect that {{<priority>}} is handled in the same way as navigation nodes: it is used or ignored according to the chosen {{importMode}}. Esp. for {{importMode}} {{merge}} the last read {{<priority>}} should win.
> * Document it in [1]
> For both A and B the most or all occutences of {{<priority>}} should be removed from Portal Extension Quickstart.
> [1] [https://docs.jboss.org/author/display/GTNPORTAL35/Portal+Navigation+Confi...]
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 2 months