DB_NOTFOUND: No matching key/data pair

Hello,
    I'm trying to index a container that has about 3000 XML documents, like this:
<?xml version="1.0" encoding="UTF-8"?>
<BO>
<cadastro>
  <id>15</id>
  <ano>06</ano>
  <hash>2446aaa904cf9a5e2748b48b378b28ac</hash>
  <inicio>
   <data>
    <d>18</d>
    <m>05</m>
    <a>2006</a>
    <date>2006-05-18</date>
   </data>
   <hora>
    <h>12</h>
    <m>45</m>
    <s>09</s>
    <time>12:45:09</time>
   </hora>
  </inicio>
  <fim>
   <data>
    <d>18</d>
    <m>05</m>
    <a>2006</a>
    <date>2006-05-18</date>
   </data>
   <hora>
    <h>12</h>
    <m>52</m>
    <s>15</s>
    <time>12:52:15</time>
   </hora>
  </fim>
  <numFlash />
  <remoteAddr>200.222.152.218</remoteAddr>
  <remotePort>60843</remotePort>
  <maquina />
  <sispol />
</cadastro>
<validacao>
  <situacao>REPROVADO</situacao>
  <validadores>
   <avaliador>
    <nome>NELSON MIRANDA MATTOS FILHO</nome>
    <cpf>
     <numero>47577517534</numero>
    </cpf>
    <matricula />
   </avaliador>
   <escrivao>
    <nome>FLÁVIO AMORIM DE BRITO</nome>
    <matricula>5555</matricula>
    <cpf>
     <numero>12345678909</numero>
    </cpf>
   </escrivao>
   <delegado>
    <nome>FRANCISCO MEDSON LIMA MAIA</nome>
    <matricula />
    <cpf>
     <numero>41728670306</numero>
    </cpf>
   </delegado>
  </validadores>
  <data>
   <d>18</d>
   <m>05</m>
   <a>2006</a>
   <date>2006-05-18</date>
  </data>
  <hora>
   <h>12</h>
   <m>53</m>
   <s>26</s>
   <time>12:53:26</time>
  </hora>
  <maquina>
   <dhCadastro>
    <data>
     <d>02</d>
     <m>05</m>
     <a>2006</a>
     <date>2006-05-02</date>
    </data>
    <hora>
     <h>14</h>
     <m>17</m>
     <s>58</s>
     <time>14:17:58</time>
    </hora>
   </dhCadastro>
   <nome>Maquina01-DI</nome>
   <descricao />
   <ip>10.1.26.57</ip>
  </maquina>
  <obs>TESTE</obs>
</validacao>
<fato>
  <natureza>FURTO</natureza>
  <uf>AL</uf>
  <cidade>MACEIÓ</cidade>
  <bairro>ANTARES</bairro>
  <lougradouro />
  <pontoReferencia />
  <data>
   <d>18</d>
   <m>05</m>
   <a>2006</a>
   <date>2006-05-18</date>
  </data>
  <periodo>MANHA</periodo>
  <descricaoFato />
  <outrosDocumentos />
</fato>
<pessoas>
  <vitima>
   <cpf>
    <numero>41728670306</numero>
   </cpf>
   <rg>
    <orgaoEmissor />
    <uf />
    <dExpedicao>
     <d>0</d>
     <m>0</m>
     <a>0</a>
     <date>0-0-0</date>
    </dExpedicao>
    <numero />
   </rg>
   <nome>FRANCISCO MEDSON MAIA</nome>
   <sexo>M</sexo>
   <dNasc>
    <d>01</d>
    <m>01</m>
    <a>1926</a>
    <date>1926-01-01</date>
   </dNasc>
   <lougradouro>RUA X</lougradouro>
   <numero>12</numero>
   <bairro>CENTRO</bairro>
   <compl />
   <cidade>MACEIÓ</cidade>
   <uf>AL</uf>
   <cep />
   <naturalidade>
    <cidade>MACEIÓ</cidade>
    <uf>AL</uf>
   </naturalidade>
   <filiacao>
    <pai />
    <mae>MARIA</mae>
   </filiacao>
   <fone>
    <numResidencial>8288338887</numResidencial>
    <numCelular />
   </fone>
   <email />
   <estadoCivil>1</estadoCivil>
   <grauInstrucao>0</grauInstrucao>
   <turista>n</turista>
  </vitima>
</pessoas>
<documentos>
  <cpf>
   <numero>41728670306</numero>
  </cpf>
  <outros>
   <descricao>carteira da ordem dos musicos</descricao>
  </outros>
</documentos>
<objetos />
<historico>O DECLARANTE INFORMA QUE, NO LOCAL, DATA E HORA ACIMA CITADOS, FORAM EXTRAVIADOS 2 DOCUMENTOS , ABAIXO DISCRIMINADOS: CPF Nº 417.286.703-06;CARTEIRA DA ORDEM DOS MUSICOS; OBS.: ESTE BOLETIM NÃO SUBSTITUI O(S) DOCUMENTO(S) ACIMA CITADO.</historico>
</BO>
    I tried to index the node:
    <date>2006-05-18</date>
    Which occurs in many places in the document. So I assumed it should be an edge-type index? So I added:
