Oracle Coherence

We have Oracle 10g RAC on linux supporting J2 application .
What is the relevance / value addition of "Oracle Coherence " to this app / database ?

Coherence is typically used in one of three ways :
1) As a cache used to offload an overloaded database server. This is primarily of value if the database server is overloaded, though in some cases caching can reduce significantly CPU usage in the application tier by avoiding client-side result set fetching and the corresponding transformation from relational to object form.
2) As a manager of application state such as HTTP sessions (via the provided Coherence*Web). Any application server could theoretically leverage Coherence to manage other state such as EJBs, but I'm not certain how many do so (as this would require code changes in the application server itself). As Rob mentioned, you could contact your provider. The symptom addressed here is usually scalability issues in the middle-tier itself.
3) As a programmatic framework, useful to solve problems that aren't readily solvable in a conventional RDBMS. This is a broader and more sophisticated problem domain, but usually it involves either needing more programmatic control than the RDBMS environment provides (e.g. a custom concurrency control strategy), or needing to bring together large numbers of CPUs and large amounts of data (e.g. large compute grids). Unlike the first two use cases, this typically requires a significant investment in code changes to the application. This is also the most common use case for Coherence.
In general, if you have no pain points in your current configuration then there is probably no reason to consider Coherence. If you have latency or throughput challenges that appear to be related to data/state, then it may be worth looking at using it in one of the above styles.
Jon Purdy
Oracle

