You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by Renaud Richardet <re...@gmail.com> on 2005/08/17 01:36:14 UTC
issues with Xalan-2.7.0 [was: Re: questions concerning java libraries]
Hello,
I svn updated my Cocoon and experienced problems with Xalan (could'nt
log in). Is anybody experiencing the same (see stacktrace below)? I
could fix it by using the 2.6.1 version.
Thanks,
Renaud
My setup: ubuntu, java 1.4.2, jetty, cocoon-2.1.x, lenya-1.4.x
17:04:47.495 WARN!! Error for
/default/authoring/?lenya.usecase=ac.login&referrerQueryString=
java.lang.NoSuchMethodError:
javax.xml.transform.dom.DOMResult.getNextSibling()Lorg/w3c/dom/Node;
at
org.apache.xalan.transformer.TransformerIdentityImpl.createResultContentHandler(TransformerIdentityImpl.java:199)
at
org.apache.xalan.transformer.TransformerIdentityImpl.setDocumentLocator(TransformerIdentityImpl.java:880)
at
org.apache.cocoon.xml.AbstractXMLPipe.setDocumentLocator(AbstractXMLPipe.java:39)
at org.apache.xerces.parsers.AbstractSAXParser.startDocument(Unknown Source)
at org.apache.xerces.impl.dtd.XMLDTDValidator.startDocument(Unknown Source)
at org.apache.xerces.impl.XMLDocumentScannerImpl.startEntity(Unknown Source)
at
org.apache.xerces.impl.XMLVersionDetector.startDocumentParsing(Unknown
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.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at org.apache.excalibur.xml.impl.JaxpParser.parse(JaxpParser.java:296)
--
Renaud Richardet
COO America
Wyona Inc. - Open Source Content Management - Apache Lenya
office +1 857 776-3195 mobile +1 617 230 9112
renaud.richardet@wyona.com http://www.wyona.com
Antonio Gallardo wrote:
> Hi Jann:
>
> Tagging xml-apis.jar as usual, is problematic. It involves external
> interfaces. xml-commons is aware of this and there is a work in
> progress in this area. As a workaround, use xml-apis.jar that is
> distributes with the xerces you will use.
> One of the main changes in xerces 2.7.0 is DOM3, hence xml-apis
> include DOM3 interfaces. This is why you cannot use the xml.apis.jar
> from xerces 2.6.2.
>
> Xerces in cocoon will be rollbacked to xerces 2.6.2. Not because 2.7.0
> is buggy, but because was requested to keep backward compatibility.
> Specially concerns are related to Applications servers (weird, right?
> lol.) . Xerces 2.7.0 works like a charm and is faster than his
> predecesor. I am a happy using it with Lenya 2.1.x-dev and cocoon
> 2.1.8-dev in our 15 days-old new intranet. Until now no problems at all.
>
> Important thing to keep in mind: cocoon 2.2 will ship xerces 2.7.0. ;-)
>
> I hope this helps.
>
> Best Regards,
>
> Antonio Gallardo.
>
> Jann Forrer wrote:
>
>> Hi
>>
>> Yesterday I had some problem with the create usecae. I could solve the
>> problem if i used the xml-apis.jar from $LENYA_HOME/lib instead of
>> the one
>> shipped with cocoon-2.1.X (BTW the build process should copy the
>> $LENYA_HOME/lib to $LENYA_HOME/build/lenya/webapp/WEB-INF/lib/ but there
>> is already the xml-apis.jar from cocoon-2.1.X and it is not
>> overwritten).
>>
>> The following questions arised from this finding:
>>
>> - Which xml-apis.jar should be used? The cocoon one or the lenya one?
>>
>> - There is a xercesImpl-2.6.2.jar in $LENYA_HOME/lib and a
>> xercesImpl-2.7.0.jar in the cocoon lib. After build.sh I end up
>> whith both libraries in $LENYA_HOME/build/lenya/webapp/WEB-INF/lib/.
>> Are both libs necessary?
>>
>> Jann
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
>> For additional commands, e-mail: dev-help@lenya.apache.org
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
> For additional commands, e-mail: dev-help@lenya.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org
Re: issues with Xalan-2.7.0 [was: Re: questions concerning java libraries]
Posted by Oliver Schalch <ol...@wyona.com>.
Antonio Gallardo said the following on 17.08.2005 15:46:
> Renaud Richardet wrote:
>
> java.lang.NoSuchMethodError:
> javax.xml.transform.dom.DOMResult.getNextSibling()Lorg/w3c/dom/Node;
>
> Seems to be an endorsed lib problem. Try to copy to you java endorsed
> lib the jars in $COCOON_HOME/lib/endorsed (5 jars) and let me know if
> you still have some problems.
I have similiar problems, because I need for a special publication with
Lenya 1.2.x the Cocoon-Branch 2.1.x, after the last svn up, i have also
that MethodError, I had a shout in dev@cocoon:
http://www.mail-archive.com/dev%40cocoon.apache.org/msg33630.html
Just FYI,
Oliver
Re: issues with Xalan-2.7.0 [was: Re: questions concerning java libraries]
Posted by Antonio Gallardo <ag...@agssa.net>.
Renaud Richardet wrote:
> Hello,
>
> I svn updated my Cocoon and experienced problems with Xalan (could'nt
> log in). Is anybody experiencing the same (see stacktrace below)? I
> could fix it by using the 2.6.1 version.
java.lang.NoSuchMethodError:
javax.xml.transform.dom.DOMResult.getNextSibling()Lorg/w3c/dom/Node;
Seems to be an endorsed lib problem. Try to copy to you java endorsed
lib the jars in $COCOON_HOME/lib/endorsed (5 jars) and let me know if
you still have some problems.
Best Regards,
Antonio Gallardo.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org