Hi,
I couldn't find any instructions for installing cocoon 2.0.4 with Tomcat version 5.x so I followed the same instructions as Tomcat 4.0.3.
My war unpacks ok and the sitemap .java and .class files are generated OK.
However, when I try to open a web page, I get the following exception
org.apache.avalon.framework.configuration.ConfigurationException: Error in sitemap configuration : UnnamedSelector: ComponentSelector could not find the component for hint []
at org.apache.cocoon.www.sitemap_xmap.configure(D:\Tomcat\jakarta-tomcat-5.0.27\work\Catalina\localhost\console\cocoon-files\org/apache/cocoon/www\sitemap_xmap.java:287)
at org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:264)
at org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:98)
at org.apache.cocoon.components.language.generator.GeneratorSelector.addGenerator(GeneratorSelector.java:187)
at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.createResource(ProgramGeneratorImpl.java:357)
at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java:312)
at org.apache.cocoon.sitemap.Handler.run(Handler.java:267)
at java.lang.Thread.run(Thread.java:534)
Caused by: org.apache.avalon.framework.component.ComponentException: UnnamedSelector: ComponentSelector could not find the component for hint []
at org.apache.avalon.excalibur.component.ExcaliburComponentSelector.select(ExcaliburComponentSelector.java:198)
at org.apache.cocoon.sitemap.DefaultSitemapComponentSelector.select(DefaultSitemapComponentSelector.java:101)
at org.apache.cocoon.sitemap.DefaultSitemapComponentSelector.select(DefaultSitemapComponentSelector.java:104)
at org.apache.cocoon.www.sitemap_xmap.preparePattern(D:\Tomcat\jakarta-tomcat-5.0.27\work\Catalina\localhost\console\cocoon-files\org/apache/cocoon/www\sitemap_xmap.java:1693)
at org.apache.cocoon.www.sitemap_xmap.prepareMatchers(D:\Tomcat\jakarta-tomcat-5.0.27\work\Catalina\localhost\console\cocoon-files\org/apache/cocoon/www\sitemap_xmap.java:1712)
at org.apache.cocoon.www.sitemap_xmap.configure(D:\Tomcat\jakarta-tomcat-5.0.27\work\Catalina\localhost\console\cocoon-files\org/apache/cocoon/www\sitemap_xmap.java:280)
... 7 more
I know the cocoon app itself is fine because it all works fines with Tomcat4.0.3.
Has anyone else come across this problem/tried cocoon 2.0.4 with Tomcat 5?
Thanks,
Laoise
