Hi,

I am trying to get jboss 3.2.5 and cocoon 2.1.5.1 play nicely together.

1) I copied my webapp dir to server/default/deploy,
2) Moved xml-apis.jar and xercesImpl-2.6.2.jar from cocoon.war/WEB-INF/lib to server/default/lib.


When i use xsltc as stylesheet transformer i get

13:15:53,414 ERROR [Engine] StandardWrapperValve[Cocoon]: Servlet.service() for servlet Cocoon threw exception
java.lang.NoSuchMethodError: org.apache.xml.dtm.ref.sax2dtm.SAX2DTM.<init>(Lorg/apache/xml/dtm/DTMManager;Ljavax/xml/transform/Source;ILorg/apache/xml/dtm/DTMWSFilter;Lorg/apache/xml/utils/XMLStringFactory;ZIZZ)V
at org.apache.xml.dtm.ref.sax2dtm.SAX2DTM2.<init>(SAX2DTM2.java:1866)



When i use Xalan things work.

Is there anything i need to do in order to make it work with xsltc? I tried the paranoidservlet without success.




Here is the xalan environment check

<EnvironmentCheck version="$Revision: 1.14 $">
-
        <environment>
<item key="version.DOM.draftlevel">2.0fd</item>
-
        <item key="java.class.path">
D:\compilers\j2sdk1.4.2_03\\lib\tools.jar;d:\servers\jboss-3.2.5\bin\\run.jar
</item>
<item key="version.JAXP">1.1</item>
<item key="java.ext.dirs">D:\compilers\j2sdk1.4.2_03\jre\lib\ext</item>
<item key="version.xerces2">Xerces-J 2.6.2</item>
<item key="version.xerces1">not-present</item>
<item key="version.xalan2_2">Xalan Java 2.4.1</item>
<item key="version.xalan1">not-present</item>
<item key="version.ant">not-present</item>
<item key="java.version">1.4.2_03</item>
<item key="version.DOM">2.0</item>
<item key="version.crimson">present-unknown-version</item>
-
        <item key="sun.boot.class.path">
D:\compilers\j2sdk1.4.2_03\jre\lib\rt.jar;D:\compilers\j2sdk1.4.2_03\jre\lib\i18n.jar;D:\compilers\j2sdk1.4.2_03\jre\lib\sunrsasign.jar;D:\compilers\j2sdk1.4.2_03\jre\lib\jsse.jar;D:\compilers\j2sdk1.4.2_03\jre\lib\jce.jar;D:\compilers\j2sdk1.4.2_03\jre\lib\charsets.jar;D:\compilers\j2sdk1.4.2_03\jre\classes
</item>
<item key="version.SAX">2.0</item>
<item key="version.xalan2x">Xalan Java 2.4.1</item>
</environment>
<status result="OK"/>
</EnvironmentCheck>


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to