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 Kurt Ward <ku...@yahoo.com> on 2002/03/22 22:23:44 UTC

Re: XMLObject example.

I tried the my XMLObject with 1.0 and it fails (ERROR
: XMLOBject not found).

I can add and list the XMLObject using the command
line tools.  If you look at
/db/system/SysConfig/database.xml, there are no
XMLObjects in the database configuration even though
the command line tools show there are. It does however
appear in the /db/system/SysConfig/SysConfig.tbl file.

I am willing to fix the bug if you can point me in the
right direction.

Kurt


 
--- Kurt Ward <ku...@yahoo.com> wrote:
> 
> --- Kimbro Staken <ks...@xmldatabases.org> wrote:
> > 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...
> 
> Personally, I like having them as an option.  I am
> currently running Xindice at an e-commerce company
> the uses an XMLObject to move documents to an
> archive
> collection.  Comes in handy for something like that.
> I'm not sure what build the server is, but the
> XMLObject I am using works fine.
> 
> Kurt
> 
> 
> 
> > 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!?
> Yahoo! Movies - coverage of the 74th Academy Awards�
> http://movies.yahoo.com/


__________________________________________________
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards�
http://movies.yahoo.com/

Re: XMLObject example.

Posted by Kurt Ward <ku...@yahoo.com>.
Okay, must be running on lack of sleep here.  The
database configuration I was looking at was a backup,
and not the currently running db.  Regardless, I am
still looking into/willing to fix the XMLObjects bug.

Kurt

--- Kurt Ward <ku...@yahoo.com> wrote:
> I tried the my XMLObject with 1.0 and it fails
> (ERROR
> : XMLOBject not found).
> 
> I can add and list the XMLObject using the command
> line tools.  If you look at
> /db/system/SysConfig/database.xml, there are no
> XMLObjects in the database configuration even though
> the command line tools show there are. It does
> however
> appear in the /db/system/SysConfig/SysConfig.tbl
> file.
> 
> I am willing to fix the bug if you can point me in
> the
> right direction.
> 
> Kurt
> 
> 
>  
> --- Kurt Ward <ku...@yahoo.com> wrote:
> > 
> > --- Kimbro Staken <ks...@xmldatabases.org>
> wrote:
> > > 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...
> > 
> > Personally, I like having them as an option.  I am
> > currently running Xindice at an e-commerce company
> > the uses an XMLObject to move documents to an
> > archive
> > collection.  Comes in handy for something like
> that.
> > I'm not sure what build the server is, but the
> > XMLObject I am using works fine.
> > 
> > Kurt
> > 
> > 
> > 
> > > 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!?
> > Yahoo! Movies - coverage of the 74th Academy
> Awards�
> > http://movies.yahoo.com/
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Movies - coverage of the 74th Academy Awards�
> http://movies.yahoo.com/


__________________________________________________
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards�
http://movies.yahoo.com/