Marko Strukelj created GTNPORTAL-2518:
-----------------------------------------
Summary: 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
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:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira