Oracle Coherence data update

Hi,
I have one application already using Oracle coherence situated on server X.
My other application is situated on server Y.
cache hold around 1 million records.
I want to use cache in my application on server Y , and it should be in synch with cache on server X.
It can be updated on timely basis.
what could be efficient way to achieve this ?

Can you use coherence in server Y? If so, consider using near cache with local cache as a front map and correct invalidation strategy. It will cache only subset of records while allow server Y to get updated cached entries as the objects in server X change. http://coherence.oracle.com/display/COH34UG/Near+Cache

Similar Messages

  • Keep Oracle Spatial data in Coherence Caches?

    Can I keep Oracle Spatial data in Coherence Caches?

    You can store the Oracle Spatial data in Coherence caches. But creating Spatial indexes in Coherence neeeds too much effort, I guess. How do you create the Spatial geocoding package, map symbols, map styling rules and Spatial network model?
    Edited by: junez on 07-Jan-2010 12:24

  • How to put the data into cache and distribute to nodeusing oracle coherence

    Hi Friends,
    i am having some random number data writing into file,from that file i am reading the data and i want to put into cache,how can i put the data into cache and partition this data into different nodes ( machines) to caluculate like S.D,variance..etc..like that.(or how can i implement montecarlo using oracle coherence) if any one know plz suggest me with flow.
    Thank you.
    regards
    chandra

    Hi robert,
    i have some bulk data in some arraylist or object format,i want to put into cache.
    i am not able to put into cache.i am using put method like cache.put(object key ,object value) ,but its not allowing to put into cache.
    can you please help me.i m sending my code.plz go thru and tel me whr i did mistake.
    package lab3;
    import com.tangosol.net.CacheFactory;
    import com.tangosol.net.NamedCache;
    import com.tangosol.net.cache.NearCache;
    import java.io.File;
    import java.io.FileNotFoundException;
    import java.io.PrintWriter;
    import java.util.ArrayList;
    import java.util.List;
    import java.util.Random;
    import java.util.Scanner;
    import javax.naming.Name;
    public class BlockScoleData {
         * @param args
         * s=The spot market price
         * x=the exercise price of the option
         * v=instantaneous standard deviation of s
         * r=risk free instantaneous rate of interest
         * t= time to expiration of the option
         * n – Number of MC simulations.
         private static String outputFile = "D:/cache1/sampledata2.txt";
    private static String inputFile = "D:/cache1/sampledata2.txt";
    NearCache cache;
    List<Credit> creditList = new ArrayList<Credit>();
         public void writeToFile(int noofsamples) {
              Random rnd = new Random();
              PrintWriter writer = null;
              try {
                   writer = new PrintWriter(outputFile);
                   for (int i = 1; i <= noofsamples; i++) {
                        double s = rnd.nextInt(200) * rnd.nextDouble();
                        //double x = rnd.nextInt(250) * rnd.nextDouble();
                        int t = rnd.nextInt(5);
                        double v = rnd.nextDouble() ;
                        double r = rnd.nextDouble() / 10;
                        //int n = rnd.nextInt(90000);
                        writer.println(s + " " + t + " " + v + " "
                                  + r );
              } catch (FileNotFoundException e) {
                   e.printStackTrace();
              } finally {
                   writer.close();
                   writer = null;
    public List<Credit> readFromFile() {
    Scanner scanner = null;
    Credit credit = null;
    // List<Credit> creditList = new ArrayList<Credit>();
    try {
    scanner = new Scanner(new File(inputFile));
    while (scanner.hasNext()) {
    credit = new Credit(scanner.nextDouble(), scanner.nextInt(),
    scanner.nextDouble(), scanner.nextDouble());
    creditList.add(credit);
    System.out.println("read the list from file:"+creditList);
    } catch (FileNotFoundException e) {
    e.printStackTrace();
    } finally {
    scanner.close();
    credit = null;
    scanner = null;
    return creditList;
    // public void putCache(String cachename,List<Credit> list){
    // cache = CacheFactory.getCache ( "VirtualCache");
    // List<Credit> rand = new ArrayList<Credit>();
    public Object put(Object key, Object value){
    cache = (NearCache)CacheFactory.getCache("mycache");
    String cachename = cache.getCacheName();
    List<Credit> cachelist=new ArrayList<Credit>();
    // Object key;
    //cachelist = (List<Credit>)cache.put(creditList,creditList);
    cache.put(creditList,creditList);
    System.out.println("read to the cache list from file:"+cache.get(creditList));
    return cachelist;
         public static void main(String[] args) throws Exception {
         NearCache cache = (NearCache)CacheFactory.getCache("mycache");
              new BlockScoleData().writeToFile(20);
         //new BlockScoleData().putCache("Name",);
              System.out
                        .println("New file \"myfile.csv\" has been created to the current directory");
         CacheFactory.ensureCluster();
         new BlockScoleData().readFromFile();
    System.out.println("data read from file successfully");
         List<Credit> creditList = new ArrayList<Credit>();
    new BlockScoleData().put(creditList,creditList);
         System.out.println("read to the cache list from file:"+cache.get(creditList));
    //cache=CacheFactory.getCache("mycache");
    //mycacheput("Name",new BlockScoleData());
    //     System.out.println("name of cache is :" +mycache.getCacheName());
    //     System.out.println("value in cache is :" +mycache.get("Name"));
    //     System.out.println("cache services are :" +mycache.getCacheService());
    regards
    chandra

  • Oracle Coherence database sync while table refresh

    Hello,
    I am using Oracle Coherence to cache a database table for read only puposes. However, my question is that this table needs to be fully refreshed every night and during this time I want to retain the cache in Oracle Coherence and do not want it to be recycled as well since it has to be available 24X7. Is there a way to do that? I am thinking of using a custom CacheStore class that will have its own local cache of the table or the other approach will be to look up in the shadow table while the primary table is being refreshed? Are there any other optimum ways to do this? The primary consideration for me is fast response.
    Any help will be appreciated.
    Thanks,
    Jay

    Hi Jay,
    No, I am not suggesting to stop or start the JVMs. Everything will continue run as it was running ...
    The Nightly refresh process that loads the data will load in non-active version of the cache (dataCache). Once the load is completed, it will update the MarkerCache (markerCache) with this version. All the client requests will follow something like this:
    //Lookup in markerCache which version of the data cache is active
    NamedCache markerCache=CacheFactory.getCache("markerCache");
    String str=markerCache.get("dataCacheName");
    //The cache which has the refreshed and updated data (dataCachev1 or dataCachev2)
    NamedCache dataCache=CacheFactory.getCache(str);
    For the nightly refresh process, you will do something like this:
    NamedCache markerCache=CacheFactory.getCache("markerCache");
    String str=markerCache.get("dataCacheName");
    if ("dataCachev1".equals(str)){
           NamedCache newDataCache=CacheFactory.getCache("dataCachev2");
           //load the data{ }
           //update the marker Cache with this newly loaded cache; from now on the client will start using this newly loaded cache
           markerCache.get("dataCacheName","dataCachev2");
           // wait for few minutes to let all the old request complete
           //destroy the old cache
           CacheFactory.getCache("dataCachev1").destroy();
    } else{
        //do the reverse for dataCachev1 and dataCachev2
    }The only thing you need to note is that there might still be some requests using the dataCachev1 when it is destroyed so you need to handle the exception gracefully at the client application.
    Please note, that you should optimize the code to minimize the time spent in lookup of the markerCache by using Maplisteners as appropriate.
    Hope this helps!
    Cheers,
    NJ

  • Oracle Coherence Technical Architecture

    All,
    I am currently looking to re-architect a Java based web service project that handles millions of (read-only) transactions a day. We currently return results very quickly (~3 milliseconds per transaction).
    We have 12 application servers running IBM Websphere Application Server that hits a 3 node Oracle RAC. Very few database calls are made, however, since important data is held in an in-memory (heap) cache that is currently about 6 GB. The data isn't static, but it is only updated 4 or 5 times a year.
    New enhancements are going to push the cache size to around 25 GB. We could get new RAM, but we have run into garbage collection issues with the current heap size.
    I am researching new caching implementations, and Oracle Coherence has come up. I have two questions:
    1) Do the coherence servers typically sit on the database tier, or the application tier?
    2) Does anyone have any performance metrics on local, in-memory cache lookups versus using a distributed caching approach like Coherence?
    Thanks,
    Jon

    Hi Jon,
    jon_wilk wrote:
    All,
    I am currently looking to re-architect a Java based web service project that handles millions of (read-only) transactions a day. We currently return results very quickly (~3 milliseconds per transaction).
    We have 12 application servers running IBM Websphere Application Server that hits a 3 node Oracle RAC. Very few database calls are made, however, since important data is held in an in-memory (heap) cache that is currently about 6 GB. The data isn't static, but it is only updated 4 or 5 times a year.
    New enhancements are going to push the cache size to around 25 GB. We could get new RAM, but we have run into garbage collection issues with the current heap size.
    I am researching new caching implementations, and Oracle Coherence has come up. I have two questions:
    1) Do the coherence servers typically sit on the database tier, or the application tier?It is usually considered the part of the application tier, but you can consider it a tier on its own for certain configurations.
    2) Does anyone have any performance metrics on local, in-memory cache lookups versus using a distributed caching approach like Coherence?
    IMHO, you should measure scenarios relevant to you, not use other people's metrics which likely are not applicable to your environment and requirements anyway. You should write your own tests with data retrieval and data storage implemented for your needs and optimized for Coherence's capabilities.
    Best regards,
    Robert

  • 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                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Unable to connect SQL Developer 4.0.2 to Oracle REST Data Services 2.0.7 (Apex Listener)

    Background
    1. Weblogic 10.3.6.0 running on Oracle Linux 6.5 with Oracle JRockit(R) (build R28.2.3-13-149708-1.6.0_31-20120327-1523-linux-x86_64, compiled mode)
    2. Oracle Apex 4.2.1
    3. Apex Listener 1.1.3
    4. Apex and Apex Listener running on the Weblogic box above
    5. SQL Developer 4.0.2 running on Windows 7 64 bit / Java 1.7.0_55
    Updated Apex to 4.2.5 via p17966818_425_Generic.zip patchset. Apex environment running fine as do all applications via Listener 1.1.3
    Updated Oracle Listener to the latest version of Oracle REST Data Services 2.0.7
    Current Status
    Apex Applications and RESTful services are running fine.
    Problem
    Unable to connect SQL Developer 4.0.2 to Oracle REST Data Services 2.0.7
    Error message in SQL Developer - Cannot connect to DEV. HTTP/1.1 403 Target service not allowed
    Additional Information
    Steps followed -
    1. The oracle users APEX_LISTENER and APEX_REST_PUBLIC_USER did not exist, so I ran apex_rest_config.sql from the APEX 2.4.1 patchset whilst connected sys as sysdba and provided the same password as APEX_PUBLIC_USER for both users.
    2. I also ran
    grant insert, delete on APEX_040200.wwv_flow_rt$privilege_groups to APEX_LISTENER;
    alter session set current_schema = APEX_LISTENER;
    create or replace synonym wwv_flow_rt$privilege_groups for APEX_040200.wwv_flow_rt$privilege_groups;
    as per Oracle SQL Developer User's Guide Release 4.0
    3. copied ords.war to apex.war
    4. java -jar apex.war configdir /u01/app/oracle/admin/apex/devdomain1/
    5. java -jar apex.war
    Jun 5, 2014 5:15:31 PM oracle.dbtools.common.config.file.ConfigurationFolder logConfigFolder
    INFO: Using configuration folder: /u01/app/oracle/admin/apex/devdomain1/apex
    Enter the name of the database server [localhost]:dbservername
    Enter the database listen port [1521]:
    Enter 1 to specify the database service name, or 2 to specify the database SID [1]:1
    Enter the database service name:dbservicename
    Enter the database user name [APEX_PUBLIC_USER]:
    Enter the database password for APEX_PUBLIC_USER:
    Confirm password:
    Enter 1 to enter passwords for the RESTful Services database users (APEX_LISTENER,APEX_REST_PUBLIC_USER), 2 to use the same password as used for APEX_PUBLIC_USER or, 3 to skip this step [1]:2
    Jun 5, 2014 5:16:52 PM oracle.dbtools.common.config.file.ConfigurationFiles update
    INFO: Updated configurations: defaults, apex, apex_al, apex_rt
    Enter 1 if you wish to start in standalone mode or 2 to exit [1]:2
    6. java -jar apex.war user adminlistener "Listener Administrator"
    Jun 5, 2014 5:18:52 PM oracle.dbtools.common.config.file.ConfigurationFolder logConfigFolder
    INFO: Using configuration folder: /u01/app/oracle/admin/apex/devdomain1/apex
    Enter a password for user adminlistener:
    Confirm password for user adminlistener:
    Jun 6, 2014 5:19:12 PM AM oracle.dbtools.standalone.ModifyUser execute
    INFO: Created user: adminlistener in file: /u01/app/oracle/admin/apex/devdomain1/apex/credentials
    7. Updated the defaults.xml file
    Added
    <entry key="apex.security.user.roles">RESTful Services</entry>
    <entry key="apex.security.developer.roles">OAuth2 Client Developer, SQL Developer</entry>
    as per Oracle SQL Developer User's Guide Release 4.0
    Changed
    <entry key="debug.printDebugToScreen">false</entry>
    to
    <entry key="debug.printDebugToScreen">true</entry>
    for RESTful debugging
    Added
    <entry key="security.verifySSL">false</entry>
    to use OAuth2 in Non HTTPS Environment as per Oracle® REST Data Services Installation and Configuration Guide, Release 2.0
    8. Deleted the Admin and Manager Roles within the apex application deployment which were part of the Apex Listener 1.1.3 install
    9. Deployed the apex.war in weblogic
    10. Stopped and started the weblogic server to which apex.war was deployed
    11. In SQL Developer, View, RESTful Services. In the RESTful services windows hit connect, Create a new connection,
    Connection Name DEV
    Username adminlistener
    selected http protocol
    Hostname weblogicservername
    Port 7250
    Server Path /apex
    Workspace (blank)
    On the Authentication dialog
    Username adminlistener
    Password passwordsuppliedabove in step 6
    Response is a dialog box titled Authentication Failed
    message - Cannot connect to DEV. HTTP/1.1 403 Target service not allowed
    NOTHING UNUSUAL IN ANY OF THE WEBLOGIC LOG FILES, EXCEPT THAT IT STATES
    'Oracle REST Data Services version : 2.0.6.27.18.06' when I've installed 2.0.7.
    Any help much appreciated

    Further to the above post, I thought I'd simplify my Apex Listener install just to see if I can connect to it via SQL Developer
    So downloaded the latest version 2.0.8 and decided to configure and run the Listener on my pc whilst still connecting to the same database.
    Operating system : Window 7 Pro 64 bit
    Oracle Apex Listener 2.0.8
    Java(TM) SE Runtime Environment (build 1.7.0_25-b17)
    Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode)
    Went through the configuration as above, once started I tried again to access the listener via SQL Developer. This time I received this output from the listener:
    INFO: Error: ORA-02291: integrity constraint (APEX_040200.WWV_FLOW_RT$APPROVALS_SGID_FK) violated - parent key not found, occurred during execution of: [CALL, insert into wwv_flow_rt$approvals (user_name,status,client_id,security_group_id,created_by,created_on,updated_by,updated_on) values(/*in:user_id*/?,/*in:status*/?,/*in:client_id*/?,/*in:tenant_id*/?,upper(/*in:user_id*/?),/*in:created*/?,upper(/*in:user_id*/?),/*in:created*/?), [tenant_id, in, class java.math.BigInteger], [client_id, in, class java.math.BigInteger], [user_id, in, class java.lang.String], [status, in, class oracle.dbtools.rt.oauth.ApprovalRequest$Status], [created, in, class java.sql.Timestamp]]with values: [adminlistener, APPROVED, 3858401374580004, -1, adminlistener, 2014-06-23 12:19:18.785, adminlistener, 2014-06-23 12:19:18.785]
    SQL Developer responded with an Authentication Failed titled dialog with the following displayed in the body of the dialog
    Cannot connect to DEV.
    <!DOCTYPE html>
    <!--[if lt IE 7 ]> <html class="ie6"> <![endif]-->
    <!--[if IE 7 ]> <html class="ie7 no-css3"> <![endif]-->
    <!--[if IE 8 ]> <html class="ie8 no-css3"> <![endif]-->
    <!--[if IE 9 ]> <html class="ie9"> <![endif]-->
    <!--[if (gt IE 9)|!(IE)]><!-->
    <html>
    <!--<![endif]-->
    <html lang="en">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <style type="text/css" media="screen">html,body,div,span,h3,p,ol,ul,li,header,hgroup{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}header,hgroup{display:block}body{font:normal 12px/16px Arial,sans-serif;margin:0 auto;background:#6a9cda}header#xHeader{border-bottom:1px solid #8fa4c0;position:relative;z-index:10;background:none #000}header#xHeader hgroup{width:974px;margin:0 auto;position:relative;height:36px;background:none #000}header#xHeader a#uLogo{margin:8px 0;display:inline-block;font:bold 14px/20px Arial,sans-serif;color:#AAA;text-decoration:none}header#xHeader a#uLogo span.logo{color:#F00}.no-css3 div#xContentContainer div.xContent{padding-top:14px}.no-css3 div#xContentContainer div.xContent div.xMainLeft h2{margin-top:0}div#xWhiteContentContainer{margin-bottom:30px}div#xWhiteContentContainer.xContentWide{background:#FFF;margin-bottom:0}div#xWhiteContentContainer.xContentWide div.xWhiteContent{-moz-border-radius:0;-webkit-border-radius:0;border-radius:0;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none}div#xWhiteContentContainer div.xWhiteContent{width:974px;margin:0 auto;padding:0 0 20px 0;background:#FFF;min-height:500px;-moz-border-radius:0 4px 4px 4px;-webkit-border-radius:0 4px 4px 4px;border-radius:0 4px 4px 4px;-moz-box-shadow:0 1px 2px rgba(0,0,0,0.15);-webkit-box-shadow:0 1px 2px rgba(0,0,0,0.15);box-shadow:0 1px 2px rgba(0,0,0,0.15)}div#xContentHeaderContainer{background:#6a9cda;-moz-box-shadow:0 -1px 0 rgba(0,0,0,0.15) inset;-webkit-box-shadow:0 -1px 0 rgba(0,0,0,0.15) inset;box-shadow:0 -1px 0 rgba(0,0,0,0.15) inset}div#xContentHeaderContainer div.xContentHeader{width:974px;margin:0 auto;padding:30px 0 32px 0;position:relative;min-height:60px}div#xContentHeaderContainer div.xContentHeader h3{font:bold 24px/24px Arial,sans-serif;color:#fff;text-shadow:0 2px 1px rgba(0,0,0,0.25);margin:0 0 20px 0}div#xFooterContainer{min-height:200px;border-top:1px solid rgba(0,0,0,0.15);background:#6a9cda}body.errorPage div#xContentHeaderContainer div.xContentHeader{min-height:30px}body.errorPage div#xContentHeaderContainer div.xContentHeader h3{font:bold 30px/30px Arial,sans-serif;color:#FFF;text-shadow:0 1px 2px rgba(0,0,0,0.25);margin:0}div.errorPage p{font:normal 14px/20px Arial,sans-seri;color:#666;padding:0 0 10px 0}div.errorPage ul{list-style:disc outside;padding:0 10px 0;margin:0 0 20px 0}div.errorPage ul li{font:normal 12px/16px Arial,sans-serif;color:#666;margin:0 0 8px 10px}pre{font-family:Consolas,"Lucida Console","Courier New",Courier,monospace}
    </style>
    <script type="text/javascript" charset="utf-8">
      'header hgroup'.replace(/\w+/g,
      function(n) {
      document.createElement(n)
    </script>
    <title>Internal Server Error</title>
    </head>
    <body class="errorPage">
      <header id="xHeader">
      <hgroup>
      <a id="uLogo" href="./"><span class="logo">ORACLE</span>
      REST DATA SERVICES</a>
      </hgroup>
      </header>
      <div id="xContentHeaderContainer">
      <div class="xContentHeader">
      <h3>
      <span class="statusCode">500</span> - <span
      class="statusMessage">Internal Server Error</span>
      </h3>
      </div>
      </div>
      <div id="xWhiteContentContainer" class="xContentWide">
      <div class="xWhiteContent">
      <div class="errorPage">
      <p>
      <ul class="reasons">
      </ul>
      </p>
      <p>
      <pre>Request Path passes syntax validation
    Mapping request to database pool: PoolMap [_failed=false, _lastUpdate=-1, _pattern=null, _poolName=apex, _regex=null, _type=REGEX, _workspaceIdentifier=null, _serviceName=null]
    Applied database connection info
    Attempting to process with PL&#x2F;SQL Gateway
    Not processed as PL&#x2F;SQL Gateway request
    Attempting to process as a RESTful Service
    Choosing: oracle.dbtools.rt.oauth.TokenHandler as current candidate with score: Score [handle=null, score=0, scope=SecurityConfig [constraint=secure, realm=OAUTH_CLIENT, logonConfig=NONE], originsAllowed=[], corsEnabled=true]
    Determining if request can be dispatched as a Tenanted RESTful Service
    Request path has one path segment, continuing processing
    No Tenant Principal established yet, continuing processing
    APEX_LISTENER pool exists, continuing processing
    No matching tenant found for: oauth2, cannot dispatch
    Chose oracle.dbtools.rt.oauth.TokenHandler as the final candidate with score: Score [handle=null, score=0, scope=SecurityConfig [constraint=secure, realm=OAUTH_CLIENT, logonConfig=NONE], originsAllowed=[], corsEnabled=true] for: POST oauth2&#x2F;token
    oauth2&#x2F;token authorized as: p6xycV-2QceFnFHkWyJlnA..
    </pre>
      </p>
      <p>
      <pre>WebException [statusCode=500]
      at oracle.dbtools.rt.web.WebException.webException(WebException.java:343)
      at oracle.dbtools.rt.web.WebException.internalError(WebException.java:262)
      at oracle.dbtools.rt.oauth.jdbc.JDBCOAuthDataAccess.createApproval(JDBCOAuthDataAccess.java:514)
      at oracle.dbtools.rt.oauth.jdbc.JDBCOAuthDataAccess.createApprovedRequest(JDBCOAuthDataAccess.java:181)
      at oracle.dbtools.rt.oauth.OAuthAuthorization.resourceOwnerCredentials(OAuthAuthorization.java:654)
      at oracle.dbtools.rt.oauth.OAuthAuthorization.tokenRequest(OAuthAuthorization.java:273)
      at oracle.dbtools.rt.oauth.TokenHandler.post(TokenHandler.java:44)
      at oracle.dbtools.rt.web.RequestHandler.response(RequestHandler.java:268)
      at oracle.dbtools.rt.web.RequestHandler.dispatch(RequestHandler.java:361)
      at oracle.dbtools.rt.web.RequestHandler.dispatch(RequestHandler.java:85)
      at oracle.dbtools.rt.web.RequestDispatchers.dispatch(RequestDispatchers.java:93)
      at oracle.dbtools.rt.web.ETags.checkPrecondition(ETags.java:93)
      at oracle.dbtools.rt.web.HttpEndpointBase.restfulServices(HttpEndpointBase.java:426)
      at oracle.dbtools.rt.web.HttpEndpointBase.service(HttpEndpointBase.java:164)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      at com.sun.grizzly.http.servlet.ServletAdapter$FilterChainImpl.doFilter(ServletAdapter.java:1059)
      at com.sun.grizzly.http.servlet.ServletAdapter$FilterChainImpl.invokeFilterChain(ServletAdapter.java:999)
      at com.sun.grizzly.http.servlet.ServletAdapter.doService(ServletAdapter.java:434)
      at oracle.dbtools.standalone.SecureServletAdapter.doService(SecureServletAdapter.java:91)
      at com.sun.grizzly.http.servlet.ServletAdapter.service(ServletAdapter.java:379)
      at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:179)
      at com.sun.grizzly.tcp.http11.GrizzlyAdapterChain.service(GrizzlyAdapterChain.java:196)
      at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:179)
      at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:849)
      at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:746)
      at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1045)
      at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:228)
      at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
      at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
      at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
      at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
      at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
      at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
      at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
      at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
      at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
      at java.lang.Thread.run(Unknown Source)
    Caused by: java.sql.SQLIntegrityConstraintViolationException: ORA-02291: integrity constraint (APEX_040200.WWV_FLOW_RT$APPROVALS_SGID_FK) violated - parent key not found
      at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:447)
      at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:396)
      at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:879)
      at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:505)
      at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:223)
      at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:531)
      at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:208)
      at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1046)
      at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1336)
      at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3612)
      at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3713)
      at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1378)
      at sun.reflect.GeneratedMethodAccessor28.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at oracle.ucp.jdbc.proxy.StatementProxyFactory.invoke(StatementProxyFactory.java:230)
      at oracle.ucp.jdbc.proxy.PreparedStatementProxyFactory.invoke(PreparedStatementProxyFactory.java:124)
      at com.sun.proxy.$Proxy44.execute(Unknown Source)
      at oracle.dbtools.common.jdbc.JDBCInsert.execute(JDBCInsert.java:58)
      at oracle.dbtools.rt.oauth.jdbc.JDBCOAuthDataAccess.createApproval(JDBCOAuthDataAccess.java:487)
      ... 34 more
    </pre>
      </p>
      </div>
      </div>
      </div>
      <div id="xFooterContainer">
      </div>
    </body>
    </html>
    I am assuming this must be part of the problem I am seeing this the Weblogic deployment in my original post.
    Does anyone have any suggestions on how best to tackle this?
    Regards,
    Derek

  • 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

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

  • Keep the Oracle Spatial data in memory

    I can keep any database tables in memory (for fast access) using Oracle Coherence (the In Memory Data Grid).
    Now I want to store Oracle Spatial data in memory, is it possible?

    I think it is possible. The difference is it is not easy to recreate some Spatial-related functions and procedures in caches. But you can invoke them from the in-memory applications using Oracle Spatial Java API.

  • Cannot edit Oracle Spatial data

    Hello,
    I am running into some problems with my Oracle Spatial data. Maybe somebody has some insight. Here's what is going on:
    1) I am able to connect to and view the data in uDig but I cannot edit the data and also the data shows up in the table of contents with a line symbol even though it is polygon data (it renders correctly in the map as polygons). I try using the 'Create Polygon Geometries' tool and it errors saying 'Create Polygon Tool' cannot operate on current layer.
    2) When I try testing edits through WFS-T it errors and tells me that the table is read only.
    The table is in the USERS tablespace and I have verified that it is read/write. I also set object permissions on the user: ALTER, DELETE, INSERT, SELECT, UPDATE
    Am I missing something obvious? Anyone else have this problem? Thanks a lot for any ideas anyone has.

    My apologies for the confusion. My insert statement DID work just fine. I just wasn't seeing it...probably because I was querying the table in Enterprise Manager DB Control and it looks like it takes some time to refresh. So it appears that user permissions are not the issue.
    I have used two data loading methods:
    Before loading data, I needed to create a user defined coordinate reference system:
    1 create projection operation for my custom projection
    2 configure projection parameters
    3 create the projected CRS in mdsys.sdo_coord_ref_system
    First data load steps
    1 shp2sdo.exe my_shapefile my_table -g geom -s 1000002 -v
    2 execute my_table.sql
    3 execute sqlldr.exe
    4 EXECUTE SDO_MIGRATE.TO_CURRENT('my_table','GEOM');
    5 CREATE INDEX my_table_index ON my_table(geom) INDEXTYPE IS MDSYS.SPATIAL_INDEX;
    Second data load steps:
    1 open up MapBuilder, make a connection, and go through the Import Shapefile wizard. MapBuilder automatically creates a spatial index.
    Does it appear that I am missing any steps or doing anything obviously wrong that would be causing me to not be able to edit the data through clients such as uDig or WFS-T?

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

  • 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

  • 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

  • Creating a Good Receipt PO via DI API No matching records found (ODBC -2028)

    Hi, I trying to create a Good Receipt PO via DI API.  It is working when the user I used to log in to SAP via the DI API is a Professional User but when I changed it to a Limited Logistics User, I'm receiving the No matching records found (ODBC -2028

  • JPGs exported from Lightroom 5.6 will not open in other applications

    Recently I have noticed that jpgs exported from Lightroom 5.6 can not be opened in Canon DPP 3.14 and can not be resized using Image Resizer plugin. Both of these I use frequently. I have seen mention of this issue re other applications also. Does an

  • How does one save a website as a functional - links enabled including images PDF

    Hello Friends, Can someone please tell me: Using FF version 3.6.13 - is there a way to save a website in a 'functional' PDF format. Functional meaning the links will work and the images will be illustrated. Many thanks in advance for any / all info y

  • Software Update Wizard Problem

    I'm trying to update the software on my N80 but the wizard keeps failing to work. I keep getting this message: The wizard was interrupted before Nokia Software Updater could be completely installed. Your system has not been modified. To complete inst

  • Set Transaction Variant to specific user

    Hi all, Is it possible to set a defined Transaction Variant (SHD0) to a specific user or to a user group? I want only some users run a transaction thought the variant, and other users run thought standard transaction. Thanks and Regards in advance. U