portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Smith, Nathan" <nsm...@ahbelo.com>
Subject Repost Jetspeed2 error
Date Mon, 07 Dec 2009 20:46:38 GMT
I'm trying to run my portal-app on Jetspeed 2.2.0.  It is configured similar to the Jetexpress
example with the exception that I'm using Spring 3 to create my portlet(s) and control the
dispatching.  Could this create problems for Jetspeed?  I'm at a loss as to what else I might
need to configure within Jetspeed to get this running.  Responses would be greatly appreciated.

I receive the following error(s):

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'portalURLValve'
defined in ServletContext resource [/WEB-INF/assembly/pipelines.xml]: Cannot resolve reference
to bean 'NavigationalStateComponent' while setting constructor argument;

nested exception is org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'NavigationalStateComponent' defined in ServletContext resource [/WEB-INF/assembly/portal-url-generation.xml]:
Instantiation of bean failed;

nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate
bean class [org.apache.jetspeed.container.state.impl.JetspeedNavigationalStateComponent]:
Constructor threw exception;

nested exception is org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'org.apache.jetspeed.request.RequestContextComponent' defined in ServletContext
resource [/WEB-INF/assembly/jetspeed-spring.xml]: Cannot resolve reference to bean 'org.apache.jetspeed.components.portletregistry.PortletRegistry'
while setting constructor argument;

nested exception is org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'org.apache.jetspeed.components.portletregistry.PortletRegistry' defined in
ServletContext resource [/WEB-INF/assembly/registry.xml]: Cannot resolve reference to bean
'portletRegistryImpl' while setting bean property 'target';

nested exception is org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'portletRegistryImpl' defined in ServletContext resource [/WEB-INF/assembly/registry.xml]:
Cannot resolve reference to bean 'org.apache.jetspeed.components.portletpreferences.PortletPreferencesProvider'
while setting constructor argument;

nested exception is org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'org.apache.jetspeed.components.portletpreferences.PortletPreferencesProvider'
defined in ServletContext resource [/WEB-INF/assembly/registry.xml]: Cannot resolve reference
to bean 'org.apache.pluto.services.PreferencesService' while setting bean property 'target';

nested exception is org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'org.apache.pluto.services.PreferencesService' defined in ServletContext resource
[/WEB-INF/assembly/registry.xml]: Cannot resolve reference to bean 'portletFactory' while
setting constructor argument;

nested exception is org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'portletFactory' defined in ServletContext resource [/WEB-INF/assembly/registry.xml]:
Initialization of bean failed;

nested exception is java.lang.LinkageError: loader constraint violation: loader (instance
of org/apache/catalina/loader/StandardClassLoader) previously initiated loading for a different
type with name "javax/portlet/PreferencesValidator"
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)
at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:600)
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:140)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:984)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:886)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:479)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:289)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:286)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:188)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:558)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:852)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:422)
at org.apache.jetspeed.components.SpringComponentManager.start(SpringComponentManager.java:308)
at org.apache.jetspeed.engine.JetspeedEngine.start(JetspeedEngine.java:119)
at org.apache.jetspeed.engine.JetspeedServlet.init(JetspeedServlet.java:208)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1173)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4149)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4458)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:630)
at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:556)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:491)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1206)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:314)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start(StandardService.java:516)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with
name 'NavigationalStateComponent' defined in ServletContext resource [/WEB-INF/assembly/portal-url-generation.xml]:
Instantiation of bean failed;

nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate
bean class [org.apache.jetspeed.container.state.impl.JetspeedNavigationalStateComponent]:
Constructor threw exception;

nested exception is org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'org.apache.jetspeed.request.RequestContextComponent' defined in ServletContext
resource [/WEB-INF/assembly/jetspeed-spring.xml]: Cannot resolve reference to bean 'org.apache.jetspeed.components.portletregistry.PortletRegistry'
while setting constructor argument;

nested exception is org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'org.apache.jetspeed.components.portletregistry.PortletRegistry' defined in
ServletContext resource [/WEB-INF/assembly/registry.xml]: Cannot resolve reference to bean
'portletRegistryImpl' while setting bean property 'target';

nested exception is org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'portletRegistryImpl' defined in ServletContext resource [/WEB-INF/assembly/registry.xml]:
Cannot resolve reference to bean 'org.apache.jetspeed.components.portletpreferences.PortletPreferencesProvider'
while setting constructor argument;

nested exception is org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'org.apache.jetspeed.components.portletpreferences.PortletPreferencesProvider'
defined in ServletContext resource [/WEB-INF/assembly/registry.xml]: Cannot resolve reference
to bean 'org.apache.pluto.services.PreferencesService' while setting bean property 'target';

nested exception is org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'org.apache.pluto.services.PreferencesService' defined in ServletContext resource
[/WEB-INF/assembly/registry.xml]: Cannot resolve reference to bean 'portletFactory' while
setting constructor argument;

