Xquery against db replica

The following exception is raised on the replica during xquery processing: Unable to add a URI or prefix string to dictionary. The backtrace is included below. Is there a way to avoid this exception ?
Thanks again.
(gdb) bt
#0 0x00002b28bc762a3d in *__GI_raise (sig=23975)at ../nptl/sysdeps/unix/sysv/linux/raise.c:67
#1 0x00002b28bc763f1e in *__GI_abort () at ../sysdeps/generic/abort.c:88
#2 0x00002b28bc363ba8 in __gnu_cxx::__verbose_terminate_handler () from /usr/lib64/libstdc++.so.6
#3 0x00002b28bc361d86 in __cxa_call_unexpected () from /usr/lib64/libstdc++.so.6
#4 0x00002b28bc361db3 in std::terminate () from /usr/lib64/libstdc++.so.6
#5 0x00002b28bc361f01 in __cxa_rethrow () from /usr/lib64/libstdc++.so.6
#6 0x00002b28bb108f5c in DbXml::NsSAX2Reader::parse (this=0x4130c8b0, source=@0x4130c790) at NsSAX2Reader.cpp:354
#7 0x00002b28bb10439b in DbXml::NsSAX2Reader::parse (this=0x4130c8b0, is=0x8e5258) at NsSAX2Reader.cpp:322
#8 0x00002b28bb07c3d8 in DbXml::Document::stream2dom (this=0x8e5160, txn=0x8cc610, includeEntityInfo=false) at Document.cpp:960
#9 0x00002b28bb07e969 in DbXml::Document::getContentAsDOM (this=0x8e5160) at Document.cpp:591
#10 0x00002b28bb0e8947 in DbXml::IndexEntry::fetchNode (this=0x8e4220, document=0x8e5160) at IndexEntry.cpp:117
#11 0x00002b28bb148cb4 in DbXml::DbXmlNodeImpl::getAxisDbXmlResult (this=0x8e50e0, axis=XQStep::FOLLOWING, nt=0x8acbb8, context=0x6, location=0x8e4150) at SharedPtr.hpp:68
#12 0x00002b28bb15a209 in QueryPlanStepResult::setResult (this=0x8e4140, node=0x5dc1, context=0x6) at DbXmlStep.hpp:38
#13 0x00002b28bb15b629 in DbXml::QueryPlanResultImpl::nextResult (this=0x8e4140, item=@0x4130ccb0, context=0x8a87b8) at QueryPlanResultImpl.cpp:151
#14 0x00002b28bb15be6d in DbXml::QueryPlanResultImpl::next (this=0x8e4140, context=0x8a87b8) at QueryPlanResultImpl.cpp:165
#15 0x00002b28bb153ad0 in DbXml::DbXmlFilter::FilterResult::next (this=0x8e41e0, context=0x8a87b8) at DbXmlResult.hpp:118
#16 0x00002b28bb492f89 in XQQuery::QueryResult::next () from /usr/local/maui/lib/libxqilla.so.1
#17 0x00002b28bb08fd76 in DbXml::LazyDIResults::hasNext (this=0x8ab220) at Result.hpp:81
#18 0x00002b28bb0a6609 in DbXml::XmlResults::hasNext (this=0x5da7) at XmlResults.cpp:74
...

This is a known issue in BDB XML 2.3.10. You can try 2.4.11 or wait for a soon-to-be-released roll-up patch for 2.3.
Regards,
George

