Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Berkely DB > Xquery crashes ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 1722 of 1804
Post > Topic >>

Xquery crashes tomcat container

by "Suresh" <sbkumar@[EMAIL PROTECTED] > Mar 9, 2007 at 12:07 PM

We are accessing the Berkeley DB through the Java API deployed in a
tomcat container.

I ran a xquery (deployed in tomcat) on Windows XP which threw the
exception:

com.sleepycat.dbxml.XmlException: Error: SequenceType matching failed:
the sequence contains more than one item [err:XPTY0004],
file:///<--->:116:18,
errcode = XPATH_EVALUATION_ERROR
        at com.sleepycat.dbxml.dbxml_javaJNI.XmlResults_hasNext(Native
Method)
        at com.sleepycat.dbxml.XmlResults.hasNext(XmlResults.java:45)

There was a problem in the xquery, where I was trying to do an "order
by" on an attribute that had multiple values.

However this query in Berkeley DB (2.3.10) on CentOS Linux (Linux
2.6.9-42.0.3.ELsmp #1 SMP Fri Oct 6 06:28:26 CDT 2006 x86_64 x86_64
x86_64 GNU/Linux) crashed the container!!

I do not quite understand as to why an xquery would bring down the
container. I removed the "order by" clause from the xquery and
everything work fine.

Any help on debugging such issues is really appreciated.

Thanks,
Suresh
 




 2 Posts in Topic:
Xquery crashes tomcat container
"Suresh" <sb  2007-03-09 12:07:23 
Re: Xquery crashes tomcat container
"John Snelson"   2007-03-13 04:39:33 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan13V112 Thu Jul 24 6:28:44 CDT 2008.