Error when populating cache with data.

Hi,
I am new to Oracle coherence. I was just following the examples at the following link:
http://download.oracle.com/docs/cd/E15357_01/coh.360/e15831/toc.htm
I am stuck at the following chapter:
5.2 Populating a Cache with Domain Objects
I am able to run the DataGenerator.java successfully. The contacts.csv file gets created.
When i run the LoaderExample.java, i get the following output:
Work: NE
77596
Yoyodyne Propulsion Systems, Grover's Mill US
330 Lectroid Rd.
Telephone Numbers
work: +11 927 20 4526527
home: +11 633 82 6834859
Birth Date: 1964-01-03
Exception in thread "main" (Wrapped) java.io.NotSerializableException: com.oracle.handson.ContactId
     at com.tangosol.util.ExternalizableHelper.toBinary(ExternalizableHelper.java:215)
     at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.PartitionedService$ConverterKeyToBinary.convert(PartitionedService.CDB:29)
     at com.tangosol.util.ConverterCollections$AbstractConverterEntry.getKey(ConverterCollections.java:3387)
     at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.PartitionedService.splitEntriesByOwner(PartitionedService.CDB:17)
     at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$BinaryMap.ensureRequestTarget(PartitionedCache.CDB:18)
     at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$BinaryMap.putAll(PartitionedCache.CDB:34)
     at com.tangosol.util.ConverterCollections$ConverterMap.putAll(ConverterCollections.java:1607)
     at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$ViewMap.putAll(PartitionedCache.CDB:1)
     at com.tangosol.coherence.component.util.SafeNamedCache.putAll(SafeNamedCache.CDB:1)
     at com.oracle.handson.LoaderExample.load(LoaderExample.java:105)
     at com.oracle.handson.LoaderExample.main(LoaderExample.java:37)
Caused by: java.io.NotSerializableException: com.oracle.handson.ContactId
     at java.io.ObjectOutputStream.writeObject0(Unknown Source)
     at java.io.ObjectOutputStream.writeObject(Unknown Source)
     at com.tangosol.util.ExternalizableHelper.writeSerializable(ExternalizableHelper.java:2216)
     at com.tangosol.util.ExternalizableHelper.writeObjectInternal(ExternalizableHelper.java:2664)
     at com.tangosol.util.ExternalizableHelper.serializeInternal(ExternalizableHelper.java:2564)
     at com.tangosol.util.ExternalizableHelper.toBinary(ExternalizableHelper.java:211)
     ... 10 more
2010-11-15 16:20:04.741/4.812 Oracle Coherence GE 3.6.0.0 <D4> (thread=ShutdownHook, member=4): ShutdownHook: stopping cluster node
2010-11-15 16:20:04.772/4.843 Oracle Coherence GE 3.6.0.0 <D5> (thread=DistributedCache, member=4): Service DistributedCache left the cluster
Can anyone please help me as to why i am getting this error?
I am unable to move forward to the next example due to this error.
Any ideas would be of great help.
Thanks

Can you post the code for the ContactId class? I suspect you have forgotten to implement one of the PortableObject, Serializable, Externalizable, or ExternalizableLite interfaces. If that isn't it are you telling Coherence to use POF?
-Dtangosol.pof.enabled=true -Dtangosol.pof.config=pof-config.xmlEdited by: Willy Myers on 15-Nov-2010 04:02

