cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin O'Neill" <ke...@rocketred.com.au>
Subject OK. I'm stumped
Date Thu, 16 Aug 2001 06:02:14 GMT
Hey all.

I'm trying to get the current CVS build of cocoon up and running under
jboss (JBoss-2.4.0.26_Tomcat-3.2.3). I've followed the instructions at
http://xml.apache.org/cocoon2/install.html  which are for 2.2 and 3.2.2
with no success.

The stack trace is as follows:

ERROR   (2001-08-16) 15:17.43:269   [cocoon  ] (/cocoon/)
Thread-27/TraxErrorHandler: Error in TraxTransformer:
jar:file:C:/java/servers/JBoss-2.4.0_Tomcat-3.2.3/tomcat/webapps/cocoon/
WEB-INF/lib/cocoon-2.0b2-dev.jar!/org/apache/cocoon/components/language/
markup/sitemap/java/sitemap.xsl; Line 151; Column 160; 
; SystemID:
jar:file:C:/java/servers/JBoss-2.4.0_Tomcat-3.2.3/tomcat/webapps/cocoon/
WEB-INF/lib/cocoon-2.0b2-dev.jar!/org/apache/cocoon/components/language/
markup/sitemap/java/sitemap.xsl; Line#: 151; Column#: 160
javax.xml.transform.TransformerException: For extension function, could
not find method static
org.apache.cocoon.sitemap.XSLTFactoryLoader.getParameterSource([Expressi
onContext, ]#UNKNOWN (org.apache.cocoon.sitemap.XSLTFactoryLoader),
#STRING, #RTREEFRAG) nor
class
org.apache.cocoon.sitemap.XSLTFactoryLoader.getParameterSource([Expressi
onContext,] #STRING, #RTREEFRAG).
	at
org.apache.xalan.extensions.ExtensionHandlerJavaClass.callFunction(Exten
sionHandlerJavaClass.java:356)
	at
org.apache.xalan.extensions.ExtensionsTable.extFunction(ExtensionsTable.
java:253)
	at
org.apache.xpath.functions.FuncExtFunction.execute(FuncExtFunction.java:
141)
	at org.apache.xpath.XPath.execute(XPath.java:269)
	at
org.apache.xalan.templates.ElemValueOf.execute(ElemValueOf.java:250)
	at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Trans
formerImpl.java:2154)
	at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Trans
formerImpl.java:2097)
	at org.apache.xalan.templates.ElemIf.execute(ElemIf.java:166)
	at
org.apache.xalan.templates.ElemForEach.transformSelectedNodes(ElemForEac
h.java:495)
	at
org.apache.xalan.templates.ElemForEach.execute(ElemForEach.java:228)
	at
org.apache.xalan.templates.ElemForEach.transformSelectedNodes(ElemForEac
h.java:495)
	at
org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates
.java:193)
	at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Trans
formerImpl.java:2154)
	at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Trans
formerImpl.java:2097)
	at
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.j
ava:739)
	at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Trans
formerImpl.java:2154)
	at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Trans
formerImpl.java:2097)
	at
org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(Transfo
rmerImpl.java:2029)
	at
org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerIm
pl.java:1189)
	at
org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:28
94)
	at java.lang.Thread.run(Thread.java:484)
---------
java.lang.NoSuchMethodException: For extension function, could not find
method static
org.apache.cocoon.sitemap.XSLTFactoryLoader.getParameterSource([Expressi
onContext, ]#UNKNOWN (org.apache.cocoon.sitemap.XSLTFactoryLoader),
#STRING, #RTREEFRAG) nor
class
org.apache.cocoon.sitemap.XSLTFactoryLoader.getParameterSource([Expressi
onContext,] #STRING, #RTREEFRAG).
	at
org.apache.xalan.extensions.MethodResolver.getMethod(MethodResolver.java
:307)
	at
org.apache.xalan.extensions.ExtensionHandlerJavaClass.callFunction(Exten
sionHandlerJavaClass.java:319)
	at
org.apache.xalan.extensions.ExtensionsTable.extFunction(ExtensionsTable.
java:253)
	at
org.apache.xpath.functions.FuncExtFunction.execute(FuncExtFunction.java:
141)
	at org.apache.xpath.XPath.execute(XPath.java:269)
	at
org.apache.xalan.templates.ElemValueOf.execute(ElemValueOf.java:250)
	at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Trans
formerImpl.java:2154)
	at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Trans
formerImpl.java:2097)
	at org.apache.xalan.templates.ElemIf.execute(ElemIf.java:166)
	at
org.apache.xalan.templates.ElemForEach.transformSelectedNodes(ElemForEac
h.java:495)
	at
org.apache.xalan.templates.ElemForEach.execute(ElemForEach.java:228)
	at
org.apache.xalan.templates.ElemForEach.transformSelectedNodes(ElemForEac
h.java:495)
	at
org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates
.java:193)
	at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Trans
formerImpl.java:2154)
	at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Trans
formerImpl.java:2097)
	at
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.j
ava:739)
	at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Trans
formerImpl.java:2154)
	at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Trans
