cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mansour <mansou...@yahoo.com>
Subject Re: javax.servlet.ServletException: No block for /myBlock/index.html
Date Thu, 22 Nov 2007 06:41:52 GMT
OK, I found it. It was something wrong with my sitemap.xmap. I am 
getting new exception now:

*exception*

javax.servlet.ServletException: Error registering bean with name 'org.apache.cocoon.generation.Generator/file'
defined in null: Could not resolve placeholder 'file-generator.pool-max'
	org.apache.cocoon.servlet.RequestProcessor.service(RequestProcessor.java:232)
	org.apache.cocoon.sitemap.SitemapServlet.service(SitemapServlet.java:64)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
	org.apache.cocoon.servletservice.ServletServiceContext$PathDispatcher.forward(ServletServiceContext.java:567)
	org.apache.cocoon.servletservice.ServletServiceContext$PathDispatcher.forward(ServletServiceContext.java:544)
	org.apache.cocoon.servletservice.spring.ServletFactoryBean$ServiceInterceptor.invoke(ServletFactoryBean.java:230)
	org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
	org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
	$Proxy5.service(Unknown Source)
	org.apache.cocoon.servletservice.DispatcherServlet.service(DispatcherServlet.java:102)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

*root cause*

org.springframework.beans.factory.BeanDefinitionStoreException: Error registering bean with
name 'org.apache.cocoon.generation.Generator/file' defined in null: Could not resolve placeholder
'file-generator.pool-max'
	org.apache.cocoon.spring.configurator.impl.AbstractSettingsBeanFactoryPostProcessor.processProperties(AbstractSettingsBeanFactoryPostProcessor.java:288)
	org.springframework.beans.factory.config.PropertyResourceConfigurer.postProcessBeanFactory(PropertyResourceConfigurer.java:75)
	org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:467)
	org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:334)
	org.apache.cocoon.core.container.spring.avalon.SitemapHelper.createContainer(SitemapHelper.java:317)
	org.apache.cocoon.components.treeprocessor.sitemap.SitemapLanguage.build(SitemapLanguage.java:343)
	sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	java.lang.reflect.Method.invoke(Method.java:597)
	org.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler.invoke(PoolableProxyHandler.java:72)
	$Proxy7.build(Unknown Source)
	org.apache.cocoon.components.treeprocessor.TreeProcessor.buildConcreteProcessor(TreeProcessor.java:417)
	org.apache.cocoon.components.treeprocessor.TreeProcessor.setupConcreteProcessor(TreeProcessor.java:342)
	org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:250)
	org.apache.cocoon.servlet.RequestProcessor.process(RequestProcessor.java:357)
	org.apache.cocoon.servlet.RequestProcessor.service(RequestProcessor.java:171)
	org.apache.cocoon.sitemap.SitemapServlet.service(SitemapServlet.java:64)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
	org.apache.cocoon.servletservice.ServletServiceContext$PathDispatcher.forward(ServletServiceContext.java:567)
	org.apache.cocoon.servletservice.ServletServiceContext$PathDispatcher.forward(ServletServiceContext.java:544)
	org.apache.cocoon.servletservice.spring.ServletFactoryBean$ServiceInterceptor.invoke(ServletFactoryBean.java:230)
	org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
	org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
	$Proxy5.service(Unknown Source)
	org.apache.cocoon.servletservice.DispatcherServlet.service(DispatcherServlet.java:102)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:803)



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


Mime
View raw message