You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Varga Zsombor <va...@gmail.com> on 2007/05/18 10:46:23 UTC
problem installing cocoon
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
Re: problem installing cocoon
Posted by Varga Zsombor <va...@gmail.com>.
Yes, it is solved. There were some problem with the security settings
at my provider.
Zsombor
On 5/21/07, Joerg Heinicke <jo...@gmx.de> wrote:
> 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
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: problem installing cocoon
Posted by Joerg Heinicke <jo...@gmx.de>.
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