portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ate Douma (JIRA)" <jetspeed-...@portals.apache.org>
Subject [jira] Updated: (JS2-730) Caused by: BeanCreationException: Error creating bean with name 'actionValve' defined in ServletContext resource [/WEB-INF/assembly/pipelines.xml]: Cannot resolve reference to bean 'PortletWindowAccessor' while setting constructor argument; nested excepti
Date Fri, 08 Jun 2007 14:12:27 GMT

     [ https://issues.apache.org/jira/browse/JS2-730?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ate Douma updated JS2-730:
--------------------------

    Fix Version/s:     (was: 2.1)

Retagging fix-version to Unknown (for now).
Version 2.1 is released and closed so, even if this concerns a bug in J2 (and I'm not quite
sure it is), a fix can only be applied to trunk, a branch or some future version.

> Caused by: BeanCreationException: Error creating bean with name 'actionValve' defined
in ServletContext resource [/WEB-INF/assembly/pipelines.xml]: Cannot resolve reference to
bean 'PortletWindowAccessor' while setting constructor argument; nested excepti
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: JS2-730
>                 URL: https://issues.apache.org/jira/browse/JS2-730
>             Project: Jetspeed 2
>          Issue Type: Bug
>    Affects Versions: 2.1
>         Environment: Jetspeed 2.1, Weblogic 9.2, JDK 1.5.06
>            Reporter: Mahesh Mohan
>            Priority: Blocker
>
> Hi,
> I am trying to deploy a Jetspeed portal on Weblogic 9.2. The same build works fine on
Tomcat 5.5 but when deployed on weblogic I am getting the below exception.
> I am really not sure what causing this. 
> Thanks...
> Mahesh
> 2007-06-08 06:07:17,275 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default
(self-tuning)'] INFO  org.apache.jetspeed.profiler.impl.JetspeedProfilerImpl - Merging OJB
respository jar:file:/C:/bea/user_projects/domains/hra_domain/lib/jetspeed-profiler-2.1.jar!/JETSPEED-INF/ojb/profiler_repository.xml
for DAO class org.apache.jetspeed.profiler.impl.JetspeedProfilerImpl
> 2007-06-08 06:07:17,416 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default
(self-tuning)'] INFO  org.apache.jetspeed.container.JetspeedPortletContainerWrapper - Attmepting
to start Pluto portal container...
> 2007-06-08 06:07:17,431 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default
(self-tuning)'] INFO  org.apache.jetspeed.container.JetspeedPortletContainerWrapper - Pluto
portlet container successfully started.
> 2007-06-08 06:07:18,696 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default
(self-tuning)'] INFO  org.apache.jetspeed.components.portletregistry.PersistenceBrokerPortletRegistry
- Merging OJB respository jar:file:/C:/bea/user_projects/domains/hra_domain/lib/jetspeed-registry-2.1.jar!/JETSPEED-INF/ojb/registry_repository.xml
for DAO class org.apache.jetspeed.components.portletregistry.PersistenceBrokerPortletRegistry
> 2007-06-08 06:07:18,868 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default
(self-tuning)'] INFO  org.apache.jetspeed.security.spi.impl.SecurityAccessImpl - Merging OJB
respository jar:file:/C:/bea/user_projects/domains/hra_domain/lib/jetspeed-security-2.1.jar!/JETSPEED-INF/ojb/security_repository.xml
for DAO class org.apache.jetspeed.security.spi.impl.SecurityAccessImpl
> 2007-06-08 06:07:19,290 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default
(self-tuning)'] INFO  org.apache.jetspeed.idgenerator.JetspeedIdGenerator - Shutdown for JetspeedIdGenerator
called. idCounter = 65536 (10000)
> 2007-06-08 06:07:19,555 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default
(self-tuning)'] ERROR org.apache.jetspeed.engine.JetspeedEngine - org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'actionValve' defined in ServletContext resource [/WEB-INF/assembly/pipelines.xml]:
Cannot resolve reference to bean 'PortletWindowAccessor' while setting constructor argument;
nested exception is org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'PortletWindowAccessor' defined in ServletContext resource [/WEB-INF/assembly/jetspeed-spring.xml]:
Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException:
Could not instantiate bean class [org.apache.jetspeed.container.window.impl.PortletWindowAccessorImpl]:
Constructor threw exception; nested exception is java.lang.IllegalArgumentException: Key must
not be null
> 2007-06-08 06:07:19,555 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default
(self-tuning)'] INFO  org.apache.jetspeed.engine.JetspeedEngine - Finished starting Jetspeed
Engine (org.apache.jetspeed.engine.JetspeedEngine) at 08/06/07 06:07.  Elapsed time: 8 seconds.
> 2007-06-08 06:07:19,555 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default
(self-tuning)'] FATAL org.apache.jetspeed.engine.JetspeedServlet - Jetspeed: init() failed:

> org.apache.jetspeed.exception.JetspeedException: Jetspeed Initialization exception!
> 	at org.apache.jetspeed.engine.JetspeedEngine.start(JetspeedEngine.java:131)
> 	at org.apache.jetspeed.engine.JetspeedServlet.init(JetspeedServlet.java:157)
> 	at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:274)
> 	at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
> 	at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
> 	at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64)
> 	at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
> 	at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48)
> 	at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:504)
> 	at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1716)
> 	at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1693)
> 	at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1613)
> 	at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2764)
> 	at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:889)
> 	at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:333)
> 	at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
> 	at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
> 	at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
> 	at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
> 	at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:117)
> 	at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
> 	at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
> 	at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
> 	at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:26)
> 	at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:635)
> 	at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
> 	at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
> 	at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:154)
> 	at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)
> 	at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:181)
> 	at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:358)
> 	at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:52)
> 	at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:186)
> 	at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
> 	at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:233)
> 	at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)
> 	at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)
> 	at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:173)
> 	at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:89)
> 	at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
> 	at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
> 	at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
> Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'actionValve' defined in ServletContext resource [/WEB-INF/assembly/pipelines.xml]:
Cannot resolve reference to bean 'PortletWindowAccessor' while setting constructor argument;
nested exception is org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'PortletWindowAccessor' defined in ServletContext resource [/WEB-INF/assembly/jetspeed-spring.xml]:
Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException:
Could not instantiate bean class [org.apache.jetspeed.container.window.impl.PortletWindowAccessorImpl]:
Constructor threw exception; nested exception is java.lang.IllegalArgumentException: Key must
not be null
> 	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:254)
> 	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:128)
> 	at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:332)
> 	at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:97)
> 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:683)
> 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:621)
> 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
> 	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:245)
> 	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:141)
> 	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:242)
> 	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:156)
> 	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:290)
> 	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:348)
> 	at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:156)
> 	at org.apache.jetspeed.components.SpringComponentManager.start(SpringComponentManager.java:248)
> 	at org.apache.jetspeed.engine.JetspeedEngine.start(JetspeedEngine.java:114)
> 	... 41 more
> Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'PortletWindowAccessor' defined in ServletContext resource [/WEB-INF/assembly/jetspeed-spring.xml]:
Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException:
Could not instantiate bean class [org.apache.jetspeed.container.window.impl.PortletWindowAccessorImpl]:
Constructor threw exception; nested exception is java.lang.IllegalArgumentException: Key must
not be null
> 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:442)
> 	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:245)
> 	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:141)
> 	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:242)
> 	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:156)
> 	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:246)
> 	... 56 more
> Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate
bean class [org.apache.jetspeed.container.window.impl.PortletWindowAccessorImpl]: Constructor
threw exception; nested exception is java.lang.IllegalArgumentException: Key must not be null
> 	at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:97)
> 	at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:78)
> 	at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:156)
> 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:683)
> 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:621)
> 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
> 	... 61 more
> Caused by: java.lang.IllegalArgumentException: Key must not be null
> 	at org.springframework.util.Assert.notNull(Assert.java:113)
> 	at org.springframework.transaction.support.TransactionSynchronizationManager.getResource(TransactionSynchronizationManager.java:130)
> 	at org.springmodules.orm.ojb.PersistenceBrokerTransactionManager.doGetTransaction(PersistenceBrokerTransactionManager.java:159)
> 	at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:281)
> 	at org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:257)
> 	at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:102)
> 	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185)
> 	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:209)
> 	at $Proxy35.addRegistryListener(Unknown Source)
> 	at org.apache.jetspeed.container.window.impl.PortletWindowAccessorImpl.<init>(PortletWindowAccessorImpl.java:80)
> 	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:494)
> 	at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:82)
> 	... 66 more
> 2007-06-08 06:07:19,743 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default
(self-tuning)'] INFO  org.apache.jetspeed.engine.JetspeedServlet - Jetspeed Initialization
complete, Ready to service requests.
> 2007-06-08 06:07:20,227 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default
(self-tuning)'] INFO  org.apache.jetspeed.locator.JetspeedTemplateLocator - Locator application
root C:\bea\user_projects\domains\hra_domain\applications\hr-portal-7.0-dev.ear\hr-portal.war
> 2007-06-08 06:07:25,224 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default
(self-tuning)'] INFO  org.apache.jetspeed.container.JetspeedPortletContainerWrapper - Attmepting
to start Pluto portal container...
> 2007-06-08 06:07:25,224 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default
(self-tuning)'] INFO  org.apache.jetspeed.container.JetspeedPortletContainerWrapper - Pluto
portlet container successfully started.
> 2007-06-08 06:07:25,817 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default
(self-tuning)'] INFO  org.apache.jetspeed.engine.JetspeedServlet - Done shutting down!

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message