formerImpl.java:2097)
	at
org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(Transfo
rmerImpl.java:2029)
	at
org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerIm
pl.java:1189)
	at
org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:28
94)
	at java.lang.Thread.run(Thread.java:484)
ERROR   (2001-08-16) 15:17.48:807   [cocoon  ] (/cocoon/)
Thread-27/Handler: Error compiling sitemap
java.util.NoSuchElementException
	at java.util.StringTokenizer.nextToken(StringTokenizer.java:235)
	at java.util.StringTokenizer.nextToken(StringTokenizer.java:262)
	at
org.apache.cocoon.components.language.programming.java.Javac.parseModern
Error(Javac.java:137)
	at
org.apache.cocoon.components.language.programming.java.Javac.parseModern
Stream(Javac.java:119)
	at
org.apache.cocoon.components.language.programming.java.Javac.parseStream
(Javac.java:85)
	at
org.apache.cocoon.components.language.programming.java.AbstractJavaCompi
ler.getErrors(AbstractJavaCompiler.java:114)
	at
org.apache.cocoon.components.language.programming.java.JavaLanguage.comp
ile(JavaLanguage.java:190)
	at
org.apache.cocoon.components.language.programming.CompiledProgrammingLan
guage.load(CompiledProgrammingLanguage.java:140)
	at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.gen
erateResource(ProgramGeneratorImpl.java:296)
	at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.loa
d(ProgramGeneratorImpl.java:204)
	at org.apache.cocoon.sitemap.Handler.run(Handler.java:207)
	at java.lang.Thread.run(Thread.java:484)
ERROR   (2001-08-16) 15:17.48:807   [cocoon  ] (/cocoon/)
Thread-27/CocoonServlet: Problem with servlet
org.apache.cocoon.ProcessingException: Exception in
Handler:java.util.NoSuchElementException
	at
org.apache.cocoon.sitemap.Handler.throwEventualException(Handler.java:24
2)
	at
org.apache.cocoon.sitemap.Handler.regenerate(Handler.java:154)
	at
org.apache.cocoon.sitemap.Manager.getHandler(Manager.java:174)
	at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:100)
	at org.apache.cocoon.Cocoon.process(Cocoon.java:423)
	at
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:535)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
	at org.apache.tomcat.core.Handler.service(Handler.java:287)
	at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
	at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.jav
a:812)
	at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)
	at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(H
ttpConnectionHandler.java:213)
	at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416
)
	at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:50
1)
	at java.lang.Thread.run(Thread.java:484)
java.util.NoSuchElementException
	at java.util.StringTokenizer.nextToken(StringTokenizer.java:235)
	at java.util.StringTokenizer.nextToken(StringTokenizer.java:262)
	at
org.apache.cocoon.components.language.programming.java.Javac.parseModern
Error(Javac.java:137)
	at
org.apache.cocoon.components.language.programming.java.Javac.parseModern
Stream(Javac.java:119)
	at
org.apache.cocoon.components.language.programming.java.Javac.parseStream
(Javac.java:85)
	at
org.apache.cocoon.components.language.programming.java.AbstractJavaCompi
ler.getErrors(AbstractJavaCompiler.java:114)
	at
org.apache.cocoon.components.language.programming.java.JavaLanguage.comp
ile(JavaLanguage.java:190)
	at
org.apache.cocoon.components.language.programming.CompiledProgrammingLan
guage.load(CompiledProgrammingLanguage.java:140)
	at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.gen
erateResource(ProgramGeneratorImpl.java:296)
	at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.loa
d(ProgramGeneratorImpl.java:204)
	at org.apache.cocoon.sitemap.Handler.run(Handler.java:207)
	at java.lang.Thread.run(Thread.java:484)
java.util.NoSuchElementException
	at java.util.StringTokenizer.nextToken(StringTokenizer.java:235)
	at java.util.StringTokenizer.nextToken(StringTokenizer.java:262)
	at
org.apache.cocoon.components.language.programming.java.Javac.parseModern
Error(Javac.java:137)
	at
org.apache.cocoon.components.language.programming.java.Javac.parseModern
Stream(Javac.java:119)
	at
org.apache.cocoon.components.language.programming.java.Javac.parseStream
(Javac.java:85)
	at
org.apache.cocoon.components.language.programming.java.AbstractJavaCompi
ler.getErrors(AbstractJavaCompiler.java:114)
	at
org.apache.cocoon.components.language.programming.java.JavaLanguage.comp
ile(JavaLanguage.java:190)
	at
org.apache.cocoon.components.language.programming.CompiledProgrammingLan
guage.load(CompiledProgrammingLanguage.java:140)
	at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.gen
erateResource(ProgramGeneratorImpl.java:296)
	at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.loa
d(ProgramGeneratorImpl.java:204)
	at org.apache.cocoon.sitemap.Handler.run(Handler.java:207)
	at java.lang.Thread.run(Thread.java:484) 

I've verified my build with run with both Tomcat-3.2.3 and Tomcat-4.0b7.
I'm stuck. I don't often end up stuck, but I am now. Anybody got an
insight?

k.


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


Mime
View raw message