cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hans-Heinrich Braun <h.h.br...@ich-ueberall.de>
Subject Problem with spring when moving the project or deploying the war
Date Mon, 06 Dec 2010 17:47:59 GMT
I made an application with cocoon 2.2 with several blocks and a webapp.
It works fine with jetty.
But when I move the project to another directory or deploy a war-file and
start it with tomcat I get the following error:
06.12.2010 14:47:17 org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
06.12.2010 14:47:19 org.apache.catalina.core.ApplicationContext log
INFO: Apache Cocoon Spring Configurator v1.0.2 is running in mode 'prod'.
06.12.2010 14:47:20 org.apache.catalina.core.ApplicationContext log
INFO: DispatcherServlet: Block dispatcher was initialized successfully.
06.12.2010 14:47:20 org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
06.12.2010 14:47:20 org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
06.12.2010 14:47:31 org.apache.catalina.core.StandardWrapperValve invoke
SCHWERWIEGEND: Servlet.service() for servlet DispatcherServlet threw exception
org.springframework.beans.InvalidPropertyException: Invalid property
'folgeBeanTransferMode' of bean class [kbr.bean.KundenpersonselectorBean]:
 No
property 'folgeBeanTransferMode' found
	at
org.springframework.beans.BeanWrapperImpl.convertForProperty(
BeanWrapperImpl.java:382)
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.
convertForProperty(AbstractAutowireCapableBeanFactory.java:1287)
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.
applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1248)
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.
populateBean(AbstractAutowireCapableBeanFactory.java:1008)
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.
doCreateBean(AbstractAutowireCapableBeanFactory.java:470)
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.
run(AbstractAutowireCapableBeanFactory.java:409)
	at java.security.AccessController.doPrivileged(Native Method)
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.
createBean(AbstractAutowireCapableBeanFactory.java:380)
	at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(
AbstractBeanFactory.java:283)
	at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(
AbstractBeanFactory.java:185)
	at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(
AbstractBeanFactory.java:168)
	at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(
AbstractBeanFactory.java:238)
	at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(
AbstractBeanFactory.java:185)
	at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(
AbstractBeanFactory.java:164)
	at
org.springframework.context.support.AbstractApplicationContext.getBean(
AbstractApplicationContext.java:881)
	at
org.apache.cocoon.components.flow.javascript.fom.FOM_Cocoon.
jsFunction_getComponent(FOM_Cocoon.java:324)
	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.mozilla.javascript.MemberBox.invoke(MemberBox.java:155)
	at org.mozilla.javascript.FunctionObject.call(FunctionObject.java:474)
	at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:3237)
	at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2394)
	at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:162)
	at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:393)
	at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:2834)
	at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:160)
	at org.mozilla.javascript.ScriptRuntime.call(ScriptRuntime.java:953)
	at
org.apache.cocoon.components.flow.javascript.fom.FOM_JavaScriptInterpreter.
callFunction(FOM_JavaScriptInterpreter.java:620)
	at
org.apache.cocoon.components.treeprocessor.sitemap.CallFunctionNode.invoke(
CallFunctionNode.java:109)
	at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.
invokeNodes(AbstractParentProcessingNode.java:55)
	at
org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(
MatchNode.java:87)
	at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.
invokeNodes(AbstractParentProcessingNode.java:78)
	at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(
PipelineNode.java:143)
	at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.
invokeNodes(AbstractParentProcessingNode.java:78)
	at
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(
PipelinesNode.java:81)
	at
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(
ConcreteTreeProcessor.java:239)
	at
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(
ConcreteTreeProcessor.java:171)
	at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(
TreeProcessor.java:247)
	at org.apache.cocoon.servlet.RequestProcessor.process(RequestProcessor.java:351)
	at org.apache.cocoon.servlet.RequestProcessor.service(RequestProcessor.java:169)
	at org.apache.cocoon.sitemap.SitemapServlet.service(SitemapServlet.java:84)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	at
org.apache.cocoon.servletservice.ServletServiceContext$PathDispatcher.forward(
ServletServiceContext.java:468)
	at
org.apache.cocoon.servletservice.ServletServiceContext$PathDispatcher.forward(
ServletServiceContext.java:443)
	at
org.apache.cocoon.servletservice.spring.ServletFactoryBean$ServiceInterceptor.
invoke(ServletFactoryBean.java:264)
	at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:171)
	at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(
JdkDynamicAopProxy.java:204)
	at $Proxy3.service(Unknown Source)
	at
org.apache.cocoon.servletservice.DispatcherServlet.service(
DispatcherServlet.java:106)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:290)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:206)
	at
org.apache.cocoon.servlet.multipart.MultipartFilter.doFilter(
MultipartFilter.java:131)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:235)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.
java:206)
	at
org.apache.catalina.core.StandardWrapperValve.invoke(
StandardWrapperValve.
java:233)
	at
org.apache.catalina.core.StandardContextValve.invoke(
StandardContextValve.
java:191)
	at org.apache.catalina.core.StandardHostValve.invoke(
StandardHostValve.java:127)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:109)
	at org.apache.catalina.connector.CoyoteAdapter.service(
CoyoteAdapter.java:298)
	at org.apache.coyote.http11.Http11AprProcessor.process(
Http11AprProcessor.java:861)

	at
org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(
Http11AprProtocol.java:579)
	at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1584)
	at java.lang.Thread.run(Thread.java:619)