Similar Messages

  • XQUERY against an XMLTYPE variable

    I have a procedure which gets xmltype instance and i have to use xquery upon that variable.
    declare
    myxml xmltype;
    s varchar2(20);
    begin
    myxml:=xmltype('<person><name id="1" age="23"/><name id="2" age="25"/></person>');
    SELECT
    XMLQuery(
    'for $i in /person
    where $i/age > 24
    return $i/id'
    PASSING myxml RETURNING CONTENT) into s
    FROM DUAL;
    end;
    BUT i get this error
    ORA-06550: line 6, column 1:
    PLS-00801: internal error [*** ASSERT at file pdw4.c, line  793; Cannot coerce
    between type 43 and type 30; anon_68F441E0__AB[6, 1]]
    Please help it is urgent

    Not sure if you ever received your answer regarding how to pass an XMLType variable in PLSQL to an XQuery command.
    Here is an example of what I've been using... in Oracle 10.2.0.1
    SET SERVEROUTPUT ON SIZE 200000
    DECLARE
    l_result XMLType;
    l_xxDoc XMLType := XMLType(
    <root>
    <things>
    <somestuff>12345</somestuff>
    <morestuff>12345</morestuff>
    </things>
    <things>
    <somestuff>dfgdfg</somestuff>
    <morestuff>werwer</morestuff>
    </things>
    </root>
    PROCEDURE printClobOut
    (p_result IN CLOB)
    IS
    v_xmlstr VARCHAR2(32767);
    v_line VARCHAR2(2000);
    BEGIN
    v_xmlstr := DBMS_LOB.SUBSTR(p_result,32767);
    LOOP
    EXIT WHEN v_xmlstr IS NULL;
    v_line := SUBSTR(v_xmlstr,1,INSTR(v_xmlstr,CHR(10))-1);
    DBMS_OUTPUT.PUT_LINE('| '||v_line);
    v_xmlstr := SUBSTR(v_xmlstr,INSTR(v_xmlstr,CHR(10))+1);
    END LOOP;
    END;
    BEGIN
    select XMLQUERY(
    'for $a in $TheDoc/root
    return <theresult>
    {$a/things}
    </theresult>
    PASSING l_xxDoc as "TheDoc"
    RETURNING CONTENT) into l_result
    from dual;
    printClobOut(l_result.extract('/').getClobVal());
    END;
    Kevin

  • Auth against OD replica doesn't work

    We have two 10.5.8 servers, one is an OD master, the other a replica. We thought that if the master went down, the replica would handle OD account authentication for OD bound clients, but this has not been so. When the master goes down, people can't log in to bound clients using OD accounts.
    Is there a prefs file on my OD bound clients that I can tweak to ensure that the OD replica machine will be consulted for auth, if the master is offline?
    Many thanks...
    Message was edited by: Wombat Fan

    Is this in the Apple OD documentation anywhere?
    Yes, somewhere - it was a while ago when we went through this so I don't remember exactly, just that it wasn't explicit, just a subtle comment somewhere.
    Is it easy to re-point an OD bound machine to a replica
    Yes, just use Directory Utility on the client to change the binding.
    Also is there a client .plist file somewhere I can peek at to see where it's gonna look to get it's auth info?
    Yes there is, but off-hand I don't recall where it is - I seem to recall it's a long .plist, though. I'll try to dig around and repost if I find it.

  • XML over http /xquery etc

    Hi
    Just installed FB4 yesterday, can't find a simple set of procs or suitable links to examples.
    I've been using OpenLaszlo and want to switch to FB. Frankly I'm bogged down with FB's "data aware" stuff and emphasis on simplicity.
    I have a complex xml hosted on a local Tomcat thus via http://127.0.0.1:8080/instrumentation/logs/test.xml
    This XML is generated from Windows Remoting using PowerShell and is not a fun read and I put a sample below. This XML is updated every minute or so.
    What I want to do is pull values from it into fields in custom components inside custom components and can't decide on a simple approach and need some guidance.
    I think what I am asking is
    1. Best approach. HTTPService sounds good?
    2. How to run an XQuery against a data source.
    3. How to get the data into a control - this is entirely read-only stuff. I dont want data-aware stuff.
    I wouldnt yet know how to use data aware controls but would be interested to know how to get from the XML, e.g. disk size etc.
    e.g. in OL I use:
    text = logsadts1.xpathQuery('adts1:/Objs/Obj/MS[1]/Obj[1]/MS[1]/U64[2]/text()');
    canvas.mydoc.adts1.adts1disksize.setAttribute('text',text);
    Can someone give me some headstarts on how best to approach this in FB4?
    Many thanks
    Kevin
    <Objs Version="1.1.0.1" xmlns="http://schemas.microsoft.com/powershell/2004/04">
      <Obj RefId="0">
        <TN RefId="0">
          <T>Deserialized.System.IO.FileInfo</T>
          <T>Deserialized.System.IO.FileSystemInfo</T>
          <T>Deserialized.System.MarshalByRefObject</T>
          <T>Deserialized.System.Object</T>
        </TN>
        <ToString>D:\DocumentumApps\CTS\logs\CTS_log.txt</ToString>
        <Props>
          <S N="Name">CTS_log.txt</S>
          <I64 N="Length">29072771</I64>
          <S N="DirectoryName">D:\DocumentumApps\CTS\logs</S>
          <S N="Directory">D:\DocumentumApps\CTS\logs</S>
          <B N="IsReadOnly">false</B>
          <B N="Exists">true</B>
          <S N="FullName">D:\DocumentumApps\CTS\logs\CTS_log.txt</S>
          <S N="Extension">.txt</S>
          <DT N="CreationTime">2012-02-20T13:50:32.6370386+00:00</DT>
          <DT N="CreationTimeUtc">2012-02-20T13:50:32.6370386Z</DT>
          <DT N="LastAccessTime">2012-02-20T13:50:32.6370386+00:00</DT>
          <DT N="LastAccessTimeUtc">2012-02-20T13:50:32.6370386Z</DT>
          <DT N="LastWriteTime">2012-02-22T16:35:06.0146004+00:00</DT>
          <DT N="LastWriteTimeUtc">2012-02-22T16:35:06.0146004Z</DT>
          <S N="Attributes">Archive</S>
        </Props>
        <MS>
          <S N="PSPath">Microsoft.PowerShell.Core\FileSystem::D:\DocumentumApps\CTS\logs\CTS_log.txt</ S>
          <S N="PSParentPath">Microsoft.PowerShell.Core\FileSystem::D:\DocumentumApps\CTS\logs</S>
          <S N="PSChildName">CTS_log.txt</S>
          <Obj N="PSDrive" RefId="1">
            <TN RefId="1">
              <T>Deserialized.System.Management.Automation.PSDriveInfo</T>
              <T>Deserialized.System.Object</T>
            </TN>
            <ToString>D</ToString>
            <Props>
              <S N="CurrentLocation"></S>
              <S N="Name">D</S>
              <S N="Provider">Microsoft.PowerShell.Core\FileSystem</S>
              <S N="Root">D:\</S>
              <S N="Description">New Volume</S>
              <Obj N="Credential" RefId="2">
                <TN RefId="2">
                  <T>Deserialized.System.Management.Automation.PSCredential</T>
                  <T>Deserialized.System.Object</T>
                </TN>
                <ToString>System.Management.Automation.PSCredential</ToString>
                <Props>
                  <Nil N="UserName" />
                  <Nil N="Password" />
                </Props>
              </Obj>
            </Props>
            <MS>
              <U64 N="Used">10511863808</U64>
              <U64 N="Free">21697241088</U64>
            </MS>
          </Obj>
          <Obj N="PSProvider" RefId="3">
            <TN RefId="3">
              <T>Deserialized.System.Management.Automation.ProviderInfo</T>
              <T>Deserialized.System.Object</T>
            </TN>
            <ToString>Microsoft.PowerShell.Core\FileSystem</ToString>
            <Props>
              <S N="ImplementingType">Microsoft.PowerShell.Commands.FileSystemProvider</S>
              <S N="HelpFile">System.Management.Automation.dll-Help.xml</S>
              <S N="Name">FileSystem</S>
              <S N="PSSnapIn">Microsoft.PowerShell.Core</S>
              <S N="ModuleName">Microsoft.PowerShell.Core</S>
              <Nil N="Module" />
              <S N="Description"></S>
              <S N="Capabilities">Filter, ShouldProcess</S>
              <S N="Home"></S>
              <Obj N="Drives" RefId="4">
                <TN RefId="4">
                  <T>Deserialized.System.Collections.ObjectModel.Collection`1[[System.Management.Automation .PSDriveInfo, System.Management.Automation, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]</T>
                  <T>Deserialized.System.Object</T>
                </TN>
                <LST>
                  <S>C</S>
                  <Ref RefId="1" />
                  <S>A</S>
                  <S>Z</S>
                </LST>
              </Obj>
            </Props>
          </Obj>
          <B N="PSIsContainer">false</B>
          <S N="VersionInfo">File:             D:\DocumentumApps\CTS\logs\CTS_log.txt_x000D__x000A_InternalName:     _x000D__x000A_OriginalFilename: _x000D__x000A_FileVersion:      _x000D__x000A_FileDescription:  _x000D__x000A_Product:          _x000D__x000A_ProductVersion:   _x000D__x000A_Debug:            False_x000D__x000A_Patched:          False_x000D__x000A_PreRelease:       False_x000D__x000A_PrivateBuild:     False_x000D__x000A_SpecialBuild:     False_x000D__x000A_Language:         _x000D__x000A_</S>
          <S N="BaseName">CTS_log</S>
          <S N="Mode">-a---</S>
          <S N="PSComputerName">ukxxxxxxxxxxx.com</S>
          <G N="RunspaceId">ecf51218-4fe3-40ac-984c-cd79392f9850</G>
          <B N="PSShowComputerName">true</B>
        </MS>
      </Obj>
    </Objs>

    In general, it is bad design to make network calls from the EJB layer, just as it is against the spec to do things such as create threads, write to the file system, etc.
    I know this doesn't answer your question but it is something to consider.

  • BEA XQuery Namespace Problem

    Hi,
    I'm facing problem in getting correct XQuery results with BEA when namespace is provided in XML Document.
    I'm trying to execute XQuery against the following XML Document (having xmlns):
    <?xml version="1.0"?>
    <ClinicalDocument xmlns="urn:hl7-org:v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
         <typeId root="2.16.840.1.113883.1.3" extension="POCD_HD000040"/>
         <templateId root="2.16.840.1.113883.3.27.1776"/>
         <id extension="req_cda_123" root="2.16.840.1.113883.4.49"/>
         <code code="34095-0" codeSystem="2.16.840.1.113883.6.1" displayName="COMPREHENSIVE HISTORY & PHYSICAL NOTE"/>
         <title>Comprehensive History & Physical Note</title>
         <effectiveTime value="20060527"/>
         <confidentialityCode code="N" codeSystem="2.16.840.1.113883.5.25"/>
         <setId extension="req_cda_123" root="2.16.840.1.113883.4.49"/>
         <versionNumber value="1"/>
         <recordTarget>
              <patientRole>
                   <id extension="pid_123" root="2.16.840.1.113883.4.49"/>
                   <patient>
                        <name>
                             <given>John</given>
                             <family>Doe</family>
                        </name>
                        <administrativeGenderCode code="M" codeSystem="2.16.840.1.113883.5.1"/>
                        <birthTime value="19580106"/>
                   </patient>
                   <providerOrganization>
                        <id extension="prov_123" root="2.16.840.1.113883.4.49"/>
                   </providerOrganization>
              </patientRole>
         </recordTarget>
    </ClinicalDocument>
    XQuery is:
    let $patFirstName := (//recordTarget/patientRole/patient/name/given)
    return if ($patFirstName) then
              <result>true {$patFirstName}</result>
         else
              <result>false</result>
    The above XQuery always result in false
    I've tried the XQuery which is traversing through root:
    let $patFirstName := (./ClinicalDocument/recordTarget/patientRole/patient/name/given)
    return if ($patFirstName) then
              <result>true {$patFirstName}</result>
         else
              <result>false</result>
    It also results in false.
    Then I've changed the XML Document and removed its namespace declaration (xmlns) as:
    <?xml version="1.0"?>
    <ClinicalDocument>
         <typeId root="2.16.840.1.113883.1.3" extension="POCD_HD000040"/>
         <templateId root="2.16.840.1.113883.3.27.1776"/>
         <id extension="req_cda_123" root="2.16.840.1.113883.4.49"/>
         <code code="34095-0" codeSystem="2.16.840.1.113883.6.1" displayName="COMPREHENSIVE HISTORY & PHYSICAL NOTE"/>
         <title>Comprehensive History & Physical Note</title>
         <effectiveTime value="20060527"/>
         <confidentialityCode code="N" codeSystem="2.16.840.1.113883.5.25"/>
         <setId extension="req_cda_123" root="2.16.840.1.113883.4.49"/>
         <versionNumber value="1"/>
         <recordTarget>
              <patientRole>
                   <id extension="pid_123" root="2.16.840.1.113883.4.49"/>
                   <patient>
                        <name>
                             <given>John</given>
                             <family>Doe</family>
                        </name>
                        <administrativeGenderCode code="M" codeSystem="2.16.840.1.113883.5.1"/>
                        <birthTime value="19580106"/>
                   </patient>
                   <providerOrganization>
                        <id extension="prov_123" root="2.16.840.1.113883.4.49"/>
                   </providerOrganization>
              </patientRole>
         </recordTarget>
    </ClinicalDocument>
    Now the same XQueries result in true.
    I don't know why BEA's XQuery engine is behaving like this with namespace declaration. I want expert's help in this regard.
    Thanks,
    Ismail

    I found that giving the full URL in declare namespace resolves my issue. Oracle's XMLPatch accepts XDiff document generated by this XQuery.

  • Help - Nested XMLQuery (XQuery) Syntax

    I need to query a relational table that includes an XMLType column as Binary XML.  The XMLType column contains an XML document of arbitrary length. My query is in part dependent on relational column values and data values within the XML documents.  The body of the XML document, beneath the root element, is composed of 3 main sections (elements): Header1, 1/document; Header2, 1/document; and Details, 1/document.  The Details section is composed of multiple, arbitrary in number, Detail sections (elements). Example data and table layout are below.
    For a particular TLID or CUST, or SHIP_DATE, etc. I need to return the Header1, Header2, and multiple Detail sections where element values within particular Detail sections match additional qualifications.
    If I just want to return the Detail sections, I can do this successfully with the following query:
    select cust,  tlid,  xmlquery('declare default element namespace "http://abhist.acme.com:8080/acme/schema/C52R09_v2.xsd"; (::)
                            for $i in /C52R09/DETAILS/DETAIL
                            where $i/OrderNumber = "SBC00999"
                            return $i' PASSING xml_doc
                            RETURNING CONTENT).getClobVal() detail
    from xml_truck_info
    where tlid = '424500'
        and  xmlexists('declare default element namespace "http://abhist.acme.com:8080/acme/schema/C52R09_v2.xsd"; (::)
                     $x/C52R09/HEADER1[TruckNumber = "424500"]' PASSING xml_doc AS "x");
    I need, however, to return the Header1 and Header2 sections once per document if the query returns any Detail sections, regardless of  whether the query returns 1 or multiple Detail sections.
    My impression is that this will require a nested XQuery.  I haven't had success getting the syntax correct for this.  I've wasted a tremendous amount of time searching the web for examples that would replicate my scenario.  It seems there is a dearth of detailed, clear info and examples available on Oracle's XQuery implementation and structure.  I found a few examples that approximate what I'm trying to do; however, when I tweak them, the query spits up.
    Based on the following 2 examples pulled from the web or Oracle documentation:
    SELECT rownum, XMLQuery(
       <counties>
        {for $c in ora:view("CHAMBER_OF_COMMERCE")
         let $coc_county := $c/ROW/COC_COUNTY/text(),
             $coc_name := $c/ROW/COC_NAME,
             $coc_phone := $c/ROW/COC_PHONE/textb()
         where $coc_county = $cc_county/county/text()
         order by $coc_county
         return
            <county population="{xs:unsignedInt(sum(/cities/city/population))}">
               <name>{$coc_county}</name>
               <chamber phone="{$coc_phone}">{$coc_name/text()}</chamber>
               <attractions>
                  {for $a in collection("/public")
                   where $coc_county = $a/attraction/county/text()
                   return $a
               </attractions>
            </county>}
        </counties>
        PASSING BY VALUE cc_city_populations,
           XMLTYPE('<county>' || cc_county || '</county>') AS "cc_county"
        RETURNING CONTENT)
    FROM county_census;
    and
    SELECT XMLQuery(
    'for $i in $h//channel
    return
    <headlines>
    <title>OTN new articles on Oracle Solaris</title>
    <items>
         for $j in $h//item
         where ora:contains($j, "Oracle Solaris")
         return <item> {($j/title, $j/link)}</item>
    </items>
    </headlines>'
    PASSING xmlparse (document httpuritype ('http://feeds.delicious.com/v2/rss/OracleTechnologyNetwork/
    otntecharticle').getCLOB()) as "h"
    RETURNING CONTENT).getStringVal() as RESULT FROM DUAL;
    I have modified my simple, successful query above to the following:
    select tlid, XMLQuery('declare default element namespace "http://abhist.acme.com:8080/acme/schema/C52R09_v2.xsd"; (::)
                  for $i in /C52R09
                  return
                    <Headers>
                      "{$i/Header1}"
                      "{$i/Header2}"
                    </Headers>
                        for $x in $i/DETAILS/DETAIL
                        where $x/MarvinOrderNumber = "SBC00999"
                        return $x
                    PASSING xml_doc
                  RETURNING CONTENT).getClobVal() detail
    from xml_truck_info
    where TLID = '424500'
        and  xmlexists('declare default element namespace "http://abhist.acme.com:8080/acme/schema/C52R09_v2.xsd"; (::)
                     $x/C52R09/HEADER1[TruckNumber = "424500"]' PASSING xml_doc AS "x");
    When run in SQLDeveloper the result consistently reflects an issue with the curly braces '{}' around the second 'for' expression.  I have run this with different iterations, to include removing the curly braces around the $i/Header1 and $i/Header2 sections.  It makes no difference.  I get similar results as follows:
    Error at Command Line:16 Column:6
    Error report:
    SQL Error: ORA-19114: XPST0003 - error during parsing the XQuery expression:
    LPX-00801: XQuery syntax error at '{'
    9                   {
    -                   ^
    19114. 00000 -  "error during parsing the XQuery expression: %s"
    *Cause:    An error occurred during the parsing of the XQuery expression.
    *Action:   Check the detailed error message for the possible causes.
    My table, XML_TRUCK_INFO, looks like this:
    Name                Type
    CUST                VARCHAR2(7)
    LOC                 VARCHAR2(5)
    TLID                NUMBER
    STID                NUMBER
    SHIP_DATE           DATE
    SHIPPED_FLAG        VARCHAR2(1)
    XML_DOC             SYS.XMLTYPE STORAGE BINARY    
    Here is a sample of the XML_DOC content that I am running  the XQuery against.
    <?xml version="1.0" standalone="yes"?>
    <C52R09 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:noNamspaceSchemaLocation="http://abhist.acme.com:8080/acme/schema/C52R09_v2.xsd                                           
            http://abhist.acme.com:8080/acme/schema/C52R09_v2.xsd">
      <HEADER1>
        <TruckNumber>424500</TruckNumber>
        <StopID>16</StopID>
        <ShipFrom>CITYNAME</ShipFrom>
        <ShippingDate>10-JUN-2013</ShippingDate>
        <PlannedDepartureDate>10-JUN-2013 05:00</PlannedDepartureDate>
        <ETADate>11-JUN-2013</ETADate>
        <LoadName>SW 29</LoadName>
        <StopName>16-FREEPORT, </StopName>
        <StopComment/>
        <TruckStatus>INVOICED</TruckStatus>
        <ReportType>C</ReportType>
      </HEADER1>
      <HEADER2>
        <DestAddrName>CUSTOMER-BUSINESS-NAME</DestAddrName>
        <DestAddrLine1>23 EAST 4TH AVENUE</DestAddrLine1>
        <DestAddrLine2/>
        <DestCity/>
        <DestState/>
        <DestZip>55555</DestZip>
      </HEADER2>
      <DETAILS>
        <DETAIL>
          <OrderNumber>SBC00999</OrderNumber>
          <LineNumber>3</LineNumber>
          <OrderType>STANDARD SALES ORDER</OrderType>
          <OrderStatus>SHIPPED COMPLETE</OrderStatus>
          <OrderDate>23-MAY-2013</OrderDate>
          <JobName>Job1</JobName>
          <QtyOrdered>3</QtyOrdered>
          <QtyShipped>3</QtyShipped>
          <WeekofDelivery>10-JUN-2013</WeekofDelivery>
          <Status>THIS TRUCK</Status>
          <CustomerNumber>5000-000</CustomerNumber>
          <CustomerName>CUSTNAME1</CustomerName>
          <CustomerPONumber>W163409</CustomerPONumber>
          <CubicFeet>4.56</CubicFeet>
          <ListPrice>677</ListPrice>
          <SpecialMQSCode>
            <ProductType>AAZG</ProductType>
            <UnitType>ABEG</UnitType>
          </SpecialMQSCode>
          <ShortDescription>INSERT ASSEMBLY</ShortDescription>
          <OpeningCount>5</OpeningCount>
          <TrackingLines>
            <TrackingNo>0YD746</TrackingNo>
            <TrackingStatus>Shipped</TrackingStatus>
            <ScanData>
              <ScanDate>11-JUN-2013 07:05</ScanDate>
              <Signature>mark</Signature>
              <ScanStatus>SCANNED</ScanStatus>
            </ScanData>
            <TrackingNo>0YD747</TrackingNo>
            <TrackingStatus>Shipped</TrackingStatus>
            <ScanData>
              <ScanDate>11-JUN-2013 07:31</ScanDate>
              <Signature>mark</Signature>
              <ScanStatus>SCANNED</ScanStatus>
            </ScanData>
            <TrackingNo>0YD748</TrackingNo>
            <TrackingStatus>Shipped</TrackingStatus>
            <ScanData>
              <ScanDate>11-JUN-2013 07:06</ScanDate>
              <Signature>mark</Signature>
              <ScanStatus>SCANNED</ScanStatus>
            </ScanData>
          </TrackingLines>
        </DETAIL>
        <DETAIL>
          <OrderNumber>SBC00999</OrderNumber>
          <LineNumber>4</LineNumber>
          <OrderType>STANDARD SALES ORDER</OrderType>
          <OrderStatus>SHIPPED COMPLETE</OrderStatus>
          <OrderDate>23-MAY-2013</OrderDate>
          <JobName>Job1</JobName>
          <QtyOrdered>3</QtyOrdered>
          <QtyShipped>3</QtyShipped>
          <WeekofDelivery>10-JUN-2013</WeekofDelivery>
          <Status>THIS TRUCK</Status>
          <CustomerNumber>5000-000</CustomerNumber>
          <CustomerName>CUSTNAME1</CustomerName>
          <CustomerPONumber>W163409</CustomerPONumber>
          <CubicFeet>4.56</CubicFeet>
          <ListPrice>677</ListPrice>
          <SpecialMQSCode>
            <ProductType>AAZG</ProductType>
            <UnitType>ABEG</UnitType>
          </SpecialMQSCode>
          <ShortDescription>INSERT ASSEMBLY</ShortDescription>
          <OpeningCount>5</OpeningCount>
          <TrackingLines>
            <TrackingNo>0YD749</TrackingNo>
            <TrackingStatus>Shipped</TrackingStatus>
            <ScanData>
              <ScanDate>11-JUN-2013 07:05</ScanDate>
              <Signature>mark</Signature>
              <ScanStatus>SCANNED</ScanStatus>
            </ScanData>
            <TrackingNo>0YD750</TrackingNo>
            <TrackingStatus>Shipped</TrackingStatus>
            <ScanData>
              <ScanDate>11-JUN-2013 07:05</ScanDate>
              <Signature>mark</Signature>
              <ScanStatus>SCANNED</ScanStatus>
            </ScanData>
            <TrackingNo>0YD751</TrackingNo>
            <TrackingStatus>Shipped</TrackingStatus>
            <ScanData>
              <ScanDate>11-JUN-2013 06:46</ScanDate>
              <Signature>mark</Signature>
              <ScanStatus>SCANNED</ScanStatus>
            </ScanData>
          </TrackingLines>
        </DETAIL>
        <DETAIL>
          <OrderNumber>SBC00999</OrderNumber>
          <LineNumber>5</LineNumber>
          <OrderType>STANDARD SALES ORDER</OrderType>
          <OrderStatus>SHIPPED COMPLETE</OrderStatus>
          <OrderDate>23-MAY-2013</OrderDate>
          <JobName>Job1</JobName>
          <QtyOrdered>2</QtyOrdered>
          <QtyShipped>2</QtyShipped>
          <WeekofDelivery>10-JUN-2013</WeekofDelivery>
          <Status>THIS TRUCK</Status>
          <CustomerNumber>5000-000</CustomerNumber>
          <CustomerName>CUSTNAME1</CustomerName>
          <CustomerPONumber>W163409</CustomerPONumber>
          <CubicFeet>4.56</CubicFeet>
          <ListPrice>677</ListPrice>
          <SpecialMQSCode>
            <ProductType>AAZG</ProductType>
            <UnitType>ABEG</UnitType>
          </SpecialMQSCode>
          <ShortDescription>INSERT ASSEMBLY</ShortDescription>
          <OpeningCount>5</OpeningCount>
          <TrackingLines>
            <TrackingNo>0YD752</TrackingNo>
            <TrackingStatus>Shipped</TrackingStatus>
            <ScanData>
              <ScanDate>11-JUN-2013 07:05</ScanDate>
              <Signature>mark</Signature>
              <ScanStatus>SCANNED</ScanStatus>
            </ScanData>
            <TrackingNo>0YD753</TrackingNo>
            <TrackingStatus>Shipped</TrackingStatus>
            <ScanData>
              <ScanDate>11-JUN-2013 07:42</ScanDate>
              <Signature>mark</Signature>
              <ScanStatus>SCANNED</ScanStatus>
            </ScanData>
          </TrackingLines>
        </DETAIL>
        <DETAIL>
          <OrderNumber>SBC01011</OrderNumber>
          <LineNumber>1</LineNumber>
          <OrderType>STANDARD SALES ORDER</OrderType>
          <OrderStatus>SHIPPED COMPLETE</OrderStatus>
          <OrderDate>28-MAY-2013</OrderDate>
          <JobName>Job2</JobName>
          <QtyOrdered>4</QtyOrdered>
          <QtyShipped>4</QtyShipped>
          <WeekofDelivery>10-JUN-2013</WeekofDelivery>
          <Status>THIS TRUCK</Status>
          <CustomerNumber>5000-000</CustomerNumber>
          <CustomerName>CUSTNAME1</CustomerName>
          <CustomerPONumber>W163766</CustomerPONumber>
          <CubicFeet>4.6</CubicFeet>
          <ListPrice>823</ListPrice>
          <SpecialMQSCode>
            <ProductType>AAZG</ProductType>
            <UnitType>ABEG</UnitType>
          </SpecialMQSCode>
          <ShortDescription>INSERT ASSEMBLY</ShortDescription>
          <OpeningCount>5</OpeningCount>
          <TrackingLines>
            <TrackingNo>0YV016</TrackingNo>
            <TrackingStatus>Shipped</TrackingStatus>
            <ScanData>
              <ScanDate>11-JUN-2013 07:46</ScanDate>
              <Signature>mark</Signature>
              <ScanStatus>SCANNED</ScanStatus>
            </ScanData>
            <TrackingNo>0YV017</TrackingNo>
            <TrackingStatus>Shipped</TrackingStatus>
            <ScanData>
              <ScanDate>11-JUN-2013 07:25</ScanDate>
              <Signature>mark</Signature>
              <ScanStatus>SCANNED</ScanStatus>
            </ScanData>
            <TrackingNo>0YV018</TrackingNo>
            <TrackingStatus>Shipped</TrackingStatus>
            <ScanData>
              <ScanDate>11-JUN-2013 06:51</ScanDate>
              <Signature>mark</Signature>
              <ScanStatus>SCANNED</ScanStatus>
            </ScanData>
            <TrackingNo>0YV019</TrackingNo>
            <TrackingStatus>Shipped</TrackingStatus>
            <ScanData>
              <ScanDate>11-JUN-2013 07:22</ScanDate>
              <Signature>mark</Signature>
              <ScanStatus>SCANNED</ScanStatus>
            </ScanData>
          </TrackingLines>
        </DETAIL>
      </DETAILS>
    </C52R09>
    I would appreciate any help and/or insights from others more experienced in this than I.
    Thanks in advance,
    Paul

    Sorry, as I look back at the declaration in the root element included in the example, I must have used an older version of the data.  The root element with declarations should have been this:
    <C52R09 xmlns="http://abhist.acme.com:8080/acme/schema/C52R09_v2.xsd"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:SchemaLocation="http://abhist.acme.com:8080/acme/schema/C52R09_v2.xsd                                 
    http://abhist.acme.com:8080/acme/schema/C52R09_v2.xsd">
    I've included the query with the declaration (using data values in the table, but different from those in the example) and the result below:
    PK_XML-MOS2>>select tlid
      2       , XMLQuery('declare default element namespace "http://abhist.acme.com:8080/acme/schema/C52R09_v2.xsd"; (::)
      3           let $dtls := /C52R09/DETAILS/DETAIL[OrderNumber=$order_no]
      4            return if ($dtls) then
      5            <Doc>
      6            {
      7              <Headers>{ /C52R09/HEADER1, /C52R09/HEADER2 }</Headers>
      8            , <Details>{ $dtls }</Details>
      9            }
    10            </Doc>
    11            else ()'
    12           PASSING xml_doc
    13                 , '17Z00266' as "order_no"
    14           RETURNING CONTENT
    15         ).getClobVal() detail
    16  from xml_truck_info
    17  where tlid = 398043
    18    and xmlexists('declare default element namespace "http://abhist.acme.com:8080/acme/schema/C52R09_v2.xsd"; (::)
    19          /C52R09/HEADER1[TruckNumber=$truck_no]'
    20          PASSING xml_doc
    21                , '398043' as "truck_no"
    22        );
    More .....
          TLID  DETAIL
        398043   
    I've included the query without the declaration (same data values as above) and the result below:
    PK_XML-MOS2>>select tlid
       2       , XMLQuery('let $dtls := /C52R09/DETAILS/DETAIL[OrderNumber=$order_no]
       3            return if ($dtls) then
       4            <Doc>
       5            {
       6              <Headers>{ /C52R09/HEADER1, /C52R09/HEADER2 }</Headers>
       7            , <Details>{ $dtls }</Details>
       8            }
       9            </Doc>
      10            else ()'
      11           PASSING xml_doc
      12                 , '17Z00266' as "order_no"
      13           RETURNING CONTENT
      14         ).getClobVal() detail
      15  from xml_truck_info
      16  where tlid = 398043
      17    and xmlexists('/C52R09/HEADER1[TruckNumber=$truck_no]'
      18          PASSING xml_doc
      19                , '398043' as "truck_no"
      20        );
    no rows selected
    The first example, with the declaration, returns the TLID value, although no detail section.  Whereas, the second, without the declaration, finds nothing to return.
    Thanks again.

  • Directory Server Replica and Messaging Server 6

    I install Directory Server 5.2 as Master Replica in one machine (V120) and on the other machine (V240) I install the following:
    1. SunONE Directory Server 5.2 (Consumer
    Replica) or slave replica.
    2. SunONE Identity Server
    3. SunONE Messaging Server 6
    I have successfully install and configured the 3 Servers, when they are running on just one machine (one box). But when I try to run them in two separate machines as described above, the messaging server acts strangely and it's configuration fails, when i try to configure it on the directory server replica.
    In simpler words, I want to know if someone has installed Messaging Server in a Directory Server Replication scenario, where there are two machines involve. Because all works well when we install everything on one machine (one box) but I am having hard time configuring the messaging server in this split setup scenario.
    So, if someone has idea about how to run the Messaging Server 6 ( ./configure ) file successfully on a Directory Server 5.2 Replica, please suggest me in detail.
    Thanking you,
    Farhan Ahmed.
    Vision Valley, Dubai.

    Messaging Server uses LDAP in two ways. The obvious one is that user/group/domain information is stored there.
    The non-obvious way is that some configuration information is stored in LDAP, in the "o=NetscapeRoot" tree. This tree is NOT ususally replicated, so if you perform the installation against one LDAP server, and then attempt to move the configuration to point to another one, and don't make a separate replication agreement for the configuration, your server won't work correctly.
    To configure Messaging against a replica, you also need to understand how the replication and "referral" works. Without studying your scenario, I cannot tell what has failed, but indeed, there are users that have configured Messaging 6.0 against a replica LDAP system.
    You may want to open a tech support ticket, and get personal help for your issue.

  • Conflicting information regarding running chkdsk on replica volumes.

    I am seeing conflicting information on using chkdsk on replica volumes.  I have a disk replica that appears to have a corrupted file that is preventing the tape backup from completing.  I have seen suggestions on TN that using chkdsk /f against
    the replica volume could fix the problem but I also see information on Technet (.bb795857.aspx) that it could also cause a loss of all recovery points.  Has anyone successfully run this against a replica volume in DPM 2012 R2 with no loss of recovery
    points?
    Thanks,

    Hi,
    Running chkdsk on the Replica can be done without with out too much concern as Shadow copy volume is still online and VSS can track changes made to the Replica and perform copy-on-write (cow) to maintain current active snapshot.
    Running chkdsk on the "recovery point" volume takes some precautions.  You need to cancel any running and all future scheduled jobs that effect the datasource whose recovery point volume you want to run chkdsk on.  This is because while chkdsk
    has taken the volume offline to have exclusive use, any writes to the replica could lead to invalidating the shadow copies.  In theory, VSS Shadow copy protection mode should prevent that, but to be safe, I would take the extra precaution.  
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Regards, Mike J. [MSFT]
    This posting is provided "AS IS" with no warranties, and confers no rights.

  • Parking document

    Hi,
    How do i supress the ability to park/hold a document in FB60.
    Thank in advance
    genie

    Hi create a screen variant where the parking option is not present
    Below are the steps. Strange requirement though, just train the users not use
    that tab
    Please assign points as a way of thanking
    Step 1:
    Execute transaction SHD0 and create a Transaction Variant against the original transaction.
    Step 2:
    As soon as you press the create button, the original screen of the transaction will appear. After pressing any button/tab on the screen a menu variant screen will appear. Make sure to check any field or tab or any button you want to disappear from the menu functions. Press the exit and save button when you are sure that no further settings are required on sub-screens (if present). After pressing the exit and save button another menu variant screen will appear. Press the save button here and save as a local object or under any development class.
    Step 3:
    When you are back on the Transaction Variant (SHD0) screen, press shift+F6 or click the goto menu and press the create variant transaction button. Through this transaction SE93 will be executed. Enter the transaction name you want to create and any other required field and now press the save button.
    Step 4:
    Now execute the transaction you create through create Transaction Variant and enjoy the results.
    Case two for creating Transaction Variants
    Step 1:
    Create a dialogue transaction through SE93 and enter the program name and screen number of the original transaction you want to make a variant on ( e.g., PFCG). Press the save button and check whether the replica transaction (PFCG) has been created successfully by executing it on a new session.
    Step 2:
    Execute transaction SHD0 to create a Transaction Variant. Specify the transaction name (replica of PFCG) which you have just created and create a Transaction Variant against the replica transaction.
    Step 3:
    As soon as you press the create button, the original screen of the transaction will appear. After pressing any button/tab on the screen a menu variant screen will appear. Make sure to check any field or tab or any button you want to disappear from the menu functions. Press the exit and save button when you are sure that no further settings are required on sub-screens (if present). After pressing the exit and save button another menu variant screen will appear. Press the save button here and save as a local object or under any development class.
    Step 4:
    When you are back on the main screen of the SHDO (Transaction Variant) click the edit option on the menu tab and activate Standard Variant. Through this a Standard Variant will be assigned to the transaction specified (replica transaction).
    Note: Make sure you activate the Standard Variant against a replica transaction and not on the original one.

  • Link between in SRM and R3

    Hi,
          Where vendor number created in SRM get stored and how do I found link between vendor number in SRM and it's relevent vendor number in R3 ?

    Hi
    <u>Tables in R/3</u>
    LFA1
    LFB1
    LFC1
    LFM1...
    LF*1
    <u>Tables in SRM  which contain Vendor relation from R/3</u>
    VENMAP (Here Logical System of R/3 can be foung against vendor replicated in SRM using BBPGETVD trnasaction)
    BUT000 (All Business Partners created in SRM - biiders, Vendors, Contact persons, etc..)
    BUT020 (Business Partner Address data)
    BUT021 (Business Partner Address data + other details)
    Hope this will help.
    Regards
    - Atul

  • SHDO-how to create transactional ,screen , standard variants for a t code..

    hi experts,,,,,
    1)can u explain the use of it.......
    how to create diff type of variants.......
    2)......how to give batch number assignment alpha numerically.......
    here in the system only numbe\rically available, and i have to assign the batch number  internal assignment.........for a particular production order.

    Hi,
    <b>creating Transaction Variants</b>
    Step 1:
    Execute transaction SHD0 and create a Transaction Variant against the original transaction.
    Step 2:
    As soon as you press the create button, the original screen of the transaction will appear. After pressing any button/tab on the screen a menu variant screen will appear. Make sure to check any field or tab or any button you want to disappear from the menu functions. Press the exit and save button when you are sure that no further settings are required on sub-screens (if present). After pressing the exit and save button another menu variant screen will appear. Press the save button here and save as a local object or under any development class.
    Step 3:
    When you are back on the Transaction Variant (SHD0) screen, press shift+F6 or click the goto menu and press the create variant transaction button. Through this transaction SE93 will be executed. Enter the transaction name you want to create and any other required field and now press the save button.
    Step 4:
    Now execute the transaction you create through create Transaction Variant and enjoy the results.
    Case two for creating Transaction Variants
    Step 1:
    Create a dialogue transaction through SE93 and enter the program name and screen number of the original transaction you want to make a variant on (e.g., PFCG). Press the save button and check whether the replica transaction (PFCG) has been created successfully by executing it on a new session.
    Step 2:
    Execute transaction SHD0 to create a Transaction Variant. Specify the transaction name (replica of PFCG) which you have just created and create a Transaction Variant against the replica transaction.
    Step 3:
    As soon as you press the create button, the original screen of the transaction will appear. After pressing any button/tab on the screen a menu variant screen will appear. Make sure to check any field or tab or any button you want to disappear from the menu functions. Press the exit and save button when you are sure that no further settings are required on sub-screens (if present). After pressing the exit and save button another menu variant screen will appear. Press the save button here and save as a local object or under any development class.
    Step 4:
    When you are back on the main screen of the SHDO (Transaction Variant) click the edit option on the menu tab and activate Standard Variant. Through this a Standard Variant will be assigned to the transaction specified (replica transaction).
    Note: Make sure you activate the Standard Variant against a replica transaction and not on the original one.
    Regards
    Sudheer

  • No query engine found

    I've created a simple war project within a simple ear project using Workshop 9.2, and have deployed the ear to the example server. The war contains a single web service that accepts an xml string and an xquery string. The web service applies the xquery against the xml like so, using xml beans:
    <pre>
         @WebMethod
         public String testXml(String xml, String xq) throws XmlException
              XmlObject xmlObj = XmlObject.Factory.parse(xml);
              XmlObject[] results = xmlObj.execQuery(xq);
              StringBuffer sb = new StringBuffer();
              sb.append("<wrapper>");
              for (XmlObject result : results)
                   sb.append(result.xmlText(new XmlOptions().setSavePrettyPrint()));
              sb.append("</wrapper>");
              return sb.toString();
    </pre>
    Problem is, when I test this web service, I get the following exception. What am I doing wrong here?
    <pre>
    java.lang.RuntimeException: No query engine found
    at org.apache.xmlbeans.impl.store.Query.getCompiledQuery(Query.java:120)
    at org.apache.xmlbeans.impl.store.Query.getCompiledQuery(Query.java:53)
    at org.apache.xmlbeans.impl.store.Query.objectExecQuery(Query.java:43)
    at org.apache.xmlbeans.impl.store.Xobj.exec_query(Xobj.java:2503)
    at org.apache.xmlbeans.impl.values.XmlObjectBase.execQuery(XmlObjectBase.java:480)
    at org.apache.xmlbeans.impl.values.XmlObjectBase.execQuery(XmlObjectBase.java:462)
    at xmlbeans.TestXMLBeans.testXml(TestXMLBeans.java:16)
    at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
        at java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Unknown Source)
        at weblogic.wsee.component.pojo.JavaClassComponent.invoke(JavaClassComponent.java:99)
        at weblogic.wsee.ws.dispatch.server.ComponentHandler.handleRequest(ComponentHandler.java:64)
        at weblogic.wsee.handler.HandlerIterator.handleRequest(HandlerIterator.java:127)
        at weblogic.wsee.ws.dispatch.server.ServerDispatcher.dispatch(ServerDispatcher.java:85)
        at weblogic.wsee.ws.WsSkel.invoke(WsSkel.java:80)
        at weblogic.wsee.server.servlet.SoapProcessor.handlePost(SoapProcessor.java:66)
        at weblogic.wsee.server.servlet.SoapProcessor.process(SoapProcessor.java:44)
        at weblogic.wsee.server.servlet.BaseWSServlet$AuthorizedInvoke.run(BaseWSServlet.java:165)
        at weblogic.wsee.server.servlet.BaseWSServlet.service(BaseWSServlet.java:84)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
        at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225)
        at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127)
        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3214)
        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
        at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
        at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:1983)
        at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1890)
        at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1344)
    </pre>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    hi all
    i have one more soln for this problem
    I got this working by adding a element in weblogic-application.xml this one makes to load our version of xmlbeans/saxon jar from the app-inf lib folder
    Step 1.
    I copied all the jars in the app-inf lib folder
    :\workshop\kai\webserviceEAR\EarContent\APP-INF\lib>dir
    Volume in drive C is SYSTEM
    Volume Serial Number is 7CF4-E4FE
    Directory of C:\workshop\kai\webserviceEAR\EarContent\APP-INF\lib
    0/01/2007 07:14 PM <DIR> .
    0/01/2007 07:14 PM <DIR> ..
    0/01/2007 07:13 PM 23,630 jsr173_1.0_api.jar
    0/01/2007 07:14 PM 60,047 resolver.jar
    0/01/2007 06:59 PM 12,569 saxon8-jdom.jar
    0/01/2007 06:59 PM 2,297,989 saxon8.jar
    0/01/2007 07:14 PM 2,664,574 xbean.jar
    0/01/2007 06:59 PM 5,578 xbean_xpath.jar
    0/01/2007 07:14 PM 429,483 xmlpublic.jar
    7 File(s) 5,493,870 bytes
    2 Dir(s) 2,820,255,744 bytes free
    step-2 added this entry into the weblogic-application.xml
    <wls:prefer-application-packages>
    <wls:package-name>org.apache.xmlbeans.*</wls:package-name>
    </wls:prefer-application-packages>
    here I ran into another problem deployment discriptor did not identify the entry prefer-application-package
    I had to modify the first line of the weblogic-application.xml
    <wls:weblogic-application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wls="http://www.bea.com/ns/weblogic/90" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/j2ee_1_4.xsd">
    ie On my end, I modfied weblogic-application.xml file by removing these 2 schema locations from the opening tag:
    http://www.bea.com/ns/weblogic/90 http://www.bea.com/ns/weblogic/90/weblogic-application.xsd
    After that I ran the service and see the xquery working fine the basic logic here is we made the jar files from the application to load using the tag prefer-application-packages
    Thanks

  • Need help, oracle xml db jar conflicts with sup app server v9

    I am trying to create a web service on sun app v9 that will work with calls to oracle xml db on oracle 10gr2. I have successfully created a web service on other application servers (weblogic and websphere) but sun was the app server of choice. The oracle jar xmlparserv2.jar is causing problems with the sun server as it seems to have bundled some java classes from the javax.xml.parsers, javax\xml\transform (and even from dom, sax and streams sub folders) packages.
    If I put the oracle jar in my war the error I get in the log file when accessing my webservice tester is:
    [#|2007-08-13T08:37:48.691-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=15;_ThreadName=httpWorkerThread-8080-0;|error: http://www.w3.org/TR/html4/loose.dtd<Line 31, Column 3>: XML-20100: (Fatal Error) Expected '>'.
    line 31 of http://www.w3.org/TR/html4/loose.dtd|#]
    [#|2007-08-13T08:37:48.738-0400|INFO|sun-appserver-pe9.0|javax.enterprise.system.stream.out|_ThreadID=15;_ThreadName=httpWorkerThread-8080-0;|
    error: Expected '>'.
    line ? of http://ann-griffithlap.jsc-eses.com:8080/TestWS/TestWSService?WSDL#types?schema1|#]
    And the UI error from the tester call is:
    javax.servlet.ServletException: java.lang.RuntimeException: Service Class not generated as expected at com.sun.enterprise.webservice.monitoring.WebServiceTesterServlet.initializePort(WebServiceTesterServlet.java:546) at com.sun.enterprise.webservice.monitoring.WebServiceTesterServlet.doGet(WebServiceTesterServlet.java:158) at com.sun.enterprise.webservice.monitoring.WebServiceTesterServlet.invoke(WebServiceTesterServlet.java:104) at
    I had attempted to move the xmlparserv2.jar elsewhere in the classpath for classloading and one error I got while trying different spots was:
    [#|2007-07-16T14:16:57.982-0400|SEVERE|sun-appserver-pe9.0|javax.enterprise.system.tools.deployment|_ThreadID=10;_ThreadName=main;_RequestID=c9ffb261-2b6d-4dd2-bd8f-362e6b2af1a0;|INFO: JAXP SAXParser property not recognized: http://java.sun.com/xml/jaxp/properties/schemaLanguage|#]
    [#|2007-07-16T14:16:57.982-0400|SEVERE|sun-appserver-pe9.0|javax.enterprise.system.tools.deployment|_ThreadID=10;_ThreadName=main;_RequestID=c9ffb261-2b6d-4dd2-bd8f-362e6b2af1a0;|Check to see if parser conforms to JAXP 1.2 spec.|#]
    which gets repeated for each deployment and then the server would not start up.
    Is there any suggestions of where I can put the oracle jar to get sun to still start up as well as the jar to be available for use by the classes in my war that also contains the webservice that will call my underlying class? I have not found a way to eliminate the oracle jar if I want to do an xquery against oracle xml db.
    Thanks,
    D.Griffith

    Here's more information on the machines.
    Machine where the Oracle Database 11g Express Edition: IP Address is 10.162.128.67
    Machine where the SQL Server database: IP Address is 142.120.51.30.
    I've modified the tnsnames.ora to the following:
    XE =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = 10.162.128.67)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = XE)
    EXTPROC_CONNECTION_DATA =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
        (CONNECT_DATA =
          (SID = PLSExtProc)
          (PRESENTATION = RO)
    ORACLR_CONNECTION_DATA =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
        (CONNECT_DATA =
          (SID = CLRExtProc)
          (PRESENTATION = RO)
    SQLSERVER =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = 142.120.51.30)(PORT=1433))
        (CONNECT_DATA =
          (SID = SQLSERVER)
      (HS = OK)
    )But now I'm getting the following error:
    C:\>tnsping sqlserver
    TNS Ping Utility for 32-bit Windows: Version 11.2.0.2.0 - Production on 18-SEP-2
    012 14:52:59
    Copyright (c) 1997, 2010, Oracle.  All rights reserved.
    Used parameter files:
    C:\oraclexe\app\oracle\product\11.2.0\server\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)
    (HOST = 142.120.51.30)(PORT=1434))) (CONNECT_DATA = (SID = SQLSERVER)) (HS = OK)
    TNS-12541: TNS:no listener
    C:\>Regards,
    Allen

  • ORA-23308 object does not exist or is invalid when DBMS_REPCAT.DROP_MASTER_

    HI,
    I am working on oracle 10g multimaster replication.
    When i try to drop object from master site it gives me error like
    SQL> BEGIN
      2     DBMS_REPCAT.DROP_MASTER_REPOBJECT(
      3       oname => '"AC_CHECK"',
      4        type => 'TABLE',
      5       sname => '"UMESH"',
      6       drop_objects => FALSE);
      7  END;
      8  /
    BEGIN
    ERROR at line 1:
    ORA-23308: object UMESH.AC_CHECK does not exist or is invalid
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
    ORA-06512: at "SYS.DBMS_REPCAT_UTL", line 2874
    ORA-06512: at "SYS.DBMS_REPCAT_UTL", line 2849
    ORA-06512: at "SYS.DBMS_REPCAT_UTL4", line 2926
    ORA-06512: at "SYS.DBMS_REPCAT_UTL4", line 2727
    ORA-06512: at "SYS.DBMS_REPCAT", line 643
    ORA-06512: at line 2I can't find out the reason for it.
    I more problum i am facing is when i stopped ( quiesced ) the replication activity.
    my stored procedures on the master site start giving error like
    sqlcode =*-23326*  sqlerrm=*ORA-23326: object group "PUBLIC"."MYREPGRP" is quiesced*it means if i stop replication my database will not work while i am using asynchronous
    replication.
    i want my master database to work in any situation either replication is working or not.
    Thnaks

    Make sure the replication object you want to drop really exists.
    check dba_repobject and dba_objects views.
    select sname, oname, type, status, gname
    from dba_repobject
    where oname='AC_CHECK'
    [pre]select owner, object_name, object_type
    from dba_objects
    where object_name='AC_CHECK'
    Regarding ORA-23326.
    This error occurs if the replication status is QUIESCED and you want to execute DML transaction against a replicated object.
    While the replication status is QUIESCED no DML transactions are allowed against the replication objects.
    Usually you want to stop the replication (suspend the master activity) if you want to perform maintenance activities (drop/add rep objects). This should be done in off hours and should be planned. You should be aware that no DML transactions are allowed while the master activity is suspended.
    Also be aware that when you try to suspend the activity, the database will try to push and apply all the pending transactions. This may take some time (depends on the size of the transactions). So it is good practice to make sure there are no transactions that are waiting in DEFTRANDEST queue.
    If you want to read more how the QUIESCED state affects the database activity, please refer to the following link:
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14226/repmaster.htm#sthref260
    Cheers,

  • How can I customize the delivery screen layout?

    Hi,
    When I create delivery(T-code:VL01N),I want to some fields can not be modified.But I didn't find any IMG such as "field status".
    How to do ?
    Junyan He

    Another extract i found on the net on SHD0
    First
    Link with screen shots [Click Here|http://www.mortenhjorthnielsen.dk/Security/transactionvariants.htm]
    Second
    Case one for creating Transaction Variants
    Step 1:
    Execute transaction SHD0 and create a Transaction Variant against the original transaction.
    Step 2:
    As soon as you press the create button, the original screen of the transaction will appear. After pressing any button/tab on the screen a menu variant screen will appear. Make sure to check any field or tab or any button you want to disappear from the menu functions. Press the exit and save button when you are sure that no further settings are required on sub-screens (if present). After pressing the exit and save button another menu variant screen will appear. Press the save button here and save as a local object or under any development class.
    Step 3:
    When you are back on the Transaction Variant (SHD0) screen, press shift+F6 or click the goto menu and press the create variant transaction button. Through this transaction SE93 will be executed. Enter the transaction name you want to create and any other required field and now press the save button.
    Step 4:
    Now execute the transaction you create through create Transaction Variant and enjoy the results.
    Case two for creating Transaction Variants
    Step 1:
    Create a dialogue transaction through SE93 and enter the program name and screen number of the original transaction you want to make a variant on (e.g., PFCG). Press the save button and check whether the replica transaction (PFCG) has been created successfully by executing it on a new session.
    Step 2:
    Execute transaction SHD0 to create a Transaction Variant. Specify the transaction name (replica of PFCG) which you have just created and create a Transaction Variant against the replica transaction.
    Step 3:
    As soon as you press the create button, the original screen of the transaction will appear. After pressing any button/tab on the screen a menu variant screen will appear. Make sure to check any field or tab or any button you want to disappear from the menu functions. Press the exit and save button when you are sure that no further settings are required on sub-screens (if present). After pressing the exit and save button another menu variant screen will appear. Press the save button here and save as a local object or under any development class.
    Step 4:
    When you are back on the main screen of the SHDO (Transaction Variant) click the edit option on the menu tab and activate Standard Variant. Through this a Standard Variant will be assigned to the transaction specified (replica transaction).
    Note: Make sure you activate the Standard Variant against a replica transaction and not on the original one.

Maybe you are looking for

  • Wiping Hard Drive and Reinstalling Mountain Lion?

    So I have a lot of, to be quite frank, crap on my MacBook. It's the 128GB model, meaning I can't have too much stuff on it. This used to be my only computer but over the summer I built a new one that has a whole TB+ of space on it so I've been wantin

  • Material valuation IFRS

    Hello experts, We are working on an ECC 6.0 implementation for IAS/IFRS. Therefore, it is necessary to have two accounting ledgers (IFRS ledger and Legal ledger for the country - Chile) in order to support two different kind of material valuation (on

  • Size (in Bytes) of data in response.

    Hi; Is there a quick way of getting the size (length of data) in the response? The api, as I see it, only has a reponse.getBufferSize. I need something like string.length(). Thank you much. nat

  • Design in dreamweaver

    I am new to this and I am needing to set up a webpage. What is the best way to go about designing a page? Do I design everything in another program then transfer it in? If so what program? OR can I design in Dreamweaver? Also I need to make a members

  • No business interface, component interface or web service endpoint interface found for Session Bean SessionEJB

    hi , i am just using EJb in my Application just created an SessionBean and with Local interface in it i am getting this wierd exception with weblogic NetBeans and eclipse also weblogic.ejb.container.compliance.ComplianceException: No business interfa