dbxml> addIndex "" date edge-element-equality-string
   But when I perform some operation to update any document, I get this:
com.sleepycat.dbxml.XmlException: Error: DB_NOTFOUND: No matching key/data pair found, errcode = DATABASE_ERROR
        at com.sleepycat.dbxml.dbxml_javaJNI.XmlModify_execute__SWIG_0(Native Method)
        at com.sleepycat.dbxml.XmlModify.execute(XmlModify.java:81)
        at br.gov.al.delegaciainterativa.controles.Update.atualizaXml(Update.java:146)
        at br.gov.al.delegaciainterativa.bo.GerenciaBO.mudarStatusBO(GerenciaBO.java:327)
        at br.gov.al.delegaciainterativa.bo.GerenciaBO.mudarStatusParaEmEspera(GerenciaBO.java:281)
        at org.apache.jsp.admin.boResponsavelAlterar_jsp._jspService(org.apache.jsp.admin.boResponsavelAlterar_jsp:340)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
        at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:667)
        at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
        at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
        at java.lang.Thread.run(Thread.java:595)
     Is this related to the wrong choice for indexes-types? In this case I'm trying to perform a date-range search.
cheers,
-- Breno

Breno,
You seem to be using both the dbxml shell and a servlet.
Are they active at the same time? Also, when you start the shell
are you careful to join the environment your servlet uses? To
be sure, use:
dbxml -v -h "<path_to_environment>"
The -v will tell you whether it joined correctly.
I suspect that you modified your container improperly by using the shell directly.
That said, if you want real date ranges to work, you need to use a date or dateTime;
however, if you do so, the values need to have the correct syntax in order to work.
You can see syntax by doing this:
dbxml> query "current-date()"
dbxml> print
There are also functions for current-dateTime() and current-time().
If your dates are not syntactically correct, they'll be silently ignored in
the index.
Regards,
George

