Query results returns document when getDocuments does not

When we run an xquery, we get results that we can't be found in the getDocuments results.
We run an xquery to get a key to an xml document.
Then we attempt to retrieve that document and get a DOCUMENT_NOT_FOUND error.
I can run the same xquery in dbxml and variations of that xquery and see the xml I expect to.
getDocuments <keyvalue> does not work.
Additionally, I run "getDocuments docs.txt"
and search docs.txt for the xml I saw in the query results, and no luck.
The document I'm looking for does not show up in the getDocumentNames names.txt
either.
I'm still using BDB XML 2.2.13 no patches on Solaris and W2k3.
We can easily get the database into a state like this by running lengthy queries, putting, getting, removing documents on a multi-thread, concurrent basis.
What's going on here, is there a work around?
Thanks in Advanced,
Douglas Moore

Douglas,
Hopefully you can upgrade to 2.3.10 and get past this. If you are not using any 2.2.13 patches, that could be the problem -- this may be a patched issue in 2.2.13. It could also be a subtle bug in your application.
Either way, once you get into this state, you should be able to get out of it by reindexing the container (XmlManager::reindexContainer() or using the dbxml shell). If you choose to reindex, be very sure that not other threads or processes are in the environment and that you are backed up. Reindexing will remove all index databases and walk the container, re-creating them.
Regards,
George