Similar Messages

  • Oracle Coherence 3.7.1, It's  always creating a new cluster in linux m/c.

    Hi ,
    I am facing an issue with Oracle Coherence 3.7.1 in linux m/c , where it’s always creating a new cluster, even if I start a new member provided with same cluster name as argument. -Dtangosol.coherence.cluster=name
    It’s not joining the existing cluster , it’s always creating a new cluster with same name in Linux m/c.
    But when I tried the same thing in windows m/c , it working fine , even If I start N number cache server’s it joining the same cluster as one more member.
    Please someone help me, why it’s always creating a new cluster in linux m/c with same name ? why new VM’s are not joining the existing cluster? , Is there anything extra setup I need to do for Linux m/c.
    Thanks in Advance.
    <coherence>
    <cluster-config>
    <member-identity>
    <cluster-name>My_cluster</cluster-name>
    </member-identity>
    </cluster-config>
    <configurable-cache-factory-config>
    <init-params>
    <init-param>
    <param-type>java.lang.String</param-type>
    <param-value system-property="tangosol.coherence.cacheconfig">coherence-cache-config.xml</param-value>
    </init-param>
    </init-params>
    </configurable-cache-factory-config>
    </coherence>
    12-10-01 10:20:06.544/0.420 Oracle Coherence 3.7.1.0 <Info> (thread=main, member=n/a): Loaded operational configuration from "jar:file:/data/Informatica/nas/sdgshared/MyApputils/coherence/lib/coherence.jar!/tangosol-coherence.xml"
    2012-10-01 10:20:06.608/0.484 Oracle Coherence 3.7.1.0 <Info> (thread=main, member=n/a): Loaded operational overrides from "jar:file:/data/Informatica/nas/sdgshared/MyApputils/coherence/lib/coherence.jar!/tangosol-coherence-override-dev.xml"
    2012-10-01 10:20:06.609/0.485 Oracle Coherence 3.7.1.0 <Info> (thread=main, member=n/a): Loaded operational overrides from "jar:file:/data/Informatica/nas/sdgshared/MyApputils/coherence/MyAppCache/lib/MyAppCoherenceCache.jar!/tangosol-coherence-override.xml"
    2012-10-01 10:20:06.613/0.489 Oracle Coherence 3.7.1.0 <D5> (thread=main, member=n/a): Optional configuration override "/custom-mbeans.xml" is not specified
    Oracle Coherence Version 3.7.1.0 Build 27797
    Grid Edition: Development mode
    Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.
    2012-10-01 10:20:06.831/0.707 Oracle Coherence GE 3.7.1.0 <Info> (thread=main, member=n/a): Loaded cache configuration from "file:/data/Informatica/nas/sdgshared/MyApputils/coherence/MyAppCache/config/coherence-cache-config.xml"; this document does not refer to any schema definition and has not been validated.
    2012-10-01 10:20:07.328/1.204 Oracle Coherence GE 3.7.1.0 <D4> (thread=main, member=n/a): TCMP bound to /10.176.4.105:8088 using SystemSocketProvider
    2012-10-01 10:20:10.711/4.587 Oracle Coherence GE 3.7.1.0 <Info> (thread=Cluster, member=n/a): Created a new cluster "MyCache_cluster" with Member(Id=1, Timestamp=2012-10-01 10:20:07.397, Address=10.176.4.105:8088, MachineId=44371, Location=site:,machine:ctrel9014-12,process:19922, Role=CoherenceServer, Edition=Grid Edition, Mode=Development, CpuCount=16, SocketCount=4) UID=0x0AB004690000013A1CE9ADE5AD531F98
    2012-10-01 10:20:10.713/4.589 Oracle Coherence GE 3.7.1.0 <Info> (thread=main, member=n/a): Started cluster Name=MyCache_cluster
    Group{Address=224.3.7.0, Port=37000, TTL=4}
    MasterMemberSet(
    ThisMember=Member(Id=1, Timestamp=2012-10-01 10:20:07.397, Address=10.176.4.105:8088, MachineId=44371, Location=site:,machine:ctrel9014-12,process:19922, Role=CoherenceServer)
    OldestMember=Member(Id=1, Timestamp=2012-10-01 10:20:07.397, Address=10.176.4.105:8088, MachineId=44371, Location=site:,machine:ctrel9014-12,process:19922, Role=CoherenceServer)
    ActualMemberSet=MemberSet(Size=1
    Member(Id=1, Timestamp=2012-10-01 10:20:07.397, Address=10.176.4.105:8088, MachineId=44371, Location=site:,machine:ctrel9014-12,process:19922, Role=CoherenceServer)
    MemberId|ServiceVersion|ServiceJoined|MemberState
    1|3.7.1|2012-10-01 10:20:10.711|JOINED
    RecycleMillis=1200000
    RecycleSet=MemberSet(Size=0
    TcpRing{Connections=[]}
    IpMonitor{AddressListSize=0}
    2012-10-01 10:20:10.736/4.612 Oracle Coherence GE 3.7.1.0 <D5> (thread=Invocation:Management, member=1): Service Management joined the cluster with senior service member 1
    2012-10-01 10:20:10.918/4.794 Oracle Coherence GE 3.7.1.0 <D5> (thread=DistributedCache:HBaseMyCache, member=1): Service HBaseMyCache joined the cluster with senior service member 1
    2012-10-01 10:20:10.942/4.818 Oracle Coherence GE 3.7.1.0 <Info> (thread=main, member=1):
    Edited by: user10092089 on Oct 2, 2012 8:35 AM

    Hi,
    For unicast, you need to define the override file as under:
    <?xml version='1.0'?>
    <coherence>
         <cluster-config>
              <member-identity>
                   <cluster-name system-property="tangosol.coherence.cluster">LPACache_cluster</cluster-name>
              </member-identity>
              <unicast-listener>
                  <well-known-addresses>
                   <socket-address id="1">
                       <address system-property="tangosol.coherence.wka1">coherence-node1-ip</address>
                       <port system-property="tangosol.coherence.wka1.port"> coherence-node1-port</port>
                   </socket-address>
                   <socket-address id="2">
                       <address system-property="tangosol.coherence.wka2"> coherence-node2-ip </address>
                       <port system-property="tangosol.coherence.wka2.port"> coherence-node2-port</port>
                   </socket-address>
                  </well-known-addresses>
              <port-auto-adjust system-property="tangosol.coherence.localport.adjust">false</port-auto-adjust>
              </unicast-listener>
         </cluster-config>
         <configurable-cache-factory-config>
               <class-name>com.tangosol.net.DefaultConfigurableCacheFactory</class-name>
               <init-params>
                  <init-param>
                      <param-type>java.lang.String</param-type>
                      <param-value system-property="tangosol.coherence.cacheconfig">coherence-cache-config.xml</param-value>
                  </init-param>
              </init-params>
        </configurable-cache-factory-config>   
        <logging-config>
               <severity-level system-property="tangosol.coherence.log.level">5</severity-level>
               <character-limit system-property="tangosol.coherence.log.limit">0</character-limit>
        </logging-config>
    </coherence>Use the property -Dtangosol.coherence.localhost=coherence-node1-ip and -Dtangosol.coherence.localport=coherence-node1-port for coherence server1 and -Dtangosol.coherence.localhost=coherence-node2-ip and -Dtangosol.coherence.localport=coherence-node2-port for Coherence server 2. Once you start the servers with these changes, you should not see the below message:
    Group{Address=224.3.7.0, Port=37000, TTL=4}
    HTH
    Cheers,
    _NJ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • What are the prerequisites to install and configure Oracle Coherence 3.4

    What are the prerequisites to install and configure an Oracle Coherence (3.4 Grid version) on RHEL5.0 system?
    I want to make an Oracle Coherence Gid Data system for testing purpose using 3 machines.
    What kind of network configuration is OK?
    What software should be installed in advance?
    Thank you

    Hi,
    I would read through the Testing and Tuning section of the following page.
    http://coherence.oracle.com/display/COH34UG/Usage+(Full)
    Even though you are not about to go into production I think the Production Checklist has some very useful information.
    http://coherence.oracle.com/display/COH34UG/Production+Checklist
    -Dave

  • Using Oracle Coherence

    Hi All,
    I have a query for ORacle Coherence(i am new to this product).
    I have my application built in java(J2EE).I want to go for coherence for better performence. So one thing i would be required is to install the coherence for all the servers which will be participating.
    Will there be any changes in code to use coherence. How application will know how to use coherence.
    Pls suggest
    Rajiv

    Rajiv,
    I would suggest start with reading the Coherence Overview here:
    http://wiki.tangosol.com/display/COH33UG/Coherence+3.3+Home
    Regards,
    Gene

  • Is there any product that is same as oracle coherence but is open source?

    I donot know if it is suitable to post this question here, but I really want to know it, so please help me~
    Is there any product that has same function as oracle coherence but is open source?

    You may have a look at for instance JBoss Cache. It does however (as far as I know) lack Coherence most useful (and powerful) caching architectures (i.e. "partitioned" and "near" caches). Nor do I belive you should expect the same level of stability or proven track record for use in demanding applications as coherence has.
    This said I think it can be a perfectly useful product for some applications were you don't need the most advanced features and don't have the budget for Coherence or some other commercial product - it is after all a lot better than writing your own project specific caching solution...
    /Magnus

  • Oracle coherence first read/write operation take more time

    I'm currently testing with oracle coherence Java and C++ version and from both versions for writing to any local or distributed or near cache first read/write operation take more time compared to next consecutive read/write operation. Is this because of boost operations happening inside actual HashMap or serialization or memory mapped implementation. What are the techniques which we can use to improve the performance with this first read/write operation?
    Currently I'm doing a single read/write operation after fetching the NamedCache Instance. Please let me know whether there's any other boosting coherence cache techniques available.

    In which case, why bother using Coherence? You're not really gaining anything, are you?
    What I'm trying to explain is that you're probably not going to get that "micro-second" level performance on a fully configured Coherence cluster, running across multiple machines, going via proxies for c++ clients. Coherence is designed to be a scalable, fault-tolerant, distributed caching/processing system. It's not really designed for real-time, guaranteed, nano-second/micro-second level processing. There are much better product stacks out there for that type of processing if that is your ultimate goal, IMHO.
    As you say, just writing to a small, local Map (or array, List, Set, etc.) in a local JVM is always going to be very fast - literally as fast as the processor running in the machine. But that's not really the focus of a product like Coherence. It isn't trying to "out gun" what you can achieve on one machine doing simple processing; Coherence is designed for scalability rather than outright performance. Of course, the use of local caches (including Coherence's near caching or replicated caching), can get you back some of the performance you've "lost" in a distributed system, but it's all relative.
    If you wander over to a few of the CUG presentations and attend a few CUG meetings, one of the first things the support guys will tell you is "benchmark on a proper cluster" and not "on a localised development machine". Why? Because the difference in scalability and performance will be huge. I'm not really trying to deter you from Coherence, but I don't think it's going to meet you requirements when fully configured in a cluster of "1 Micro seconds for 100000 data collection" on a continuous basis.
    Just my two cents.
    Cheers,
    Steve
    NB. I don't work for Oracle, so maybe they have a different opinion. :)

  • How to Use Oracle Coherence in BPEL 11g

    i have a scenario to cache the results some where, so that i can make use of the same for the same request.
    I hope this can be done using Oracle Coherence. Could you please let me know how can i use this coherence for cacheing in BPEL 11g (in my bpel process)
    thanks for the help in advance.

    Hi.
    U can use the Coherence API within a Spring bean.
    Take a look at this https://blogs.oracle.com/jaylee/entry/accessing_coherence_cluster_using_spring
    That's one way to do it.
    best

  • How can i use oracle coherence with JPA/ejb  in web service?

    Hi
    I want to make web service using JPA which calls oracle XE via oracle coherence? i want to use JAX-ws? i searched and found you can make and deployed it using web logic but is there any other way i can make it and deployed in tomcat. i want to use oracle coherence + Oracle XE + JAX-WS? if it possible how can i other wise what are other ways i can do it?
    please any one does know it reply please it helps me lot to get.
    Thanks in advance,
    Edited by: 913837 on Feb 22, 2012 3:51 PM

    If you want data cached in Coherence to find it's way into an Oracle database for persistence, then look at the "CacheStore" section of the Coherence Developer Guide. This also works the other way round too, in that you can get data read into a Coherence cache via a database read. Again, look in the Coherence Developer Guide.
    If you want you applications "entry point" into a piece of code to be a web-service, then Tomcat+CXF will work just fine. Once you are in the service, just use the Coherence API to put the data in a cache.
    But also look at the HTTP access offered in later versions of Coherence in the form of REST. This may save you the Tomcat+CXF install, depending upon your needs. See the Coherence Client Guide.
    Still, what exactly are you trying to achieve here? It's not clear from your post why a web service using JPA for persistence needs to go via Coherence at all. More info needed.
    Cheers,
    Steve

  • Using EclipseLink or JPA with Oracle Coherence as shared cache

    Hi,
    I expect to use EclipseLink with Oracle Coherence as shared cache, mainly with/for Entity Caching.
    * JPA)
    For JPA queries, is the JPA semantics fully preserved when using Oracle Coherence ?
    * Non-JPA)
    Are the non-JPA API taking also advantage from Oracle Coherence ?
    For these non-JPA queries, is the semantics fully preserved when using Oracle Coherence ?
    Regards,
    Dominique
    PS: I hope this is the right forum to ask my questions.
    Otherwise, could you tell me what is the right forum ?
    Thanks.

    Yes, JPA semantics are fully preserved when using TopLink-Grid to cache entities within Coherence.
    Yes, the native EclipseLink APIs can also take advantage of TopLink-Grid and Coherence.
    I am not sure what you mean by "For these non-JPA queries, is the semantics fully preserved when using Oracle Coherence ?" Perhaps you can provide an example of what you are looking for?
    --Gordon                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Tutorial for Oracle Coherence Release 3.6 does not work

    I am new to Oracle Coherence and just download the newest release 3.6 of coherence together with JDveloper (Studio Edition Version 11.1.1.3.0, Build JDEVADF_11.1.1.3.PS2_GENERIC_100408.2356.5660) and started to go throught the tutorial step by step. Having completed chapter 1 and 2 and started to work on chapter 3: Accessing the Data Grid from Java and get stuck with the sampleas code related to classes "MyFirstSample" and "MyFirstSampleReader". According to the doc once the cahce-server is running (by running cache-server.cmd in dos) then
    run a) MyFirstSample which will put an "Name" entry to myCache and exit
    b) run MyFirstSampleReader which will retrieve the entry "Name" populated with "MyFirstSample". But i got null value back.
    The following are logs for cache-server (I), MyFirstSample (II) and MyFirstSampleReader (III) respectively:
    (I) cache-server console output:
    C:\Program Files\Java\coherence\bin>cache-server.cmd
    java version "1.6.0_18"
    Java(TM) SE Runtime Environment (build 1.6.0_18-b07)
    Java HotSpot(TM) Server VM (build 16.0-b13, mixed mode)
    2010-12-01 13:49:24.349/0.266 Oracle Coherence 3.6.0.0 <Info> (thread=main, member=n/a): Loaded operational configuration from "jar:file:/C:
    /Program%20Files/Java/coherence/lib/coherence.jar!/tangosol-coherence.xml"
    2010-12-01 13:49:24.364/0.281 Oracle Coherence 3.6.0.0 <Info> (thread=main, member=n/a): Loaded operational overrides from "jar:file:/C:/Pro
    gram%20Files/Java/coherence/lib/coherence.jar!/tangosol-coherence-override-dev.xml"
    2010-12-01 13:49:24.364/0.281 Oracle Coherence 3.6.0.0 <D5> (thread=main, member=n/a): Optional configuration override "/tangosol-coherence-
    override.xml" is not specified
    2010-12-01 13:49:24.364/0.281 Oracle Coherence 3.6.0.0 <D5> (thread=main, member=n/a): Optional configuration override "/custom-mbeans.xml"
    is not specified
    Oracle Coherence Version 3.6.0.0 Build 17229
    Grid Edition: Development mode
    Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
    2010-12-01 13:49:24.614/0.531 Oracle Coherence GE 3.6.0.0 <Info> (thread=main, member=n/a): Loaded cache configuration from "jar:file:/C:/Pr
    ogram%20Files/Java/coherence/lib/coherence.jar!/coherence-cache-config.xml"
    2010-12-01 13:49:24.974/0.891 Oracle Coherence GE 3.6.0.0 <D4> (thread=main, member=n/a): TCMP bound to /169.59.39.31:8088 using SystemSocke
    tProvider
    2010-12-01 13:49:28.427/4.344 Oracle Coherence GE 3.6.0.0 <Info> (thread=Cluster, member=n/a): Created a new cluster "cluster:0xC4DB" with M
    ember(Id=1, Timestamp=2010-12-01 13:49:24.974, Address=169.59.39.31:8088, MachineId=46367, Location=site:eur.beluni.net,machine:CHMA5042975,
    process:7264, Role=CoherenceServer, Edition=Grid Edition, Mode=Development, CpuCount=2, SocketCount=2) UID=0xA93B271F0000012CA1FAEBEEB51F1F9
    8
    2010-12-01 13:49:28.427/4.344 Oracle Coherence GE 3.6.0.0 <Info> (thread=main, member=n/a): Started cluster Name=cluster:0xC4DB
    Group{Address=224.3.6.0, Port=36000, TTL=4}
    MasterMemberSet
    ThisMember=Member(Id=1, Timestamp=2010-12-01 13:49:24.974, Address=169.59.39.31:8088, MachineId=46367, Location=site:eur.beluni.net,machin
    e:CHMA5042975,process:7264, Role=CoherenceServer)
    OldestMember=Member(Id=1, Timestamp=2010-12-01 13:49:24.974, Address=169.59.39.31:8088, MachineId=46367, Location=site:eur.beluni.net,mach
    ine:CHMA5042975,process:7264, Role=CoherenceServer)
    ActualMemberSet=MemberSet(Size=1, BitSetCount=2
    Member(Id=1, Timestamp=2010-12-01 13:49:24.974, Address=169.59.39.31:8088, MachineId=46367, Location=site:eur.beluni.net,machine:CHMA504
    2975,process:7264, Role=CoherenceServer)
    RecycleMillis=1200000
    RecycleSet=MemberSet(Size=0, BitSetCount=0
    TcpRing{Connections=[]}
    IpMonitor{AddressListSize=0}
    2010-12-01 13:49:28.442/4.359 Oracle Coherence GE 3.6.0.0 <D5> (thread=Invocation:Management, member=1): Service Management joined the clust
    er with senior service member 1
    2010-12-01 13:49:28.630/4.547 Oracle Coherence GE 3.6.0.0 <D5> (thread=DistributedCache, member=1): Service DistributedCache joined the clus
    ter with senior service member 1
    2010-12-01 13:49:28.708/4.625 Oracle Coherence GE 3.6.0.0 <D5> (thread=ReplicatedCache, member=1): Service ReplicatedCache joined the cluste
    r with senior service member 1
    2010-12-01 13:49:28.708/4.625 Oracle Coherence GE 3.6.0.0 <D5> (thread=OptimisticCache, member=1): Service OptimisticCache joined the cluste
    r with senior service member 1
    2010-12-01 13:49:28.724/4.641 Oracle Coherence GE 3.6.0.0 <D5> (thread=Invocation:InvocationService, member=1): Service InvocationService jo
    ined the cluster with senior service member 1
    2010-12-01 13:49:28.724/4.641 Oracle Coherence GE 3.6.0.0 <Info> (thread=main, member=1):
    Services
    ClusterService{Name=Cluster, State=(SERVICE_STARTED, STATE_JOINED), Id=0, Version=3.6, OldestMemberId=1}
    InvocationService{Name=Management, State=(SERVICE_STARTED), Id=1, Version=3.1, OldestMemberId=1}
    PartitionedCache{Name=DistributedCache, State=(SERVICE_STARTED), LocalStorage=enabled, PartitionCount=257, BackupCount=1, AssignedPartitio
    ns=257, BackupPartitions=0}
    ReplicatedCache{Name=ReplicatedCache, State=(SERVICE_STARTED), Id=3, Version=3.0, OldestMemberId=1}
    Optimistic{Name=OptimisticCache, State=(SERVICE_STARTED), Id=4, Version=3.0, OldestMemberId=1}
    InvocationService{Name=InvocationService, State=(SERVICE_STARTED), Id=5, Version=3.1, OldestMemberId=1}
    Started DefaultCacheServer...
    (II) MyFirstSample console output:
    "C:\program files\Oracle\Middleware\jdk160_18\bin\javaw.exe" -client -classpath "C:\Data\oracle\CacheApplication\.adf;C:\Data\oracle\CacheApplication\InsertValue\classes;C:\Program Files\Java\coherence\lib\coherence.jar" "-Djavax.net.ssl.trustStore=C:\Program Files\Oracle\Middleware\wlserver_10.3\server\lib\DemoTrust.jks" com.oracle.handson.MyFirstSample
    2010-12-01 14:50:15.533/0.250 Oracle Coherence 3.6.0.0 <Info> (thread=main, member=n/a): Loaded operational configuration from "jar:file:/C:/Program%20Files/Java/coherence/lib/coherence.jar!/tangosol-coherence.xml"
    2010-12-01 14:50:15.533/0.250 Oracle Coherence 3.6.0.0 <Info> (thread=main, member=n/a): Loaded operational overrides from "jar:file:/C:/Program%20Files/Java/coherence/lib/coherence.jar!/tangosol-coherence-override-dev.xml"
    2010-12-01 14:50:15.533/0.250 Oracle Coherence 3.6.0.0 <D5> (thread=main, member=n/a): Optional configuration override "/tangosol-coherence-override.xml" is not specified
    2010-12-01 14:50:15.548/0.265 Oracle Coherence 3.6.0.0 <D5> (thread=main, member=n/a): Optional configuration override "/custom-mbeans.xml" is not specified
    Oracle Coherence Version 3.6.0.0 Build 17229
    Grid Edition: Development mode
    Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
    2010-12-01 14:50:15.751/0.468 Oracle Coherence GE 3.6.0.0 <Info> (thread=main, member=n/a): Loaded cache configuration from "jar:file:/C:/Program%20Files/Java/coherence/lib/coherence.jar!/coherence-cache-config.xml"
    2010-12-01 14:50:16.126/0.843 Oracle Coherence GE 3.6.0.0 <D4> (thread=main, member=n/a): TCMP bound to /169.59.39.31:8088 using SystemSocketProvider
    2010-12-01 14:50:19.642/4.359 Oracle Coherence GE 3.6.0.0 <Info> (thread=Cluster, member=n/a): Created a new cluster "cluster:0xC4DB" with Member(Id=1, Timestamp=2010-12-01 14:50:16.126, Address=169.59.39.31:8088, MachineId=46367, Location=site:eur.beluni.net,machine:CHMA5042975,process:7976, Role=OracleHandsonMyFirstSample, Edition=Grid Edition, Mode=Development, CpuCount=2, SocketCount=2) UID=0xA93B271F0000012CA232A23EB51F1F98
    2010-12-01 14:50:19.642/4.359 Oracle Coherence GE 3.6.0.0 <Info> (thread=main, member=n/a): Started cluster Name=cluster:0xC4DB
    Group{Address=224.3.6.0, Port=36000, TTL=4}
    MasterMemberSet
    ThisMember=Member(Id=1, Timestamp=2010-12-01 14:50:16.126, Address=169.59.39.31:8088, MachineId=46367, Location=site:eur.beluni.net,machine:CHMA5042975,process:7976, Role=OracleHandsonMyFirstSample)
    OldestMember=Member(Id=1, Timestamp=2010-12-01 14:50:16.126, Address=169.59.39.31:8088, MachineId=46367, Location=site:eur.beluni.net,machine:CHMA5042975,process:7976, Role=OracleHandsonMyFirstSample)
    ActualMemberSet=MemberSet(Size=1, BitSetCount=2
    Member(Id=1, Timestamp=2010-12-01 14:50:16.126, Address=169.59.39.31:8088, MachineId=46367, Location=site:eur.beluni.net,machine:CHMA5042975,process:7976, Role=OracleHandsonMyFirstSample)
    RecycleMillis=1200000
    RecycleSet=MemberSet(Size=0, BitSetCount=0
    TcpRing{Connections=[]}
    IpMonitor{AddressListSize=0}
    2010-12-01 14:50:19.658/4.375 Oracle Coherence GE 3.6.0.0 <D5> (thread=Invocation:Management, member=1): Service Management joined the cluster with senior service member 1
    2010-12-01 14:50:19.845/4.562 Oracle Coherence GE 3.6.0.0 <D5> (thread=DistributedCache, member=1): Service DistributedCache joined the cluster with senior service member 1
    Value in cache is Gene Smith
    2010-12-01 14:50:19.923/4.640 Oracle Coherence GE 3.6.0.0 <D4> (thread=ShutdownHook, member=1): ShutdownHook: stopping cluster node
    2010-12-01 14:50:19.923/4.640 Oracle Coherence GE 3.6.0.0 <D5> (thread=Cluster, member=1): Service Cluster left the cluster
    2010-12-01 14:50:19.923/4.640 Oracle Coherence GE 3.6.0.0 <D5> (thread=DistributedCache, member=1): Service DistributedCache left the cluster
    2010-12-01 14:50:19.923/4.640 Oracle Coherence GE 3.6.0.0 <D5> (thread=Invocation:Management, member=1): Service Management left the cluster
    Process exited with exit code 0.
    (III) MyFirstSampleReader console output:
    "C:\program files\Oracle\Middleware\jdk160_18\bin\javaw.exe" -client -classpath "C:\Data\oracle\CacheApplication\.adf;C:\Data\oracle\CacheApplication\InsertValue\classes;C:\Program Files\Java\coherence\lib\coherence.jar" "-Djavax.net.ssl.trustStore=C:\Program Files\Oracle\Middleware\wlserver_10.3\server\lib\DemoTrust.jks" com.oracle.handson.MyFirstSampleReader
    2010-12-01 13:50:15.176/0.250 Oracle Coherence 3.6.0.0 <Info> (thread=main, member=n/a): Loaded operational configuration from "jar:file:/C:/Program%20Files/Java/coherence/lib/coherence.jar!/tangosol-coherence.xml"
    2010-12-01 13:50:15.176/0.250 Oracle Coherence 3.6.0.0 <Info> (thread=main, member=n/a): Loaded operational overrides from "jar:file:/C:/Program%20Files/Java/coherence/lib/coherence.jar!/tangosol-coherence-override-dev.xml"
    2010-12-01 13:50:15.176/0.250 Oracle Coherence 3.6.0.0 <D5> (thread=main, member=n/a): Optional configuration override "/tangosol-coherence-override.xml" is not specified
    2010-12-01 13:50:15.191/0.265 Oracle Coherence 3.6.0.0 <D5> (thread=main, member=n/a): Optional configuration override "/custom-mbeans.xml" is not specified
    Oracle Coherence Version 3.6.0.0 Build 17229
    Grid Edition: Development mode
    Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
    2010-12-01 13:50:15.722/0.796 Oracle Coherence GE 3.6.0.0 <D4> (thread=main, member=n/a): TCMP bound to /169.59.39.31:8092 using SystemSocketProvider
    2010-12-01 13:50:19.238/4.312 Oracle Coherence GE 3.6.0.0 <Info> (thread=Cluster, member=n/a): Created a new cluster "cluster:0xC4DB" with Member(Id=1, Timestamp=2010-12-01 13:50:15.738, Address=169.59.39.31:8092, MachineId=46367, Location=site:eur.beluni.net,machine:CHMA5042975,process:7968, Role=OracleHandsonMyFirstSampleReader, Edition=Grid Edition, Mode=Development, CpuCount=2, SocketCount=2) UID=0xA93B271F0000012CA1FBB23AB51F1F9C
    2010-12-01 13:50:19.238/4.312 Oracle Coherence GE 3.6.0.0 <Info> (thread=main, member=n/a): Started cluster Name=cluster:0xC4DB
    Group{Address=224.3.6.0, Port=36000, TTL=4}
    MasterMemberSet
    ThisMember=Member(Id=1, Timestamp=2010-12-01 13:50:15.738, Address=169.59.39.31:8092, MachineId=46367, Location=site:eur.beluni.net,machine:CHMA5042975,process:7968, Role=OracleHandsonMyFirstSampleReader)
    OldestMember=Member(Id=1, Timestamp=2010-12-01 13:50:15.738, Address=169.59.39.31:8092, MachineId=46367, Location=site:eur.beluni.net,machine:CHMA5042975,process:7968, Role=OracleHandsonMyFirstSampleReader)
    ActualMemberSet=MemberSet(Size=1, BitSetCount=2
    Member(Id=1, Timestamp=2010-12-01 13:50:15.738, Address=169.59.39.31:8092, MachineId=46367, Location=site:eur.beluni.net,machine:CHMA5042975,process:7968, Role=OracleHandsonMyFirstSampleReader)
    RecycleMillis=1200000
    RecycleSet=MemberSet(Size=0, BitSetCount=0
    TcpRing{Connections=[]}
    IpMonitor{AddressListSize=0}
    2010-12-01 13:50:19.254/4.328 Oracle Coherence GE 3.6.0.0 <D5> (thread=Invocation:Management, member=1): Service Management joined the cluster with senior service member 1
    2010-12-01 13:50:19.300/4.374 Oracle Coherence GE 3.6.0.0 <Info> (thread=main, member=1): Loaded cache configuration from "jar:file:/C:/Program%20Files/Java/coherence/lib/coherence.jar!/coherence-cache-config.xml"
    2010-12-01 13:50:19.472/4.546 Oracle Coherence GE 3.6.0.0 <D5> (thread=DistributedCache, member=1): Service DistributedCache joined the cluster with senior service member 1
    Value in cache is null
    Process exited with exit code 0.
    Could someone kindly help? What I have done wrong?

    Sorry for reviving old thread but I've got something similar with Coherence 3.7.
    My OS is Windows 7 with win-firewall disabled.
    Eclipse is 3.6.2 with OEPE downloaded with plugins included.
    h3. Starting cache-server.cmd works ok:
    2011-07-08 10:43:42.049/5.305 Oracle Coherence GE 3.7.0.0 <D5> (thread=Invocation:Management, member=1): Service Management joined the cluster with senior service member 1
    2011-07-08 10:43:42.420/5.676 Oracle Coherence GE 3.7.0.0 <D5> (thread=DistributedCache, member=1): Service DistributedCache joined the cluster with senior service member 1
    2011-07-08 10:43:42.489/5.745 Oracle Coherence GE 3.7.0.0 <D5> (thread=ReplicatedCache, member=1): Service ReplicatedCache joined the cluster with senior service member 1
    2011-07-08 10:43:42.498/5.754 Oracle Coherence GE 3.7.0.0 <D5> (thread=OptimisticCache, member=1): Service OptimisticCache joined the cluster with senior service member 1
    2011-07-08 10:43:42.504/5.760 Oracle Coherence GE 3.7.0.0 <D5> (thread=Invocation:InvocationService, member=1): Service InvocationService joined the cluster with senior service member 1
    2011-07-08 10:43:42.505/5.762 Oracle Coherence GE 3.7.0.0 <Info> (thread=main, member=1):
    Services
    ClusterService{Name=Cluster, State=(SERVICE_STARTED, STATE_JOINED), Id=0, Version=3.7, OldestMemberId=1}
    InvocationService{Name=Management, State=(SERVICE_STARTED), Id=1, Version=3.1, OldestMemberId=1}
    PartitionedCache{Name=DistributedCache, State=(SERVICE_STARTED), LocalStorage=enabled, PartitionCount=257, BackupCount=1,AssignedPartitions=257, BackupPartitions=0}
    ReplicatedCache{Name=ReplicatedCache, State=(SERVICE_STARTED), Id=3, Version=3.0, OldestMemberId=1}
    Optimistic{Name=OptimisticCache, State=(SERVICE_STARTED), Id=4, Version=3.0, OldestMemberId=1}
    InvocationService{Name=InvocationService, State=(SERVICE_STARTED), Id=5, Version=3.1, OldestMemberId=1}
    Started DefaultCacheServer...
    h3. multicast-test.cmd -group 224.3.7.0:3155 is ok
    Starting test on ip=/10.17.16.61, group=/224.3.7.0:3155, ttl=4
    Configuring multicast socket...
    Starting listener...
    Fri Jul 08 10:46:15 EEST 2011: Sent packet 1 containing 1468 bytes.
    Fri Jul 08 10:46:15 EEST 2011: Received test packet 1 from self (sent 10ms ago).
    Fri Jul 08 10:46:15 EEST 2011: Received 129 bytes from a Coherence cluster node at 10.17.16.61: ???
    Fri Jul 08 10:46:16 EEST 2011: Received 129 bytes from a Coherence cluster node at 10.17.16.61: ???
    Fri Jul 08 10:46:17 EEST 2011: Sent packet 2 containing 1468 bytes.
    Fri Jul 08 10:46:17 EEST 2011: Received test packet 2 from self (sent 1ms ago).
    Fri Jul 08 10:46:18 EEST 2011: Received 129 bytes from a Coherence cluster node at 10.17.16.61: ???
    h1. Problem 1 - When I start DefaultCacheServer from Eclipse, output is not what I would expect:
    java version "1.6.0_26"
    Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
    Java HotSpot(TM) Client VM (build 20.1-b02, mixed mode)
    2011-07-08 10:42:15.345/0.543 Oracle Coherence 3.7.0.0 <Info> (thread=main, member=n/a): Loaded operational configuration from "jar:file:/D:/Repositories/Bin/coherence-java-3.7.0/coherence/lib/coherence.jar!/tangosol-coherence.xml"
    2011-07-08 10:42:15.387/0.585 Oracle Coherence 3.7.0.0 <Info> (thread=main, member=n/a): Loaded operational overrides from "jar:file:/D:/Repositories/Bin/coherence-java-3.7.0/coherence/lib/coherence.jar!/tangosol-coherence-override-dev.xml"
    2011-07-08 10:42:15.413/0.611 Oracle Coherence 3.7.0.0 <Info> (thread=main, member=n/a): Loaded operational overrides from "file:/D:/Repositories/Workspaces/eclipseDefault/Coherence/build/classes/tangosol-coherence-override.xml"
    2011-07-08 10:42:15.417/0.615 Oracle Coherence 3.7.0.0 <D5> (thread=main, member=n/a): Optional configuration override "/custom-mbeans.xml" is not specified
    Oracle Coherence Version 3.7.0.0 Build 23397
    Grid Edition: Development mode
    Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.
    2011-07-08 10:42:15.697/0.895 Oracle Coherence GE 3.7.0.0 <Info> (thread=main, member=n/a): Loaded cache configuration from "file:/D:/Repositories/Workspaces/eclipseDefault/Coherence/build/classes/coherence-cache-config.xml"
    2011-07-08 10:42:15.702/0.900 Oracle Coherence GE 3.7.0.0 <Info> (thread=main, member=n/a):
    Services
    Started DefaultCacheServer...
    h1. Problem 2 - Can't store/read value from cache started by cache-server.cmd
    h2. Storing seems to be ok
    2011-07-08 10:48:11.957/0.416 Oracle Coherence 3.7.0.0 <Info> (thread=main, member=n/a): Loaded operational configuration from "jar:file:/D:/Repositories/Bin/coherence-java-3.7.0/coherence/lib/coherence.jar!/tangosol-coherence.xml"
    2011-07-08 10:48:11.999/0.458 Oracle Coherence 3.7.0.0 <Info> (thread=main, member=n/a): Loaded operational overrides from "jar:file:/D:/Repositories/Bin/coherence-java-3.7.0/coherence/lib/coherence.jar!/tangosol-coherence-override-dev.xml"
    2011-07-08 10:48:12.025/0.484 Oracle Coherence 3.7.0.0 <Info> (thread=main, member=n/a): Loaded operational overrides from "file:/D:/Repositories/Workspaces/eclipseDefault/InsertValue/build/classes/tangosol-coherence-override.xml"
    2011-07-08 10:48:12.029/0.488 Oracle Coherence 3.7.0.0 <D5> (thread=main, member=n/a): Optional configuration override "/custom-mbeans.xml" is not specified
    Oracle Coherence Version 3.7.0.0 Build 23397
    Grid Edition: Development mode
    Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.
    2011-07-08 10:48:12.646/1.105 Oracle Coherence GE 3.7.0.0 <D4> (thread=main, member=n/a): TCMP bound to /10.17.16.61:8090 using SystemSocketProvider
    2011-07-08 10:48:13.663/2.122 Oracle Coherence GE 3.7.0.0 <Info> (thread=Cluster, member=n/a): This Member(Id=2, Timestamp=2011-07-08 10:48:13.463, Address=10.17.16.61:8090, MachineId=2877, Location=site:MyLocation,machine:MyPC,process:7536, Role=MyFirstSampleMyFirstSample, Edition=Grid Edition, Mode=Development, CpuCount=4, SocketCount=4) joined cluster "cluster:0x96AB" with senior Member(Id=1, Timestamp=2011-07-08 10:48:09.963, Address=10.17.16.61:8088, MachineId=2877, Location=site:MyLocation,machine:MyPC,process:7896, Role=CoherenceServer, Edition=Grid Edition, Mode=Development, CpuCount=4, SocketCount=4)
    2011-07-08 10:48:13.683/2.142 Oracle Coherence GE 3.7.0.0 <D5> (thread=Cluster, member=n/a): Member 1 joined Service Cluster with senior member 1
    2011-07-08 10:48:13.683/2.142 Oracle Coherence GE 3.7.0.0 <D5> (thread=Cluster, member=n/a): Member 1 joined Service Management with senior member 1
    2011-07-08 10:48:13.683/2.142 Oracle Coherence GE 3.7.0.0 <D5> (thread=Cluster, member=n/a): Member 1 joined Service DistributedCache with senior member 1
    2011-07-08 10:48:13.683/2.142 Oracle Coherence GE 3.7.0.0 <D5> (thread=Cluster, member=n/a): Member 1 joined Service ReplicatedCache with senior member 1
    2011-07-08 10:48:13.683/2.142 Oracle Coherence GE 3.7.0.0 <D5> (thread=Cluster, member=n/a): Member 1 joined Service OptimisticCache with senior member 1
    2011-07-08 10:48:13.683/2.142 Oracle Coherence GE 3.7.0.0 <D5> (thread=Cluster, member=n/a): Member 1 joined Service InvocationService with senior member 1
    2011-07-08 10:48:13.686/2.145 Oracle Coherence GE 3.7.0.0 <Info> (thread=main, member=n/a): Started cluster Name=cluster:0x96AB
    Group{Address=224.3.7.0, Port=3155, TTL=4}
    MasterMemberSet
    ThisMember=Member(Id=2, Timestamp=2011-07-08 10:48:13.463, Address=10.17.16.61:8090, MachineId=2877, Location=site:MyLocation,machine:MyPC,process:7536, Role=MyFirstSampleMyFirstSample)
    OldestMember=Member(Id=1, Timestamp=2011-07-08 10:48:09.963, Address=10.17.16.61:8088, MachineId=2877, Location=site:MyLocation,machine:MyPC,process:7896, Role=CoherenceServer)
    ActualMemberSet=MemberSet(Size=2, BitSetCount=2
    Member(Id=1, Timestamp=2011-07-08 10:48:09.963, Address=10.17.16.61:8088, MachineId=2877, Location=site:MyLocation,machine:MyPC,process:7896, Role=CoherenceServer)
    Member(Id=2, Timestamp=2011-07-08 10:48:13.463, Address=10.17.16.61:8090, MachineId=2877, Location=site:MyLocation,machine:MyPC,process:7536, Role=MyFirstSampleMyFirstSample)
    RecycleMillis=1200000
    RecycleSet=MemberSet(Size=0, BitSetCount=0
    TcpRing{Connections=[1]}
    IpMonitor{AddressListSize=0}
    2011-07-08 10:48:13.724/2.184 Oracle Coherence GE 3.7.0.0 <D5> (thread=Invocation:Management, member=2): Service Management joined the cluster with senior service member 1
    2011-07-08 10:48:13.809/2.268 Oracle Coherence GE 3.7.0.0 <Info> (thread=main, member=2): Loaded cache configuration from "file:/D:/Repositories/Workspaces/eclipseDefault/InsertValue/build/classes/coherence-cache-config.xml"
    Value in cache is Gene Smith
    2011-07-08 10:48:13.855/2.314 Oracle Coherence GE 3.7.0.0 <D4> (thread=ShutdownHook, member=2): ShutdownHook: stopping cluster node
    h2. Reading is not working
    2011-07-08 10:50:25.468/0.543 Oracle Coherence 3.7.0.0 <Info> (thread=main, member=n/a): Loaded operational configuration from "jar:file:/D:/Repositories/Bin/coherence-java-3.7.0/coherence/lib/coherence.jar!/tangosol-coherence.xml"
    2011-07-08 10:50:25.510/0.585 Oracle Coherence 3.7.0.0 <Info> (thread=main, member=n/a): Loaded operational overrides from "jar:file:/D:/Repositories/Bin/coherence-java-3.7.0/coherence/lib/coherence.jar!/tangosol-coherence-override-dev.xml"
    2011-07-08 10:50:25.537/0.612 Oracle Coherence 3.7.0.0 <Info> (thread=main, member=n/a): Loaded operational overrides from "file:/D:/Repositories/Workspaces/eclipseDefault/InsertValue/build/classes/tangosol-coherence-override.xml"
    2011-07-08 10:50:25.541/0.616 Oracle Coherence 3.7.0.0 <D5> (thread=main, member=n/a): Optional configuration override "/custom-mbeans.xml" is not specified
    Oracle Coherence Version 3.7.0.0 Build 23397
    Grid Edition: Development mode
    Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.
    2011-07-08 10:50:26.136/1.211 Oracle Coherence GE 3.7.0.0 <D4> (thread=main, member=n/a): TCMP bound to /10.17.16.61:8090 using SystemSocketProvider
    2011-07-08 10:50:26.548/1.623 Oracle Coherence GE 3.7.0.0 <Info> (thread=Cluster, member=n/a): This Member(Id=3, Timestamp=2011-07-08 10:50:26.398, Address=10.17.16.61:8090, MachineId=2877, Location=site:MyLocation,machine:MyPC,process:2376, Role=MyFirstSampleReader, Edition=Grid Edition, Mode=Development, CpuCount=4, SocketCount=4) joined cluster "cluster:0x96AB" with senior Member(Id=1, Timestamp=2011-07-08 10:48:09.963, Address=10.17.16.61:8088, MachineId=2877, Location=site:MyLocation,machine:MyPC,process:7896, Role=CoherenceServer, Edition=Grid Edition, Mode=Development, CpuCount=4, SocketCount=4)
    2011-07-08 10:50:26.563/1.638 Oracle Coherence GE 3.7.0.0 <D5> (thread=Cluster, member=n/a): Member 1 joined Service Cluster with senior member 1
    2011-07-08 10:50:26.563/1.638 Oracle Coherence GE 3.7.0.0 <D5> (thread=Cluster, member=n/a): Member 1 joined Service Management with senior member 1
    2011-07-08 10:50:26.563/1.638 Oracle Coherence GE 3.7.0.0 <D5> (thread=Cluster, member=n/a): Member 1 joined Service DistributedCache with senior member 1
    2011-07-08 10:50:26.563/1.638 Oracle Coherence GE 3.7.0.0 <D5> (thread=Cluster, member=n/a): Member 1 joined Service ReplicatedCache with senior member 1
    2011-07-08 10:50:26.563/1.638 Oracle Coherence GE 3.7.0.0 <D5> (thread=Cluster, member=n/a): Member 1 joined Service OptimisticCache with senior member 1
    2011-07-08 10:50:26.563/1.638 Oracle Coherence GE 3.7.0.0 <D5> (thread=Cluster, member=n/a): Member 1 joined Service InvocationService with senior member 1
    2011-07-08 10:50:26.566/1.641 Oracle Coherence GE 3.7.0.0 <Info> (thread=main, member=n/a): Started cluster Name=cluster:0x96AB
    Group{Address=224.3.7.0, Port=3155, TTL=4}
    MasterMemberSet
    ThisMember=Member(Id=3, Timestamp=2011-07-08 10:50:26.398, Address=10.17.16.61:8090, MachineId=2877, Location=site:MyLocation,machine:MyPC,process:2376, Role=MyFirstSampleReader)
    OldestMember=Member(Id=1, Timestamp=2011-07-08 10:48:09.963, Address=10.17.16.61:8088, MachineId=2877, Location=site:MyLocation,machine:MyPC,process:7896, Role=CoherenceServer)
    ActualMemberSet=MemberSet(Size=2, BitSetCount=2
    Member(Id=1, Timestamp=2011-07-08 10:48:09.963, Address=10.17.16.61:8088, MachineId=2877, Location=site:MyLocation,machine:MyPC,process:7896, Role=CoherenceServer)
    Member(Id=3, Timestamp=2011-07-08 10:50:26.398, Address=10.17.16.61:8090, MachineId=2877, Location=site:MyLocation,machine:MyPC,process:2376, Role=MyFirstSampleReader)
    RecycleMillis=1200000
    RecycleSet=MemberSet(Size=0, BitSetCount=0
    TcpRing{Connections=[1]}
    IpMonitor{AddressListSize=0}
    2011-07-08 10:50:26.616/1.691 Oracle Coherence GE 3.7.0.0 <D5> (thread=Invocation:Management, member=3): Service Management joined the cluster with senior service member 1
    2011-07-08 10:50:26.700/1.775 Oracle Coherence GE 3.7.0.0 <Info> (thread=main, member=3): Loaded cache configuration from "file:/D:/Repositories/Workspaces/eclipseDefault/InsertValue/build/classes/coherence-cache-config.xml"
    Value in cache is null
    2011-07-08 10:50:26.745/1.820 Oracle Coherence GE 3.7.0.0 <D4> (thread=ShutdownHook, member=3): ShutdownHook: stopping cluster node
    h5. Does anyone has any thoughts about what I could have done wrong and are there any ways to get more debug info to investigate this further?

  • All about Oracle Coherence 3.6

    Hai Gurus,
    anybody know about Oracle Coherence 3.6, i want to more details about this, any tutorial ? pls help me

    You mean something like http://www.oracle.com/technetwork/middleware/coherence/overview/index.html - which is the first result in a Google search for "oracle coherence?"
    John

  • Getting Error Oracle Coherence GE 3.6.0.4 Error (thread=ReplicatedCache in SOA managed servers

    Hi All,
    In my SOA Domain having one Admin and 4 Managed Servers (SOA). We are getting the following errors from my manager server logs:
    [2014-11-18T05:55:13.009-05:00] [domain_name01] [ERROR] [] [Coherence] [tid: Logger@9242415 3.6.0.4] [userId: <anonymous>] [ecid: 0000KazENYdAPPTGUAFCFs1KQ^kW000002,1:31105] [APP: soa-infra] 2014-11-18 05:55:13.009/55706.396 Oracle Coherence GE 3.6.0.4 <Error> (thread=ReplicatedCache:domain_name_domain_clusterCacheService, member=1): Detected soft timeout) of {WrapperGuardable Guard{Daemon=ReplicatedCache:domain_name_domain_clusterCacheService:EventDispatcher} Service=ReplicatedCache{Name=domain_name_domain_clusterCacheService, State=(SERVICE_STARTED), Id=2, Version=3.0, OldestMemberId=4}}
    [2014-11-18T05:55:13.018-05:00] [domain_name01] [ERROR] [] [Coherence] [tid: Logger@9242415 3.6.0.4] [userId: <anonymous>] [ecid: 0000KazENYdAPPTGUAFCFs1KQ^kW000002,1:31105] [APP: soa-infra] 2014-11-18 05:55:13.014/55706.401 Oracle Coherence GE 3.6.0.4 <Error> (thread=ReplicatedCache:domain_name_domain_clusterCacheService:EventDispatcher, member=1): An exception occurred while dispatching the following event:[[
    [2014-11-18T05:55:13.020-05:00] [domain_name01] [ERROR] [] [Coherence] [tid: Logger@9242415 3.6.0.4] [userId: <anonymous>] [ecid: 0000KazENYdAPPTGUAFCFs1KQ^kW000002,1:31105] [APP: soa-infra] 2014-11-18 05:55:13.014/55706.401 Oracle Coherence GE 3.6.0.4 <Error> (thread=ReplicatedCache:domain_name_domain_clusterCacheService:EventDispatcher, member=1): The following exception was caught by the event dispatcher:
    [2014-11-18T05:55:13.030-05:00] [domain_name01] [ERROR] [] [Coherence] [tid: Logger@9242415 3.6.0.4] [userId: <anonymous>] [ecid: 0000KazENYdAPPTGUAFCFs1KQ^kW000002,1:31105] [APP: soa-infra] 2014-11-18 05:55:13.014/55706.401 Oracle Coherence GE 3.6.0.4 <Error> (thread=ReplicatedCache:domain_name_domain_clusterCacheService:EventDispatcher, member=1): [[
            at oracle.integration.platform.blocks.deploy.CoherenceCompositeDeploymentCoordinatorImpl.storeError(CoherenceCompositeDeploymentCoordinatorImpl.java:672)
    [2014-11-18T05:55:13.034-05:00] [domain_name01] [ERROR] [] [Coherence] [tid: Logger@9242415 3.6.0.4] [userId: <anonymous>] [ecid: 0000KazENYdAPPTGUAFCFs1KQ^kW000002,1:31105] [APP: soa-infra] 2014-11-18 05:55:13.014/55706.401 Oracle Coherence GE 3.6.0.4 <Error> (thread=ReplicatedCache:domain_name_domain_clusterCacheService:EventDispatcher, member=1): (The service event thread has logged the exception and is continuing.)
    Can you pleae help on this to resolve this issue.
    Thanks,
    Srini..

    Hi Paul
    I have submitted the service request:
    - Problem Summary: Oracle Coherence GE 3.7.0.0 <Error> - Failed to apply delta
    - SR number: 3-4238261231
    When using two or more nodes and use PortableObject as the serialization mechanism the problem is constantly reproducible.

  • Oracle Coherence Examples with Oracle SOA suite 11.1.1.4.0 and JDeveloper.

    Hi,
    I am new to Oracle Coherence. I was looking for examples implementing Oracle Coherence step by step so as to get a basic understanding using JDeveloper but most of the examples available are using Oracle Service Bus and Eclipse.
    Could anyone please help me in providing link with examples using Oracle Coherence with Oracle SOA suite 11.1.1.4.0 and JDeveloper.
    Thanks for the needful.
    Cheers,
    Varun

    Hi Varun,
    Please find the answers to your questions below:
    1) Could you please let me know how to use this system property -Dtangosol.coherence.override in my application so that I can coordinate between the cluster used by my application and the one started for using Coherence Node.
    You need to specify this property in the Java Options of your server or cache node startup script.
    2) I was trying to understand how to use this tangosol-coherence-override.xml but the document is pretty confusing. I am not able to understand that whether I am suppose to use it at server level or at application level.
    I would suggest extract the coherence.jar and you it would be important for you to have a look at the tangosol-coherence.xml and tangosol-coherence-override.xml. This file is used to override any of the properties specified in tangosol-coherence.xml for your cluster configuration for example, clustername, multicast ip and port or WKA for unicast, logging and so on.
    3) Another point is how to coordinate among tangosol-coherence-override.xml, coherence-cache-config.xml and -Dtangosol.coherence.override system property from my application
    Ideally you should specify in the java options of your application startup but you can also sepcify using System.setProperty("property", "value") in you code for specifying the various properties
    4) How to use the cache updating mechanisms from an application?
    I am not clear what do you mean by cache updating mechanisms? If you mean how you can update the cache from application then you can use simple Put, Entry Processor and so on. Refer NamedCache APIs to start with for operations but there many other ways to update the cache from within application or otherwise
    Hope this helps!
    Cheers,
    NJ

  • What are the prospects of Oracle Coherence?

    What are the prospects of Oracle Coherence, optimistic or Pessimistic?
    Is Oracle Coherence popularly used now? Will be very popular in the near future?
    Thanks
    Edited by: frank.qian on May 27, 2009 6:23 PM

    The product is very good at what it does. How that relates to this forum, however, is a bit beyond me at the moment.
    Do you have a specific question that relates to "Database - General?"

  • Oracle Coherence vs IBM WebSphere Extended Deployment

    Hi All,
    Does anyone compared the features of oracle coherence vs IBM WebSphere Extended Deployment Grid? If so, Which one is best among them.
    Thanks in advance,
    Shiva

    Hi All,
    Does anyone compared the features of oracle coherence vs IBM WebSphere Extended Deployment Grid? If so, Which one is best among them.
    Thanks in advance,
    Shiva

  • Oracle Coherence*Web and BlazeDS: Multiple FlexSessions created for the same HttpSession

    Hi all,
    I have searched this forum and found a lot of good information from Alex Glosband and others about the infamous "Detected duplicate HTTP - based FlexSessions, generally due to the remote host disabling session cookies. Session coolkies must be enable to manage the client connection correctly." message.
    It seems, however, none of the cases are identical to ours. This is ours:
    - Resin 3.1.9
    - Oracle Coherence 3.7.1 with Coherence*Web (session replication)
    With this setup we get the "Detected duplicate HTTP..." message on the first attempt to use BlazeDS and on every subsequent call.  The same client and server code works fine in a local sessions setup.  With Coherence 3.3 (currently our production environment) it seems to occur less frequently, but still as frequent as it is a major issue for us.  It fails even with a single node using in-process distributed caching in our test setup (as well as with multi node out of process caching in our staging environment, for Coherence knowledgeable the resin app server runs with tangosol.coherence.session.localstorage=true in the first case and false in the second).
    Both the listener and message broker are mapped as "Coherence aware" in web.xml[1] so that they should use clustered sessions.
    We have been digging a bit and we found out that if we commented out lines 427 and 434 of flex.messaging.endpoints.BaseHTTPEndpoint from version 4.0.0.14931 it seems to mask the bug.  We added some logging in the setupFlexClient method and it seems that we get more or less a new FlexSession for each and every call - but they have the same cookie and thus underlying HttpSession. I.e. the list returned from flexClient.getFlexSessions() keeps growing. Thus we are not so keen on going to production with that memory leak and the above mentioned ugly hack of commenting out the detection of duplicates.
    We use request scope for the remote object, but could in theory use any scope as we do not really have any state on the object itself, it is all HttpSession state and return values that are key (logon is performed prior to doing the first blaze call, in pure forms and ajax, and it is not a timing issue in that regard we are seeing).
    Hope someone can shed some light on what can be happening. Is there any "reference testing"[2] or something when the FlexSessions are created that makes them being created as new? Where are they created?  We do not know the inner workings of the BlazeDS source, we just watched the call trace of the unwanted invalidation and found that to be line 427 of flex.messaging.endpoints.BaseHTTPEndpoint.
    Can we disable FlexSessions?  Since the flex and plain html parts of the app share the sessions, we always use FlexContext.getHttpRequest().getSession() anyway, never storing any state directly in the FlexSession or on the remote object. Or maybe there is a config option to help us with this detection (or creation) of multiple FlexSessions?
    Cheers and TIA,
    -S-
    [1] - For instance, this i the message broker servlet def:
    <servlet>
    <servlet-name>MessageBrokerServlet</servlet-name>
      <display-name>MessageBrokerServlet</display-name>
    <servlet-class>com.tangosol.coherence.servlet.api22.ServletWrapper</servlet-class>       
    <init-param>
    <param-name>coherence-servlet-class</param-name>
    <param-value>flex.messaging.MessageBrokerServlet</param-value>
    </init-param>       
    <init-param>
    <param-name>services.configuration.file</param-name>
    <param-value>/WEB-INF/flex/services-config.xml</param-value>
    </init-param>
    <load-on-startup>1</load-on-startup>
    </servlet>
    [2] - As you undertstand this is speculation based on pure air, but it could be that in Coherence there was a serialization/deserialization happening somehow that would break such a test?

    Just a quick update, it seems things are running in a stable fashion (and without visible memory leaks, just keeping the latest FlexSession) with these changes in BaseHTTPEndpoint:
         * Overrides to guard against duplicate HTTP-based sessions for the same FlexClient which will occur if the remote host has disabled session
         * cookies.
         * @see AbstractEndpoint#setupFlexClient(String)
        @Override
        public FlexClient setupFlexClient(String id) {
            log.debug("setupFlexClient start id " + id);
            FlexClient flexClient = super.setupFlexClient(id);
            // Scan for duplicate HTTP-sessions and if found, invalidate them and throw a MessageException.
            // A request attribute is used to deal with batched AMF messages that arrive in a single request by trigger multiple passes through this
            // method.
            boolean duplicateSessionDetected = (FlexContext.getHttpRequest().getAttribute(REQUEST_ATTR_DUPLICATE_SESSION_FLAG) != null);
            if (!duplicateSessionDetected) {
                List<FlexSession> sessions = flexClient.getFlexSessions();
                log.debug("Client has " + sessions.size() + " sessions.");
                int n = sessions.size();
                if (n > 1) {
                    int count = 0;
                    for (int i = 0; i < n; i++) {
                        if (sessions.get(i) instanceof HttpFlexSession)
                            count++;
                        if (count > 1) {
                            FlexContext.getHttpRequest().setAttribute(REQUEST_ATTR_DUPLICATE_SESSION_FLAG, Boolean.TRUE);
                            duplicateSessionDetected = true;
                            break;
            // If more than one was found, remote host isn't using session cookies. Kill all duplicate sessions and return an error.
            // Simplest to just re-scan the list given that it will be very short, but use an iterator for concurrent modification.
            int i = 0;
            if (duplicateSessionDetected) {
                List<FlexSession> sessions = flexClient.getFlexSessions();
                log.debug("Detected sessions from client: " + sessions);
                for (FlexSession session : sessions) {
                    if (session instanceof HttpFlexSession && i < sessions.size()) {
    //                    log.debug("----> sessionId: " + session.getId());
    //                    Enumeration e1 = session.getAttributeNames();
    //                    while (e1.hasMoreElements()) {
    //                        Object key = e1.nextElement();
    //                        log.debug("--------->" + key + "--------->" + session.getAttribute((String) key));
    //                    session.invalidate();
                        flexClient.sessionDestroyed(session);
                    i++;
                // Return an error to the client.
    //            DuplicateSessionException e = new DuplicateSessionException();
    //            e.setMessage(ERR_MSG_DUPLICATE_SESSIONS_DETECTED);
    //            throw e;
            return flexClient;
    It is not exactly beautiful (to say the least), but if it does the trick I might just be pragmatic enough to go with it... NB: I am of course not proposing this as a patch to this file or anything, it is just an ugly hack for our specific case, but maybe the information can help the BlazeDS team find the root cause making it incompatible with Coherence*Web.
    Will give it a test run on our staging servers.

Maybe you are looking for