Similar Messages

  • BDB- Recno multiple key/data pairs retrieval

    Hey,
    I am new to BDB and have just started to work with Berkley DB (ver. 5.3.15) using the Linux C API.
    I set up a simple Recno DB which is populated with sequential keys 1,2,3….100. DB Records are in variable length size, although, I am limiting them to a max size.
    Below are the environment and DB open flags I am using:
    dbenv->open(dbenv, DB_HOME_DIR, DB_SYSTEM_MEM | DB_INIT_LOCK | DB_CREATE | DB_INIT_MPOOL, 0)
    dbp->open(dbp, NULL, NULL,DATABASE_NAME, DB_RECNO, DB_CREATE, 0664))
    Single record get/put or using cursor to iterate over the all DB works well.
    However, I would like to retrieve multiple records in a single get call.
    These records can be non-sequential.
    For example, retrieving 3 records with the keys 4,89,90. I prefer the bulk buffer to be as minimal as possible (avoiding stack or heap unnecessary memory allocation).
    I was reading and saw few examples about using bulk retrieval. Though, I couldn’t find any example for racno bulk get on multiple specified keys.
    From what I figured out till now, it seems that I should use:
    Get flags: DB_SET_RECNO, DB_MULTIPLE_KEY. And the macros: DB_MULTIPLE_INIT and DB_MULTIPLE_RECNO_NEXT to iterate over a bulk buffer received.
    But, I couldn’t figure it out where and how I should specify the list of Keys.
    Beside, the BDB man says: "For DB_SET_RECNO to be specified, the underlying database must be of type Btree, and it must have been created with the DB_RECNUM flag."
    Does the BDB open with DB_RECNO flag imply that the underlying database is Btree? If creating Btree instead of recno, wouldn’t I loss access performances?
    I would appreciate if anyone could supply some guidelines or an example which will assist me to figure it out how to retrieve multiple key/data pairs from a recno DB.
    Thanks in advance
    Kimel

    I am checking the BDB to see if it can suit my needs (mostly performance wise).
    It should work on a simple home router device and should hold router runtime information (static/dynamic).
    This information should be accessible for process in the system which can write or read the device info.
    The DB is not require to be persistent and is recreated every reboot (memory only).
    I believe the DB will hold not more then 200 parameters at max.
    DB access rate is around 30 records per sec (write/read)...
    Currently, I think of either BDB or maybe just use a normal Linux shared memory (random access + semaphore).
    Cons and pros to each...
    If I choose BDB, I will use the in memory DB and recno due to access performance considerations.
    Getting back to my question, I would like to be able to read a list of parameters in a single get call.
    In order to use recno, I will give every parameter a unique id (1 - ip, 2 - subnet , 3 - default gateway).
    e.g: ip , subnet , default gateway. (get keys 1,2,3)
    Hope you have the relevant info.
    Thanks

  • Can we achieve data conversion for my scenario key value pair

    My data 
    create table test
    ( id int,name varchar(10),value int, color varchar(20))
    I would like to have data in the following format 
    where each id will combination of data set for each row for a id and separated by delimiter from another set
    like a key value pair
    ID Value
    1 |a,10,green|a,15,blue|
    2 |b,11,red|b,12,yellow|
    Please let me know if this can be achived in SSIS using trasnformation or in SQL ?
    And if so what is the best approach to hande this conversion
    Mudassar

    Thanks for your help.
    I can assume that it can only be handled in SQL and this cant be done in SSIS transformations.
    EXAMPLE 4 - Using XML PATH & correlated subquery for sublist
    -- Create comma delimited sublist
    SELECT   Subcategory = ps.[Name],
             ColorList = Stuff((SELECT DISTINCT  ',
    ' + Color AS [text()]
                                FROM AdventureWorks2008.Production.Product
    p
                                WHERE p.ProductSubcategoryID = ps.ProductSubcategoryID
                                FOR XML PATH ('')),1,1,'')
    FROM     AdventureWorks2008.Production.ProductSubcategory
    ps
    ORDER BY Subcategory;
    GO
    Subcategory             ColorList
    Helmets                 Black, Blue, Red
    Hydration Packs         Silver
    Jerseys                 Multi, Yellow
    Mudassar

  • CRM7 EH1 ICI/CTI: Add Key-Value Pair to Call Attached Data

    We are CRM 7 EHP1 integrated to Genesys CTI (Communication Mangement Software) through ICI.
    Is it possible in web_ui to add a Key-Value Pair (kvp) to the Call Attached Data (CAD) that it is sent back to the CMS?
    For example: When an agent clicks Transfer to transfer a call to a queue, just prior to the transfer we would like to add a new kvp to the CAD that is sent back to Genesys via ICI.
    Any advice on how to do this is appreciated.

    Hi shiva
    Thanks for your help,
    Can you check this coding and revert me back ASAP Please.
    REPORT BDS_GOS_CONNECTION.
    DATA : logical_system LIKE BAPIBDS01-log_system.
           CLASSNAME LIKE BAPIBDS01-CLASSNAME
           OBJKEY LIKE SWOTOBJID-objkey.
    PARAMETERS: pa_lo_sys BAPIBDS01-log_system,
                pa_class like BPIBDS01-CLASSNAME,
                pa_objkey like swotobjidobjkey.
    AT SELECTION-SCREEN.
    CALL FUNCTION 'BDS_GOS_CONNECTIONS_GET'
             EXPORTING
                  bor_id             = bor_id
             IMPORTING
                  logical_sytem      = pa_lo_sys.
                  classname          = pa_class.
                  objkey            = pa_objkey.
             EXCEPTIONS
                  no_objects_found     = 1
                  internal_error       = 2
                  internal_gos_error   = 3.
       IF sy-subrc <> 0.
         MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                 WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
       ENDIF.
    clear v_attno1.
    i_object1-typeid = 'BUS2012'.
    i_object1-catid  = 'BO'.
    i_object1-instid = i_yItem-docno.
    call method cl_gos_attachment_query=>count_for_object
       exporting
        is_object = i_object1
        ip_arl    = space
       receiving
        rt_stat   = i_stat1.
    read table i_stat1 into wa_stat1 index 1.
    if sy-subrc eq c_0.
        move wa_stat1-counter to v_attno1.
    endif.             
    CALL METHOD cl_gos_attachment_query=>count_for_object
    EXPORTING
    is_object = object
    ip_arl =    space
    RECEIVING
    rt_stat = lt_stat.
    READ TABLE lt_stat INDEX 1 into ls_stat.
    count = ls_stat-counter.
    *The object has to be a concatenation of your document, like this:
    CONCATENATE object-instid tab-gjahr INTO object-instid.
    ELSE.
    CONCATENATE tab-bukrs tab-belnr tab-gjahr INTO
    object-instid.
    ENDIF.

  • Ageing Analysis - Key date

    Dear Experts,
    When I am Executing Ageing Analysis u2013 Customer outstanding report (On InfoCube 0FIAR_C03), If I give Key date 31.7.2009, it is showing correct result for grand total balances = Sum of the totals of balances of ( 0 days + 1-30days + 31-60 days etc).
    But when  I use the key date for the same query say 4.8.2009, the totals of balances & sum of the totals of balances of ( 0 days + 1-30days + 31-60 days etc) not matching.
    In the report for some documents no values are coming in the ageing part, even its balances are there in the balances.
    Could you please help?
    Thanks,
    Nav

    Hello,
    Key date is for time dependent master data values only.
    Do you have any time dependent master data in the queries??
    Also,it will show only those values which are valid on this date....that is the only those values of master data from the cube will be read which have validity period for this date.
    So its quite possible that many master data values have there validity period ending on 31st July and therefore there are new values for them and based on that its picking up different value from the cube
    so values at 4th August need not match with the key date value for 31st July.
    The good Idea could be to see the values of time dependent char which you are using in the query  and its values for both the key dates and then verify the difference.
    This could explain why the values are not read from cube even if they are there beecause the master data values in those records does not fall in the validity date which you have given.
    Regards
    Ajeet

  • Mapping error at deployment with foreign key data rule

    I have created data rules for enabling foreign key constraints. There are 4 foreign key constraints on the fact table.
    For the 1st foreign key ... its a single key match key1 on table 1
    For the others, its a composite key .. key1 and key2 on table 2
    key1 and key3 on table 3
    key1 and key4 on table 4
    When I implement with the single key foreign key constraint the mapping works fine. But when I apply the other foreign key data rules for composite keys, I get the following message while deploying ....
    M_CNT Create Warning ORA-06550: line 209, column 3:
    PL/SQL: ORA-00909: invalid number of arguments
    M_CNT Create Warning ORA-06550: line 520, column 65530:
    PL/SQL: SQL Statement ignored
    M_CNT Create Warning ORA-06550: line 56, column 65530:
    PL/SQL: SQL Statement ignored
    M_CNT Create Warning ORA-06550: line 673, column 3:
    PL/SQL: ORA-00909: invalid number of arguments
    The data rule setup done is type Referential
    Specify the number of attributes in row relationship - 2
    Specify the referencing cardinality of row relationship
    Minimum Count 1 Maximum Count n
    Specify the referenced cardinality of row relationship
    Minimum Count 1 Maximum Count n
    What is it that I am doing wrong ?
    Any suggestions. Help !!!!
    Regards,
    AW

    Hi AW,
    How can I overcome this situation ?The best solution as suggested by Jörg is use of surrogate keys.
    For every production key (composite or single) generate a corresponding surrogate key using sequence operator in staging area.
    This will not just solve your problem but it will be faster also (the joins will be faster with system-generated sequence numbers),
    In a data warehouse use of production keys as primary key for linking with (foreign key) is not recommended, keep the production keys as additional attributes.
    Regards,

  • Java Install,  Cannot insert a key value pair into the secure store fails,

    Dear All,
    I'm doing Java Intallaion in BI7 on CI and in the midle of installtions we encounter,
    TRACE      [iaxxejsexp.cpp:199]
               EJS_Installer::writeTraceToLogBook()
    NWException thrown: nw.secureStore.cannotInsertIntoSecureStore:
    Cannot insert a key value pair into the secure store fails; see output of log file SecureStoreInsert.log:
    SAP Secure Store in the File System - Copyright (c) 2003 SAP AG
    A key/value pair with this key already exists in the store..
    ERROR      2008-04-23 11:36:21
               CJSlibModule::writeError_impl()
    CJS-30051  Cannot insert a key value pair into the secure store fails; see output of log file SecureStoreInsert.log:
    SAP Secure Store in the File System - Copyright (c) 2003 SAP AG
    A key/value pair with this key already exists in the store..
    TRACE      [iaxxejsbas.hpp:460]
               EJS_Base::dispatchFunctionCall()
    JS Callback has thrown unknown exception. Rethrowing.
    ERROR      2008-04-23 11:36:21 [iaxxgenimp.cpp:731]
               showDialog()
    FCO-00011  The step insertAdminDataInSecStore with step key |NW_Addin_CI|ind|ind|ind|ind|0|0|NW_CI_Instance|ind|ind|ind|ind|8|0|NW_CI_Instance_Configure_Java|ind|ind|ind|ind|4|0|insertAdminDataInSecStore was executed with status ERROR .
    TRACE      [iaxxgenimp.cpp:719]
               showDialog()
    There's any want in here can help us Please,
    Thanks and Best Regards,
    Chrisna

    The clean way to Uninstall JAVA is through SAPINST. 
    Make user you drop only the JAVA Schema ID (SAPSR3DB)
    If you want to uninstall manually, follow as mentioned below :
    1. Stop the central services instance and all dialog instances of your SAP system:
    a) Log on to the corresponding instance host as user <sapsid>adm.
    b) Execute the following commands:
       To stop the central services instance:
                 stopsap r3 <SCSinstanceName>
       To stop a dialog instance:
                stopsap r3 <DialogInstanceName>
    2. Stop the J2EE Engine of the central instance:
    a) Log on to your SAP system.
    b) Call transaction SMICM.
    c) Choose Administration J2EE Instance (local) Send Hard Shutdown
    2. Drop the J2EE DB schema (the db schema for this one SAP SID) BE VERY CAREFUL, do not drop the DB schema for another existing system or
    the ABAP schema.
    a. Log on as user ora<dbsid>.
    b. Start sqlplus and connect to the database. Enter:
    sqlplus /nolog
    c. SQLPLUS>connect / as sysdba
    d. Enter the following command to delete the database objects of the database schema:
    SQLPLUS> drop user SAP<SCHEMA_ID>DB cascade;
    e. Enter the following command to get the file name of the corresponding data file in the file system:
    SQLPLUS> select file_name from dba_data_files where \
    tablespace_name = ’PSAP<SCHEMA_ID>DB’;
    f. Enter the following command to delete the tablespace of the database schema:
    SQLPLUS> drop tablespace PSAP<SCHEMA_ID>DB including contents;
    g. Exit sqlplus:
    SQLPLUS> exit
    3. Remove folder "data" at: /sapmnt/QO1/global/security/data
    4. Remove folder "SDM" at: /usr/sap/<sid>/<Central instance>/SDM
    5. Remove folder "j2ee" at:  /usr/sap/<sid>/<Central instance>/j2ee
    6. Revert CI instance profile to their original state (backup copies should exist) # they should be in the state before the start of the JavaAdd In
    7. If lines beginning with the following parameters appear, delete these lines from the default profile, /usr/sap/<SAPSID>/SYS/profile/DEFAULT.PFL:
    j2ee/dbname =
    j2ee/dbtype =
    j2ee/dbhost =
    j2ee/dbadminurl =
    j2ee/scs/host =
    j2ee/scs/system =
    j2ee/ms/port =
    8. If lines beginning with the following parameters appear, delete these lines from the central instance pro?le and from all dialog instance pro?les,
    /usr/sap/<SAPSID>/SYS/profile/<SAPSID>_<INSTANCE_NAME>_<host_name>:
    exe/j2ee =
    exe/jlaunch =
    rdisp/j2ee_start_control =
    rdisp/j2ee_start =
    rdisp/j2ee_timeout =
    rdisp/j2ee_libpath =
    rdisp/frfc_fallback =
    jstartup/trimming_properties =
    jstartup/instance_properties =
    jstartup/protocol =
    jstartup/vm/home =
    jstartup/max_caches =
    jstartup/release =
    j2ee/dbdriver =
    9. Delete the central services instance
    10. Restart ABAP and Install JAVA Add-in
    Edited by: Shaji Jacob on Apr 27, 2008 11:46 AM

  • Is it possible to load 1 billion key-value pairs into BerkeleyDB database?

    Hello,
    I experiment with loading huge datasets into BerkeleyDB database. The procedure is as follows:
    1. Generate a dump-like file using a script. The file contains key-value pairs (on separate lines, exactly in the format of the dump file, that can be produced by db_dump). The index is hash.
    2. Use db_load to create a database. The OS is windows server 2003.
    Both key and values are 64-bit longs.
    Using this procedure, I succeeded to load 25 million pairs in the database. It took about 1-2 hours.
    Next, I tried to load 250 million pairs into an empty database. db_loader runs already 15 hours. It's memory consumption is very low: private bytes ~2M, working set ~2M, virtual size ~13M. db_loader already read all the pairs from disk, as IO is very low now: ~4M per second. I am not sure if db_loader will finish in next 24h hours.
    My goal is to load eventually 3 billion key-value pairs into one DB.
    I will appreciate if someone will advise me:
    1. If BerkeleyDB is capable of dealing with such database volume.
    2. Is my procedure good, how to optimize it. Is it possible to allocate more RAM to db_load? Are there other ways to optimize loading time?
    Thank you,
    Gregory.

    Hello Sandra,
    The version is: Berkeley DB 5.0.21: (March 30, 2010).
    The data: keys and values are random 64 bit numbers.
    The header of the "dump" file that I am trying to load is (there are 256 * 1e6 key-value pairs in the file):
    VERSION=3
    format=bytevalue
    type=hash
    h_nelem=512000000
    db_pagesize=8192
    HEADER=END
    The db_load allocates 1G memory cache.
    Thank you,
    Gregory.

  • A key/value pair with this key already exists in the store

    Hi all,
    In the installation of PI components on the AS ABAP+ AS JAVA with finalization of the Java Addin the iam facing this problem :
    In short it mentioning that the " A key/value pair with this key already exists in the store.", Please see below for more information....:
    CJSlibModule::writeWarning_impl()
    Execution of the command "/opt/java1.4/bin/java -classpath
    /oracle/stage/PIDtemp/sapinst_instdir/NW04S/LM/AS-JAVA/ADDIN/ORA/CENTRAL/CI/install/sharedli
    b/launcher.jar -Xmx256m -d64 com.sap.engine.offline.OfflineToolStart
    com.sap.security.core.server.secstorefs.SecStoreFS
    /usr/sap/PID/SYS/global/security/lib/tools/iaik_jce.jar:/usr/sap/PID/SYS/global/security/lib
    /tools/iaik_jsse.jar:/usr/sap/PID/SYS/global/security/lib/tools/iaik_smime.jar:/usr/sap/PID/
    SYS/global/security/lib/tools/iaik_ssl.jar:/usr/sap/PID/SYS/global/security/lib/tools/w3c_ht
    tp.jar:/oracle/stage/PIDtemp/sapinst_instdir/NW04S/LM/AS-JAVA/ADDIN/ORA/CENTRAL/CI/install/l
    ib:/oracle/stage/PIDtemp/sapinst_instdir/NW04S/LM/AS-JAVA/ADDIN/ORA/CENTRAL/CI/install/share
    dlib:/oracle/client/10x_64/instantclient/ojdbc14.jar insert -s PID -f
    /usr/sap/PID/SYS/global/security/data/SecStore.properties -k
    /usr/sap/PID/SYS/global/security/data/SecStore.key admin/host/PID tern" finished with return
    code 2. Output:
    SAP Secure Store in the File System - Copyright (c) 2003 SAP AG
    A key/value pair with this key already exists in the store.
    ERROR      2007-02-15 18:35:29
               CJSlibModule::writeError_impl()
    CJS-30051  Cannot insert a key value pair into the secure store fails; see output of log
    file SecureStoreInsert.log:
    SAP Secure Store in the File System - Copyright (c) 2003 SAP AG
    A key/value pair with this key already exists in the store..
    ERROR      2007-02-15 18:35:29 [iaxxgenimp.cpp:731]
               showDialog()
    FCO-00011  The step insertAdminDataInSecStore with step key
    |NW_Addin_CI|ind|ind|ind|ind|0|0|NW_CI_Instance|ind|ind|ind|ind|8|0|NW_CI_Instance_Configure
    _Java|ind|ind|ind|ind|4|0|insertAdminDataInSecStore was executed with status ERROR

    Hi Kamalakar
    I think this problem happens due to wrong content of SDMKIT.JAR - incorrect crypto SDA is deployed.I dont know the installation procedure you followed because normally this error wont come.
    I would rather suggest a work around seeing your problem
    <b>Edit the keydb.xml exchanging [ERROR] with [OK]</b>
    Follow the above step and restart your installation.
    Do not forget to reward points:

  • Effective way to parse key-value pair.

    Hi,
    I've a PL/SQL process, in which I've lot of dynamic sql routines planned, to parse input data to a procedure.
    One of the parameter to call or that'd be passed to this procedure is a "key-value pair"
    e.g.
    procedure p ( id in number, state_name in varchar2 )
    Values could be
    20, 'vc1=AZ, vc2=WA, vc3=NY, vc4=NJ'
    My requirement is as follows
    <ol><li>Parse 'state_name', for values of state ( AZ, WA, NY, NJ ) - note that the list could be of variable length</li>
    <li>I'm not interested in 'key' per se ( vc1, vc2, vc3... )</li>
    <li>State names are important as ( as ) part of the process, I want to concatenate them to form tables-name,
         which (already) exists e.g. table_CA, table_AZ, table_WA, table_NJ - so basically I need to
         parse these names and have them in a way to be able to use them as part of other dynamic SQL's.
    </li>
    </ol>
    Please advice.
    Thanks.

    shankariyer wrote:
    Is it possible for me to populate the output of this regex_replace into an array of varchar2 ??
    Sure:
    CREATE OR REPLACE
      TYPE STATE_TBL_TYPE
        AS
          TABLE OF VARCHAR2(2);
    SET SERVEROUTPUT ON
    DECLARE
        v_value_pair VARCHAR2(30) := 'vc1=AZ, vc2=WA, vc3=NY, vc4=NJ';
        v_state_tbl  STATE_TBL_TYPE := STATE_TBL_TYPE();
    BEGIN
        FOR v_i IN 1..NVL(LENGTH(v_value_pair) - LENGTH(REPLACE(v_value_pair,',')) + 1,0) LOOP
          v_state_tbl.EXTEND;
          v_state_tbl(v_i) := LTRIM(REGEXP_SUBSTR(v_value_pair,'=[A-Z]+',1,v_i),'=');
        END LOOP;
        FOR v_i IN 1..v_state_tbl.COUNT LOOP
          DBMS_OUTPUT.PUT_LINE(v_state_tbl(v_i));
        END LOOP;
    END;
    SQL> SET SERVEROUTPUT ON
    SQL> DECLARE
      2      v_value_pair VARCHAR2(30) := 'vc1=AZ, vc2=WA, vc3=NY, vc4=NJ';
      3      v_state_tbl  STATE_TBL_TYPE := STATE_TBL_TYPE();
      4  BEGIN
      5      FOR v_i IN 1..NVL(LENGTH(v_value_pair) - LENGTH(REPLACE(v_value_pair,',')) + 1,0) LOOP
      6        v_state_tbl.EXTEND;
      7        v_state_tbl(v_i) := LTRIM(REGEXP_SUBSTR(v_value_pair,'=[A-Z]+',1,v_i),'=');
      8      END LOOP;
      9      FOR v_i IN 1..v_state_tbl.COUNT LOOP
    10        DBMS_OUTPUT.PUT_LINE(v_state_tbl(v_i));
    11      END LOOP;
    12  END;
    13  /
    AZ
    WA
    NY
    NJ
    PL/SQL procedure successfully completed.
    SQL> SY.

  • Package parametеr "overwrite records with match key" (BPC 10)

    Hi all.
    We load data from DSO in SAP BW to BPC. We use the /CPMB/LOAD_INFOPROVIDER process chain for that.
    In the package we use the "overwrite records with match key" parameter for the "Handling of records in target" setting.
    But if there's no data in the DSO, the package hangs in the "Running" status and won't finish loading.
    If we start the package with the "append" parameter for the "Handling of records in target" setting, then package finishes with the warning status.
    What could be the problem if use "overwrite records with match key" ?
    Best regards,
    Sergey

    Hi,
    As per the below note its known issue in SP08. In which version of BPC are you running now.
    1787650 - Data Manager package no end at dumpload step for empty data
    Thanks,
    Raju

  • Currency Translation on Key Date for AR Aging

    Need your valuable advice!
    I have created an AR Aging query including both Open and Cleared Items based on 0FIAR_C03_Q0005 standard query. However the requirement is to do currency translation to Group Currency (USD) on Key Date. This Key date is defaulted to today but the user can change this to go back in time and pull all the ARs as of that back dated key date.
    I was planning to create a currency translation type on M rate based on the Key Date Variable in RSCUR. However I am confused on which variable to base this currency translation. I have several key date variables in my query such as 0P_KEYD2 (based on Posting Date), 0P_KEYDT (based on Net Due Date) and 0P_KEYD3 (based on Clearing Date).
    Which Key Date Variable should I use in 'Time Reference from Variable' field in RSCUR? Would it be one of the 3 mentioned above or something else and why?
    Appreciate your valuable advice.
    Thanks,
    Al

    Hi,
    Yes I do want to use the Key date from the variable screen and I am using the standard 0FIAR_C03_Q005 with slight modification including currency translation.
    As I mentioned in my original post I have several key date variables in this query such as 0P_KEYD2 (based on Posting Date), 0P_KEYDT (based on Net Due Date) and 0P_KEYD3 (based on Clearing Date). My question is which one should I use if I want to base it on the specific key date variable from the variable screen? I need the specific Key Date variable technical name.
    Thanks,
    Al

  • Table for Customer and vendor open balance on a key date

    Dear All,
    Can anyone please let me know Table for Customer and vendor open balance on a key date. We are developing one customized report.
    I have checked with the below table :
    Customer-KNC1, KNC3,BSID, BSAD
    Vendor-LFC1, LFC3, BSIK, BSAK.
    But these are not working properly for all customers and vedors. Also, in open items, there are items with clearing documents.
    Plesae let me know, how to go for it.
    Please suggest.

    Hi
    Use BSID and BSIK for open items
    And pass company code, year and from date and to date range in Posting date selection option
    Reg
    Vishnu

  • Any idea what this errorr means? the data type of the reference does not match the data type of the variable

    I am using Veristand 2014, Scan Engine and EtherCat Custom Device.  I have not had this error before, but I was trying to deploy my System Definition File (run) to the Target (cRio 9024 with 6 modules) and it failed. It wouldn't even try to communicate with the target. I get the 'connection refused' error.  
    I created a new Veristand project
    I added the Scan Engine and EtherCat custom device.
    I changed the IP address and auto-detected my modules
    i noticed tat Veristand didn't find one of my modules that was there earlier. (this week)
     So, i went to NiMax to make sure software was installed and even reinstalled Scan Engine and Veristand just to make sure.
    Now, it finds the module, but when i go to deploy it getsto the last step of deploying the code to the target, and then it fails.
    Any thoughts?
    Start Date: 4/10/2015 11:48 AM
    • Loading System Definition file: C:\Users\Public\Documents\National Instruments\NI VeriStand 2014\Projects\testChassis\testChassis.nivssdf
    • Initializing TCP subsystem...
    • Starting TCP Loops...
    • Connection established with target Controller.
    • Preparing to synchronize with targets...
    • Querying the active System Definition file from the targets...
    • Stopping TCP loops.
    Waiting for TCP loops to shut down...
    • TCP loops shut down successfully.
    • Unloading System Definition file...
    • Connection with target Controller has been lost.
    • Start Date: 4/10/2015 11:48 AM
    • Loading System Definition file: C:\Users\Public\Documents\National Instruments\NI VeriStand 2014\Projects\testChassis\testChassis.nivssdf
    • Preparing to deploy the System Definition to the targets...
    • Compiling the System Definition file...
    • Initializing TCP subsystem...
    • Starting TCP Loops...
    • Connection established with target Controller.
    • Sending reset command to all targets...
    • Preparing to deploy files to the targets...
    • Starting download for target Controller...
    • Opening FTP session to IP 10.12.0.48...
    • Processing Action on Deploy VIs...
    • Setting target scan rate to 10000 (uSec)... Done.
    • Gathering target dependency files...
    • Downloading testChassis.nivssdf [92 kB] (file 1 of 4)
    • Downloading testChassis_Controller.nivsdat [204 kB] (file 2 of 4)
    • Downloading CalibrationData.nivscal [0 kB] (file 3 of 4)
    • Downloading testChassis_Controller.nivsparam [0 kB] (file 4 of 4)
    • Closing FTP session...
    • Files successfully deployed to the targets.
    • Starting deployment group 1...
    The VeriStand Gateway encountered an error while deploying the System Definition file.
    Details:
    Error -66212 occurred at Project Window.lvlibroject Window.vi >> Project Window.lvlib:Command Loop.vi >> NI_VS Workspace ExecutionAPI.lvlib:NI VeriStand - Connect to System.vi
    Possible reason(s):
    LabVIEW: The data type of the reference does not match the data type of the variable.
    =========================
    NI VeriStand: NI VeriStand Engine.lvlib:VeriStand Engine Wrapper (RT).vi >> NI VeriStand Engine.lvlib:VeriStand Engine.vi >> NI VeriStand Engine.lvlib:VeriStand Engine State Machine.vi >> NI VeriStand Engine.lvlib:Initialize Inline Custom Devices.vi >> Custom Devices Storage.lvlib:Initialize Device (HW Interface).vi
    • Sending reset command to all targets...
    • Stopping TCP loops.
    Waiting for TCP loops to shut down...
    • TCP loops shut down successfully.
    • Unloading System Definition file...
    • Connection with target Controller has been lost.

    Can you deploy if you only have the two 9401 modules in the chassis (no other modules) and in the sysdef?  I meant to ask if you could attach your system definition file to the forum post so we can see it as well (sorry for the confusion).  
    Are you using any of the specialty configurations for the 9401 modules? (ex: counter, PWM, quadrature, etc)
    You will probably want to post this on the support page for the Scan Engine/EtherCAT Custom Device: https://decibel.ni.com/content/thread/8671  
    Custom devices aren't officially supported by NI, so technical questions and issues are handled on the above page.
    Kevin W.
    Applications Engineer
    National Instruments

  • Report Output with Key Date

    Dear All,
    I have the following fields in DSO.
    Key Part: EmployeeID, DateTo, DateFrom.
    Data Part: Designation, AnnualSalary.
    I have data in the DSO as follows:
    EmployeeID DateTo        DateFrom      Designation AnnualSalary
    1                 12.11.2008 01.01.2008    Worker        10000
    1                 31.12.9999 13.11.2008    Officer         20000
    2                 14.11.2008  01.01.2008    Worker        10000
    2                 31.12.9999  15.11.2008    Officer        20000
    Now If I give key date as 13.11.2008.
    The Output of the Report should be like this:
    EmployeeID Designation AnnualSalary
    1                 Officer         20000
    2                 Worker        10000
    How can I achive this ??
    Cheers,
    Neel.

    Hi,
    I think you can achieve this by using a formula with boolean operators "is less than" and "is greather than", and then also use row/columns settings and/or conditions to suppress rows that does not contain the key date.
    BR,
    Niclas

