Were you able to test it locally on your development machine?  Just saying that your question is pretty vague. You make it sound like this would be a environment issue (not saying it isn’t of course). But it might very well be a misconfiguration.

 

I see some part about cdata-section-elements.   Are you sure your code is correct and the sitemap is configured correct as well?  Does the app fail completely or do some match patterns return sth useful?

 

Robby

 

 

 

From: Goranti, Sridhar [mailto:Sridhar_Goranti@mastercard.com]
Sent: Friday, July 20, 2012 10:55 PM
To: dev@cocoon.apache.org
Subject: RE: Hi, Issue with Apache Cocoon 2.1.11 (Cocoon Confusion)

 

Hi Cocoon Dev Team,

 

 

I am working on Apache Cocoon 2.1.11. We deployed successfully in JBoss 5.1.0 GA application server, when we tried accessing my application from browser, I am getting below issue:-

 

-          Attached the screen short of the issue

 

In the console I am able to see the below message:-

 

 

Full exception chain stack trace / Original Exception from JBoss 5.1.0 GA server console log:- 
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 


DEBUG (2012-07-17) 13:47.12:579 [core.manager] (/ramsreport/) http-localhost%2F127.0.0.1-8080-1/ExcaliburComponentSelector: serializers: ComponentSelector could not access the Component for hint [html] 
org.apache.avalon.framework.configuration.ConfigurationException: No value is associated with the configuration element "cdata-section-elements" at <generated>file:/C:/jboss-5.1.0.GA/server/default/tmp/4sj4x5g-bf7pti-h4rbkeda-1-h4rc35xm-yf/ramsreport.war/sitemap.xmap:157:182 
at org.apache.avalon.framework.configuration.DefaultConfiguration.getValue(DefaultConfiguration.java:214) 
at org.apache.cocoon.serialization.AbstractTextSerializer.configure(AbstractTextSerializer.java:216) 
at org.apache.cocoon.serialization.HTMLSerializer.configure(HTMLSerializer.java:79) 
at org.apache.avalon.framework.container.ContainerUtil.configure(ContainerUtil.java:201) 
at org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:289) 
at org.apache.avalon.excalibur.pool.InstrumentedResourceLimitingPool.newPoolable(InstrumentedResourceLimitingPool.java:655) 
at org.apache.avalon.excalibur.pool.InstrumentedResourceLimitingPool.get(InstrumentedResourceLimitingPool.java:371) 
at org.apache.avalon.excalibur.component.PoolableComponentHandler.doGet(PoolableComponentHandler.java:198) 
at org.apache.avalon.excalibur.component.ComponentHandler.get(ComponentHandler.java:381) 
at org.apache.avalon.excalibur.component.ExcaliburComponentSelector.select(ExcaliburComponentSelector.java:215) 
at org.apache.cocoon.components.ExtendedComponentSelector.select(ExtendedComponentSelector.java:299) 
at org.apache.cocoon.components.pipeline.AbstractStreamPipeline.setSerializer(AbstractStreamPipeline.java:158) 
at org.apache.cocoon.components.pipeline.CachingStreamPipeline.setSerializer(CachingStreamPipeline.java:115) 
at org.apache.cocoon.components.pipeline.AbstractStreamPipeline.setSerializer(AbstractStreamPipeline.java:149) 
at org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(SerializeNode.java:131) 
at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:109) 
at org.apache.cocoon.components.treeprocessor.sitemap.HandleErrorsNode.invoke(HandleErrorsNode.java:101) 
at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invokeErrorHandler(PipelineNode.java:212) 
at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:176) 
at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:109) 
at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:145) 
at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:332) 
at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:293) 
at org.apache.cocoon.Cocoon.process(Cocoon.java:579) 
at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1043) 
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.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) 
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:235) 
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) 
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190) 
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92) 
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126) 
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70) 
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) 
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) 
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158) 
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) 
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330) 
at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:905) 
at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:592) 
at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:2036) 
at java.lang.Thread.run(Unknown Source) 
DEBUG (2012-07-17) 13:47.12:579 [core.manager] (/ramsreport/) http-localhost%2F127.0.0.1-8080-1/ExcaliburComponentSelector: UnnamedSelector: ComponentSelector could not find the component for hint [html] 
ERROR (2012-07-17) 13:47.12:579 [core.manager] (/ramsreport/) http-localhost%2F127.0.0.1-8080-1/PipelineNode: Error notifier is unable to notify the problem. Please check the logs. In the default webapp, look in the WEB-INF/logs dir. 
org.apache.avalon.framework.component.ComponentException: UnnamedSelector: ComponentSelector could not find the component for hint [html] (key [html]) 
at org.apache.avalon.excalibur.component.ExcaliburComponentSelector.select(ExcaliburComponentSelector.java:208) 
at org.apache.cocoon.sitemap.DefaultSitemapComponentSelector.select(DefaultSitemapComponentSelector.java:101) 
at org.apache.cocoon.components.ExtendedComponentSelector.select(ExtendedComponentSelector.java:303) 
at org.apache.cocoon.components.pipeline.AbstractStreamPipeline.setSerializer(AbstractStreamPipeline.java:158) 
at org.apache.cocoon.components.pipeline.CachingStreamPipeline.setSerializer(CachingStreamPipeline.java:115) 
at org.apache.cocoon.components.pipeline.AbstractStreamPipeline.setSerializer(AbstractStreamPipeline.java:149) 
at org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(SerializeNode.java:131) 
at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:109) 
at org.apache.cocoon.components.treeprocessor.sitemap.HandleErrorsNode.invoke(HandleErrorsNode.java:101) 
at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invokeErrorHandler(PipelineNode.java:212) 
at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:176) 
at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:109) 
at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:145) 
at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:332) 
at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:293) 
at org.apache.cocoon.Cocoon.process(Cocoon.java:579) 
at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1043) 
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.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) 
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:235) 
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) 
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190) 
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92) 
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126) 
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70) 
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) 
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) 
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158) 
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) 
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330) 
at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:905) 
at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:592) 
at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:2036) 
at java.lang.Thread.run(Unknown Source) 
DEBUG (2012-07-17) 13:47.12:580 [core.event-pipeline] (/ramsreport/) http-localhost%2F127.0.0.1-8080-1/CachingEventPipeline: Recycling of CachingEventPipeline 

 

 

Here I am using below:-

JDK Version: jdk1.6.0_25

Environment: Windows 7

IDE: Eclipse Indigo IDE

Application Server: JBoss 5.1.0 GA Application Server

 

 

Kindly help me on this.

 

 

 

Thanks & Regards,

Sridhar G

Mobile No: (636) 474-9503

 

 

 

 

 

 

 

CONFIDENTIALITY NOTICE This e-mail message and any attachments are only for the use of the intended recipient and may contain information that is privileged, confidential or exempt from disclosure under applicable law. If you are not the intended recipient, any disclosure, distribution or other use of this e-mail message or attachments is prohibited. If you have received this e-mail message in error, please delete and notify the sender immediately. Thank you.