The only time I've seen this problem is when loading part of the jars with the tomcat global classloader and part with the webapp classloader. Usually it would be something like xindice.jar is on the tomcat global classpath and xmldb.jar was on the webapp classpath. If it's truly having problems finding classes within the same jar file, then I don't know. I'd double check and make sure all the jars are being loaded by the same classloader before doing anything else.

On Monday, July 8, 2002, at 12:57  PM, Juan Antonio Herraiz wrote:

The class is SymbolDeserializer, and it's in xindice.jar, which it's in the CLASSPATH.

You know other solutions! I am tired with this!

Thanks...


From: Jeff Smith <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: not run xindice with jsp why?
Date: Mon, 8 Jul 2002 12:35:11 -0700 (PDT)

I think it recognizes CollectionImpl, but can't find a
class inside of CollectionImpl.  Look at line 105 in
CollectionImpl.java.  Is that class in your server's
CLASSPATH?

--- Juan Antonio Herraiz <[EMAIL PROTECTED]> wrote:
> Hello, i have problems with xindice integrated in a
> JSP page.
> The jsp file is attached, and the error is:
>
> java.lang.NoClassDefFoundError
>         at
>
org.apache.xindice.client.xmldb.CollectionImpl.(CollectionImpl.java:105)
>         at
>
org.apache.xindice.client.xmldb.DatabaseImpl.getCollection(DatabaseImpl.
java:214)
>         at
>
org.xmldb.api.DatabaseManager.getCollection(DatabaseManager.java:194)
>         at
>
org.xmldb.api.DatabaseManager.getCollection(DatabaseManager.java:157)
>         at
>
portal._0002fportal_0002fejemplo_0002ejspejemplo_jsp_46._jspService
(_0002fportal_0002fejemplo_0002ejspejemplo_jsp_46.java:155)
>         at
>
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
>         at
>
javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
>         at
>
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service
(JspServlet.java:177)
>         at
>
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318)
>         at
>
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391)
>         at
>
javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
>         at
>
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
>         at
>
org.apache.tomcat.core.Handler.service(Handler.java:286)
>         at
>
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
>         at
>
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:
797)
>         at
>
org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
>         at
>
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection
(HttpConnectionHandler.java:210)
>         at
>
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
>         at
>
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
>         at java.lang.Thread.run(Thread.java:484)
>
>
> I don't know I have to do! I don't understand why
> recognise the other
> classes and not
> the CollectionImpl! Is There any problem with
> CLASSPATH?
>
> I want to access to a local Xindice BD, so I don't
> use "localhost:4080", I
> use "xmldb:xindice:///db"
> I have to configure some conf file of xindice??
>
> (my english is bad :) )
>
> Thanks
>
>
>
>
>
_________________________________________________________________
> Charle con sus amigos online usando MSN Messenger:
> http://messenger.msn.com
>

> ATTACHMENT part 2 application/octet-stream
name=Example.jsp



__________________________________________________
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com




_________________________________________________________________
�nase al mayor servicio mundial de correo electr�nico: http://www.hotmail.
com/es

Kimbro Staken
Java and XML Software, Consulting and Writing http://www.xmldatabases.org/
Apache Xindice native XML database http://xml.apache.org/xindice
XML:DB Initiative http://www.xmldb.org



Reply via email to