Similar Messages

  • JDBC error when attempting SQL with date offsets

    I am working on an issue with I am having with a JDBC program connecting to Oracle 8i. The program reads statements from configuration files, and for this particular statement, I need to get all the inactive records older then 2 weeks.
    I tried using the statement
    SELECT MAINTLOGID FROM MAINTLOG WHERE ACTIVE = 'F' AND UPDATETIME < (SYSDATE - 14)
    That returns with an SQLException of "invalid relational operator". This statment works fine in Toad, and the statement also works fine if the UPDATETIME comparison is taken off. So at this point, I figure it doesn't like the datetime calculation. So I write a function DaysAgo which returns a date. Now trying any of the statements below still returns the same error.
    SELECT MAINTLOGID FROM MAINTLOG WHERE ACTIVE = 'F' AND UPDATETIME < DaysAgo(14)
    SELECT MAINTLOGID FROM MAINTLOG WHERE ACTIVE = 'F' AND UPDATETIME < { DaysAgo(14) }
    SELECT MAINTLOGID FROM MAINTLOG WHERE ACTIVE = 'F' AND UPDATETIME < { fn DaysAgo(14) }
    Does anyone know the correct syntax to get what I want done? Any help would be appreciated.

    Never mind everyone. I found my issue. The SQL statements are in an XML configuration file, and the less than sign was being treated as the start of a new tag. Doing
    <![CDATA[ SELECT MAINTLOGID FROM MAINTLOG WHERE ACTIVE = 'F' AND UPDATETIME < DaysAgo(14) ]]>
    works.

  • Integration Builder - runtime data cache - Error when creating cache list

    All,
    When I go into the Integration Builder --> Administration --> Runtime tab --> Data Cache
    I get a message saying "Error when creating cache list".
    All cache areas look ok and I do not see any other error.
    Also, RFC INTEGRATION_DIRECTORY_HMI looks good.
    Please advise.
    Thanks a lot.

    Hi,
      Use transaction SXI_CACHE to update the Integration Directory cache. Alternatively, you can use the following URLs to update the CPA cache. Use XIDIRUSER to refresh the cache.
    For complete cache refresh u2013 http://<hostname>:<port>/CPACache/refresh?mode=full
    For delta cache refresh u2013 http://<hostname>:<port>/CPACache/refresh?mode=delta
    If this does not solve the issue, check transaction SLDCHECK to ensure that connection to SLD is available. If the connection fails, check the configuration in the transaction SLDAPICUST. Make sure that the password maintained is correct and the maintained service user is not locked.
    Now in the Integration Repository go to Environment u2192 Clear SLD Data Cache. Also go to Integration Directoy and clear the cache using menu Environment u2192 Clear SLD Data Cache.
    Open the XI Start Page and click on Administration. On the Repository tab, choose Cache Overview. Refresh the cache using the buttons/icons on the right. Use XIDIRUSER to refresh the cache. Carry out cache refresh in the same way on the Directory and Runtime tabs.
    regards,
    ganesh.

  • Error when opening document with ECL control: INVALID_DATA

    Hi Gurus,
    I've tried to search the net for this problem but could not find anything and I'm stuck now.
    Description:
    we're using ECL to view attached documents (to POs etc.) which are stored through ArchiveLink on the content repository.
    when we try to open this document, time-to-time we get following error:
    Error when opening document with ECL control: INVALID_DATA
    Message no. SDV004
    by time-to-time I mean that when we try to open same attachment again it opens successfully (sometimes we need to re-open it 3-4 times to get it)
    what we've tried is to enlarge timeout for HTTP protocol (tx SMICM, from former 30 to actual 60) but only effect we got is that we're waiting for the error longer time
    It will be really great if anybody of you guys can give me an advice where the problem can be or where should I look and what to check
    Thanks,
    David

    Hi Christoph,
    thanks for tip, unfortunately this was already flagged, currently settings are:
    for Display Settings:
    yes - include ECL control
    use HTML control
    empty - maximum viewer wait time
    (do you think that setting some value for this could help)
    yes - deactivate generic object services in viewer
    no - doc display as dialog box
    yes - deactivate data provider cache
    Storage Settings:
    yes - always copy document class from document type
    yes - permit multiple assignment
    Thanks,
    David

  • ORA-04062 error when running forms with different users

    ORA-04062 error when running forms with different users
    I have a form that has a block that should display some data from another users tables. (The other user's name is dynamic, it's selected from a list box)
    I wrote a stored procedure to get the data from other user's tables.
    When I compile the form and run it with the same user I compiled, it works without any error. But when I run the compiled form with another user I get the ORA-04062 (signature of procedure has been changed) error.
    I tried setting REMOTE_DEPENDENCIES_MODE to SIGNATURE in init.ora but it didn't help.
    My Forms version is 6i with Patch 15.
    Database version is 9.
    Here is my stored procedure:
    TYPE Scenario_Tab IS TABLE OF NUMBER(34) INDEX BY BINARY INTEGER;
    TYPE Open_Curs IS REF CURSOR;
    PROCEDURE Get_Scenarios(User_Name IN VARCHAR2, Scen_Table OUT Scenario_Tab) IS
    Curs Open_Curs;
    i NUMBER;
    BEGIN
    OPEN Curs FOR
    'SELECT Seq_No FROM '|| User_Name ||'.scenario';
    i := 1;
    LOOP
    FETCH Curs INTO Scen_Table(i);
    EXIT WHEN Curs%NOTFOUND;
    i := i + 1;
    END LOOP;
    END Get_Senarios;
    I would be happy to solve this problem. It's really important.
    Maybe somebody can tell me another way to do what I want to do. (getting a list of values from another users tables)

    I think it should be a better solution to create a package,
    and put your own TYPES and procedure into it.
    CREATE OR REPLACE PACKAGE PKG_XXX IS
    TYPE TYP_TAB_CHAR IS TABLE OF .... ;
    PROCEDURE P_XX ( Var1 IN VARCHAR2, var2 IN OUT TYP_TAB_CHAR );
    END ;
    Then in your Form :
    Declare
    var PKG_XXX.TYP_TAB_CHAR ;
    Begin
    PKG_XXX.P_XX( 'user_name', var ) ;
    End ;

  • Error when reading the DDIC-data for table

    Hi Tobias
    We upgraded from DMIS 2011 SP04 to SP07. We are in development system.
    To test initial load, we stopped replication for an existing table and then started replication for the same table.
    Mass transfer id connects ECC system to BW on HANA system.
    Replication errored with the following message:
    Error when reading the ddic-data for table MARD (RFC destination DWACLNT010).
    Looking for your guidance.
    Kind Regards
    Kamaljit Vilkhoo

    Was able to solve using oss note 1972533.

  • Error when creating cache list

    Hi,
    We have installed SAP PI 7.1 on AIX 5.3.
    When we check Data cache Overview (RWB-- Administration) we are getting an error "Error when creating cache list"
    Also
    While trying to  Test Cache Connectivity Test under RWB--->Component Monitoring,
    we are facing the below issue "Cache notification from Integration Directory failed: Error when notifying cache receiver Unable to notify integration runtime (Java) of data changes
    For input string: "ngsvawrk211.uk.corporg.net" Attempt to fetch cache data from Integration Directory not yet started or still in process".
    Please help me to resovle this issue.
    Thanks
    Deepu

    HI,
    Is this problem solved ?
    Plz let me know if you have find any solution for this.
    Thanks & Regards,
    Mahesh

  • Read error when reading the master data of 0EMPLOYEE on demand, attribute 0

    Hello All,
    While loading data for HR data source 0HR_PA_OS_1 i am getting the below error message..
    Error 1 in update.
    Read error when reading the master data of 0EMPLOYEE on demand, attribute 0COMP_CODE
    Please let me know how can it be resolved.
    Regards
    Rohit Parti

    The problem occurs during data load from R/3. It was not occuring before. When I go to check the PSA contents I get a runtime error - GETWA_NOT_ASSIGNED.
    Error analysis                                                      
        You attempted to access an unassigned field symbol              
        (data segment 32821).                                                                               
    This error may occur if                                         
        - You address a typed field symbol before it has been set with  
          ASSIGN                                                        
        - You address a field symbol that pointed to the line of an     
          internal table that was deleted                               
        - You address a field symbol that was previously reset using    
          UNASSIGN or that pointed to a local field that no             
          longer exists                                                 
        - You address a global function interface, although the         
          respective function module is not active - that is, is        
          not in the list of active calls. The list of active calls     
          can be taken from this short dump.

  • Error when activating the master data

    Hi
    I am getting the following error when activating the master data. when using IDOC as transfer method in transfer rules
    <b>Error while creating table 'EDISEGMENT' entry '/BIC/CIRB0CLASS_NUM_TEXT'</b>
    If anyone came across this kind of problem plz share the solution.
    Regards
    Annie

    Hi
    I solved the problem. AFter changing from PSA to IDOC, i just saved first and activated. it got activated. But thanks for the response.
    There are no short dumps in ST22
    Regards
    Annie

  • Error when reading the access data for the Adapter Engine

    We are getting the following error in XI. It started on Jan 22 and resolved on Jan 23 automatically. Nothing has been changed and we don't able to understand how problem started and how it resolved:
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="INTERNAL">AE_DETAILS_GET_ERROR</SAP:Code>
      <SAP:P1>af.xpd.dbcixpd</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>3: Unable to find URL for Adapter Engine af.xpd.dbcixpd</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Error when reading the access data (URL, user, password) for the Adapter Engine af.xpd.dbcixpd</SAP:Stack>
      <SAP:Retry>N</SAP:Retry>
      </SAP:Error>
    Pls suggest if anyone has gone thru same problem.
    Regards
    Amar

    I got the same problem while using RFC lookup.
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="INTERNAL">AE_DETAILS_GET_ERROR</SAP:Code>
      <SAP:P1>af.tx1.netweaver</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>3: Unable to find URL for Adapter Engine af.tx1.netweaver</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Error when reading the access data (URL, user, password) for the Adapter Engine af.tx1.netweaver</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Any idea ,when we get this error usually.

  • Error when make controller with MVC entity framework

    error when make MVC with entity framework, WHY??

    Hi Arif Kalbu,
    It would be better if you could share us the detailed error message, so I could provide useful informaiton or provide the correct forum for this issue, you know that this forum is to discuss the VS IDE.
    But if the real issue is related to the MVC project, maybe the ASP.net forum would be better: http://forums.asp.net. If then, you could get an answer more quickly and professional. Thanks for your cooperation.
    Best Regards,
    Jack
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Error when tranfering the text data

    Hi all
    I am getting an error when transfering the text data thru flat files .
    It is asking " No transfer structure available for the source system ," and saying that 0langu is not assigned to source syatem.I am working on 3.5.
    pls suggest me.
    thanks in advance
    karna

    here are teh steps:
    1) craete source system in BW as say Flat_file
    2) go to inforsource --?  create inforsource --> right clik on infosource and say assign datasource
    3) select flat_file here and say YES
    4) then for flat file, trnafer structure mapping has to be done manually. so in trs struc screen ,go to datasource tab and enter your corresponding infoobject.
    5) then  go to tranfer rule tab and propose the rule.
    If it helps, please assign points. In case of doubt, please get back
    Regards
    Pankaj

  • Error when extracting the text data

    Hi all
    I am getting an error when transfering the text data thru flat files .
    It is asking " No transfer structure available for the source system ," and saying that 0langu is not assigned to source syatem.I am working on 3.5.
    pls suggest me.
    thanks in advance
    karna

    hi,
         you have to decline 0LANGU, STTXT(short text), MDTXT(medium text),
    LGTXT(long text), and respective key field(primary key) of attribute for
    text data source.  give the above five info object's in transfer structure for
    text data source and activate it.
    if helpful provide points
    regards
    harikrishna.N

  • Error when reading the access data(URL,user, password) for Adapter Engine

    Hi,
    We are getting this error in production system 
    "SXMBSysErrorAlerts, Category INTERNAL, Error code: AE_DETAILS_GET_ERROR error text: Error when reading the access data (URL, user, password) for the Adapter Engine".
    Please tell what can be the cause of error. Where are the access data (URL, user, password) for the Adapter Engine read from?
    Its urgent.  We are in support project.
    regards,
    john

    Hi jhon,
              please check the following threads to resolve the problem.
    AE_DETAILS_GET_ERROR
    Error : no_adapter_engine_found: Unable to find Adapter Engine
    regards
    mahesh.

  • SAP DMS : Error when opening document with ECL control: INVALID_DATA

    We are receiving following error while try to view .FAX file through SAP Document viewer
    "2D viewer - Unable to opend Document"
    "Error when opening document with ECL control: INVALID_DATA"
    Appreciate your quick effort.
    Thanks,
    Sam.

    Yes, We have checked in both ways, I have also followed other threads on the same issue
    But not able to find the solution for the issue. We are facing the issue when we are using files scannned by Kodak Scanner i1420 in tiff format.
    But If I will attach any other tiff files from directory then It can viewed through SAP Document Viewer.
    I appreaciate your help in this regards.
    Thanks,
    Sam,

