Re: [bdbxml] Error while querying over nxqd - berkeley dbxml

Manish Rai Jain <[email protected]> Fri, 19 Aug 2005 15:31:50 +0800
Newsgroups gmane.comp.db.dbxml.general
Message-ID <[email protected]>
Thanks a lot. I will update my copy right now and let you know.
Regards
Manish


On 8/17/05, webhiker <[email protected]> wrote:
> Manish - this is now fixed in CVS, you should be able to proceed....
> 
> wh
> 
> webhiker wrote:
> 
> > Hi Manish,
> >
> > Although the Nxqd implementation is pretty complete, including an
> > almost functional Xml:Db implementation, we are still having some
> > issues with queries, which should be resolved this week some time.
> > We are still aiming for a 1.0 release by the end of August, so if you
> > can hang on till then, these issues will sorted out by then.
> > If not, just keep up to date with the CVS copy, should be fixed
> > sometime this week.
> >
> > For those of you with no idea what Manish or I are talking about :
> >
> > http://nxqd.sourceforge.net
> >
> > wh
> >
> > Manish Rai Jain wrote:
> >
> >> Hi
> >> I am using an unreleased version of nxqd client-server. Though the
> >> server is working fine; I can createContainer and putDocuments etc.
> >> easily over network. But, when I try to query, I get a lot of errors.
> >> Sorry for the long mail. But, I think the report and code will help in
> >> understanding the scenario.
> >>
> >> Here is the report: **************************************************
> >> Creating container: 11242736883721141257120
> >> - Unable to find required classes (javax.activation.DataHandler and
> >> javax.mail.internet.MimeMultipart). Attachment support is disabled.
> >> Aug 17, 2005 6:14:58 PM bdbClient.NxqdContainerTest xtestQuery1
> >> INFO: Testing add-document and delete-document
> >> Aug 17, 2005 6:14:58 PM bdbClient.NxqdContainerTest xtestQuery1
> >> INFO: Testing add document
> >> - Exception:
> >> java.lang.NumberFormatException: Invalid boolean
> >>     at
> >> org.apache.axis.encoding.ser.SimpleDeserializer.onEndElement(SimpleDeserializer.java:180)
> >>
> >>     at
> >> org.apache.axis.encoding.DeserializerImpl.endElement(DeserializerImpl.java:502)
> >>
> >>     at
> >> org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
> >>
> >>     at
> >> org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:171)
> >>
> >>     at
> >> org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141)
> >>
> >>     at
> >> org.apache.axis.message.RPCElement.deserialize(RPCElement.java:236)
> >>     at org.apache.axis.message.RPCElement.getParams(RPCElement.java:384)
> >>     at org.apache.axis.client.Call.invoke(Call.java:2448)
> >>     at org.apache.axis.client.Call.invoke(Call.java:2347)
> >>     at org.apache.axis.client.Call.invoke(Call.java:1804)
> >>     at net.sf.nxqd.NxqdClient.axisInvoke(NxqdClient.java:333)
> >>     at net.sf.nxqd.NxqdContainer.query(NxqdContainer.java:196)
> >>     at net.sf.nxqd.NxqdContainer.query(NxqdContainer.java:180)
> >>     at
> >> bdbClient.NxqdContainerTest.xtestQuery1(NxqdContainerTest.java:175)
> >>     at bdbClient.PutDoc.main(PutDoc.java:57)
> >> Aug 17, 2005 6:15:07 PM net.sf.nxqd.NxqdClient axisInvoke
> >> SEVERE: Error performing invoke (java.lang.NumberFormatException:
> >> Invalid boolean)
> >> Error: java.lang.NumberFormatException: Invalid boolean
> >> ***************************************************************
> >>
> >> This is using the xTestQuery1 method in NxqdContainerTest.java which
> >> is in client sources. On the server side, everything is fine. There is
> >> no error reported.
> >>
> >> Here is the (bit)modified version of xTestQuery1:
> >> ***************************************************************
> >>   public void xtestQuery1(NxqdClient client) throws NxqdException {
> >>         String containerName = getUniqueName();
> >>         String query = "(collection(\"" + containerName + ".dbxml\"))";
> >>         System.out.println("Creating container: " + containerName);
> >>         NxqdContainer container = client.createContainer(containerName);
> >>
> >>         String documentId = getUniqueName();
> >>         try {
> >>              logger.info("Testing add-document and delete-document");
> >>              Document doc = Utils.docFromString(testDocument);
> >>              logger.info("Testing add document");
> >>             container.putDocument(documentId,doc);
> >> List queryResult = container.query(query);
> >>             logger.info("Query reported result of size
> >> "+queryResult.size());
> >>                     // finally delete the document
> >>             container.deleteDocument(documentId);                 }
> >> finally {
> >>              client.deleteContainer(container.getName());
> >>         }
> >>
> >>    }
> >> ************************************************************
> >>
> >> Any clue/suggestions on what is happening?
> >> Thanks
> >> Regards
> >> Manish
> >>
> >>
> >> ------------------------------------------
> >> To remove yourself from this list, send an
> >> email to [email protected]
> >>
> >>
> >>
> >>
> >>
> >
> >
> >
> > ------------------------------------------
> > To remove yourself from this list, send an
> > email to [email protected]
> >
> >
> >
> 
>


------------------------------------------
To remove yourself from this list, send an
email to [email protected]