cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikael Olenfalk" <mikael.olenf...@gmail.com>
Subject Re: Problem running the WebDAV sample block from Cocoon 2.2 TRUNK (2006-01-05 19:00 UTC)
Date Mon, 08 Jan 2007 11:59:26 GMT
On 1/6/07, Joerg Heinicke <joerg.heinicke@gmx.de> wrote:
> On 05.01.2007 22:04, Mikael Olenfalk wrote:
>
> >   java.lang.ClassNotFoundException:
> > org.apache.cocoon.generation.JXTemplateGenerator
>
> The correct class name is now
> org.apache.cocoon.template.JXTemplateGenerator.

I have changed the following in
/block/cocoon-webdav/cocoon-webdav-sample/../COB-INF/davmap:

--- sitemap.xmap        2007-01-06 00:02:28.643272000 +0100
+++ sitemap.xmap~       2007-01-06 00:02:28.643272000 +0100
@@ -31,7 +31,7 @@
         pool-max="16"
       />
       <map:generator name="jx"
-        src="org.apache.cocoon.template.JXTemplateGenerator"
+        src="org.apache.cocoon.generation.JXTemplateGenerator"
         logger="generator.jx"
         pool-max="16"
       />

Now I didn't really expect it to work at once (wouldn't that be too
easy :) ) These are the new errors I am getting (what I think is the
real error is marked by >>>>> <<<<<).

org.apache.cocoon.ProcessingException: Error calling function selectMethod
	at [script] - file:/home/mikael/Desktop/COCOON-2.2/cocoon-2.2-svn/trunk/core/cocoon-webapp/target/work/blocks/cocoon-webdav-sample/davmap/webdav.js:20
	at <map:call> -
file:/home/mikael/Desktop/COCOON-2.2/cocoon-2.2-svn/trunk/core/cocoon-webapp/target/work/blocks/cocoon-webdav-sample/davmap/sitemap.xmap:129:43
	at <map:match> -
file:/home/mikael/Desktop/COCOON-2.2/cocoon-2.2-svn/trunk/core/cocoon-webapp/target/work/blocks/cocoon-webdav-sample/davmap/sitemap.xmap:128:36
	at <map:mount> -
file:/home/mikael/Desktop/COCOON-2.2/cocoon-2.2-svn/trunk/core/cocoon-webapp/target/work/blocks/cocoon-webdav-sample/sitemap.xmap:46:49
	at <map:match> -
file:/home/mikael/Desktop/COCOON-2.2/cocoon-2.2-svn/trunk/core/cocoon-webapp/target/work/blocks/cocoon-webdav-sample/sitemap.xmap:45:33
	at <map:mount> -
file:/home/mikael/Desktop/COCOON-2.2/cocoon-2.2-svn/trunk/core/cocoon-webapp/target/cocoon-webapp/blocks/sitemap.xmap:22:63
	at <map:match> -
file:/home/mikael/Desktop/COCOON-2.2/cocoon-2.2-svn/trunk/core/cocoon-webapp/target/cocoon-webapp/blocks/sitemap.xmap:21:33
	at <map:mount> -
file:/home/mikael/Desktop/COCOON-2.2/cocoon-2.2-svn/trunk/core/cocoon-webapp/target/cocoon-webapp/sitemap.xmap:289:47
	at <map:match> -
file:/home/mikael/Desktop/COCOON-2.2/cocoon-2.2-svn/trunk/core/cocoon-webapp/target/cocoon-webapp/sitemap.xmap:288:31
	at org.apache.cocoon.ProcessingException.throwLocated(ProcessingException.java:143)
	at org.apache.cocoon.components.flow.javascript.LocationTrackingDebugger.getException(LocationTrackingDebugger.java:111)
	at org.apache.cocoon.components.flow.javascript.fom.FOM_JavaScriptInterpreter.callFunction(FOM_JavaScriptInterpreter.java:601)
	at org.apache.cocoon.components.treeprocessor.sitemap.CallFunctionNode.invoke(CallFunctionNode.java:109)
	at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:55)
	at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:87)
	at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:77)
	at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:151)
	at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:77)
	at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93)
	at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:240)
	at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:171)
	at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:233)
	at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:115)
	at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:55)
	at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:87)
	at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:77)
	at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:151)
	at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:77)
	at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93)
	at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:240)
	at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:171)
	at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:233)
	at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:115)
	at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:55)
	at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:87)
	at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:77)
	at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:151)
	at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:77)
	at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93)
	at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:240)
	at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:171)
	at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:233)
	at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:115)
	at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:55)
	at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:87)
	at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:77)
	at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:151)
	at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:77)
	at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93)
	at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:240)
	at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:171)
	at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:233)
	at org.apache.cocoon.servlet.RequestProcessor.process(RequestProcessor.java:328)
	at org.apache.cocoon.servlet.RequestProcessor.service(RequestProcessor.java:155)
	at org.apache.cocoon.servlet.SitemapServlet.service(SitemapServlet.java:41)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:459)
	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1054)
	at org.apache.cocoon.servlet.multipart.MultipartFilter.doFilter(MultipartFilter.java:140)
	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1045)
	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:358)
	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:231)
	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:629)
	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:453)
	at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:149)
	at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:123)
	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:141)
	at org.mortbay.jetty.Server.handle(Server.java:303)
	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:452)
	at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:721)
	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:509)
	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:209)
	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:349)
	at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:320)
	at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475)

>>>>>
Caused by: org.apache.avalon.framework.service.ServiceException:
Component with 'org.apache.cocoon.components.repository.SourceRepository'
is not defined in this service manager. (Key='AvalonServiceManager')
>>>>>

	at org.apache.cocoon.core.container.spring.avalon.AvalonServiceManager.lookup(AvalonServiceManager.java:57)
	at org.apache.cocoon.components.flow.javascript.fom.FOM_Cocoon.jsFunction_getComponent(FOM_Cocoon.java:325)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:145)
	at org.mozilla.javascript.FunctionObject.call(FunctionObject.java:471)
	at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:3085)
	at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2251)
	at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:161)
	at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:340)
	at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:2758)
	at org.mozilla.javascript.InterpretedFunction.exec(InterpretedFunction.java:172)
	at org.apache.cocoon.components.flow.javascript.fom.FOM_JavaScriptInterpreter.setupContext(FOM_JavaScriptInterpreter.java:459)
	at org.apache.cocoon.components.flow.javascript.fom.FOM_JavaScriptInterpreter.callFunction(FOM_JavaScriptInterpreter.java:565)


>
> Jörg
>
> ---------------------------------------------------------------------
> 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


Mime
View raw message