You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xindice-dev@xml.apache.org by Jayaram Narayana <na...@india.hp.com> on 2002/04/11 17:03:48 UTC

NoClassDefFoundError: XMLDBException

hi xindicers,

i am trying to connect to xindice through a java object which is invoked
from a servlet on tomcat. no matter what i try, i am getting this error:
		:
		:
root cause:
java.lang.NoClassDefFoundError: org/xmldb/api/base/XMLDBException
		:
		:
		:
all the xindice examples (except addressbook and XUpdate) work perfectly.

any help greatly appereciated!

thanks in advance,
-nani


RE: NoClassDefFoundError: XMLDBException

Posted by Jayaram Narayana <na...@india.hp.com>.
revered ragu,

yesterday nite, i got it working too - by modifying the classpath and
including all xindice jars.

thanks a ton for your help :-)

CIAO.
-nani

-----Original Message-----
From: Raghu Prasad [mailto:ragu_prasad@yahoo.com]
Sent: Friday, April 12, 2002 12:20 AM
To: xindice-dev@xml.apache.org; nani@india.hp.com
Subject: Re: NoClassDefFoundError: XMLDBException


respected nani,

        thankx for response.........

By the way i was trying the xindice access through
servlet(I'm using ApacheJserv).

yesterday morning i got the positive results(i.e.,
my form data was successfull inserted as a document
into xindice(form data was bundled into a string
obj.))

Before that i used to get bizzare error that u have
specified

For ApacheJserv the way i fixed the problem was:

went to jserv.properties and included all my
/usr/local/xml-xindice-1.0/java/lib/*.jar and '.'.
(include '.'---very imp)

The core idea is to make all classes available to
the JVM(spawned by servlet engine).

previously I had included ~/java/*.jar file in my
CLASSPATH but it did'nt help.But only after including
in jserv.properties i got the results......

Sincerly i don't know about tomcat...but got the
idea?????

                           see u,
                                           --ragu












__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/


Re: NoClassDefFoundError: XMLDBException

Posted by Raghu Prasad <ra...@yahoo.com>.
respected nani,
        
        thankx for response.........

By the way i was trying the xindice access through
servlet(I'm using ApacheJserv).

yesterday morning i got the positive results(i.e.,
my form data was successfull inserted as a document
into xindice(form data was bundled into a string
obj.))

Before that i used to get bizzare error that u have
specified

For ApacheJserv the way i fixed the problem was:

went to jserv.properties and included all my 
/usr/local/xml-xindice-1.0/java/lib/*.jar and '.'.
(include '.'---very imp)

The core idea is to make all classes available to
the JVM(spawned by servlet engine).

previously I had included ~/java/*.jar file in my
CLASSPATH but it did'nt help.But only after including
in jserv.properties i got the results......

Sincerly i don't know about tomcat...but got the
idea?????

                           see u,
                                           --ragu









 


__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/