cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Le Quesne" <andrew.leque...@nexusalpha.com>
Subject Forms problem with XALAN 2_7_0
Date Mon, 24 Oct 2005 09:56:26 GMT
Hello,

I have recently tried upgrading a cocoon web app to use XALAN 2.7.0 by
copying the new serializer.jar, xalan.jar, xercesImpl.jar and xml-apis.jar
into the WEB-INF Lib folder and removing (copying to an archive folder) the
old jars.

The web app loads ok in Jetty but when I click on a page with cocoon forms
it comes up blank. The error message I get is below. I have also tried
updating the xercesImpl.jar and xml-apis.jar in the jetty\ext dir.

Has anyone else come across this problem and if so is there a fix?

I am using Cocoon 2.1.6, Jetty 4.2.20, Java 1.4.2_08 and XALAN 2.7.0

Thanks

Andrew

10:41:18.793 WARN!! Error for /firstscotrail/login
java.lang.NoSuchMethodError:
org.apache.xerces.dom.NodeImpl.setUserData(Ljava/la
ng/String;Ljava/lang/Object;Lorg/apache/xerces/dom3/UserDataHandler;)Ljava/l
ang/
Object;
        at
org.apache.cocoon.forms.util.DomHelper$LocationTrackingDOMParser.setL
ocation(DomHelper.java:373)
        at
org.apache.cocoon.forms.util.DomHelper$LocationTrackingDOMParser.star
tElement(DomHelper.java:348)
        at
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unkn
own Source)
        at
org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.s
canRootElementHook(Unknown Source)
        at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
Dispatcher.dispatch(Unknown Source)
        at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un
known Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
        at org.apache.cocoon.forms.util.DomHelper.parse(DomHelper.java:325)
        at
org.apache.cocoon.forms.DefaultFormManager.getFormDefinition(DefaultF
ormManager.java:154)
        at
org.apache.cocoon.forms.DefaultFormManager.createForm(DefaultFormMana
ger.java:111)
        at com.journeycheck.acting.InitForm.act(InitForm.java:46)
        at
org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke
(ActTypeNode.java:119)
        at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNo
de.invokeNodes(AbstractParentProcessingNode.java:68)
        at
org.apache.cocoon.components.treeprocessor.sitemap.SelectNode.invoke(
SelectNode.java:97)
        at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNo
de.invokeNodes(AbstractParentProcessingNode.java:68)
        at
org.apache.cocoon.components.treeprocessor.sitemap.SelectNode.invoke(
SelectNode.java:97)
        at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNo
de.invokeNodes(AbstractParentProcessingNode.java:46)
        at
org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke
(ActTypeNode.java:138)
        at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNo
de.invokeNodes(AbstractParentProcessingNode.java:46)
        at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNod
e.invoke(PreparableMatchNode.java:130)
        at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNo
de.invokeNodes(AbstractParentProcessingNode.java:68)
        at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invok
e(PipelineNode.java:138)
        at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNo
de.invokeNodes(AbstractParentProcessingNode.java:68)
        at
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invo
ke(PipelinesNode.java:89)
        at
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.proc
ess(ConcreteTreeProcessor.java:240)
        at
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.hand
leCocoonRedirect(ConcreteTreeProcessor.java:304)
        at
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.acce
ss$000(ConcreteTreeProcessor.java:48)
        at
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor$Tree
ProcessorRedirector.cocoonRedirect(ConcreteTreeProcessor.java:341)
        at
org.apache.cocoon.environment.ForwardRedirector.redirect(ForwardRedir
ector.java:59)
        at
org.apache.cocoon.components.treeprocessor.sitemap.RedirectToURINode.
invoke(RedirectToURINode.java:69)
        at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNo
de.invokeNodes(AbstractParentProcessingNode.java:46)
        at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNod
e.invoke(PreparableMatchNode.java:130)
        at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNo
de.invokeNodes(AbstractParentProcessingNode.java:68)
        at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invok
e(PipelineNode.java:138)
        at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNo
de.invokeNodes(AbstractParentProcessingNode.java:68)
        at
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invo
ke(PipelinesNode.java:89)
        at
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.proc
ess(ConcreteTreeProcessor.java:240)
        at
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.proc
ess(ConcreteTreeProcessor.java:180)
        at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(Tree
Processor.java:243)
        at
org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(M
ountNode.java:117)
        at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNo
de.invokeNodes(AbstractParentProcessingNode.java:46)
        at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNod
e.invoke(PreparableMatchNode.java:130)
        at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNo
de.invokeNodes(AbstractParentProcessingNode.java:68)
        at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invok
e(PipelineNode.java:138)
        at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNo
de.invokeNodes(AbstractParentProcessingNode.java:68)
        at
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invo
ke(PipelinesNode.java:89)
        at
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.proc
ess(ConcreteTreeProcessor.java:240)
        at
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.proc
ess(ConcreteTreeProcessor.java:180)
        at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(Tree
Processor.java:243)
        at org.apache.cocoon.Cocoon.process(Cocoon.java:606)
        at
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:11
19)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358
)
        at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicati
onHandler.java:294)
        at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:5
67)
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1807)
        at
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplication
Context.java:525)
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1757)
        at org.mortbay.http.HttpServer.service(HttpServer.java:879)
        at org.mortbay.http.HttpConnection.service(HttpConnection.java:790)
        at
org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:961)
        at org.mortbay.http.HttpConnection.handle(HttpConnection.java:807)
        at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:
197)
        at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:276)
        at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:511)


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


Mime
View raw message