[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:
----------------------------------------------------
Dominik Pospisil <dpospisi(a)redhat.com> changed the Status of [bug 893959|https://bugzilla.redhat.com/show_bug.cgi?id=893959] from MODIFIED to ON_QA
> 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, 3 months
[JBoss JIRA] (GTNPORTAL-3148) JBAS016060 error on JBoss 7.1.x startup
by Ruslan Baskou (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-3148?page=com.atlassian.jira.pl... ]
Ruslan Baskou updated GTNPORTAL-3148:
-------------------------------------
Attachment: web.xml
Please see valid attached web.xml.
> JBAS016060 error on JBoss 7.1.x startup
> ---------------------------------------
>
> Key: GTNPORTAL-3148
> URL: https://issues.jboss.org/browse/GTNPORTAL-3148
> Project: GateIn Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 3.6.0.Final
> Environment: OS X 10.8, Java 7, JBoss 7.1.3
> Reporter: Dave Heath
> Assignee: Hai Nguyen
> Attachments: test-ear.zip, web.xml
>
> Original Estimate: 6 hours
> Time Spent: 1 day, 4 hours
> Remaining Estimate: 0 minutes
>
> Receive the following exception on startup. My EAR project is based on the sample-portal from the gatein quickstarts.
> {code}
> Caused by: java.lang.RuntimeException: JBAS016060: Could not resolve CDI bean for injection point private org.gatein.cdi.CDIPortletContextExtension org.gatein.cdi.contexts.listeners.CDIServletListener.extension with qualifiers []
> at org.jboss.as.weld.injection.WeldEEInjection.createWeldEEInjection(WeldEEInjection.java:161)
> at org.jboss.as.weld.injection.WeldManagedReferenceFactory.start(WeldManagedReferenceFactory.java:127)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
> ... 3 more
> {code}
--
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, 3 months
[JBoss JIRA] (GTNPORTAL-3267) MOP import resource
by Hai Nguyen (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-3267?page=com.atlassian.jira.pl... ]
Work on GTNPORTAL-3267 started by Hai Nguyen.
> MOP import resource
> -------------------
>
> Key: GTNPORTAL-3267
> URL: https://issues.jboss.org/browse/GTNPORTAL-3267
> Project: GateIn Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Java API
> Affects Versions: 3.5.6.Final
> Reporter: Boubaker Khanfir
> Assignee: Hai Nguyen
> Fix For: 3.7.0.Final
>
> Original Estimate: 4 hours
> Remaining Estimate: 4 hours
>
> MOP resource management is based on a custom marshaller/unmarshaller (org.exoplatform.portal.mop.management.binding.xml.*).
> I had used the mop managed resource in a custom case:
> * Create a new site.
> * Add PortalBody in a container.
> * Export site using GateIN management.
> * Re-import exported site.
> => Exception:
> {code}
> Operation exception for operation import-resource and address /mop [org.gatein.management.cli<pool-4-thread-1>]
> org.gatein.management.api.exceptions.OperationException: Exception reading data for import.
> at org.exoplatform.portal.mop.management.operations.MopImportResource.execute(MopImportResource.java:198) ~[exo.portal.component.portal-3.5.x-PLF-SNAPSHOT.jar:3.5.x-PLF-SNAPSHOT]
> at org.gatein.management.core.api.controller.SimpleManagementController.execute(SimpleManagementController.java:100) ~[gatein-management-core-1.1.0.Final.jar:1.1.0.Final]
> ...
> Caused by: org.staxnav.StaxNavException: Unexpected element 'page-body' at [row,col]:[167,21]
> at org.gatein.common.xml.stax.navigator.Exceptions.unexpectedElement(Exceptions.java:45) ~[exo.portal.component.common-3.5.x-PLF-SNAPSHOT.jar:3.5.x-PLF-SNAPSHOT]
> at org.exoplatform.portal.mop.management.binding.xml.AbstractMarshaller.unmarshalContainer(AbstractMarshaller.java:171) ~[exo.portal.component.portal-3.5.x-PLF-SNAPSHOT.jar:3.5.x-PLF-SNAPSHOT]
> at org.exoplatform.portal.mop.management.binding.xml.SiteLayoutMarshaller.unmarshalPortalConfig(SiteLayoutMarshaller.java:216) ~[exo.portal.component.portal-3.5.x-PLF-SNAPSHOT.jar:3.5.x-PLF-SNAPSHOT]
> at org.exoplatform.portal.mop.management.binding.xml.SiteLayoutMarshaller.unmarshal(SiteLayoutMarshaller.java:80) ~[exo.portal.component.portal-3.5.x-PLF-SNAPSHOT.jar:3.5.x-PLF-SNAPSHOT]
> ... 40 common frames omitted
> {code}
> To fix this I used the *default* MOP marshaller:
> {code}
> import org.exoplatform.portal.config.model.ModelUnmarshaller;
> // ...
> public PortalConfig unmarshal(InputStream inputStream) throws BindingException {
> try {
> return ModelUnmarshaller.unmarshall(PortalConfig.class, inputStream).getObject();
> } catch (Exception e) {
> throw new BindingException(e);
> }
> }
> //...
> public Page.PageSet unmarshal(InputStream inputStream) throws BindingException {
> try {
> return ModelUnmarshaller.unmarshall(Page.PageSet.class, inputStream).getObject();
> } catch (Exception e) {
> throw new BindingException(e);
> }
> }
> //...
> public PageNavigation unmarshal(InputStream inputStream) throws BindingException {
> try {
> return ModelUnmarshaller.unmarshall(PageNavigation.class, inputStream).getObject();
> } catch (Exception e) {
> throw new BindingException(e);
> }
> }
> // ...
> {code}
--
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, 3 months
[JBoss JIRA] (GTNPORTAL-3267) MOP import resource
by Hai Nguyen (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-3267?page=com.atlassian.jira.pl... ]
Hai Nguyen reassigned GTNPORTAL-3267:
-------------------------------------
Assignee: Hai Nguyen
> MOP import resource
> -------------------
>
> Key: GTNPORTAL-3267
> URL: https://issues.jboss.org/browse/GTNPORTAL-3267
> Project: GateIn Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Java API
> Affects Versions: 3.5.6.Final
> Reporter: Boubaker Khanfir
> Assignee: Hai Nguyen
> Fix For: 3.7.0.Final
>
> Original Estimate: 4 hours
> Remaining Estimate: 4 hours
>
> MOP resource management is based on a custom marshaller/unmarshaller (org.exoplatform.portal.mop.management.binding.xml.*).
> I had used the mop managed resource in a custom case:
> * Create a new site.
> * Add PortalBody in a container.
> * Export site using GateIN management.
> * Re-import exported site.
> => Exception:
> {code}
> Operation exception for operation import-resource and address /mop [org.gatein.management.cli<pool-4-thread-1>]
> org.gatein.management.api.exceptions.OperationException: Exception reading data for import.
> at org.exoplatform.portal.mop.management.operations.MopImportResource.execute(MopImportResource.java:198) ~[exo.portal.component.portal-3.5.x-PLF-SNAPSHOT.jar:3.5.x-PLF-SNAPSHOT]
> at org.gatein.management.core.api.controller.SimpleManagementController.execute(SimpleManagementController.java:100) ~[gatein-management-core-1.1.0.Final.jar:1.1.0.Final]
> ...
> Caused by: org.staxnav.StaxNavException: Unexpected element 'page-body' at [row,col]:[167,21]
> at org.gatein.common.xml.stax.navigator.Exceptions.unexpectedElement(Exceptions.java:45) ~[exo.portal.component.common-3.5.x-PLF-SNAPSHOT.jar:3.5.x-PLF-SNAPSHOT]
> at org.exoplatform.portal.mop.management.binding.xml.AbstractMarshaller.unmarshalContainer(AbstractMarshaller.java:171) ~[exo.portal.component.portal-3.5.x-PLF-SNAPSHOT.jar:3.5.x-PLF-SNAPSHOT]
> at org.exoplatform.portal.mop.management.binding.xml.SiteLayoutMarshaller.unmarshalPortalConfig(SiteLayoutMarshaller.java:216) ~[exo.portal.component.portal-3.5.x-PLF-SNAPSHOT.jar:3.5.x-PLF-SNAPSHOT]
> at org.exoplatform.portal.mop.management.binding.xml.SiteLayoutMarshaller.unmarshal(SiteLayoutMarshaller.java:80) ~[exo.portal.component.portal-3.5.x-PLF-SNAPSHOT.jar:3.5.x-PLF-SNAPSHOT]
> ... 40 common frames omitted
> {code}
> To fix this I used the *default* MOP marshaller:
> {code}
> import org.exoplatform.portal.config.model.ModelUnmarshaller;
> // ...
> public PortalConfig unmarshal(InputStream inputStream) throws BindingException {
> try {
> return ModelUnmarshaller.unmarshall(PortalConfig.class, inputStream).getObject();
> } catch (Exception e) {
> throw new BindingException(e);
> }
> }
> //...
> public Page.PageSet unmarshal(InputStream inputStream) throws BindingException {
> try {
> return ModelUnmarshaller.unmarshall(Page.PageSet.class, inputStream).getObject();
> } catch (Exception e) {
> throw new BindingException(e);
> }
> }
> //...
> public PageNavigation unmarshal(InputStream inputStream) throws BindingException {
> try {
> return ModelUnmarshaller.unmarshall(PageNavigation.class, inputStream).getObject();
> } catch (Exception e) {
> throw new BindingException(e);
> }
> }
> // ...
> {code}
--
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, 3 months
[JBoss JIRA] (GTNPORTAL-3148) JBAS016060 error on JBoss 7.1.x startup
by Hai Nguyen (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-3148?page=com.atlassian.jira.pl... ]
Work on GTNPORTAL-3148 stopped by Hai Nguyen.
> JBAS016060 error on JBoss 7.1.x startup
> ---------------------------------------
>
> Key: GTNPORTAL-3148
> URL: https://issues.jboss.org/browse/GTNPORTAL-3148
> Project: GateIn Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 3.6.0.Final
> Environment: OS X 10.8, Java 7, JBoss 7.1.3
> Reporter: Dave Heath
> Assignee: Hai Nguyen
> Attachments: test-ear.zip
>
> Original Estimate: 6 hours
> Remaining Estimate: 6 hours
>
> Receive the following exception on startup. My EAR project is based on the sample-portal from the gatein quickstarts.
> {code}
> Caused by: java.lang.RuntimeException: JBAS016060: Could not resolve CDI bean for injection point private org.gatein.cdi.CDIPortletContextExtension org.gatein.cdi.contexts.listeners.CDIServletListener.extension with qualifiers []
> at org.jboss.as.weld.injection.WeldEEInjection.createWeldEEInjection(WeldEEInjection.java:161)
> at org.jboss.as.weld.injection.WeldManagedReferenceFactory.start(WeldManagedReferenceFactory.java:127)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
> ... 3 more
> {code}
--
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, 3 months