Maybe you are looking for

  • Quarry in Transportation

    Dear All, Please guide me on following configurations in TRANSPORTATION: Q1. How to configure Tracking of the goods movement by LR? Purpose: a)Delays in dispatch by LR to be tracked         b) Pilferage to be tracked by LR Q2. How to do Freight accou

  • Is Primavera R8.3 a stable release like R8.1 & 8.2?

    Hi, Please share your experience and thoughts about the Primavera R8.3 release. Is R8.3 a stable release like R8.1 or 8.2?. Is there any major technology or UI changes or  mainly talking about additional capabilities within the same framework as R8.2

  • How to use Structures of Variant Configuratin in BAPI_QUOTATION_CREATEFROM2

    Can any one help me by telling How to use Structures of Variant Configuratin in BAPI_QUOTATION_CREATEFROM2 the structures are :QUOTATION_CFGS_REF, QUOTATION_CFGS_INST, QUOTATION_CFGS_PART_OF, QUOTATION_CFGS_VALUE. What the necessary parameters to be

  • Move Field from Stacked Canvas to Tab Canvas

    Forms R2 10.1.2.0.2. Adding tab canvas to an existing form and want to retrofit a tab canvas into the form. When I move an existing field via the property sheet by changing Canvas and Tab page to Page, the field does not show. I can create a new fiel

  • Multi-file OCR quits on error

    When using the "recognize text in multiple files using OCR" function if it runs into an error in one file it quits and neither that one nor any after are done. I don't see a way to change this. This is in Acrobat v9.0.0. And ideas on how to deal with