Hello,
I'm having a helluva time getting Cocoon-2.0.3 going...
I'm using Tomcat 4.0.12 on RedHat 7.3 with j2se 1.3.1 (IBM).
I have jaxp1.1 installed as an extension in my JAVA_HOME/jre/lib/ext
directory... It seems like cocoon is using an older parser, but like I
said, I'm a newbie...
I've tried the binary installation; copied cocoon.war into the webapps
directory. On startup, cocoon logs lines like this to the server (they go
on for a while, but here's a sample):
2002-10-23 16:17:07 DEBUG (2002-10-23) 16:17.07:736 []
(Unknown-URI) Unknown-thread/DefaultLogTarget
FactoryManager: added new LogTargetFactory of type priority-filter
2002-10-23 16:17:07 DEBUG (2002-10-23) 16:17.07:749 []
(Unknown-URI) Unknown-thread/DefaultLogTarget
FactoryManager: added new LogTargetFactory of type servlet
2002-10-23 16:17:07 DEBUG (2002-10-23) 16:17.07:785 []
(Unknown-URI) Unknown-thread/DefaultLogTarget
FactoryManager: added new LogTargetFactory of type cocoon
After calling the cocoon home page, the cocoon error log looks like this
(same error that is printed on the home page):
ERROR (2002-10-23) 16:24.04:723 [sitemap] (/cocoon/) Thread-9/Handler:
Error compiling sitemap
2 org.apache.cocoon.ProcessingException: Exception in creating
Transform Handler: java.lang.IllegalArgumentException:
http://xml.apache.org/xalan/features/incremental
at
org.apache.cocoon.components.xslt.XSLTProcessorImpl.getTransformerHandler(XS
LTProcessorImpl.java:295)
at
org.apache.cocoon.components.language.markup.Logicsheet.getTransformerHandle
r(Logicsheet.java:160)
( continue stack trace ) ...
So I tried to build cocoon, but (of course!) it won't compile. The errors I
get there are:
/home/magill/cocoon-2.0.3/build/cocoon/scratchpad/src/org/apache/cocoon/suns
hine/context/SimpleSessionContext.java:151: cannot resolve symbol
symbol : method getDTMHandleFromNode (org.w3c.dom.Document)
location: class org.apache.xpath.XPathContext
int ctxtNode = xpathSupport.getDTMHandleFromNode(data);
^
/home/magill/cocoon-2.0.3/build/cocoon/scratchpad/src/org/apache/cocoon/suns
hine/context/SimpleSessionContext.java:152:
execute(org.apache.xpath.XPathContext,org.w3c.dom.Node,org.apache.xml.utils.
PrefixResolver) in org.apache.xpath.XPath cannot be applied to
(org.apache.xpath.XPathContext,int,org.apache.xml.utils.PrefixResolverDefaul
t)
return xpath.execute(xpathSupport, ctxtNode, prefixResolver);
^
/home/magill/cocoon-2.0.3/build/cocoon/scratchpad/src/org/apache/cocoon/suns
hine/context/SimpleSessionContext.java:171: cannot resolve symbol
symbol : method nodelist ()
location: class org.apache.xpath.objects.XObject
list = doXPath(path).nodelist();
^
/home/magill/cocoon-2.0.3/build/cocoon/scratchpad/src/org/apache/cocoon/suns
hine/context/SimpleSessionContext.java:293: cannot resolve symbol
symbol : method nodelist ()
location: class org.apache.xpath.objects.XObject
list = doXPath(path).nodelist();
^
/home/magill/cocoon-2.0.3/build/cocoon/scratchpad/src/org/apache/cocoon/suns
hine/context/SimpleSessionContext.java:342: cannot resolve symbol
symbol : method nodelist ()
location: class org.apache.xpath.objects.XObject
result = doXPath(path).nodelist();
^
/home/magill/cocoon-2.0.3/build/cocoon/scratchpad/src/org/apache/cocoon/suns
hine/context/SimpleSessionContext.java:452: cannot resolve symbol
symbol : method nodelist ()
location: class org.apache.xpath.objects.XObject
list = doXPath(path).nodelist();
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -deprecation for details.
6 errors
Any suggestions??
Thanks
-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]