Note 947091 - Persistance Exception on Client-"Entity key already exists."

Persistance Exception on Client-"Entity key already exists."
I am using SP18.
Tell me what is the <b>correction steps</b> for this PROGRAM ERROR.
did SP19 already solve this problem??
Message was edited by:
        yzme yzme
Message was edited by:
        yzme yzme

<b>step 1) when i sync the application , i will get this </b>
Exception while proccessing method SMARTSYNC : java.lang.IllegalStateException: No Context available for ConversationId 47AF7ABD0FEF894BBF49E61E6732223E : No Context available for ConversationId 47AF7ABD0FEF894BBF49E61E6732223E 
• Exception while proccessing method SMARTSYNC : java.lang.IllegalStateException: No Context available for ConversationId 47AF7ABD0FEF894BBF49E61E6732223E : No Context available for ConversationId 47AF7ABD0FEF894BBF49E61E6732223E 
• Exception while proccessing method SMARTSYNC : java.lang.IllegalStateException: No Context available for ConversationId 47AF7ABD0FEF894BBF49E61E6732223E : No Context available for ConversationId 47AF7ABD0FEF894BBF49E61E6732223E 
<b>step 2)i modify on the values 1st time, and sync</b>
Persistance Exception on Client-"Entity key already exists."
<b>step 3)after that i modify same row with different values</b>
Creation on Field cZFLIGHT2_010_PAYMENTSUM with value 1600 is not allowed because SyncBo of Row 0001213668 is CHANGED_GLOBAL_INSYNC and CreateInputQualifyType is FORBIDDEN
b)step 4) try to check the merep_mon, consequtive row with action "M" and no "D"</b>
try to check the worklist with seq no 8
msg: No download data from R/3 found in downloader
<b>step 5) try to sync again</b>
• Synchronization started 
• Connection set up (without proxy) to: http://emi-sap:50100/meSync/servlet/meSync?~sysid=N01& 
• Successfully connected with server. 
• Processing of inbound data began. 
• Exception while proccessing method SMARTSYNC : java.lang.IllegalStateException: No Context available for ConversationId 47AF7ABD0FEF894BBF49E61E6732223E : No Context available for ConversationId 47AF7ABD0FEF894BBF49E61E6732223E 
• Exception while proccessing method SMARTSYNC : java.lang.IllegalStateException: No Context available for ConversationId 47AF7ABD0FEF894BBF49E61E6732223E : No Context available for ConversationId 47AF7ABD0FEF894BBF49E61E6732223E 
• Exception while proccessing method SMARTSYNC : java.lang.IllegalStateException: No Context available for ConversationId 47AF7ABD0FEF894BBF49E61E6732223E : No Context available for ConversationId 47AF7ABD0FEF894BBF49E61E6732223E 
• Exception while proccessing method SMARTSYNC : java.lang.IllegalStateException: No Context available for ConversationId 47AF7ABD0FEF894BBF49E61E6732223E : No Context available for ConversationId 47AF7ABD0FEF894BBF49E61E6732223E 
• Exception while proccessing method SMARTSYNC : java.lang.IllegalStateException: No Context available for ConversationId 47AF7ABD0FEF894BBF49E61E6732223E : No Context available for ConversationId 47AF7ABD0FEF894BBF49E61E6732223E 
• Exception while proccessing method SMARTSYNC : java.lang.RuntimeException: Inbound processing of container with index 7 failed: Cannot insert as entity already exists for IClassDescriptor/Key: sZFLIGHT2_010/1213683 : r0001213682 : Inbound processing of container with index 7 failed: Cannot insert as entity already exists for IClassDescriptor/Key: sZFLIGHT2_010/1213683 : r0001213682
anyone can pls tell me if my coding got problem, i just have to modify the row values, and upload it, or do i need to do anything on the uploader/or SyncBoDelta
my code for modifying values,
i have change the values of "STREET" to <b>"ANG MO KIO"</b>
http://i192.photobucket.com/albums/z231/yzme/d1.gif
but the data in server still <b>"HEAVEN ST"</b>
http://i192.photobucket.com/albums/z231/yzme/d1.gif
public String modifyRecordAmt(String eventName,boolean didNavigate){
                         String syncBoName="ZFLIGHT2";
                         String syncKey="0001213682";
                         tableViewBean.setString(syncBoName +" "+syncKey);
                         System.out.println("SyncBoName: " +syncBoName + " syncKey: " +syncKey);
                         tcp = TableContentProvider.instance(syncBoName);
                         tcp.modifyTable(syncBoName,syncKey);                                   return JSP_DETAIL_SYNCBOINSTANCE;
public void modifyRecordAmt(String syncBoName,String syncKey){
            System.out.println("modifyRecordAmt");
            SyncBoDescriptor sbd=null;
            sbd=descriptorFacade.getSyncBoDescriptor(syncBoName);
            System.out.println("bp 1");
            SyncBo sb=null;
            SyncBo sb2=null;
            try{
               System.out.println("bp 2");
                 sb=dataFacade.getSyncBo(sbd,syncKey);
                 //sb2=dataFacade.getSyncBo(sbd,"010");
               System.out.println("bp 3");
            }catch(PersistenceException pex){
                 System.out.println("Exception in modifyRecordLoc:" +pex.getMessage());
            SmartSyncTransactionManager transactionManager;
            try{
               System.out.println("bp 4");
                 transactionManager=dataFacade.getSmartSyncTransactionManager();
               System.out.println("bp 5");
                 if(!transactionManager.isTransactionStarted()){
                    System.out.println("bp 6");
                      transactionManager.beginTransaction();
                    System.out.println("bp 7");
                      boolean b1,b2,b3,b4,b5,b6,b7,b8;
                      //b1=setHeaderFieldValue2(sb,"CARRID","AA");
                     //b2=setHeaderFieldValue2(sb,"CONNID","0017");
                      //b3=setHeaderFieldValue2(sb2,"FLDATE","2005-10-10");
                      //b4=setHeaderFieldValue2(sb2,"COUNTRYFR","US");
                      //b5=setHeaderFieldValue2(sb2,"CITYFROM","NEW YORK");
                     // b6=setHeaderFieldValue2(sb2,"AIRPFROM","JFK");
                     // b7=setHeaderFieldValue2(sb2,"SEATSOCC","375");
                     b8=setHeaderFieldValue2(sb,"PAYMENTSUM","1600");
                     //b8=setHeaderFieldValue2(sb,"CITYTO","YORK");
                    System.out.println("bp 8");
                    System.out.println("b8=" +b8);
                    //System.out.println(b3 +" " +" "+b4 +" "+b5 +" " +b6 +" "+b7 +" " +b8);
                      transactionManager.commit();
                    System.out.println("bp 9");
            }catch(Exception e){
                 System.out.println("Exception in modifyRecordAmt2:" +e.getMessage());
     public boolean setHeaderFieldValue2(
          SyncBo sb,
          String headerFieldName,
          Object value) {
          SyncBoDescriptor sbd = sb.getSyncBoDescriptor();
          //RowDescriptor trd = sbd.getTopRowDescriptor();
          System.out.println("bp 10");
          RowDescriptor trd=sbd.getRowDescriptor("010");
          System.out.println("bp 11");
          FieldDescriptor fd = trd.getFieldDescriptor(headerFieldName);
          System.out.println("fd:" +fd.getFieldName());
          if (fd != null) {
          BasisFieldType bft = fd.getFieldType();
          //Row header = sb.getTopRow();
          System.out.println("bp 12");
          //Row header = null;
          Row[] header=null;
          //try {
               //header = sb.getRow("0001211181");
               //header=sb.getTopRow();
               header=getItemInstances(sb,"010");
               if(header==null){
                    System.out.println("is null");
               }else{
                    System.out.println("not null");
          //} catch (PersistenceException e1) {
               // TODO Auto-generated catch block
          //     System.out.println("Exception getRow:" +e1.getMessage());
          //     e1.printStackTrace();
          System.out.println("bp 13");
          try {
//             Integer operator
          if (bft == BasisFieldType.N) {
               System.out.println("Numeric");
          NumericField nf = header[0].getNumericField(fd);
          if (nf != null) {
          BigInteger ii = new BigInteger(value.toString());
          nf.setValue(ii);
          return true;
          } else {
          return false;
//             Character operator
          if (bft == BasisFieldType.C) {
               System.out.println("Character");
          CharacterField cf = header[0].getCharacterField(fd);
          if (cf != null) {
          cf.setValue(value.toString());
          return true;
          } else {
          return false;
//             Decimal operator
          if (bft == BasisFieldType.P) {
               System.out.println("Decimal");
          DecimalField df = header[0].getDecimalField(fd);
          System.out.println("bp 1.1");
          if (df != null) {
               System.out.println("bp 1.2");
          BigDecimal bd = new BigDecimal(value.toString());
          System.out.println("bp 1.3");
          df.setValue(bd);
          System.out.println("bp 1.4");
          return true;
          } else {
               System.out.println("bp 1.5");
          return false;
//             Similar operation for time and date operator fields
          if (bft == BasisFieldType.D) {
               System.out.println("Date");
          DateField df = header[0].getDateField(fd);
          if (df != null) {
          if (value.toString().equals("0")) {
          Date dat = Date.valueOf("0000-00-00");
          df.setValue(dat);
          } else if (!value.toString().equals("")) {
          Date dat = Date.valueOf(value.toString());
          df.setValue(dat);
          } else {
          Calendar cal = Calendar.getInstance();
          java.sql.Date bd =
          new java.sql.Date(cal.getTime().getTime());
          df.setValue(bd);
          return true;
          } else {
          return false;
//             Similar operation for time and date operator fields
          } catch (SmartSyncException ex) {
          System.out.println(ex.getMessage());
          } catch (PersistenceException e) {
          System.out.println(e.getMessage());
          return false;
how to check in the table if the data is uploaded to the Middleware RDB ??
anyone

Similar Messages

  • Web Matrix FTP Remote Connection Error - "Connection Error - Failure to get file list from server. An entry with the same key already exists."

    Does anyone have experience with this issue when connecting to a Linux FTP Web Server running a FTP Site?
    "Connection Error - Failure to get file list from server. An entry with the same key already exists."
    I cannot access the root directory of the ftp file server using Web Matrix 3. The site is .php based, and
    is accessible when connecting with FileZilla or Remote Connecting via FTP with Visual Studio.
    All sites have been deleted from Web Matrix, the user Application Data has been cleared and Web Matrix has been reinstalled.
    Issue Persists....
    Thanks in advance,
    Justin

    Turns out that the program leaves metadata in your app data folder that is not removed upon uninstallation of the software.
    This is incorporated to communicate with a file that uploaded into the ftp directory when publishing pages.

  • 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:

  • Key already exists entry was ignored

    Hi
    in our BI planning aplication a also in some reports are very frequent mistake announcement Key already exist, entry was ignored.
    I found this , but I can´t find any general advice for our problem.  In WAD we use one variable in more queries in one template, but it also frequent in some report, where I use only one variable for one characteristic.
    Do you have any general solution for it?
    Best regard
    Petr

    Hi,
    Did you mean that compound characteristic is also restrict or some special feature in Query Designer?
    Thanks
    Petr
    Edited by: Petr Jedlicka on Mar 8, 2010 9:45 AM

  • Not allow to add condition type, if it already existing

    How to setting, if I want to control that not allow to add same condition type, if it already existing in the transaction.
    For example,
    PR00    100.00 USD/MT
    ZDIS       10.00 USD/MT
    ZDIS         8.00  USD/MT (Not allow to enter or add condition type)
    Thanks!!
    Edited by:
    Edited by: Kitta on Jan 29, 2008 3:17 PM

    Create A routine function for same .
    I am given here the code also
    Write the following codes given below in include file.
    *&  Include           ZXVVAU05
    Written for restriction in VA02 for Condition type duplication
    DATA:   BEGIN OF tXKOMV OCCURS 50.
            INCLUDE STRUCTURE KOMV.
    DATA:   END   OF tXKOMV.
    data : tab_name(40) type c ,
           ld_len type i , ld_len1 type i .
    field-symbols : <tab> type  any.
    tab_name = '(SAPMV45A)XKOMV[]'.
    assign (tab_name) to <tab>.
    txkomv[] = <tab>.
    describe table txkomv lines ld_len .
    sort txkomv by kposn KSCHL .
    delete adjacent duplicates from txkomv comparing kposn KSCHL .
    describe table txkomv lines ld_len1 .
    if ld_len1 ne ld_len .
      refresh txkomv .
      message e002(zmm) with ' Please remove duplicate condition in item price' .
    endif .
    4. Save and activate.
    This has to be done thru Abap person ,Hope this will solve the problem of yours as it has mine.
    regards
    Manu Kapoor

  • Deletion without archiving is not allowed in the production client

    Hi Gurus!
    I have a new problem with regards deleting products in the Production system in CRM. I can't seem to delete the product in Production Box using this report(COM_PRODUCT_DELETE_SINGLE). It gives me this error: 'Deletion without archiving is not allowed in the production client' I'm doing this to solve my issue with regards some of the products not having any Sales and Distribution Data. The steps i did below worked in QA box.
    These are the steps i did in the QA box to delete the product:
    1) I've deleted the products that has no sales data using the report COM_PRODUCT_DELETE_SINGLE. I went to COMMPR01 to tag the said products with a status 'To Archive' then saved it before I triggered this report.
    2) I've registered it first in the table COMC_PR_TOOL_REG and filling up the necessary parameters
    3) After Deleting the said products in CRM, I logged into R/3 to access the material (MM02). I just changed the sales text and saved it to trigger the replication in CRM.
    When I checked the product in CRM, it worked. The Sales and Distribution Data is already shown.
    Now I have a new problem with regards this procedure. I can't seem to delete the product in Production Box using this report. It gives me this error: 'Deletion without archiving is not allowed in the production client'
    I have already followed the same procedure as to what I did in the QA box but for some reason it didn't work in the Production Box.
    Could anyone please help me with this. Thanks!
    Thanks & Regards
    Nathan

    I was able to solve the problem.
    In Report COM_PRODUCT_DELETE_SINGLE,there is a special check in order for the productive system detection.
    The logic in this program has a perform check_authority which will automatically produce the error and prevents you from deleting a product in the production system.
    Solution:
    I copied the program COM_PRODUCT_DELETE_SINGLE to new one ZCOM_PRODUCT_DELETE_SINGLE then I placed a comment on the PERFORM check_authority.

  • Client receive TransactionRolledBack not my application exception

    Hi all
    I need help with this problem:
    I have Entity Bean with method setData - after calling this method server invoke ejbStore ....
    My Bean in method ejbStore throws EJBException with my internal (application) NoSuchRow exception. Client receive TransactionRolledBack exception but not with my NoSuchRow exception wrapped inside.
    When I call ejbStore direct from method setData I receive allways correct exception.
    When I call getData - server invoke ejbLoad .... I receive correct NoSuchRow exception.
    Please HELP me.
    public void ejbStore()
    throws EJBException {
    try{
    some code...
    } catch( NoSuchRowException e) {
    System.out.println("object was deleted:"+e.getMessage());
    throw new EJBException( "Object was deleted:"+e.getMessage(), e);
    } catch( Exception e ) {
    throw new EJBException( e.getMessage(), e);
    public void setData( MyObject model )
    throws OutOfDateException, NoSuchRowException {
    //ejbStore();
    this.model = model;
    I am using JBOSS 2.4.3

    Greetings,
    This sounds like a problem with your transaction model. Check the following:
    * the attributes on your methods allow them to participate in the same transaction context;
    * your resource supports and is configured for transactions;
    * your resource manager likewise supports JTS controlled transaction propagation (are you using a JDBC DataSource and not simply a Driver?), including "distributed transactions" if appropriate (XADataSource vs. DataSource).
    The (likely) reason your client is receiving TransactionRolledbackException - an instance of RemoteException - is because the Transaction Manager is throwing this to indicate non-propagable transaction context; refer again to the above. This is only a guess however since further information is also required, but this should give you a starting point.
    I hope this helps.
    Regards,
    Tony "Vee Schade" Cook

  • NULL in primary keys NOT logged to exceptions table

    Problem: Inconsistent behavior when enabling constraints using the "EXCEPTIONS INTO" clause. RDBMS Version: 9.2.0.8.0 and 10.2.0.3.0
    - NULL values in primary keys are NOT logged to exceptions table
    - NOT NULL column constraints ARE logged to exceptions table
    -- Demonstration
    -- NULL values in primary keys NOT logged to exceptions table
    TRUNCATE TABLE exceptions;
    DROP TABLE t;
    CREATE TABLE t ( x NUMBER );
    INSERT INTO t VALUES ( NULL );
    ALTER TABLE t
    ADD ( CONSTRAINT tpk PRIMARY KEY (x) EXCEPTIONS INTO exceptions );
    SELECT * FROM exceptions; -- returns no rows
    -- NOT NULL column constraints logged to exceptions table
    TRUNCATE TABLE exceptions;
    DROP TABLE t;
    CREATE TABLE t ( x NUMBER );
    INSERT INTO t VALUES ( NULL );
    ALTER TABLE t MODIFY ( X NOT NULL EXCEPTIONS INTO EXCEPTIONS );
    SELECT * FROM exceptions; -- returns one row
    I would have expected all constraint violations to be logged to exceptions. I was not able to find any documentation describing the behavior I describe above.
    Can anyone tell me if this is the intended behavior and if so, where it is documented?
    I would also appreciate it if others would confirm this behavior on their systems and say if it is what they expect.
    Thanks.
    - Doug
    P.S. Apologies for the repost from an old thread, which someone else found objectionable.

    I should have posted the output. Here it is.
    SQL>TRUNCATE TABLE exceptions;
    Table truncated.
    SQL>DROP TABLE t;
    Table dropped.
    SQL>CREATE TABLE t ( x NUMBER );
    Table created.
    SQL>INSERT INTO t VALUES ( NULL );
    1 row created.
    SQL>ALTER TABLE t ADD ( CONSTRAINT tpk PRIMARY KEY (x) EXCEPTIONS INTO exceptions );
    ALTER TABLE t ADD ( CONSTRAINT tpk PRIMARY KEY (x) EXCEPTIONS INTO exceptions )
    ERROR at line 1:
    ORA-01449: column contains NULL values; cannot alter to NOT NULL
    SQL>SELECT * FROM exceptions;
    no rows selected
    SQL>
    SQL>TRUNCATE TABLE exceptions;
    Table truncated.
    SQL>DROP TABLE t;
    Table dropped.
    SQL>CREATE TABLE t ( x NUMBER );
    Table created.
    SQL>INSERT INTO t VALUES ( NULL );
    1 row created.
    SQL>ALTER TABLE t MODIFY ( X NOT NULL EXCEPTIONS INTO EXCEPTIONS );
    ALTER TABLE t MODIFY ( X NOT NULL EXCEPTIONS INTO EXCEPTIONS )
    ERROR at line 1:
    ORA-02296: cannot enable (MYSCHEMA.) - null values found
    SQL>SELECT * FROM exceptions;
    ROW_ID OWNER TABLE_NAME CONSTRAINT
    AAAkk5AAMAAAEByAAA MYSCHEMA T T
    1 row selected.
    As you can see, I get the expected error message. But I only end up with a record in the exceptions table for the NOT NULL column constraint, not for the null primary key value.

  • The version of OLE on the client and server machines does not match. (Exception from HRESULT: 0x80010110)

    Hi,
    I have installed FIM CM Client on one machine and FIM CM update service on another machine. Both are windows server 2008 r2 machines.
    When i try to enroll a permanent smart card for a user, its shows me the following error:-
    The version of OLE on the client and server machines does not match. (Exception from HRESULT: 0x80010110)
    Also there is no logging done for the particular event.
    I am able to change my smart card pin and view my smart card info. through the FIM CM client. 
    Is there a compatibility issue of FIM CM 2010 with Windows server 2008 r2?
    Thanks

    Hi,
    Sorry for the delay in reply.
    Please try the following steps first:
    Open Powershell as Administrator
    Go to Start--> Run and type wbemtest.exe.
    •Click Connect. 
    •In the namespace text box type "root" (without quotes).
    •Click Connect.
    •Click Enum Instances…
    •In the Class Info dialog box enter Superclass Name as "__ProviderHostQuotaConfiguration" (without quotes) and press OK. Note: the Superclass name includes a double underscore at the front.
    •In the Query Result window, double-click "__ProviderHostQuotaConfiguration=@"
    •In the Object Editor window, double-click HandlesPerHost.
    •In the Value dialog, type in 8192
    •Click Save Property.
    •Click Save Object.
    Under properties find the property "MemoryPerHost" or any other ones you need to modify  and double click it
    Change the value from 512 MB which is 536870912 to 1GB which is 1073741824
    Click Save Property
    Click Save Object.
    •Close Wbemtest.
    •Restart the computer.
    And if all nodes are Windows server 2012, install the following update rollup as well:
    Windows RT, Windows 8, and Windows Server 2012 update rollup: August 2013
    http://support.microsoft.com/KB/2862768
    If you have any feedback on our support, please send to [email protected]

  • Provider not compatible version of Oracle client after upgrade 4.112.1.2

    I had an ASP.NET 3.5 website running
    on intranet small business server as production with:
    OS Win2008 Standard 32-bit
    Oracle Database 11g107 32-bit
    Oracle DataAccess 2.111.60 32-bit
    On a development laptop,
    I upgraded the website to ASP.NET 4.0.
    The development laptop had
    OS Windows 7 32-bit
    VS 2010
    Oracle Database 11g201 32-bit
    Oracle DataAccess 4.112.12
    Application was running without errors.
    On the production server,
    I uninstalled Oracle Database 11g107,
    to include removing Oracle home and install folders,
    and in HKLM > Software > Oracle registry folder.
    I installed Oracle Database 11g201
    and installed the ODP.NET upgrade to 4.112.12.
    (except for VS components).
    In the website web.config,
    I changed the referenced assembly to:
    <assemblies>
         <add assembly="Oracle.DataAccess, Version=4.112.1.2, Culture=neutral, PublicKeyToken=89b483f429c47342" />
    I changed IIS70 Application pool advanced settings to ASP.NET 4.0,
    restarting application pool and website.
    Rebooted system.
    On starting the application when it accesses the Oracle connection,
    I get the dreaded: Provider not compatible.
    Exception Details: Oracle.DataAccess.Client.OracleException: The provider is not compatible with the version of Oracle client
    Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
    Stack Trace:
    [OracleException (0x80004005): The provider is not compatible with the version of Oracle client]
    Oracle.DataAccess.Client.OracleInit.Initialize() +433
    Oracle.DataAccess.Client.OracleConnection..cctor() +844
    It is not the VB.NET Oracle connection code,
    as it runs fine on the development laptop.
    So I look into the GAC.
    GACUTIL /l shows 2.111.60 is still in the .NET
    The Global Assembly Cache contains the following assemblies:
    Oracle.DataAccess, Version=1.111.6.0, Culture=neutral, PublicKeyToken=89b483f429c47342
    Oracle.DataAccess, Version=2.111.6.0, Culture=neutral, PublicKeyToken=89b483f429c47342, processorArchitecture=x86
    Oracle.DataAccess, Version=2.112.1.0, Culture=neutral, PublicKeyToken=89b483f429c47342, processorArchitecture=x86
    Oracle.DataAccess, Version=2.112.1.2, Culture=neutral, PublicKeyToken=89b483f429c47342, processorArchitecture=x86
    Oracle.DataAccess, Version=4.112.1.2, Culture=neutral, PublicKeyToken=89b483f429c47342, processorArchitecture=x86
    Oracle.Database.Extensions, Version=1.111.6.0, Culture=neutral, PublicKeyToken=89b483f429c47342
    Oracle.Database.Extensions, Version=2.112.1.0, Culture=neutral, PublicKeyToken=89b483f429c47342, processorArchitecture=x86
    Oracle.Database.Extensions, Version=2.112.1.2, Culture=neutral, PublicKeyToken=89b483f429c47342, processorArchitecture=x86
    Oracle.Database.Extensions, Version=4.112.1.2, Culture=neutral, PublicKeyToken=89b483f429c47342, processorArchitecture=x86
    Oracle.Web, Version=2.112.1.0, Culture=neutral, PublicKeyToken=89b483f429c47342, processorArchitecture=x86
    Oracle.Web, Version=2.112.1.2, Culture=neutral, PublicKeyToken=89b483f429c47342, processorArchitecture=x86
    Policy.2.102.Oracle.DataAccess, Version=2.112.1.2, Culture=neutral, PublicKeyToken=89b483f429c47342, processorArchitecture=x86
    Policy.2.111.Oracle.DataAccess, Version=2.112.1.2, Culture=neutral, PublicKeyToken=89b483f429c47342, processorArchitecture=x86
    Policy.2.111.Oracle.Web, Version=2.112.1.2, Culture=neutral, PublicKeyToken=89b483f429c47342, processorArchitecture=x86
    Policy.2.112.Oracle.DataAccess, Version=2.112.1.2, Culture=neutral, PublicKeyToken=89b483f429c47342, processorArchitecture=x86
    Policy.2.112.Oracle.Web, Version=2.112.1.2, Culture=neutral, PublicKeyToken=89b483f429c47342, processorArchitecture=x86
    Is there a command I need to run to remove the old 111.6.0 Oracle client references from GAC?
    Eventhough Oracle ODP.NET installer put a policy to refer the older version to the new?

    In
    C:\Program Files\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0
    and in
    C:\Windows\Microsoft.NET\Framework\v4.0.30319
    There is only SYSTEM.DATA.ORACLECLIENT
    I suspect that we would not see Oracle.DataAccess.dll in these locations anyway.
    ++++++++
    In
    C:\Windows\assembly
    There is:
    Oracle.DataAccess 2.112.1.2
    Oracle.Database.Extensions 2.112.1.2
    Oracle.Web 2.112.1.2
    This is the GAC for ASP.NET 2.0-3.5,
    so this appears to be correct
    ++++++++
    In
    C:\Windows\Microsoft.NET\assembly\GAC_32
    There is:
    C:\Windows\Microsoft.NET\assembly\GAC_32\Oracle.DataAccess\v4.0_4.112.1.2__89b483f429c47342
    C:\Windows\Microsoft.NET\assembly\GAC_32\Oracle.Database.Extensions\v4.0_4.112.1.2__89b483f429c47342
    C:\Windows\Microsoft.NET\assembly\GAC_32\Oracle.Web\v4.0_4.112.1.2__89b483f429c47342
    with the appropriate 4.112.1.2 dlls in these folders
    This is the GAC for ASP.NET 4.0,
    so this appears to be correct.
    +++++++
    In
    C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\Machine.config
    Removed Oracle Providers references, I just need ODAC to update and insert data into schema data tables,
    and do not use the ASP.NET Oracle Providers schema.
    Should I need ASP.NET Oracle Providers schema, I can always add references in the application web.config.
    <system.data>
    <DbProviderFactories>
    <add name="Microsoft SQL Server Compact Data Provider" invariant="System.Data.SqlServerCe.3.5" description=".NET Framework Data Provider for Microsoft SQL Server Compact" type="System.Data.SqlServerCe.SqlCeProviderFactory, System.Data.SqlServerCe, Version=3.5.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"/></DbProviderFactories>
    </system.data>
    <membership>
    <providers>
    <add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="LocalSqlServer" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="true" applicationName="/" requiresUniqueEmail="false" passwordFormat="Hashed" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="7" minRequiredNonalphanumericCharacters="1" passwordAttemptWindow="10" passwordStrengthRegularExpression=""/>
    </providers>
    </membership>
    <profile>
    <providers>
    <add name="AspNetSqlProfileProvider" connectionStringName="LocalSqlServer" applicationName="/" type="System.Web.Profile.SqlProfileProvider, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
    </providers>
    </profile>
    <roleManager>
    <providers>
    <add name="AspNetSqlRoleProvider" connectionStringName="LocalSqlServer" applicationName="/" type="System.Web.Security.SqlRoleProvider, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
    <add name="AspNetWindowsTokenRoleProvider" applicationName="/" type="System.Web.Security.WindowsTokenRoleProvider, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
    </providers>
    </roleManager>
    <siteMap>
    <providers>
    </providers>
    </siteMap>
    <webParts>
    <personalization>
    <providers>
    </providers>
    </personalization>
    </webParts>
    <healthMonitoring>
    <providers>
    </providers>
    </healthMonitoring>
    +++++++++++++
    In
    C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config
    No Oracle references, and I would expect this as it is added in application level web.config
    +++++++++++++
    In
    C:\Windows\Microsoft.NET\Framework\v4.0.30319\ASP.NETWebAdminFiles\web.config
    No Oracle references, and I would expect this as it is added in application level web.config
    +++++++++++++
    In
    D:\ORA\DB11G201\ODP.NET\bin\4
    Oracle.DataAccess.dll 4.112.1.2
    and in
    D:\ORA\DB11G201\ASP.NET\bin\4
    Oracle.Web.dll 4.112.1.2
    +++++++++++++
    So... why would I get provider not compatible version of Oracle Client...
    there are no other versions of ODAC hanging around,
    unless there are other locations I am not aware of.
    The application works fine in development laptop.
    The application works fine on production server when I use SYSTEM.DATA.ORACLECLIENT.
    But we need to migrate away from SYSTEM.DATA.ORACLECLIENT according to Microsoft,
    and I am sure Oracle would rather have me use Oracle.DataAccess client anyway.
    ++++++
    I even tried a trick from another post to move what appears to be Oracle Instant Client components,
    oci.dll, et al, from an installation into a new home of the Oracle 11g201 Cllent 32 along with Oracle.DataAccess.dll into the website BIN folder
    and set references for Oracle.DataAccess.dll to LOCAL TRUE.
    +++++++
    So I remain stuck.

  • Object not found in lookup of BAPI_USR01DOHR_G, error key: RFC_ERROR_SYSTEM

    Hi SDN,
    I am getting the following exception , When click on Equipment Card in Work Environment, ESS.
    Bean BAPI_USR01DOHR_GETEMPLOYEE not found on host XXX, ProgId=XXX: Object not found in lookup of BAPI_USR01DOHR_G, error key: RFC_ERROR_SYSTEM_FAILURE  
    Please help me out to resolve this issue.
    regards,
    Sree.

    Hi Lukas,
    Following is the dump in /nwa.
    Bean BAPI_USR01DOHR_GETEMPLOYEE not found on host EPBIDEV, ProgId=SAPSLDAPI_DV1: Object not found in lookup of BAPI_USR01DOHR_GETEMPLOYEE.registered entries for FuctionName=JNDIName : {GET_AWF_LOCALIZED_STRING=PRTRFC_BASE, GET_AWF_SUBPROC_LOG_DATA=PRTRFC_BASE, RSWR_ZIP_STREAM_GET=PRTRFC_BASE, SALV_WD_EXPORT_PDF=PRTRFC_BASE,... [see details]
    Full Message Text
    Bean BAPI_USR01DOHR_GETEMPLOYEE not found on host EPBIDEV, ProgId=SAPSLDAPI_DV1: Object not found in lookup of BAPI_USR01DOHR_GETEMPLOYEE.registered entries for FuctionName=JNDIName : {GET_AWF_LOCALIZED_STRING=PRTRFC_BASE, GET_AWF_SUBPROC_LOG_DATA=PRTRFC_BASE, RSWR_ZIP_STREAM_GET=PRTRFC_BASE, SALV_WD_EXPORT_PDF=PRTRFC_BASE, RSWR_SYSTEM_ALIAS_CHECK_PROXY=PRTRFC_BASE, RSRD_X_MAP_TO_PRTL_USERS_PROXY=PRTRFC_BASE, RSPOR_SHORT_TO_URL_CONVERT=PRTRFC_BASE, CPETEST=PRTRFC_BASE, LSO_COL_GET_TEMPLATES=PRTRFC_BASE, RSWR_SAP_ROOT_FOLDER_GET=PRTRFC_BASE, LSO_COL_GET_EXT_ROOMACCESSURL=PRTRFC_BASE, RSRD_GET_PORTAL_USERS=PRTRFC_BASE, CREATE_AWF_TASK=PRTRFC_BASE, CANCEL_AWF_SUBPROCESS=PRTRFC_BASE, RSRD_X_GET_PORTAL_INFO_PROXY=PRTRFC_BASE, RSRD_X_PRODUCE_PROXY=PRTRFC_BASE, LSO_COL_GET_TEMPLATE_INFO=PRTRFC_BASE, RSPOR_PORTAL_CALL=PRTRFC_BASE, RSWR_RFC_SERVICE_LISTENERS_GET=PRTRFC_BASE, LSO_COL_GET_PORTAL_USER=PRTRFC_BASE, RSDAS_X_PROV_DESCRIBE_PROXY=PRTRFC_BASE, LSO_COL_SET_ROOM_USERS=PRTRFC_BASE, RSWR_URL_QUERY_COMPRESS_PROXY=PRTRFC_BASE, LSO_COL_CREATE_ROOM=PRTRFC_BASE, RSRD_MAP_TO_PORTAL_USERS=PRTRFC_BASE, RSTT_TRACE_BI_PORTAL_START=PRTRFC_BASE, RSOD_MIGRATE_DOCUMENT_PROXY=PRTRFC_BASE, LSO_COL_DELETE_ROOM=PRTRFC_BASE, RSWR_LOGGER_CONFIG_SET=PRTRFC_BASE, RSWR_BINARY_CONTENT_GET=PRTRFC_BASE, RSPOR_SETUP_CHECK=PRTRFC_BASE, RSWR_FOLDER_CONTENT_GET=PRTRFC_BASE, RSDAS_X_PROV_OBJECT_DET_PROXY=PRTRFC_BASE, LSO_COL_GET_ALL_CATEGORIES=PRTRFC_BASE, LSO_COL_GET_ROOMS=PRTRFC_BASE, UWL_PUSH_ITEMS=PRTRFC_BASE, RSWR_TEMPLATE_PROCESS_PROXY=PRTRFC_BASE, RSWR_PREEXECUTION_PROXY=PRTRFC_BASE, LSO_COL_REMOVE_USER_FROM_ROOM=PRTRFC_BASE, RSWR_BOOKMARK_ADJUST_PROXY=PRTRFC_BASE, RSRD_X_GET_INFO_PROXY=PRTRFC_BASE, RSWR_JAVA_VERSION_INFO_GET=PRTRFC_BASE, RSWR_RFC_SERVICE_TEST=PRTRFC_BASE, RSRD_BROADCASTING_KM_RFC=PRTRFC_BASE, LSO_COL_GET_ROOM_USERS=PRTRFC_BASE, RSWR_ROOT_FOLDER_GET=PRTRFC_BASE, LSO_COL_ADD_USER_TO_ROOM=PRTRFC_BASE, RSWR_ABAP_EXCEPTION_TEST=PRTRFC_BASE, RSWR_SERVICE_DISPATCHER_TEST=PRTRFC_BASE, RSRD_STORE_ONLINE_LINK=PRTRFC_BASE, RSWR_CLUSTER_INFO_GET=PRTRFC_BASE, LSO_COL_GET_INT_ROOMACCESSURL=PRTRFC_BASE, LSO_COL_GET_ROOM_OWNERS=PRTRFC_BASE, BICS_CONS_GET_VIEW_DEF_J_PROXY=PRTRFC_BASE, RSWR_TIME_GET=PRTRFC_BASE, GET_AWF_SUBPROC_ATTACHMENTS=PRTRFC_BASE, LSO_COL_GET_ROOM_PRIVACYTYPES=PRTRFC_BASE, RSWR_STRING_CONTENT_GET=PRTRFC_BASE, RSRD_FOLDER_WRITABLE=PRTRFC_BASE, RSWR_LOGGER_CONFIG_GET=PRTRFC_BASE, RSWR_CACHE_INVALIDATE_PROXY=PRTRFC_BASE, RSWR_RFC_VERSION_INFO_GET=PRTRFC_BASE, RSOBJS_GET_PORTAL_VIEWS_RFC=PRTRFC_BASE, RSWR_SESSION_TERMINATE_PROXY=PRTRFC_BASE, RSPOR_NODES_READ=PRTRFC_BASE, RSPOR_NODES_SAVE=PRTRFC_BASE, RSRD_X_DISTRIBUTE_PROXY=PRTRFC_BASE, SUWL_NOTIF_PUBLISH=PRTRFC_BASE, LSO_COL_GET_ROOM_INFO=PRTRFC_BASE, RSDAS_X_PROV_PROCESS_PROXY=PRTRFC_BASE, RSPOR_URL_TO_SHORT_CONVERT=PRTRFC_BASE}
    All JCos are tested successfully.
    regards,
    Sree.
    Edited by: sree pedasingh on Mar 22, 2011 10:48 AM

  • Com.sap.engine.services.jndi.persistent.exceptions.NamingException

    Hi,
    We have just finish apply/update our SAP Netweaver WebAS 6.40 (Java) with the support package (SP25). When we test our application, we encountered the following exception
    com.sap.engine.services.jndi.persistent.exceptions.NamingException: Error getting the server-side naming service functionality during getInitialContext operation.
    This exception seems to be intermittent. After some time, when we try again, we did not encountered this exception. But after we restart, the error appear again.
    Please help.

    Hi,
    On checking the trace log file, I noticed some security exception 'com.sap.engine.services.security.exceptions.BaseSecurityException: Caller not authorized.'.
    before the 'com.sap.engine.services.jndi.persistent.exceptions.NamingException : Error getting the server-side naming service functionality during getInitialContext operation. '
    What could be the cause for 'BaseSecurityException: Caller not authorized' exception?
    #1.5 #0003BA7B25C0002B000000000000394600048F300D41A62A#1283336450450#System.err#sap.com/CRRSRatingEAR#System.err#Guest#0##n/a##9811a6e3b5b211df85fa0003ba7b25c0#SAPEngine_Application_Thread[impl:3]_18##0#0#Error##Plain###log4j:WARN No such property [maxBackupIndex] in org.apache.log4j.DailyRollingFileAppender.#
    #1.5 #0003BA7B25C0002B000000010000394600048F300D437AAE#1283336450570#System.err#sap.com/CRRSRatingEAR#System.err#Guest#0##n/a##9811a6e3b5b211df85fa0003ba7b25c0#SAPEngine_Application_Thread[impl:3]_18##0#0#Error##Plain###log4j:WARN No such property [maxBackupIndex] in org.apache.log4j.DailyRollingFileAppender.#
    #1.5 #0003BA7B25C0002B000000030000394600048F300D47CA6E#1283336450850#com.sap.engine.services.security.authentication.logincontext#sap.com/CRRSRatingEAR#com.sap.engine.services.security.authentication.logincontext#Guest#0##n/a##9811a6e3b5b211df85fa0003ba7b25c0#SAPEngine_Application_Thread[impl:3]_18##0#0#Error##Java###Caller not authorized.
    [EXCEPTION]
    #1#com.sap.engine.services.security.exceptions.BaseSecurityException: Caller not authorized.
         at com.sap.engine.services.security.resource.ResourceHandleImpl.checkPermission(ResourceHandleImpl.java:634)
         at com.sap.engine.services.security.resource.ResourceHandleImpl.checkPermission(ResourceHandleImpl.java:520)
         at com.sap.engine.services.security.resource.ResourceContextImpl.checkPermission(ResourceContextImpl.java:45)
         at com.sap.engine.services.security.restriction.Restrictions.checkPermission(Restrictions.java:119)
         at com.sap.engine.services.security.server.AuthenticationContextImpl.getSessionPool(AuthenticationContextImpl.java:395)
         at com.sap.engine.services.security.server.AuthenticationContextImpl.getLoginContextFactory(AuthenticationContextImpl.java:740)
         at com.sap.engine.services.security.server.AuthenticationContextImpl.getLoginContext(AuthenticationContextImpl.java:254)
         at com.sap.engine.services.jndi.implclient.LoginHelper.serverSideLogin(LoginHelper.java:59)
         at com.sap.engine.services.jndi.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:135)
         at com.sap.engine.system.naming.provider.DefaultInitialContext._getDefaultInitCtxt(DefaultInitialContext.java:65)
         at com.sap.engine.system.naming.provider.DefaultInitialContext.<init>(DefaultInitialContext.java:46)
         at com.sap.engine.system.naming.provider.DefaultInitialContextFactory.getInitialContext(DefaultInitialContextFactory.java:41)
         at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662)
         at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
         at javax.naming.InitialContext.init(InitialContext.java:219)
         at javax.naming.InitialContext.<init>(InitialContext.java:195)
         at com.mbb.crrs.business.common.InitialContextFactory$SapWasContext.getInitialContext(InitialContextFactory.java:139)
         at com.mbb.crrs.business.common.InitialContextFactory.getInitalContext(InitialContextFactory.java:81)
         at com.mbb.crrs.business.common.ServiceLocator.<init>(ServiceLocator.java:286)
         at com.mbb.crrs.business.common.ServiceLocator.getInstance(ServiceLocator.java:308)
         at com.mbb.crrs.web.common.dao.ParamCacheDAO.<init>(ParamCacheDAO.java:56)
         at com.mbb.crrs.web.common.ParamCache.loadData(ParamCache.java:182)
         at com.mbb.crrs.web.common.ParamCache.loadData(ParamCache.java:166)
         at com.mbb.crrs.common.CRRSInitServlet.init(CRRSInitServlet.java:33)
         at com.sap.engine.services.servlets_jsp.server.runtime.context.WebComponents.addServlet(WebComponents.java:139)
         at com.sap.engine.services.servlets_jsp.server.container.ApplicationThreadInitializer.loadServlets(ApplicationThreadInitializer.java:386)
         at com.sap.engine.services.servlets_jsp.server.container.ApplicationThreadInitializer.run(ApplicationThreadInitializer.java:110)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
    #1.5 #0003BA7B25C0002B000000040000394600048F300D499B25#1283336450972#com.sap.engine.services.servlets_jsp.Deploy#sap.com/CRRSRatingEAR#com.sap.engine.services.servlets_jsp.Deploy#Guest#0##n/a##9811a6e3b5b211df85fa0003ba7b25c0#SAPEngine_Application_Thread[impl:3]_18##0#0#Warning##Plain###application [CRRSWeb] Initialization of servlet <CRRSInitServlet> failed! The error is: com.mbb.crrs.common.exceptions.ApplicationConfigurationException: Unable to connect to WAS at 172.31.40.10:52004: com.sap.engine.services.jndi.persistent.exceptions.NamingException: Error getting the server-side naming service functionality during getInitialContext operation.
         at com.mbb.crrs.business.common.InitialContextFactory$SapWasContext.getInitialContext(InitialContextFactory.java:143)
         at com.mbb.crrs.business.common.InitialContextFactory.getInitalContext(InitialContextFactory.java:81)
         at com.mbb.crrs.business.common.ServiceLocator.<init>(ServiceLocator.java:286)
         at com.mbb.crrs.business.common.ServiceLocator.getInstance(ServiceLocator.java:308)
         at com.mbb.crrs.web.common.dao.ParamCacheDAO.<init>(ParamCacheDAO.java:56)
         at com.mbb.crrs.web.common.ParamCache.loadData(ParamCache.java:182)
         at com.mbb.crrs.web.common.ParamCache.loadData(ParamCache.java:166)
         at com.mbb.crrs.common.CRRSInitServlet.init(CRRSInitServlet.java:33)
         at com.sap.engine.services.servlets_jsp.server.runtime.context.WebComponents.addServlet(WebComponents.java:139)
         at com.sap.engine.services.servlets_jsp.server.container.ApplicationThreadInitializer.loadServlets(ApplicationThreadInitializer.java:386)
         at com.sap.engine.services.servlets_jsp.server.container.ApplicationThreadInitializer.run(ApplicationThreadInitializer.java:110)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
    Thanks.

  • Persistance Exception & Mapping Exception

    2010-11-29 11:08:43,406 main FATAL [com.ofss.fc.app.card.service.card.CardAccLinkageApplicationService] (CardAccLinkageApplicationService.java:109) FCRRunTimeException from CardAccLinkageApplicationService.addCardAccLinkage
    com.ofss.fc.infra.das.exception.PersistenceException: Unknown entity: com.ofss.fc.domain.card.entity.card.CardAccLinkage
         at com.ofss.fc.infra.das.orm.hibernate.HibernateExceptionTranslator.translate(HibernateExceptionTranslator.java:110)
         at com.ofss.fc.infra.das.orm.hibernate.HibernateExceptionTranslator.translate(HibernateExceptionTranslator.java:113)
         at com.ofss.fc.infra.das.orm.hibernate.HibernateSessionWrapper.save(HibernateSessionWrapper.java:597)
         at com.ofss.fc.framework.repository.AbstractRepository.insert(AbstractRepository.java:64)
         at com.ofss.fc.framework.domain.service.MaintenanceDomainService.create(MaintenanceDomainService.java:213)
         at com.ofss.fc.domain.card.service.card.CardAccLinkageService.addCardAccLinkage(CardAccLinkageService.java:54)
         at com.ofss.fc.app.card.service.card.CardAccLinkageApplicationService.addCardAccLinkage(CardAccLinkageApplicationService.java:102)
         at com.ofss.fc.app.card.service.card.TestingStub.testUploadFile(TestingStub.java:38)
         at com.ofss.fc.app.card.service.card.TestingStub.main(TestingStub.java:56)
    Caused by: org.hibernate.MappingException: Unknown entity: com.ofss.fc.domain.card.entity.card.CardAccLinkage
         at org.hibernate.impl.SessionFactoryImpl.getEntityPersister(SessionFactoryImpl.java:550)
         at org.hibernate.impl.SessionImpl.getEntityPersister(SessionImpl.java:1338)
         at org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:98)
         at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.saveWithGeneratedOrRequestedId(DefaultSaveOrUpdateEventListener.java:187)
         at org.hibernate.event.def.DefaultSaveEventListener.saveWithGeneratedOrRequestedId(DefaultSaveEventListener.java:33)
         at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.entityIsTransient(DefaultSaveOrUpdateEventListener.java:172)
         at org.hibernate.event.def.DefaultSaveEventListener.performSaveOrUpdate(DefaultSaveEventListener.java:27)
         at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:70)
         at org.hibernate.impl.SessionImpl.fireSave(SessionImpl.java:535)
         at org.hibernate.impl.SessionImpl.save(SessionImpl.java:523)
         at org.hibernate.impl.SessionImpl.save(SessionImpl.java:519)
         at com.ofss.fc.infra.das.orm.hibernate.HibernateSessionWrapper.save(HibernateSessionWrapper.java:589)
         ... 6 more
    2010-11-29 11:08:43,626 main FATAL [335.com.ofss.fc.infra.das.orm.toplink.TopLinkDataAccessManager] (TopLinkDataAccessManager.java:70) [< 1-8913-5547-5227 >]      ELCM Class not found
    java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at com.ofss.fc.infra.das.orm.toplink.TopLinkDataAccessManager.initialize(TopLinkDataAccessManager.java:66)
         at com.ofss.fc.infra.das.orm.toplink.TopLinkDataAccessManager.rollbackTransaction(TopLinkDataAccessManager.java:100)
         at com.ofss.fc.app.Interaction.rollbackOrCommit(Interaction.java:941)
         at com.ofss.fc.app.Interaction.manageLastInteraction(Interaction.java:671)
         at com.ofss.fc.app.Interaction.close(Interaction.java:580)
         at com.ofss.fc.app.Interaction.close(Interaction.java:543)
         at com.ofss.fc.app.card.service.card.CardAccLinkageApplicationService.addCardAccLinkage(CardAccLinkageApplicationService.java:117)
         at com.ofss.fc.app.card.service.card.TestingStub.testUploadFile(TestingStub.java:38)
         at com.ofss.fc.app.card.service.card.TestingStub.main(TestingStub.java:56)
    Caused by: java.lang.NoSuchMethodError: oracle.toplink.tools.sessionmanagement.SessionManager.getSession(Loracle/toplink/tools/sessionconfiguration/XMLSessionConfigLoader;Ljava/lang/String;Ljava/lang/ClassLoader;ZZZ)Loracle/toplink/publicinterface/Session;
         at com.ofss.elcm.domain.DBSessionManager.buildDatabaseSession(DBSessionManager.java:188)
         at com.ofss.elcm.domain.DBSessionManager.<init>(DBSessionManager.java:118)
         at com.ofss.elcm.domain.DBSessionManager.getInstance(DBSessionManager.java:134)
         ... 13 more
    2010-11-29 11:08:43,636 main DEBUG [335.com.ofss.fc.infra.das.orm.hibernate.HibernateDataAccessManager] (HibernateDataAccessManager.java:164) [< 1-8913-5547-5227 >]      CLOSE_FORCE:com.ofss.fc.app.Interaction:manageLastInteraction:677:

    You seem to be using Hibernate, not TopLink?
    When do you get this error, how have you mapped your classes, what are you doing, etc?
    James : http://www.eclipselink.org

  • Exception caught: Language 'VI' not available; nested exception is com.syclo.sap.exception.SAPException: Agentry

    Hi,
    I test my Agentry application on my ipad, it can connect to SAP server but it then display the error:
    Language 'VI' not available; nested exception is:  |
    com.syclo.sap.exception.SAPException |
    It can load data fine on my ATE.
    The language on my ipad is English. Then why does it still throw the exception. Please help me. Thank you.
    Edit: Solved. Change the Region setting to US

    My javaBE is as follows. Can you help to check if i miss anything in my file
    [HOST]
    server=be1.vdc.csc.com
    APPNAME=ZCH_MATERIALLIST
    [CONFIG]
    source=SAP
    [CLIENT_NUM]
    CLIENT=800
    [SYSTEM_NUM]
    SYSNUM=01
    [LOGGING]
    Level=3
    [LOGON_METHOD]
    LOGON_METHOD=USER_AUTH
    [SERVICE_LOGON]
    UID=hngu3
    UPASSWORD=xxxxx
    [REQUIRED_BAPI_WRAPPER]
    com.syclo.sap.bapi.LoginCheckBAPI=/SYCLO/CORE_SUSR_LOGIN_CHECK
    com.syclo.sap.bapi.RemoteUserCreateBAPI=/SYCLO/CORE_MDW_SESSION1_CRT
    com.syclo.sap.bapi.RemoteParameterGetBAPI=/SYCLO/CORE_MDW_PARAMETER_GET
    com.syclo.sap.bapi.SystemInfoBAPI=/SYCLO/CORE_SYSTINFO_GET
    com.syclo.sap.bapi.ChangePasswordBAPI=/SYCLO/CORE_SUSR_CHANGE_PASSWD
    com.syclo.sap.bapi.CTConfirmationBAPI=/SYCLO/CORE_OUTB_MSG_STAT_UPD
    com.syclo.sap.bapi.DTBAPI=/SYCLO/CORE_DT_GET
    com.syclo.sap.bapi.GetEmployeeDataBAPI=/SYCLO/HR_EMPLOYEE_DATA_GET
    com.syclo.sap.bapi.GetUserDetailBAPI=/SYCLO/CORE_USER_GET_DETAIL
    com.syclo.sap.bapi.GetUserProfileDataBAPI=/SYCLO/CORE_USER_PROFILE_GET
    com.syclo.sap.bapi.PushStatusUpdateBAPI=/SYCLO/CORE_PUSH_STAT_UPD
    com.syclo.sap.bapi.RemoteObjectCreateBAPI=/SYCLO/CORE_MDW_USR_OBJ_CRT
    com.syclo.sap.bapi.RemoteObjectDeleteBAPI=/SYCLO/CORE_MDW_USR_OBJ_DEL
    com.syclo.sap.bapi.RemoteObjectGetBAPI=/SYCLO/CORE_MDW_SESSION_GET
    com.syclo.sap.bapi.RemoteObjectUpdateBAPI=/SYCLO/CORE_MDW_SESSION_UPD
    com.syclo.sap.bapi.RemoteReferenceCreateBAPI=/SYCLO/CORE_MDW_USR_KEYMAP_CRT
    com.syclo.sap.bapi.RemoteReferenceDeleteBAPI=/SYCLO/CORE_MDW_USR_KEYMAP_DEL
    com.syclo.sap.bapi.RemoteReferenceGetBAPI=/SYCLO/CORE_MDW_SESSION_GET
    com.syclo.sap.bapi.RemoteReferenceUpdateBAPI=/SYCLO/CORE_MDW_SESSION_UPD
    com.syclo.sap.bapi.RemoteSessionDeleteBAPI=/SYCLO/CORE_MDW_SESSION1_DEL
    com.syclo.sap.bapi.RemoteUserDeleteBAPI=/SYCLO/CORE_MDW_SESSION1_DEL
    com.syclo.sap.bapi.RemoteUserUpdateBAPI=/SYCLO/CORE_MDW_SESSION_UPD
    com.syclo.sap.bapi.TransactionCommitBAPI=WFD_TRANSACTION_COMMIT
    com.syclo.sap.bapi.SignatureCaptureBAPI=/SYCLO/CS_DOBDSDOCUMENT_CRT

  • Jndi.persistent.exceptions.NameNotFoundException

    Hello Friends , Can any one help in understanding the following and error and why possibly this might have occured
    com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Object not found in lookup of tclmitsamuimainframe~wd.
    at com.sap.engine.services.jndi.implserver.ServerContextImpl.lookup(ServerContextImpl.java:584)
    at com.sap.engine.services.jndi.implclient.ClientContext.lookup(ClientContext.java:343)
    at com.sap.engine.services.jndi.implclient.OffsetClientContext.lookup(OffsetClientContext.java:266)
    at com.sap.engine.services.jndi.implclient.OffsetClientContext.lookup(OffsetClientContext.java:286)
    at javax.naming.InitialContext.lookup(InitialContext.java:351)
    at javax.naming.InitialContext.lookup(InitialContext.java:351)
    at com.sap.engine.services.servlets_jsp.server.application.utils.NamingUtils.createNamingContexts(NamingUtils.java:69)
    at com.sap.engine.services.servlets_jsp.server.application.NamingResources.bindNamingResources(NamingResources.java:130)
    at com.sap.engine.services.servlets_jsp.server.application.ApplicationContext.init(ApplicationContext.java:902)
    at com.sap.engine.services.servlets_jsp.server.deploy.StartAction.createContext(StartAction.java:316)
    at com.sap.engine.services.servlets_jsp.server.deploy.StartAction.prepareStart(StartAction.java:153)
    at com.sap.engine.services.servlets_jsp.server.deploy.WebContainer.prepareStart(WebContainer.java:405)
    at com.sap.engine.services.deploy.server.application.StartTransaction.prepareCommon(StartTransaction.java:219)
    at com.sap.engine.services.deploy.server.application.StartTransaction.prepareLocal(StartTransaction.java:185)
    at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesLocal(ApplicationTransaction.java:491)
    at com.sap.engine.services.deploy.server.application.ParallelAdapter.runInTheSameThread(ParallelAdapter.java:256)
    at com.sap.engine.services.deploy.server.application.ParallelAdapter.makeAllPhasesLocalAndWait(ParallelAdapter.java:400)
    at com.sap.engine.services.deploy.server.DeployServiceImpl.regularStartApplicationLocalAndWait(DeployServiceImpl.java:3202)
    at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationLocalAndWait(DeployServiceImpl.java:3194)
    at com.sap.engine.services.deploy.server.ReferenceResolver.processReferenceToApplication(ReferenceResolver.java:835)
    at com.sap.engine.services.deploy.server.ReferenceResolver.processMakeReference(ReferenceResolver.java:580)
    at com.sap.engine.services.deploy.server.ReferenceResolver.beforeStartingApplication(ReferenceResolver.java:496)
    at com.sap.engine.services.deploy.server.application.StartTransaction.beginCommon(StartTransaction.java:166)
    at com.sap.engine.services.deploy.server.application.StartTransaction.beginLocal(StartTransaction.java:140)
    at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesLocal(ApplicationTransaction.java:482)
    at com.sap.engine.services.deploy.server.application.ParallelAdapter.runInTheSameThread(ParallelAdapter.java:256)
    at com.sap.engine.services.deploy.server.application.ParallelAdapter.makeAllPhasesLocalAndWait(ParallelAdapter.java:400)
    at com.sap.engine.services.deploy.server.DeployServiceImpl.regularStartApplicationLocalAndWait(DeployServiceImpl.java:3202)
    at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationLocalAndWait(DeployServiceImpl.java:3194)
    at com.sap.engine.services.deploy.server.DeployCommunicatorImpl.startApplicationLocalAndWait(DeployCommunicatorImpl.java:685)
    at com.sap.engine.services.servlets_jsp.server.deploy.impl.ApplicationManager.start(ApplicationManager.java:178)
    at com.sap.engine.services.servlets_jsp.server.deploy.impl.ApplicationManager.start(ApplicationManager.java:162)
    at com.sap.engine.services.webdynpro.WebDynproRuntimeServiceImpl.start(WebDynproRuntimeServiceImpl.java:425)
    at com.sap.tc.webdynpro.serverimpl.wdc.deployment.DeployableObject.start(DeployableObject.java:211)
    at com.sap.tc.webdynpro.clientserver.session.RequestManager.initApplicationDeployableObjectPart(RequestManager.java:555)
    at com.sap.tc.webdynpro.clientserver.session.RequestManager.initTask(RequestManager.java:477)
    at com.sap.tc.webdynpro.clientserver.session.RequestManager.doInitWdEnvironment(RequestManager.java:150)
    at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:205)
    at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.delegateToRequestManager(AbstractExecutionContextDispatcher.java:205)
    at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.DispatchHandlerForRequestManager.doService(DispatchHandlerForRequestManager.java:38)
    at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.AbstractDispatchHandler.service(AbstractDispatchHandler.java:116)
    at com.sap.engine.services.servlets_jsp.server.deploy.impl.module.IRequestDispatcherImpl.dispatch(IRequestDispatcherImpl.java:93)
    at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.ExecutionContextDispatcher.dispatchToRequestManager(ExecutionContextDispatcher.java:140)
    at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.dispatch(AbstractExecutionContextDispatcher.java:93)
    at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.dispatch(AbstractExecutionContextDispatcher.java:105)
    at com.sap.tc.webdynpro.serverimpl.core.AbstractDispatcherServlet.doContent(AbstractDispatcherServlet.java:87)
    at com.sap.tc.webdynpro.serverimpl.core.AbstractDispatcherServlet.doGet(AbstractDispatcherServlet.java:54)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:66)
    at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:32)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:431)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:289)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:376)
    at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:85)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
    at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:160)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
    at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:67)
    at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
    at com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)
    at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
    at com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
    at com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
    at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:309)
    at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.run(Processor.java:222)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:152)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:247)
    our team is stuck finding reasons for this exception , so ay explaination is most welcomed
    Edited by: Smriti_techno on Apr 24, 2009 7:36 AM
    Edited by: Smriti_techno on Apr 24, 2009 7:37 AM

    Hi,
    Open Visual administrator, /usr/sap/<instance name>/JC00/j2ee/admin/go.bat
    • Navigate to server > services > JDBC connector > drivers in runtime tab
    • Click create new driver and specify a name, eg “SQL Server”)
    • Point to 3 .jar files which was installed by the MS jdbc driver before. The files are: msbase.jar, mssqlserver.jar and msutil.jar
    • The driver installation is now completed
    Create datasource
    • Click DataSources in the same path as above (server > services > JDBC connector)
    • Click “new driver or datasource”.
    • Fillout the following properties:
    o Main tab > DataSource Name: fx “MyDatasource”
    o Main tab > Add Alias: fx “MyAlias”
    o Main tab > Driver Name: SQL Server
    o Main tab > JDBC version: 2.0 (with XA support)
    o Main tab > Object factory: com.microsoft.jdbcx.sqlserver.SQLServerDataSourceFactory
    o Main tab > DataSource Type: ConnectionPoolDataSource
    o Main tab > CPDS classname: com.microsoft.jdbcx.sqlserver.SQLServerDataSource
    o Additional tab > add property “serverName = <your server>, fx localhost”
    o Additional tab > add property “databaseName = <your db>, fx Northwind”
    o Additional tab > add property “portNumber = <port>, fx 1433”
    o Additional tab > add property “user = <sql database user>, fx sa”
    o Additional tab > add property “password = <password>”
    • Save and restart J2EE. The datasource is now ready to use.
    /people/anilkumar.vippagunta2/blog/2007/02/20/reading-and-writing-images-from-sqlserver-in-webdynpro
    Regards
    Ayyapparaj

Maybe you are looking for

  • How to insert a row in oracle

    how to insert a row in oracle if we have three colums all are number datatype i want one of the column blank;

  • Piano roll doesn't show the correct track.

    In the piano roll I have on (in yellow) the link button and also the catch playhead (in blue). For some misterious reason, just in this file I am working at the moment, if I click any track it will display correctly the text information in the arrang

  • Oracle User Group in Germany

    Hello, I just came back from the DOAG (German Oracle User Group) conference. HTML db seems to be much more popular than I thought - and that's good. There were no free chairs in the room at all. People were sitting on the floor. Tomorrow is the secon

  • Page not displaying in Internet Explorer

    Hello all, having trouble getting one page on my site to load via internet explorer. Sometimes it displays only the background image, and sometimes it will not display at all. Hoping someone can take a look at it and maybe see what's off? Here is the

  • Can't Connect, can't complete the call. Check your...

    Greetings guys, My phone was PERFECT until I updated to Lumia Black, since then I get the error: Can't Connect Can't complete the call. Check your cellular signal and the number, and try again. at random times; this is specially bad when driving and