[Chiba-users] installing chiba-web-2.0.0rc1
Creators discontinued Chiba & founded betterFORM http://betterform.de
Brought to you by:
chibaxforms,
windauer
From: Alexander S. <A.S...@hu...> - 2005-12-23 11:38:15
|
Chaps, I'm trying to get chiba-web-2.0.0rc1 working under resin 3.0.17 After a bit of fighting, I am now at the stage where I get=20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D javax.xml.transform.TransformerException: org.apache.xerces.dom.DeferredElementNSImpl appearing whenever I try and run one of the samples. At the end of the message are the additions I had to make to the web.xml file to get this far. Any idea what to do to get round this? The rest of the stack trace is :- org.chiba.xml.xforms.exception.XFormsException: javax.xml.transform.TransformerException: org.apache.xerces.dom.DeferredElementNSImpl at org.chiba.tools.xslt.XSLTGenerator.generate(Ljava.io.Writer;)V(Unknown Source) at org.chiba.tools.xslt.XSLTGenerator.generate()V(Unknown Source) at org.chiba.adapter.servlet.ChibaServlet.doGet(ChibaServlet.java:314) at javax.servlet.http.HttpServlet.service(HttpServlet.java:115) at javax.servlet.http.HttpServlet.service(HttpServlet.java:92) at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChai n.java:106) at com.caucho.server.cache.CacheFilterChain.doFilter(CacheFilterChain.java: 209) at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.ja va:178) at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.j ava:229) at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:267) at com.caucho.server.port.TcpConnection.run(TcpConnection.java:388) at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:490) at com.caucho.util.ThreadPool.run(ThreadPool.java:423) at java.lang.Thread.run()V(Unknown Source) Caused by: javax.xml.transform.TransformerException: org.apache.xerces.dom.DeferredElementNSImpl at org.chiba.tools.xslt.StylesheetCache.loadStylesheet(Ljava.lang.String;)L org.chiba.tools.xslt.StylesheetCache$Stylesheet;(Unknown Source) at org.chiba.tools.xslt.StylesheetCache.getTransformer(Ljava.lang.String;)L javax.xml.transform.Transformer;(Unknown Source) at org.chiba.tools.xslt.StylesheetLoader.createTransformer(Ljava.lang.Strin g;Lorg.w3c.dom.Node;)Ljavax.xml.transform.Transformer;(Unknown Source) ... 14 more Caused by: java.lang.ClassCastException: org.apache.xerces.dom.DeferredElementNSImpl at com.caucho.xsl.AbstractStylesheetFactory.generate(Lorg.w3c.dom.Node;Lcom .caucho.vfs.Path;)Ljavax.xml.transform.Templates;(AbstractStylesheetFact ory.java:???) at com.caucho.xsl.AbstractStylesheetFactory.generateFromNode(AbstractStyles heetFactory.java:628) at com.caucho.xsl.AbstractStylesheetFactory.newTemplates(AbstractStylesheet Factory.java:567) ... 17 more Caused by: java.lang.ClassCastException: org.apache.xerces.dom.DeferredElementNSImpl at com.caucho.xsl.Generator.getXslLocal(Generator.java:2450) at com.caucho.xsl.Generator.generate(Generator.java:340) ... 20 more =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Web.xml additions <system-property javax.xml.parsers.DocumentBuilderFactory=3D "org.apache.xerces.jaxp.DocumentBuilderFactoryImpl"/> <system-property javax.xml.parsers.SAXParserFactory=3D "org.apache.xerces.jaxp.SAXParserFactoryImpl"/> <class-loader> <library-loader path=3D'/usr/web/comms/deploy/chiba-web-2.0.0RC1/lib'/> <simple-loader path=3D'/usr/web/comms/deploy/chiba-web-2.0.0RC1/xsl'/> </class-loader> And the contents of the WEB-INF/lib directory are activation.jar core chiba-1.2.0.jar dwr.jar chiba-schemabuilder.jar log4j-1.2.8.jar commons-codec-1.2.jar mail.jar commons-fileupload-1.0-patched.jar servlet.jar commons-httpclient-3.0.jar xercesImpl-2.7.1.jar commons-jxpath-1.2.jar xml-apis.jar commons-logging.jar xmlrpc-1.2-b1.jar |