webMethods

webMethods

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  XQuery crashes Tamino

    Posted Tue December 16, 2003 01:32 PM

    Hi,

    I want to update all documents (client) in a collection (clients) which doesn?t contain a particular element ?groups/folderId?. I have tried the following xquery in Interactive Interface and it worked perfectly on our development server. But on the production server (which contains more data) it crashes Tamino and the database just stops.

    The Xquery run in interactive interface:
    declare namespace tf=‘http://namespaces.softwareag.com/tamino/TaminoFunction
    update for $a in input()/client
    where tf:containsText($a/groups/folderId, ‘*’) = false() do (insert 500 following $a/role)

    I hope Software AG fixes Tamino so an Xquery doesn?t crash the database, but in the mean time, is there a work a round, so we can update it without crashing the database?

    Regards from Ole

    InterResearch A/S - Vestergade 9 - DK-1456 Copenhagen K
    Phone: +45 70 27 28 72 - Mobile: +45 20 10 21 74 - Fax: 70 27 28 79
    E-mail: oen@interresearch.dk - Homepage: www.interresearch.net


    #webMethods
    #API-Management
    #Tamino


  • 2.  RE: XQuery crashes Tamino

    Posted Tue December 23, 2003 10:24 AM

    Hi Ole,

    I can’t find anything wrong with your query and you said it
    worked on your development server. Without more details I
    can’t say what went wrong on the production server, must be
    a certain instance ?

    There are a number of components that are dangerous here:
    contains-text() possibly applied upon an empty sequence,
    text retrieval with a ‘*’ pattern,
    schema check due to insert, etc.

    Since there are so many possibilities, I can’t recommend any
    workaround except upgrading Tamino and hope that the bug is
    fixed there.

    But sure, this is a serious bug and we’d like to learn
    about the details.

    Regards,
    Juliane.


    #Tamino
    #API-Management
    #webMethods


  • 3.  RE: XQuery crashes Tamino

    Posted Sun January 18, 2004 03:37 PM

    Hi Juliane,

    I have installed Patch Level 4, and now the query works.

    Regards from Ole

    InterResearch A/S - Vestergade 9 - DK-1456 Copenhagen K
    Phone: +45 70 27 28 72 - Mobile: +45 20 10 21 74 - Fax: 70 27 28 79
    E-mail: oen@interresearch.dk - Homepage: www.interresearch.net


    #Tamino
    #API-Management
    #webMethods