cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Heinicke <joerg.heini...@gmx.de>
Subject Re: problem installing cocoon
Date Mon, 21 May 2007 18:56:44 GMT
Can it be that your main problems are solved? When I view that site 
there is no longer an initialization problem, but only the samples 
sitemap can't be found.

Joerg

On 18.05.2007 10:46, Varga Zsombor wrote:
> Hi All!
> 
> I have a problem with installing cocoon.
> First I've installed cocoon to my PC (WinXP, JDK 1.5.0, Cocoon 2.1.10,
> Tomcat 6.0). Eveerything is OK and working well.
> Then I tried to upload this cocoon to my web hosting provider (Debian,
> JDK 1.5.0, Tomcat 5.5). There were some security proble, but theese
> were solved by the provider. But I got an exception:
> 
> Initialization Problem
> Message: org.apache.cocoon.components.CocoonComponentManager
> Description: 
> org.apache.avalon.framework.configuration.ConfigurationException:
> Cannot resolve context://sitemap.xmap
> Sender: org.apache.cocoon.servlet.CocoonServlet
> Source: Cocoon Servlet
> cause: java.lang.ClassCastException:
> org.apache.cocoon.components.CocoonComponentManager
> request-uri: /cocoon/
> full exception chain stacktrace:
> org.apache.avalon.framework.configuration.ConfigurationException:
> Cannot resolve context://sitemap.xmap
>     at 
> org.apache.cocoon.components.treeprocessor.TreeProcessor.configure(TreeProcessor.java:203)

> 
> 
> So I searched for this string: context://sitemap.xmap, I found it in
> cocoon.xconf:
> <sitemap check-reload="yes" file="context://sitemap.xmap" 
> logger="sitemap"/>
> 
> I replaced context:// to the absolute path of the main sitemap. But
> now I get this exception:
> 
> Initialization Problem
> Message: org.apache.cocoon.components.CocoonComponentManager
> Description: org.apache.avalon.framework.service.ServiceException:
> Could not access the Component (key
> [org.apache.cocoon.template.script.InstructionFactory])
> (Key='org.apache.cocoon.template.script.InstructionFactory')
> Sender: org.apache.cocoon.servlet.CocoonServlet
> Source: Cocoon Servlet
> cause: java.lang.ClassCastException:
> org.apache.cocoon.components.CocoonComponentManager
> request-uri: /cocoon/
> full exception chain stacktrace:
> org.apache.avalon.framework.service.ServiceException: Could not access
> the Component (key
> [org.apache.cocoon.template.script.InstructionFactory])
> (Key='org.apache.cocoon.template.script.InstructionFactory')
>     at 
> org.apache.avalon.framework.service.WrapperServiceManager.lookup(WrapperServiceManager.java:80)....

> 
> 
> 
> You can see this here: http://www.focitipp.com/cocoon/
>     
> Have anyone any idea about this?
> 
> Thanks:
> 
> Zsombor

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


Mime
View raw message