xml-xindice-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "somename" <somen...@barak-online.net>
Subject RE: Collection not found!
Date Tue, 21 Oct 2003 21:43:48 GMT
May be your have library duplicates of xerces.jar or xercesimpl.jar in webapp lib directory?
 
-----Original Message-----
From: J. Pérez [mailto:jesus.perez@artmediacompany.com] 
Sent: ג 21 אוקטובר 2003 9:59
To: xindice-users@xml.apache.org
Subject: RE: Collection not found!
 
Version: Xindice 1.1 and Tomcat 4.1.18
Platform: RedHat 8.0

Installation steps: 

1. Login to Apache public CVS: 
1. cvs -d :pserver:anoncvs@cvs.apache.org:/home/cvspublic login 
password: anoncvs 

2. Checkout Xindice from CVS 
cvs -d :pserver:anoncvs@cvs.apache.org:/home/cvspublic checkout xml-xindice 

3. Change to the xml-xindice directory which you've just checked out 
cd xml-xindice/ 

4. Build Xindice with ant 
ant

5. Deploy the Xindice.war file 
ant tomcat-deploy

7. Restart Tomcat 

8. Change to the bin directory of your Xindice installation
cd xml-xindice/bin 

9. Test your installation by adding a new Xindice collection 

./xindice lc -c /db 
[DEBUG] DatabaseImpl - -Using SAX Driver: 'xerces'
[DEBUG] DatabaseImpl - -Using Service Location: '/xindice/'
[DEBUG] CollectionImpl - -Using URL: 'http://127.0.0.1:8888/xindice/'
XMLDB Exception with code 0

Xindice Command Tools v1.1b2

Format: xindice action [switch] [parameter]

Where:  [switch]  implements:
    -c           Collection context (must always be specified),
                 can be either canonical name of the collection
                 or complete xmldb URL
    -e           File extension for multiple documents
...................
...................


10. http://localhost/xindice

javax.servlet.ServletException: Servlet.init() for servlet xindice threw exception 
  at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:962)
  at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:666)
  at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
  at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.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$StandardPipelineValveContext.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:2415)
  at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
  at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
  at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
  at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
  at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
  at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.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$StandardPipelineValveContext.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:432)
  at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:386)
  at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534)
  at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:530)
  at java.lang.Thread.run(Thread.java:536)

root cause


java.lang.VerifyError: Cannot inherit from final class
  at java.lang.ClassLoader.defineClass0(Native Method)
  at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
  at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
  at java.net.URLClassLoader.defineClass(URLClassLoader.java:250)
  at java.net.URLClassLoader.access$100(URLClassLoader.java:54)
  at java.net.URLClassLoader$1.run(URLClassLoader.java:193)
  at java.security.AccessController.doPrivileged(Native Method)
  at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
  at org.apache.catalina.loader.StandardClassLoader.findClass(StandardClassLoader.java:621)
  at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:958)
  at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:857)
  at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
  at org.apache.xerces.impl.XMLNSDocumentScannerImpl.createContentDispatcher(Unknown Source)
  at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.(XMLDocumentFragmentScannerImpl.java:249)
  at org.apache.xerces.impl.XMLDocumentScannerImpl.(XMLDocumentScannerImpl.java:245)
  at org.apache.xerces.impl.XMLNSDocumentScannerImpl.(Unknown Source)
  at org.apache.xerces.parsers.IntegratedParserConfiguration.createDocumentScanner(Unknown
Source)
  at org.apache.xerces.parsers.DTDConfiguration.(DTDConfiguration.java:367)
  at org.apache.xerces.parsers.StandardParserConfiguration.(StandardParserConfiguration.java:198)
  at org.apache.xerces.parsers.IntegratedParserConfiguration.(Unknown Source)
  at org.apache.xerces.parsers.IntegratedParserConfiguration.(Unknown Source)
  at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
  at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
  at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
  at java.lang.Class.newInstance0(Class.java:306)
  at java.lang.Class.newInstance(Class.java:259)
  at org.apache.xerces.util.ObjectFactory.newInstance(ObjectFactory.java:266)
  at org.apache.xerces.util.ObjectFactory.findJarServiceProvider(ObjectFactory.java:360)
  at org.apache.xerces.util.ObjectFactory.createObject(ObjectFactory.java:185)
  at org.apache.xerces.util.ObjectFactory.createObject(ObjectFactory.java:120)
  at org.apache.xerces.parsers.SAXParser.(SAXParser.java:140)
  at org.apache.xerces.parsers.SAXParser.(SAXParser.java:125)
  at org.apache.xerces.jaxp.SAXParserImpl.(SAXParserImpl.java:102)
  at org.apache.xerces.jaxp.SAXParserFactoryImpl.newSAXParser(SAXParserFactoryImpl.java:95)
  at org.apache.xindice.xml.dom.DOMParser.getSAXParser(DOMParser.java:247)
  at org.apache.xindice.xml.dom.DOMParser.(DOMParser.java:112)
  at org.apache.xindice.xml.dom.DOMParser.toDocument(DOMParser.java:200)
  at org.apache.xindice.server.XindiceServlet.loadConfiguration(XindiceServlet.java:279)
  at org.apache.xindice.server.XindiceServlet.init(XindiceServlet.java:143)
  at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:934)
  at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:666)
  at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
  at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.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$StandardPipelineValveContext.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:2415)
  at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
  at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
  at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
  at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
  at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
  at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.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$StandardPipelineValveContext.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:432)
  at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:386)
  at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534)
  at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:530)
  at java.lang.Thread.run(Thread.java:536)
Nothing works !!!

That I can do? 


El mar, 21 de 10 de 2003 a las 00:59, somename escribió: 
Which version of Xindice?

What is your platform?

 

Best Regards,

M.Rub.

 

-----Original Message-----
From: J. Pérez [mailto:jesus.perez@artmediacompany.com] 
Sent: ב 20 אוקטובר 2003 9:25
To: xindice-users@xml.apache.org
Subject: Collection not found!

 

Hello,

I've a problem with xindice. I've configured tomcat 
( <http://localhost/Xindice> http://localhost/Xindice) and "THIS IS AN UGLY DEBUG TOOL!"
is ok, but

$ bin/xindice lc -c /db
ERROR : Collection not found!

Can you help me?

Sorry for my english !!!

 


  

 
 

Mime
View raw message