nested exception is org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'portletFactory' defined in ServletContext resource [/WEB-INF/assembly/registry.xml]:
Initialization of bean failed; nested exception is java.lang.LinkageError: loader constraint
violation: loader (instance of org/apache/catalina/loader/StandardClassLoader) previously
initiated loading for a different type with name "javax/portlet/PreferencesValidator"
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:283)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:984)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:886)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:479)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:289)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:286)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:188)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)
... 43 more
Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean
class [org.apache.jetspeed.container.state.impl.JetspeedNavigationalStateComponent]: Constructor
threw exception;

nested exception is org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'org.apache.jetspeed.request.RequestContextComponent' defined in ServletContext
resource [/WEB-INF/assembly/jetspeed-spring.xml]: Cannot resolve reference to bean 'org.apache.jetspeed.components.portletregistry.PortletRegistry'
while setting constructor argument;

nested exception is org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'org.apache.jetspeed.components.portletregistry.PortletRegistry' defined in
ServletContext resource [/WEB-INF/assembly/registry.xml]: Cannot resolve reference to bean
'portletRegistryImpl' while setting bean property 'target';

nested exception is org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'portletRegistryImpl' defined in ServletContext resource [/WEB-INF/assembly/registry.xml]:
Cannot resolve reference to bean 'org.apache.jetspeed.components.portletpreferences.PortletPreferencesProvider'
while setting constructor argument;

nested exception is org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'org.apache.jetspeed.components.portletpreferences.PortletPreferencesProvider'
defined in ServletContext resource [/WEB-INF/assembly/registry.xml]: Cannot resolve reference
to bean 'org.apache.pluto.services.PreferencesService' while setting bean property 'target';

nested exception is org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'org.apache.pluto.services.PreferencesService' defined in ServletContext resource
[/WEB-INF/assembly/registry.xml]: Cannot resolve reference to bean 'portletFactory' while
setting constructor argument;

nested exception is org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'portletFactory' defined in ServletContext resource [/WEB-INF/assembly/registry.xml]:
Initialization of bean failed;

nested exception is java.lang.LinkageError: loader constraint violation: loader (instance
of org/apache/catalina/loader/StandardClassLoader) previously initiated loading for a different
type with name "javax/portlet/PreferencesValidator"
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:141)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:107)
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:275)
... 52 more

Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with
name 'org.apache.jetspeed.request.RequestContextComponent' defined in ServletContext resource
[/WEB-INF/assembly/jetspeed-spring.xml]: Cannot resolve reference to bean 'org.apache.jetspeed.components.portletregistry.PortletRegistry'
while setting constructor argument;

nested exception is org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'org.apache.jetspeed.components.portletregistry.PortletRegistry' defined in
ServletContext resource [/WEB-INF/assembly/registry.xml]: Cannot resolve reference to bean
'portletRegistryImpl' while setting bean property 'target';

nested exception is org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'portletRegistryImpl' defined in ServletContext resource [/WEB-INF/assembly/registry.xml]:
Cannot resolve reference to bean 'org.apache.jetspeed.components.portletpreferences.PortletPreferencesProvider'
while setting constructor argument;

nested exception is org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'org.apache.jetspeed.components.portletpreferences.PortletPreferencesProvider'
defined in ServletContext resource [/WEB-INF/assembly/registry.xml]: Cannot resolve reference
to bean 'org.apache.pluto.services.PreferencesService' while setting bean property 'target';

nested exception is org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'org.apache.pluto.services.PreferencesService' defined in ServletContext resource
[/WEB-INF/assembly/registry.xml]: Cannot resolve reference to bean 'portletFactory' while
setting constructor argument;

nested exception is org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'portletFactory' defined in ServletContext resource [/WEB-INF/assembly/registry.xml]:
Initialization of bean failed;

nested exception is java.lang.LinkageError: loader constraint violation: loader (instance
of org/apache/catalina/loader/StandardClassLoader) previously initiated loading for a different
type with name "javax/portlet/PreferencesValidator"
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)
at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:586)
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:140)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:984)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:886)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:479)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:289)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:286)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:188)
at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1010)
at org.apache.jetspeed.components.SpringComponentManager.getComponent(SpringComponentManager.java:178)
at org.apache.jetspeed.engine.JetspeedEngine.getCurrentRequestContext(JetspeedEngine.java:285)
at org.apache.jetspeed.Jetspeed.getCurrentRequestContext(Jetspeed.java:88)
at org.apache.jetspeed.JetspeedPortalContext.getSupportedModes(JetspeedPortalContext.java:223)
at org.apache.jetspeed.JetspeedPortalContext.getSupportedPortletModes(JetspeedPortalContext.java:240)
at org.apache.jetspeed.container.state.impl.JetspeedNavigationalStateComponent.<init>(JetspeedNavigationalStateComponent.java:78)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:126)
... 54 more

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message