Similar Messages

  • How to save as Word document, when Pages does not give that option, but only "Save a version"

    I cannot save a document in Word or Word-compatible form. The only options I am given in File is "Save a Version," which does not provide for saving in Word. How do I do this?

    Use the Export item from the File menu and select Word at the top.
    Best of luck.

  • I tried to open a folder in my Documents. It does not show in any window but does show up when I am half way between windows. It did the same thing when I tried to empty the trash. It asked if that was what I wanted but I could't say yes because it was or

    I tried to open a folder in my Documents. It does not show in any window but does show up when I am half way between windows. It did the same thing when I tried to empty the trash. It asked if that was what I wanted but I could't say yes because it was or

    what is your question/issue here? did the folder have any content in it to begin with? screen shots of what you may be seeing?
    if english isn't your native language, write it in what you are most comfortable speaking in to describe your issue.

  • How to avoid output file and error lines when condition does not match

    Hi Experts
    A customer want to send purchase order files to several vendors and each vendor has their own requirement to content and file format. I have prepared scenarios for each vendor and a template is (conditionally) called when CardCode matches. It works fine, - PO file is generated when CardCode matches, but error lines are written to SAP B1 Control Center each time CardCode does not match the one defined in a scenario (100 or more times per day). Problem is that these error lines does not get automatic deleted. Conditional processing are made in this way:
    Result Message in SAP B1 Control Center when CardCode does not match:
    I tried to avoid an error line in SAP B1 Control Center when CardCode does not match in this way:
    Then no error lines are written to SAP B1 Control Center, but an output file is generated each time (order file when CardCode matches and an empty file when CardCode does not match).
    Any suggestions on how to avoid both errors types (error lines in SAP B1 Control Center and empty output files)?
    Or - can lines in SAP B1 Control Center be automatic deleted?
    Regards
    Steen

    Hi Steen,
    using <b1im_skip> should be the right approach, if you're working with B1 OUTBOUND.
    Following extract form the B1i help describes the usage to skip the outbound processing:
    1.1 Skipping Outbound Processing
    If you do not want to hand over the message to the receiver system, the scenario step can create a special tag that indicates to generic processing in the integration framework to skip the message processing.
    Add the following to the final transformation atom (atom0):
    <b1im_skip xmlns= ”” info=”my info” msglog=”true” msgout="yes">
    If the integration framework skips the message, it puts the message log information to the Filtered section, if the message log is switched on. The result message contains the Message skipped by vBIU logic information.
    info
    To display an individual message, define it using the info attribute.
    msglog
    If you want to avoid an entry in the message log, introduce the msglog attribute and set it to false.
    msgout
    To display the skip information in the Success section of the message log, use the msgout attribute and set it to yes.
    In case you don't want any MsgLogEntry in case of a skipped message, please enter the following in final atom0:
    <xsl:template name="transform">
    <xsl:attribute name="pltype">xml</xsl:attribute>
    <xsl:choose>
    <xsl:when test="$msg/BOM/BO/Documents/row/CardCode=&apos;C20000&apos;">
    <xsl:call-template name="transform2"/>
    </xsl:when>
    <xsl:otherwise>
    <b1im_skip info="skipped" msglog="false"/>
    </xsl:otherwise>
    </xsl:choose>
    </xsl:template>
    Best regards
    Bastian

  • ServerException: No query results returned

    Hi,
    When i am creating a record in Hierarchical table using MDM java api
    i get the error
    ServerException: No query results returned    and this is not consistent.
    Code below
    Record[] record=new Record[1];
                   record[0]=RecordFactory.createEmptyRecord(repoSchemaCmd.getRepositorySchema().getTableId("New_Code"));
                   StringValue fldVal1= new StringValue(enterpriseID);
                   System.err.println("enterpriseID--"+enterpriseID);
                   try {
                        record[0].setFieldValue(fldId, fldVal1);
                   }catch(MdmValueTypeException ve)
                        ve.printStackTrace();
                        throw ve;
                   System.err.println("record---"+record[0]);
                   CreateRecordCommand cr=new CreateRecordCommand(conAccessor);
                   cr.setParentRecordId(id);
                   cr.setSession(userSessionID);
                   cr.setPosition(0);
                   cr.setRecord(record[0]);
                   System.err.println("create----"+cr.getPosition()+"cr---"+cr.getParentRecordId()+cr.getSession()+cr.getRecord());
                   try {
                        cr.execute();
                   } catch (CommandException e2) {
                        // TODO Auto-generated catch block
                        e2.printStackTrace();
                        throw e2;
    Thanks,
    Padmaja

    Hi Roman,
    I assume you import the images to a catalog, dont you?
    Which catalog do you use? MDM or CCM?
    Daniel

  • Image Import Error "No query results returned"

    Hi All,
    I have the problem while importing images, several image have not been imported with this error.
    Log:
    Importing [German [DE]] '205865_logo.jpg'...failed.
    Import complete
    Error:
    E:\images\205865\h-jpeg\205865_logo.jpg: No query results returned
    Altogether I have imported 17000 Images. 16998 have been successful and 2 throw this error. Anybody an idea what this means and how to avoid it?
    Best Regards
    Roman
    Edited by: Roman Becker on Mar 8, 2009 1:14 PM

    Hi Roman,
    I assume you import the images to a catalog, dont you?
    Which catalog do you use? MDM or CCM?
    Daniel

  • Dear community, what to do when iMovie does not automatically updates video from iPhoto. I've closed and reopen, restarted... still no good

    Dear community, what to do when iMovie does not automatically updates video from my iPhoto. Usually it will automatically generate new content, but now it's stuck 3 days behind the latest new iPhoto entries... I've restarted all programs, restarted the computer... what else?

    Ezy,
    I'm not sure what recourse you really have. My expectation would be that Apple is on the hook to warranty your computer, but they only warrant the machine you've got.
    The issue of exchange is fully in the hands of the dealer. If it were Apple, they would likely have had a longer return/exchange period (2 weeks is standard in the US, and I think they use the same timeframe internationally), and there have been some reports of people getting machines exchanged even if they were just outside the 2-week period.
    However, with Apple dealers, I think they are a little more concerned about old inventory. Who knows what Apple does when you give them back a last-gen Macbook. They probably sell it at a markdown, but even marked down, they still get a profit (most likely). When an authorized reseller gets stuck with an old machine, they probably have to sell it at a loss. Thus, I would expect resellers to be more afraid of holding onto discontinued models.
    That said, if they do a lot of business, they should appreciate the value of customer loyalty: it's usually better to lose money on one purchase than lose a customer (and all their future purchases). If you're a regular customer there, you could point out that disappointment could cause you to go to a competitor. That's playing a bit of hardball though.
    However, there is maybe an upshot to all of this... The new 13" model did not get the quad-core CPU's.. And it lost its dedicated graphics adapter. I've seen a decent number of people complaining that the new 13" model is worse than the previous one (the one I'm assuming you've gotten). So it might not be such a bad thing after all.

  • Asking the Bridge Team:  Bridge "working color space" setting when one does not have the Suite?

    Common sense tells me there is really no such thing as a
    "working color space" in Bridge, because
    Bridge is not an image editor, just a browser
    Therefore, this may turn out to be a purely academic question; but that doesn't keep my curiosity from forcing me to ask it anyway. ;)
    Is there a way to set the Bridge
    "color settings" when one does not have the suite?
    The only Adobe program I keep up to date is Photoshop, so I've never had the suite. My version of Photoshop is 11 (CS4) and I run updated
    (not upgraded) versions of Adobe Acrobat 7.x, Illustrator 10.x and InDesign 2.x. Consequently, the Synchronize color settings command is not available to me.
    It seems to me that Bridge is behaving like a proper color-managed browser (e.g. Firefox with color management enabled), in that it displays tagged image files correctly and assumes sRGB for untagged image files. This normally works fine.
    But what if I wanted Bridge to assume my
    Photoshop color working space for untagged images
    so that it behaves the same as Photoshop? I'm just curious, as I deal with a minuscule, practically negligible amount of untagged files.
    My reason for bringing it up now is that I don't recall this being explicitly mentioned in forum replies when users inquire about color settings in Bridge. A recent post regarding Version Cue in the Photoshop Macintosh forum got me thinking about this. Just wanting to make sure that I'm right in my assumption that
    there is really no such thing as a
    "working color space" in Bridge, because Bridge is not an image editor, just a browser.
    Thanks in advance.

    Hi Ramón,
    Thanks for sharing the outcome of your tests. However, I may have found a bug/exception to Bridge's colour management policy!
    It appears that CMYK EPS photoshop files are not colour managed in Adobe Bridge, even if they contain an embedded ICC profile.
    I've tried every combination in the EPS 'Save As' dialogue box, so it doesn't seem to be an issue with file encoding. Also, Bridge doesn't rely on the low-res preview that is held within the EPS itself.
    My guess is that Bridge is previewing the CMYK EPS with a Bridge-generated RGB image, but it's being displayed as monitor RGB (assigned) rather than colour managed (converted to monitor RGB). For most users the difference will be barely perceptible, but the problem became very noticeable when using Bridge to preview Newsprint CMYK images on a wide-gamut monitor (images that should have appeared muted really leapt off the screen!).
    How do I report this to the Colour Police at Adobe?!?

  • Quota deduction when EE has been inactive for more than 180 days / Advance quota days when employee does not have enough balance

    Dear experts,
    We have two requirements regarding to the "Anual leave" quota.
    1. Quota reduction when employee is inactive for more than 180 days
    2. Advance quota days when employeee does not have enough balance
    We have in place an "Anual Leave" quota related to a calendar year period, that gets generated dialy in time evaluation. This quota gets the employee entitlement from a set of rules that stored the corresponding balance in a period time type, that is the one that we defined in the customizing. This is working fine. The problems start when we try to incorporate the other two requirements.
    Regarding the first requirement, if the employee has been inactive for more than 180 days in a calendar year due to unpaid leave, we need to start quota reduction as follow,
    First, we need to clear the balance that was calculated above in the schema.
    Then, we need to calculate one leave day for every 20 days worked till the end of the year, considering as such, everyday the employee is expected to work, except days on which the employee has been absent on unpaid leave.
    For the second requirement we created a manual quota call "Advance Anual Leave". So, if the employee, wishes to take 20 working days holiday, but in his/her Anual Leave quota has only 10 days available, we have to create an "Advance Anual Leave" quota manualy for 10 days. When the quota for next year gets generated, we need to deduct these advanced 10 days from it. This deduction should stop the year after.
    The problem we are finding with these two requirements is that, due to the Anual Leave quota gets generated dialy, we can't get the balance right.
    Thanks in advance!
    Kind regards,
    Alex

    Hello binbingogoABC,
    Shopping on BestBuy.com should be easy and fun and not fraught with the kind of trouble that you describe. I regret very much that this has been your experience.
    Using the information you provided when you signed up for Best Buy Unboxed I was able to locate your cancelled orders. I have requested more information from my back-office partners. As soon as I have additional details about your situation, I will reply again to this message. In the interim, I'm sorry that I must impose upon your patience.
    I'm very grateful that you wrote to us with your concerns.
    Sincerely,

  • How do I "Save target as ..." when it does not exist on right clicking in Firefox?

    Some web sites allow files and free mp3 tracks to be downloaded by right clicking on an icon and selecting "save target as ...". But Firefox does not have this option. How do others handle this? I have had to go back to Internet Explorer to use this privilege.
    == This happened ==
    Every time Firefox opened
    == Always been so for me.

    no it isn't........this option saves as an HTML document link. it does not download the file.

  • Script for Save Options- Save Query Results with document

    Hi,
    Is there any javascript for Save query results with document in save options? If so where can i find that?
    Thanks
    Kalai

    hi guys,
    I found the answer.The following example shows you how to save the results with the query
    section named “SalesQuery”.
    ActiveDocument.Sections["SalesQuery"].SaveResults=true

  • Document type ZD does not allow you to assign to object MARA

    hi ppl,
             I have created a Z document type.but its not allowing me to assign in mm02.what might be the problem..? its throwing an error message Document type ZD does not allow you to assign to object MARA.

    You need to enable object linking to mara on your new document type. Go to Tcode DC10, select the document type and then go to the object links area. Create a new object link for your document type.

  • How do I add an app to my location services when it does not come up automatically, How do I add an app to my location services when it does not come up automatically

    How do I add an app to location services when it does not appear automatically

    Have you tried Settings>Privacy>Location Services and see if you can turn it on in there?
    Obviously it has to be an app that works with location services so if it is and nothing else works, delete the app and download it again to make it ask again if you want to allow your location to be used with it.

  • Document Sequence Information Does not Exist for Bank Account

    Hello,
    Oracle E-Bus Suite: 11.5.10.2
    OS: Windows 2003
    We are facing the problem while executing the ARPLABIM - Bank Statement Import program, 'Document Sequence Information Does not Exist for Bank Account'.
    We have already reviewed Oracle Metalink Document: Document Sequence Information Does not Exist for Bank Account: Doc ID: Note:147773.1.
    https://metalink.oracle.com/metalink/plsql/f?p=130:14:3345134018905587318::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,147773.1,1,1,1,helvetica
    But the profile option Sequential Numbering cannot be set to Not Used due to certain funcational limitations. Please advise any other workaround.
    Thank you

    Adith,
    There are only two options:
    1. Setup document Sequence. OR
    2. Change the profile either the user level who runs this program (assuming a batch user name) or at the resp or application level. Not necessarily at the site level.
    Thanks
    Nagamohan

  • How do I get twitter installed on my iPad when it does not have iOS 5.0?

    How do I get twitter installed on my iPad when it does not have iOS 5.0? How can I upgrade my iPad?

    If you have an iPad 1, the max iOS is 5.1.1. For newer iPads, the current iOS is 6.1. The Settings>General>Software Update only appears if you have iOS 5.0 or higher currently installed.
    iOS 4: Updating your device to iOS 5 or Later
    http://support.apple.com/kb/HT4972
    How to install iOS 6
    http://www.macworld.com/article/2010061/hands-on-with-ios-6-installation.html
    iOS: How to update your iPhone, iPad, or iPod touch
    http://support.apple.com/kb/HT4623
    If you are currently running an iOS lower than 5.0, connect the iPad to the computer, open iTunes. Then select the iPad under the Devices heading on the left, click on the Summary tab and then click on Check for Update.
    Tip - If connected to your computer, you may need to disable your firewall and anitvirus software temporarily.  Then download and install the iOS update. Be sure and backup your iPad before the iOS update. After you update an iPad (except iPad 1) to iOS 6.x, the next update can be installed via wifi (i.e., not connected to your computer).
     Cheers, Tom

Maybe you are looking for

  • Acrobat Pro 8.0 CS3 - PDF file print in Mac OS 10.5.8 fixed!

    Since upgrade from version 7.0, Acrobat Pro PDF 8.0 printer kept pausing and wouldn't print document. I previously had same trouble with the Acrobat PDF 7.0 printer, but eventually got that to work with a command entered via terminal mode: Adobe PDF

  • I need help on how to properly use my external hard drive on the macbook pro

    Whenever I try to store some files (e.g. images) The image I've copied and pasted into the external hard drive disappears or gets deleted as well when I delete the original image from the internal hard drive, why is that? Is it because it was just a

  • 3.3.74: NullPointerException in RecoveryManager

    Hi all, The following occurred twice in the past week: 2009-01-07 09:39:50,224 FATAL [collection.Slave] Failed to initialise the local datastore: Could not open BDB: (JE 3.3.74) last LSN=0x13d6/0xa5b642 com.arantech.assure.collection.data.DBInitialis

  • I need to put some training material on 20 ipads

    The company I work for is providing material for sales people and it needs to be put on their ipads. The materials will be a video and some pdfs. I am not too familure with how the Ipad works but is there a way to get this information on there?

  • Weblogic Classloader issues

    I place my WAR file for deployment in the domain/applications directory for automatic deployment when the Weblogic server starts. This usually works fine. But, for unkown reasons, I am now getting a ClassNotFoundException after I added some new JARS