Well at least when I run the Example XUpdate program I get the same error: XML:DB Exception occured 1 Query error: java.lang.Exception: java.lang.NoClassDefFoundError: org/apache/xerces/framework/XMLParser
So does anyone know how to fix this? --- grenoml <[EMAIL PROTECTED]> wrote: > I tried adding the Xerces 1.4.3 jar to xindice-1.1b/WEB-INF/lib but > then this gives me this error: > > XML:DB Exception occured 1 641 Query error: java.lang.Exception: > java.lang.VerifyError: (class: > org/xmldb/xupdate/lexus/XUpdateQueryImpl, method: main signature > : ([Ljava/lang/String;)V) Incompatible object argument for function > call > org.xmldb.api.base.XMLDBException: Query error: java.lang.Exception: > java.lang.VerifyError: (class: > org/xmldb/xupdate/lexus/XUpdateQueryImpl, method: main signature: > ([Ljava/lang/String;)V) Incompatible object argument for function > call > at > org.apache.xindice.core.FaultCodes.createXMLDBException(FaultCodes.java:577) > at > org.apache.xindice.client.xmldb.xmlrpc.CollectionImpl.query(CollectionImpl.java:562) > at > org.apache.xindice.client.xmldb.XindiceCollection.query(XindiceCollection.java:285) > at > org.apache.xindice.client.xmldb.services.QueryService.query(QueryService.java:129) > at > org.apache.xindice.client.xmldb.services.XUpdateQueryServiceImpl.upda > te(XUpdateQueryServiceImpl.java:124) > at > com.teliant.jsp.beans.xupdate.XUpdate.xupdate(XUpdate.java:55) > at > org.apache.jsp.testxmldb_jsp._jspService(testxmldb_jsp.java:208) > at > org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:136) > at > javax.servlet.http.HttpServlet.service(HttpServlet.java:853) > at > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:202) > > Anyone have any ideas on how to fix this? > > > > --- grenoml <[EMAIL PROTECTED]> wrote: > > Got rid of one problem, no longer getting the 'connection > refused' > > error. I went and cleaned out all old jars everywhere - must > > remember > > to do this often on cutting edge! :) > > > > Now I am getting a database connection created and my xupdate > bean > > is > > being called. But, I get a different error: > > > > org.xmldb.api.base.XMLDBException: Query error: > java.lang.Exception: > > java.lang.NoClassDefFoundError: > org/apache/xerces/framework/XMLParser > > > > at > > > org.apache.xindice.core.FaultCodes.createXMLDBException(FaultCodes.java:577) > > at > > > org.apache.xindice.client.xmldb.xmlrpc.CollectionImpl.query(CollectionImpl.java:562) > > at > > > org.apache.xindice.client.xmldb.XindiceCollection.query(XindiceCollection.java:285) > > at > > > org.apache.xindice.client.xmldb.services.QueryService.query(QueryService.java:129) > > at > > > org.apache.xindice.client.xmldb.services.XUpdateQueryServiceImpl.upda > > te(XUpdateQueryServiceImpl.java:124) > > at > > com.teliant.jsp.beans.xupdate.XUpdate.xupdate(XUpdate.java:55) > > at > > org.apache.jsp.testxmldb_jsp._jspService(testxmldb_jsp.java:208) > > at > > org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:136) > > at > > javax.servlet.http.HttpServlet.service(HttpServlet.java:853) > > at > > > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper > > .java:202) > > at > > > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:289) > > at > > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240) > > at > > javax.servlet.http.HttpServlet.service(HttpServlet.java:853) > > at > > > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl > > icationFilterChain.java:247) > > at > > > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) > > at > > > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260) > > at > > > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex > > t.invokeNext(StandardPipeline.java:643) > > at > > > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) > > at > > > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) > > at > > > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) > > at > > > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex > > t.invokeNext(StandardPipeline.java:643) > > at > > > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) > > at > > > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) > > at > > > org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2350) > > at > > > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180) > > at > > > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex > > t.invokeNext(StandardPipeline.java:643) > > at > > > org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170) > > at > > > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex > > t.invokeNext(StandardPipeline.java:641) > > at > > > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:171) > > at > > > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex > > t.invokeNext(StandardPipeline.java:641) > > at > > > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:469) > > at > > > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex > > t.invokeNext(StandardPipeline.java:641) > > at > > > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) > > at > > > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) > > at > > > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174) > > at > > > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex > > t.invokeNext(StandardPipeline.java:643) > > at > > > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) > > at > > > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) > > at > > > org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223) > > at > > > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:405) > > at > > > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce > > ssConnection(Http11Protocol.java:380) > > at > > > org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:508) > > at > > > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:533) > > at java.lang.Thread.run(Thread.java:536) > > > > > > The class that it is complaining about, > > org/apache/xerces/framework/XMLParser, is a class in Xerces 1.4.3. > > > > Does Xindice 1.1 still have a hard dependency on Xerces 1.4.3? Or > is > > this coming from somewhere else? > > > > > === message truncated === __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus � Powerful. Affordable. Sign up now. http://mailplus.yahoo.com