Maybe you are looking for

  • Only 1/3 ipod touch is being recognized by my computer

    The others say Unspecified Apple Mobile USB Device. I tried reinstalling iTunes, uninstalling the driver, and unplugging my computer. Help!

  • How can I move iWork 09 to a new hard drive?

    Here's the deal: In a last-ditch attempt to fix a vexing problem with a Tascam US-800 audio interface, I have undertaken a clean install of Lion on a fresh hard drive. Because I suspect this problem is caused by some strange issue with my old system

  • How to view all metadata (meaning all) in itunes?

    ok ive been trying to find info about this and found nothing on the web. I downloaded a couple albums from a blog, the thing is that this person added his name and name of the blog in every single file. I dont like it. Like for example in the comment

  • HDMI Info screen pops-up every 5 seconds

    I have a Dynex 42" TV I bought last fall.  No problems until I connected it to me Media Center PC, which has a nVidia card.  When playing a recorded movie, I get the annoying grey announcement box that I'm on HDMI 1 about every 5 seconds.  I tried sw

  • Since upgrade ios  and iTunes can't access homeshare on ipad

    Since upgrade ios and iTunes can't access homeshare on ipad. I see 'share', when using music app on iPad. I click on it and then select my MacBook Pro. Circle starts goes half way the stops. My Apple TV works great. So iTunes on MacBook must be set u