You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Elliot Wiltshire <ew...@esportz.com> on 2004/07/27 20:01:06 UTC

Cocoon 2.0.4 under JBoss 3.2.5

Hi there,

I've successfully deployed Cocoon 2.0.4 under JBoss 3.2.5 (JDK 1.4.2_05) on Windows by fixing the batik jar file, re-jarring cocoon.war and copying to JBoss' deploy directory.

Linux seems to be a different story. JBoss, JDK, Cocoon and cocoon.war are all the same, but I get the following exception after I deploy cocoon.war and surf to http://host:8080/cocoon . I've done sufficient Google 'grepping', and have found others with the same problem, but no solutions posted other than upgrading to Cocoon 2.1.5. Cocoon isn't the only application running on the web server, and an upgrade will be a serious pain. Due to time constraints, I'd rather get 2.0.4 working and worry about a upgrade later.

I have tried:

- Using ParanoidCocoonServlet
- Setting init-classloader to true in web.xml
- Using extra-classpath in web.xml
- Creating $JAVA_HOME/jre/lib/endorsed/ and putting Cocoon's versions of Xerces, Xalan and xml-apis jars
- Changing the sitemap.xmap to a "minimum" sitemap

Thanks very much,
Elliot.

========================================================

type fatal

message Error in sitemap configuration : UnnamedSelector: ComponentSelector could not find the component for hint [] (key [])

description org.apache.avalon.framework.configuration.ConfigurationException: Error in sitemap configuration : UnnamedSelector: ComponentSelector could not find the component for hint [] (key [])

sender org.apache.cocoon.servlet.CocoonServlet

source Cocoon servlet

stack-trace

org.apache.avalon.framework.configuration.ConfigurationException: Error in sitemap configuration : UnnamedSelector: ComponentSelector could not find the component for hint [] (key [])
	at org.apache.cocoon.www.sitemap_xmap.configure(/sites/mysite/work/jboss.web/localhost/cocoon/cocoon-files/org/apache/cocoon/www/sitemap_xmap.java:477)
	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 [] (key [])
	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(/sites/mysite/work/jboss.web/localhost/cocoon/cocoon-files/org/apache/cocoon/www/sitemap_xmap.java:2054)
	at org.apache.cocoon.www.sitemap_xmap.prepareMatchers(/sites/mysite/work/jboss.web/localhost/cocoon/cocoon-files/org/apache/cocoon/www/sitemap_xmap.java:2073)
	at org.apache.cocoon.www.sitemap_xmap.configure(/sites/mysite/work/jboss.web/localhost/cocoon/cocoon-files/org/apache/cocoon/www/sitemap_xmap.java:470)
	... 7 more

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