06.12.2010 14:47:37 org.apache.catalina.core.ApplicationContext log
INFO: Closing Spring root WebApplicationContext
06.12.2010 14:47:37 org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextDestroyed()
06.12.2010 14:47:37 org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextDestroyed()
06.12.2010 15:00:09 org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
06.12.2010 15:00:11 org.apache.catalina.core.ApplicationContext log
INFO: Apache Cocoon Spring Configurator v1.0.2 is running in mode 'prod'.
06.12.2010 15:00:12 org.apache.catalina.core.ApplicationContext log
INFO: DispatcherServlet: Block dispatcher was initialized successfully.
06.12.2010 15:00:13 org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
06.12.2010 15:00:13 org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
06.12.2010 15:00:53 org.apache.catalina.core.ApplicationContext log
INFO: Closing Spring root WebApplicationContext
06.12.2010 15:00:54 org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextDestroyed()
06.12.2010 15:00:54 org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextDestroyed()
06.12.2010 15:01:19 org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
06.12.2010 15:01:21 org.apache.catalina.core.ApplicationContext log
INFO: Apache Cocoon Spring Configurator v1.0.2 is running in mode 'prod'.
06.12.2010 15:01:22 org.apache.catalina.core.ApplicationContext log
INFO: DispatcherServlet: Block dispatcher was initialized successfully.
06.12.2010 15:01:22 org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
06.12.2010 15:01:22 org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
06.12.2010 15:01:32 org.apache.catalina.core.StandardWrapperValve invoke
SCHWERWIEGEND: Servlet.service() for servlet DispatcherServlet threw exception
org.springframework.beans.InvalidPropertyException: Invalid property
'folgeBeanTransferMode' of bean class [kbr.bean.KundenpersonselectorBean]: No
property 'folgeBeanTransferMode' found
	at
org.springframework.beans.BeanWrapperImpl.convertForProperty(
BeanWrapperImpl.
java:382)
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.
convertForProperty(AbstractAutowireCapableBeanFactory.java:1287)
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.
applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1248)
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.
populateBean(AbstractAutowireCapableBeanFactory.java:1008)
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.
doCreateBean(AbstractAutowireCapableBeanFactory.java:470)
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.
run(AbstractAutowireCapableBeanFactory.java:409)
	at java.security.AccessController.doPrivileged(Native Method)
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.
createBean(AbstractAutowireCapableBeanFactory.java:380)
	at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(
AbstractBeanFactory.java:283)
	at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(
AbstractBeanFactory.java:185)
	at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(
AbstractBeanFactory.java:168)
	at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(
AbstractBeanFactory.java:238)
	at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(
AbstractBeanFactory.java:185)
	at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(
AbstractBeanFactory.java:164)
	at
org.springframework.context.support.AbstractApplicationContext.getBean(
AbstractApplicationContext.java:881)
	at
org.apache.cocoon.components.flow.javascript.fom.FOM_Cocoon.jsFunction
_getComponent(FOM_Cocoon.java:324)
	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.mozilla.javascript.MemberBox.invoke(MemberBox.java:155)
	at org.mozilla.javascript.FunctionObject.call(FunctionObject.java:474)
	at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:3237)
	at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2394)
	at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:162)
	at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:393)
	at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:2834)
	at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:160)
	at org.mozilla.javascript.ScriptRuntime.call(ScriptRuntime.java:953)
	at
org.apache.cocoon.components.flow.javascript.fom.FOM_JavaScriptInterpreter.
callFunction(FOM_JavaScriptInterpreter.java:620)
	at
org.apache.cocoon.components.treeprocessor.sitemap.CallFunctionNode.invoke(
CallFunctionNode.java:109)
	at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.
invokeNodes(AbstractParentProcessingNode.java:55)
	at
org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(
MatchNode.java:87)
	at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.
invokeNodes(AbstractParentProcessingNode.java:78)
	at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(
PipelineNode.java:143)
	at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.
invokeNodes(AbstractParentProcessingNode.java:78)
	at
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(
PipelinesNode.java:81)
	at
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(
ConcreteTreeProcessor.java:239)
	at
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(
ConcreteTreeProcessor.java:171)
	at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.
java:247)
	at org.apache.cocoon.servlet.RequestProcessor.process(RequestProcessor.java:351)
	at org.apache.cocoon.servlet.RequestProcessor.service(RequestProcessor.java:169)
	at org.apache.cocoon.sitemap.SitemapServlet.service(SitemapServlet.java:84)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	at
org.apache.cocoon.servletservice.ServletServiceContext$PathDispatcher.forward(
ServletServiceContext.java:468)
	at
org.apache.cocoon.servletservice.ServletServiceContext$PathDispatcher.forward(
ServletServiceContext.java:443)
	at
org.apache.cocoon.servletservice.spring.ServletFactoryBean$ServiceInterceptor.
invoke(ServletFactoryBean.java:264)
	at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:171)
	at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(
JdkDynamicAopProxy.java:204)
	at $Proxy3.service(Unknown Source)
	at
org.apache.cocoon.servletservice.DispatcherServlet.service(
DispatcherServlet.java:106)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:290)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:206)
	at
org.apache.cocoon.servlet.multipart.MultipartFilter.doFilter(
MultipartFilter.java:131)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:235)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.
java:206)
	at
org.apache.catalina.core.StandardWrapperValve.invoke(
StandardWrapperValve.java:
233)
	at
org.apache.catalina.core.StandardContextValve.invoke(
StandardContextValve.
java:191)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
	at
org.apache.catalina.core.StandardEngineValve.invoke(
StandardEngineValve.java:
109)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
	at org.apache.coyote.http11.Http11AprProcessor.process(
Http11AprProcessor.java:861)
	at
org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(
Http11AprProtocol.java:579)
	at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1584)
	at java.lang.Thread.run(Thread.java:619)
06.12.2010 15:03:48 org.apache.catalina.core.ApplicationContext log
INFO: Closing Spring root WebApplicationContext
06.12.2010 15:03:49 org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextDestroyed()
06.12.2010 15:03:49 org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextDestroyed()




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message