You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xindice-users@xml.apache.org by Kurt Ward <ku...@yahoo.com> on 2002/02/24 17:58:02 UTC
Re: XMLObject example.
Rick,
This has been fixed in CVS. In order to fix it, you will need to perform a
checkout and rebuild
from source.
----- Original Message -----
From: "Rick Szeto" <rs...@csi.ca>
To: <xi...@xml.apache.org>
Sent: Friday, March 22, 2002 10:37 AM
Subject: Re: XMLObject example.
I have tried this on both Linux & Win2k as well as several VM & and ORB
implementations.
The problem arises in both 1.0rc1 and 1.0final.
I can't really think of what the problem is.
Rick
>>> kstaken@xmldatabases.org 03/22/02 06:33AM >>>
It looks like we might have a bug. Is XMLObject functionality something
critical for you?
In fact is anyone even using these things? Since they seem broken I'm
guessing not, but...
On Thursday, March 21, 2002, at 02:19 PM, Rick Szeto wrote:
> Hi all,
> I have trying out the Xindice server and everyworks quite well except
> for a problem that I am encountering with executing and XMLObject.
> I get the following stack trace when I try to invoke it:
> [rszeto@Dilbert xindice]$ xindice invoke -c /db/testdb -o Hello
> null
> IDL:org/apache/xindice/client/corba/db/APIException:1.0
> org.omg.CORBA.portable.ApplicationException
> at org.openorb.CORBA.Delegate.invoke(Delegate.java:754)
> at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:250)
> at
> org.apache.xindice.client.corba.db._CollectionStub.invokeXMLObject
> (Unknown Source)
> at
> org.apache.xindice.client.xmldb.services.XMLObjectService.invokeXMLObject(
> Unknown Source)
> at
> org.apache.xindice.tools.command.InvokeXmlObject.execute(Unknown Source)
> at org.apache.xindice.tools.XMLTools.execute(Unknown Source)
> at org.apache.xindice.tools.XMLTools.process(Unknown Source)
> at org.apache.xindice.tools.XMLUserTools.main(Unknown Source)
> org.apache.xindice.client.corba.db.APIException:
> IDL:org/apache/xindice/client/corba/db/APIException:1.0
> at
> org.apache.xindice.client.corba.db.APIExceptionHelper.read(Unknown Source)
> at
> org.apache.xindice.client.corba.db._CollectionStub.invokeXMLObject
> (Unknown Source)
> at
> org.apache.xindice.client.xmldb.services.XMLObjectService.invokeXMLObject(
> Unknown Source)
> at
> org.apache.xindice.tools.command.InvokeXmlObject.execute(Unknown Source)
> at org.apache.xindice.tools.XMLTools.execute(Unknown Source)
> at org.apache.xindice.tools.XMLTools.process(Unknown Source)
> at org.apache.xindice.tools.XMLUserTools.main(Unknown Source)
> org.xmldb.api.base.XMLDBException: XMLObject Not Found
> at
> org.apache.xindice.core.FaultCodes.createXMLDBException(Unknown Source)
> at
> org.apache.xindice.client.xmldb.services.XMLObjectService.invokeXMLObject(
> Unknown Source)
> at
> org.apache.xindice.tools.command.InvokeXmlObject.execute(Unknown Source)
> at org.apache.xindice.tools.XMLTools.execute(Unknown Source)
> at org.apache.xindice.tools.XMLTools.process(Unknown Source)
> at org.apache.xindice.tools.XMLUserTools.main(Unknown Source)
> ERROR : XMLObject Not Found
> [rszeto@Dilbert xindice]$
>
> The XMLObject is exactly the same as the one in the developer doc, the
> HelloWorldXMLObject.java one in fact.
> Eventhought the trace mentions that the object is not found, I can still
> see it when I list all objects in the collection.
>
> [rszeto@Dilbert xindice]$ xindice lo -c /db/testdb
> XMLObjects:
>
> Hello
>
> Total XMLObjects: 1
> [rszeto@Dilbert xindice]$
>
> Any help would be greatly appreciated. Thanks.
> Rick
>
>
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
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com