Coherence as a career

Hello all:
Will a job related to coherence more stable than that related to a more popular technology such as Java?
I mean, are there any positions such as coherence admin, or coherence developer? In which the candidate pool might not be that big?
I used to work in a trading system in which Gigaspace was used as the cache solution, it seems that this kind of technology is being used extensively.
I've been a java contractor for a long time, while I still love it, I get tired of working short-term; and now start looking for something more stable and secured. Coherence seems a viable way out. Maybe I am wrong, but if I am not, how can I boost my coherence confidential? Any certificate will help?
Thanks to all,
John

Hi,
It depends what you are asking; do you want to specialize in Coherence to get out of Java development or out of Contracting. Personally I don't think you would specialize in Coherence for either of those reasons. Having done Coherence for about six years now I would say I still do a lot of Java coding and I'm a contractor.
To be good at Coherence you have to know Java well. When I have to sort out cluster problems I spend as much time looking at thread dumps, GC logs, heap dumps and generally what is going on in the JVM as I do with what Coherence is doing.
I'm not sure there is such a thing as a Coherence developer, most developers I know are Java developers whose project happens to use Coherence so they have to work with the API, just like they do with any other Java API - a lot of them don't know much more than that. There are developers who know Coherence well, just as there are developers who know WebLogic well but then presumably they stop being developers and call themselves Architects.
I currently work in London where we are lucky enough to have a number of companies that use Coherence in quite a small area but there are very few people here who I would say make a living from specializing in just Coherence. At my current client I am on a project team and whilst I do a lot of specialist Coherence related work, as much as I would like to avoid it I also sometimes have to turn my hand to Java code that is not Coherence. I have worked in internal consultancy type roles, and I know other people who do that too, for companies where I have just done Coherence and very little coding but these roles are very few and demand a lot of experience and are usually in companies that have an established Coherence infrastructure. I would say that a lot of people I know who do Coherence do it off the back of their jobs as developers or less so as ops/support. You would need quite a sizable company where they had enough projects to justify someone who just did Coherence.
There is no certification for Coherence - personally I think this is a good thing too. A certificate that shows you crammed for an exam is no substitute for experience when your cluster is grinding to a halt in the middle of the night and all you have to go on are a few hundred log files, what you can see in VisualVM and if you are very lucky your company has purchased a decent Coherence monitoring tool.
Now I'm not saying you shouldn't specialize in Coherence, I do and others I know do and I love it but it took a while to get here and working on some complex projects before I would be comfortable to say I was any sort of specialist. Having said that I have interviewed people who touted themselves as Coherence specialists who had probably done nothing more than read half of Aleks Seovic's book. And I've seen those people offered jobs because a company they interviewed at knew even less than they did.
So, yes you can make a career from Coherence if you are in the right place to do it and you are in the right place to build the right level of experience or you are willing to travel around.
JK

Similar Messages

  • Daylight Savings Changes 2007

    Daylight Savings time will be altered in 2007 as seen in http://geography.about.com/cs/daylightsavings/a/dst.htm
    Is Coherence certified to handle these changes? We have already found issues in the OS and JDK that need to be patched.

    Coherence will correctly handle daylight savings changes once the JDK has been patched.
    Without the JDK patch, only the Coherence logging function will be incorrect, in that the logged messages will reflect the incorrect (unpatched) "timezone".
    Coherence has very careful handling of "wall clock time" functionality to avoid being impacted by network time daemons, system clock irregularities, time zone shifts, etc.
    Peace,
    Cameron Purdy
    Tangosol Coherence: Data Grid and Clustered Cache

  • Accessing Coherence Extend* Proxy Deployoed on Weblogic Coherence Cluster from Java Client

    Hi,
    I am trying to access Extend Proxy through Thick Java Client
    Followed steps as per below links and deployed a GAR on 3 Server ( 2 Storage Enabled Coherence Cluster and 1 Coherence Storage Disabled Extend Proxy Enabled). I could see ExtendProxyService using JMX and can see Port running on the System.
    Ref :
    Setting Up Coherence*Extend - 12c (12.1.2)
    http://docs.oracle.com/middleware/1212/coherence/COHAG/deploy_options.htm#CHDJBJDI
    Issue :
    When I tried to Execute Java Client to Connect to Proxy Server it Connects to Port and then Disconnects with ConnectionException as below.
    Observer below Lines in Box is show he Connected Socket with Port 9099 which is Extend Proxy Port
    Error Message
    2013-11-08 14:55:55.114/1.202 Oracle Coherence GE 12.1.2.0.0 <D5> (thread=TcpClientRemoteService:TcpInitiator, member=n/a): Started: TcpInitiator{Name=TcpClientRemoteService:TcpInitiator, State=(SERVICE_STARTED), ThreadCount=0, Codec=Codec(Format=POF), Serializer=com.tangosol.io.DefaultSerializer, PingInterval=0, PingTimeout=30000, RequestTimeout=30000, ConnectTimeout=10000, SocketProvider=[email protected], RemoteAddresses=WrapperSocketAddressProvider{Providers=[[DTC37446E9C6CBD/127.0.0.0:9099]]}, SocketOptions{LingerTimeout=0, KeepAliveEnabled=true, TcpDelayEnabled=false}}
    2013-11-08 14:55:55.146/1.234 Oracle Coherence GE 12.1.2.0.0 <D5> (thread=main, member=n/a): Connecting Socket to 127.0.0.0:9099
    2013-11-08 14:55:55.146/1.234 Oracle Coherence GE 12.1.2.0.0 <Info> (thread=main, member=n/a): Connected Socket to 127.0.0.0:9099
    2013-11-08 14:55:55.161/1.249 Oracle Coherence GE 12.1.2.0.0 <Info> (thread=main, member=n/a): Error establishing a connection with 127.0.0.0:9099: com.tangosol.net.messaging.ConnectionException: TcpConnection(Id=null, Open=true, LocalAddress=0.0.0.0:54384, RemoteAddress=127.0.0.0:9099)
    2013-11-08 14:55:55.161/1.249 Oracle Coherence GE 12.1.2.0.0 <Error> (thread=main, member=n/a): Error while starting service "TcpClientRemoteService": com.tangosol.net.messaging.ConnectionException: could not establish a connection to one of the following addresses: [127.0.0.0:9099]; make sure the "remote-addresses" configuration element contains an address and port of a running TcpAcceptor
        at com.tangosol.coherence.component.util.daemon.queueProcessor.service.peer.initiator.TcpInitiator.openConnection(TcpInitiator.CDB:121)
        at com.tangosol.coherence.component.util.daemon.queueProcessor.service.peer.Initiator.ensureConnection(Initiator.CDB:11)
        at com.tangosol.coherence.component.net.extend.remoteService.RemoteCacheService.openChannel(RemoteCacheService.CDB:7)
        at com.tangosol.coherence.component.net.extend.RemoteService.doStart(RemoteService.CDB:11)
        at com.tangosol.coherence.component.net.extend.RemoteService.start(RemoteService.CDB:5)
        at com.tangosol.coherence.component.util.SafeService.startService(SafeService.CDB:53)
        at com.tangosol.coherence.component.util.safeService.SafeCacheService.startService(SafeCacheService.CDB:5)
        at com.tangosol.coherence.component.util.SafeService.ensureRunningService(SafeService.CDB:27)
        at com.tangosol.coherence.component.util.SafeService.start(SafeService.CDB:14)
        at com.tangosol.net.ExtensibleConfigurableCacheFactory.startService(ExtensibleConfigurableCacheFactory.java:681)
        at com.tangosol.net.ExtensibleConfigurableCacheFactory.ensureService(ExtensibleConfigurableCacheFactory.java:599)
        at com.tangosol.coherence.config.scheme.AbstractCachingScheme.realizeCache(AbstractCachingScheme.java:50)
        at com.tangosol.coherence.config.scheme.AbstractBundlingScheme.realizeCache(AbstractBundlingScheme.java:31)
        at com.tangosol.net.ExtensibleConfigurableCacheFactory.ensureCache(ExtensibleConfigurableCacheFactory.java:254)
        at com.tangosol.net.CacheFactory.getCache(CacheFactory.java:205)
        at com.tangosol.net.CacheFactory.getCache(CacheFactory.java:182)

    If this proxy design (not starting up due to a invalid entry in "authroized-hosts") is on-purpose from Coherence Engineers - then it should be re-visited.
    I think the PROXY Server should just log a message stating about the invalid DNS entry for the Authorized-host and continue with the startup...Failing to start completely doesn;t make sense since one cannot rely completely on DNS to
    say everything should be correct before a server start.
    Ofcourse you can overcome by writing your own Custom Filter - but the issue pop's out as with any custom filter(s) is maintaining them along the road (with all minor/major coherence upgrades).
    Also - this "Authorized-Hosts" concept should be carefully analyzed particularly for the following issues...
    (1) if the client IP is changed in the DNS server - will the proxy-server allow the new Client connection without any issues? when will the PROXY server flush its CLIENT DNS entries or what is the TTL time-limit for a CLIENT cached through Authorized-hosts by the PROXY-SERVER?
    (2) Suppose, we have a CLIENT in the "Authroized-Hosts" making a valid connection to the PROXY and putting some cache into the SERVER CACHE through the PROXY....now if the IP-address (DNS being the same) of the CLIENT is changed - can the CLIENT can GET the CACHE it just PUT into the SERVER without any ERRORS?
    (3) How often we need to re-start PROXIES? Do we need to re-start them often for the DNS issues (if any) mentioned above?
    Looks like the Limited documentation & examples for Coherence*Extend - particularly for .NET & C++ clients & *Extend Proxies is a point of concern.
    vk

  • Coherence and ADF 11g

    Has anyone used coherence for ADF BC 11g ?
    What are teh steps to follow and how BC components enables for coherence use ?
    Why no sample example on ADF 11g and coherence available ? step by step from install, config and ADF BC using coherence kind.
    thx
    dd

    What other ways to boost ADF BC scalability, performance on high traffic/ Multiple user site?
    Actually when you want to use second-level caching it only gives a boost for read-mostly classes.
    If you have data that is updated much more often than it is read, do not enable the
    second level cache. The price of maintaining the cache during updates can possibly outweigh
    the performance benefit of faster reads. Furthermore, the second-level cache can be
    dangerous in systems that share the database with other writing applications.
    So you must exercise careful jugdment here for each class and collection you want
    to enable caching for.
    When you have a highly multi threaded environment you can always use a cluster
    and a loadbalancer. This is probably the scalability (to increase the capacity of
    your application) you are looking for.

  • J2EE 1.4 and coherence

    I heard that J2EE 1.4 standards require not to spawn threads and new WebSphere will not allow such. Wanted to now what is your plan to support this

    Nabil,
    I presume you are referring to the restrictions in the EJB specification (section 24.1.2), which are intended to accomplish several things, including ensuring portability and security. The restrictions do not apply to the containers, libraries and components that the EJB utilizes, for example the application server itself or a JDBC driver that communicates over a socket, nor do the restrictions apply to core classes of Java that you may utilize from the EJB, for example the java.lang.String class. Each of the listed rules in the specification has an associated purpose (explanation) attached to it to provide a context for the rule. For example:
    Rule: "An enterprise bean must not attempt to listen on a socket, accept connections on a socket, or
    use a socket for multicast."
    Explanation: "The EJB architecture allows an enterprise bean instance to be a network socket client, but it does not
    allow it to be a network server. Allowing the instance to become a network server would conflict with
    the basic function of the enterprise bean-- to serve the EJB clients."
    Rule: "The enterprise bean must not attempt to manage threads. The enterprise bean must not attempt
    to start, stop, suspend, or resume a thread; or to change a thread’s priority or name. The enterprise
    bean must not attempt to manage thread groups."
    Explanation: "These functions are reserved for the EJB Container. Allowing the enterprise bean to manage threads
    would decrease the Container’s ability to properly manage the runtime environment."
    Generally, what this means is that the EJB itself should not try to make assumptions about its environment (for portability) or work around limitations of the environment (security). The classes and libraries that an EJB uses by matter of course are not held to the same restrictions. As one example, java.lang.String violates at least three of the rules set forth for EJBs (including thread synchronization, native code use, and use of static fields), yet String is a legitimate class to use within an EJB. Similarly, JDBC drivers may be implemented using native code, and may communicate over sockets; Oracle’s JDBC drivers do both, for example.
    Since Coherence is supported on virtually all Java application servers and hardware/OS platforms, applications that use Coherence are further assured of their portability. Coherence does not take advantage of any vendor-specific libraries or features, and is completely server agnostic and built in pure Java. Coherence was carefully architected to use every resource sparingly and (as much as possible) asynchronously to facilitate the maximum scalable throughput.
    Coherence elegantly fills a gap in functionality that otherwise presents a nearly unsolvable puzzle -- how to safely and efficiently manage data in the application tier that may be 'expensive' to get from a persistent store, and particular for data that are used often, ensuring that the cluster will scale as well as possible.
    Regards,
    Gene

  • Coherence Cache Prune Rate

    Assume cache is configured with high-unit, LRU eviction policy and default low-unit which is 75% of high-unit.
    Cache prune will start when cache size reaches high-unit with LRU eviction policy until it reaches 75% of high-unit.
    I know there is Coherence JMX metric named CachePrunes.
    My question is how do i find out the rate of cache prune? In other word, how many entries are being prunes per second?
    Assume cache is full (at max high-unit) Is it possible that the rate of creating new cache entries is faster than the rate of cache prune and cache can still overflow?
    Thanks in advance.

    Hi
    LSV wrote:
    And also it is not right to draw parallels between the rate of creating new cache entries and the rate of cache prune. They are two independent operation.No that is not correct - eviction happens in response to another action on the cache, so puts and evictions are not independent. For example, if you have single storage node with a cache with high-units=10 and low-units=9 and the size of the cache on the node is 10 then each time you do a put one entry will be evicted as the put would take the size to 11 so the cache is evicted down to 9 and the new entry added so back up to 10. So the eviction rate, however you might want to measure that, will be equal to the rate of adding new entries.
    What makes the rate a little more difficult to calculate is that the high-units figure is per-storage-node so depending on how evenly your keys get distributed among the storage nodes in your cluster you might get one node evicting entries before other nodes. If you have a high-units of 10 and 400 storage nodes then the cache could get to 4000 entries before eviction starts although it is more likely that some node start evicting well before 4000 as they reach 10 entries well before other nodes - if you get what I mean.
    bitcosmo wrote:
    Interesting.. you are suggesting that cache prune is blocking operation such that all put operations will be blocked until cache is pruned to low-units.Not quite, I am pretty sure not all put operations are blocked, I suppose a quick test would verify that. I am pretty sure only the put operation that causes the eviction will be blocked. One thing to be careful of though is when we have eviction and cache stores. An entry cannot be evicted until it has been stored so if you have a slow cache store this will cause the put to block for longer as it will first try to call the cache store before evicting the entry.
    JK

  • Coherence 3.5  as OSGi bundle

    Hi,
    We are starting out on an OSGi project which will use Coherence 3.5 as a data grid for storing and manipulating application data. I see that Coherence (as a separate product) is getting released as a Jar and not as an OSGi bundle. When I looked on the web, I see that Coherence (3.4) is getting packaged along with other Oracle products (CEP 10.3) as OSGi bundle (http://blogs.oracle.com/CEP/2008/10/oracle_complex_event_processin_1.html) and Oracle Fusion Middleware 11g.
    Let us know if we can expect to see Coherence getting released as an OSGi bundle in the near future.
    Till that time, Is there any guidance/recommendation on:
    1) Running Coherence in OSGi environment
    2) Accessing Coherence from an OSGi client application
    Thanks,
    Prakash

    1. Generally, it's easiest if there is membership in only one Coherence cluster per OSGi container. In other words, one member of one cluster per container.
    2. (From Stephen Felts, note that this was pre-3.5) Coherence currently uses the context classloader of the thread to find the default configuration file (coherence-cache-config.xml) and the JMX configuration (reports/report-group.xml). This is generally not the correct thing when running in OSGi. Applications will need to reset the context classloader before getting the class.
    ClassLoader oldLoader = Thread.currentThread().getContextClassLoader();
    ClassLoader newLoader = com.tangosol.net.CacheFactory.class.getClassLoader();
    Thread.currentThread().setContextClassLoader(newLoader);
    CacheFactory.getCache(cacheName);  //Start coherence cache instance
    Thread.currentThread().setContextClassLoader(oldLoader);"
    {code}
    3. (From Hal Hildebrand) There are issues that can come up specifically with respect to serialization with complex dependencies across bundles. Basically, OSGi allows classes to be hidden through the modules, so you have to be really careful as to the class loader you use for the cache.  Here's a simple scenario showing the issue: Let's say that we're using the class loader from Bundle A.  Bundle A imports the interface FOO from Bundle B.  Bundle A uses an implementation of FOO, FooImpl, from Bundle C.  However, Bundle C either doesn't import FooImpl (i.e. it's a private class) or Bundle A doesn't import the package from Bundle C. So, if you serialize FooImpl into the cache, what happen in the above scenario is that the cache will not be able to deserialize FooImpl using Bundle A's class loader.
    4. There are various issues around the use of static fields in Coherence. These are very "non OSGI like". It's generally an issue when you are trying to create a Coherence bundle and decide what APIs to expose. Some of the "builder" work that went into 3.5 was designed to help rectify this and make Coherence easier to use in OSGi.
    5. (From Jeff Trent, in lieu of having a Coherence bundle as part of the Coherence distribution) Bundlizing Coherence jar(s) is a prerequisite for using Coherence w/ OSGi.  For this, you can essentially lift the bundles out of (e.g.) CEP.  There are tools like BND (http://www.aqute.biz/Code/Bnd) integrated into Maven that really make this quite simple to do.
    The summary I have so far is that using Coherence in OSGi is easy for easy stuff today, but there are a number of things that we're developing to make the more complex use cases simple in the future.
    Peace,
    Cameron Purdy | Oracle Coherence
    http://coherence.oracle.com/                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Any news or ETA on Java 1.7 support for Coherence 3.7?

    We're currently in the process of preparing for a rather large upgrade to our existing cluster that is running on older JVMs and an older version of Coherence. One motivating factor is to get on a supported JVM / Coherence version instead of just an "enduring support" version.
    As part of this effort, we are going to be doing a lot of regression testing of our applications. From what I understand, Java 1.6 will be EOL in November of 2012 - so it would seem prudent to consider upgrading to Java 1.7 at this same time (although upgrading JVMs in a rolling fashion isn't as big of a deal as upgrading to a major version of coherence since the cluster can have heterogeneous JVM versions but not heterogenous protocol versions)
    Is there an ETA for when Coherence will be supported on Java 1.7?

    cfelde wrote:
    It doesn't support 1.7?
    We've run Coherence on 1.7 under various installations for some time with no issues. In fact we've seen significant performance gains.
    http://docs.oracle.com/cd/E24290_01/coh.371/e22837/gs_install.htm#CIHDECEA
    It says "1.6 update 23 JVM or later", but it doesn't include 1.7? Also given that 7 is binary-compatible with 6 (in a most cases at least: http://www.oracle.com/technetwork/java/javase/compatibility-417013.html#incompatibilities), it didn't look like a big risk up front.
    There were a few other reported incompatibilities with other software out there and Java 7 besides those listed in the compatibility list, so I would be a bit careful about it.
    Or are you talking about compiling and having a Java 7 compiled coherence jar?I don't think you would see anything like that with 3.7. After all 3.7 still has to run on Java 6 and Java 6 would not be able to load Java 7 compiled class files.
    Best regards,
    Robert

  • Is there a way of getting Coherence to run without starting up a cluster?

    It's painful to run unit-tests against Coherence because I can't find a way of configuring it with a simple local in-memory scheme, but still get to test features requiring custom POF types, etc..
    I have implemented the advice here: http://coherence.oracle.com/display/COH35UG/Setting+Single+Server+Mode
    But it still seems far too slow when you are used to unit tests taking milliseconds- and things seem to have got slower with Coherence 3.5.
    Are there any plans to allow disabling of the TCMP/clustering layer? This would greatly improve the product in my opinion.

    You can set the "<join-timeout-milliseconds>" (on [<multicast-listener>|http://coherence.oracle.com/display/COH35UG/multicast-listener]) to the lowest possible number. Make sure to remember to set it to the recommended value when you want to start testing in a cluster again.
    Rob
    :Coherence Team:

  • Error when starting Weblogic server with Coherence

    We want to use Coherence 3.6 with Weblogic Server 10.3. During server startup, we get the following error. My understanding is the cluster should be started automatically based on the configuration listed below the error. Appreciate any pointers.
    <Dec 15, 2011 3:20:11 PM PST> <Error> <Coherence> <BEA-000000> <2011-12-15 15:20:11.920/67.311 Oracle Coherence SE 3.6.0.4 <Error> (thread=Cluster, member=n/a): This member could not join the cluster because of a configuration mismatch between this member and the configuration being used by the rest of the cluster. This member specified a cluster name of "EPCIS" which did not match the name of the running cluster. This indicates that there are multiple clusters on this network attempting to use overlapping network configurations. Rejected by Member(Id=9, Timestamp=2011-11-16 13:58:42.941, Address=10.229.189.30:8088, MachineId=21022, Location=site:us.oracle.com,machine:adc2101177,process:30667, Role=WeblogicServer).>
    <Dec 15, 2011 3:20:11 PM PST> <Error> <oracle.apps.pas.epc.framework.db.Cache> <BEA-000000> <java.lang.RuntimeException: Failed to start Service "Cluster" (ServiceState=SERVICE_STOPPED, STATE_JOINING)>
    <Dec 15, 2011 3:20:11 PM PST> <Error> <Coherence> <BEA-000000> <2011-12-15 15:20:11.957/67.349 Oracle Coherence SE 3.6.0.4 <Error> (thread=[STANDBY] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)', member=n/a): Error while starting cluster: java.lang.RuntimeException: Failed to start Service "Cluster" (ServiceState=SERVICE_STOPPED, STATE_JOINING)
    CONFIGURATION:
    We have the following descriptor (epcis-coherence-cache-config.xml) in $DOMAIN_HOME/epc-config:
    <?xml version="1.0"?>
    <!DOCTYPE cache-config SYSTEM "cache-config.dtd">
    <cache-config>
    <caching-scheme-mapping>
    <cache-mapping>
    <cache-name>*</cache-name>
    <scheme-name>distributed</scheme-name>
    </cache-mapping>
    </caching-scheme-mapping>
    <caching-schemes>
    <distributed-scheme>
    <scheme-name>distributed</scheme-name>
    <service-name>DistributedCache</service-name>
    <backing-map-scheme>
    <local-scheme></local-scheme>
    </backing-map-scheme>
    <autostart>true</autostart>
    </distributed-scheme>
    </caching-schemes>
    </cache-config>
    We also have tangosol-coherence-override.xml in the same dir:
    <coherence>
    <cluster-config>
    <member-identity>
    <cluster-name system-property="tangosol.coherence.clustername">EPCIS</cluster-name>
    </member-identity>
    </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>epcis-coherence-cache-config.xml</param-value>
    </init-param>
    </init-params>
    </configurable-cache-factory-config>
    <license-config>
    <edition-name system-property="tangosol.coherence.edition">SE</edition-name>
    <license-mode system-property="tangosol.coherence.mode">dev</license-mode>
    </license-config>
    </coherence>
    We have modified startWebLogic.sh by adding:
    PRE_CLASSPATH="/slot/xyz/oracle/mwhome/oracle_common/modules/oracle.coherence_3.6/coherence.jar:${DOMAIN_HOME}/epc-config/:${PRE_CLASSPATH}"

    As the error message says, your WebLogic server is trying to join a cluster that has a different cluster name.
    This bit in your tangosol-coherence-override.xml file or the tangosol.coherence.clustername system property must be the same in all members of the cluster
    <cluster-name system-property="tangosol.coherence.clustername">EPCIS</cluster-name>JK

  • Getting schema validation working in Eclipse with Coherence 3.7.1.0

    Just wondered if anyone had got schema validation to work in Eclipse (3.5 - Galileo) for Coherence 3.7.1.0?
    The Coherence developer docs show that you should add sections like this:
    <pof-config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns="http://xmlns.oracle.com/coherence/coherence-pof-config"
    xsi:schemaLocation="http://xmlns.oracle.com/coherence/coherence-pof-config
    coherence-pof-config.xsd">
    However, if I use that "shortened" form (for cache, pof, etc. configs) Eclipse gives a warning "No grammar constraints (DTD or XML schema) detected for the document." and the schema validation fails to work (i.e. no "auto pop-ups" when entering content, and rubbish content is gladly accepted.)
    In Coherence 3.7.0, I'd used the following "extended" form (note the longer "schemaLocation") to get things working correctly:
    <pof-config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns="http://xmlns.oracle.com/coherence/coherence-pof-config"
    xsi:schemaLocation="http://xmlns.oracle.com/coherence/coherence-pof-config
    http://xmlns.oracle.com/coherence/coherence-pof-config/1.0/coherence-pof-config.xsd">
    Also note that entering the "http://xmlns.oracle.com/coherence/coherence-pof-config/1.0/coherence-pof-config.xsd" in a web browser opens the xsd, as you'd expect.
    Now...
    I'm looking at the PofAnnotationSerializer in 3.7.1.0 and the "auto indexing" option. The declaration in my pof file for it fails as the "class" (or fully-qualified java.lang.Class version) in the "init-params" section isn't valid. If I look at the xsd on the url above, this is indeed the case, that option does not appear.
    However, if I look at the POF xsd in the coherence.jar file for 3.7.1.0, the "class" option has been added, and has a newer 'version="1.1"' added to it's schema declaration. So I therefore tried to point my "extended" declaration to point to " http://xmlns.oracle.com/coherence/coherence-pof-config/1.1/coherence-pof-config.xsd", in order to get schema validation to work in Eclipse with this new schema. Unfortunately that url doesn't exist - you get a "Content Server Request Failed" error.
    So, I guess my question is, is there a way to get myself pointed at the 1.1 versions of the xsd's so I can have schema validation working in Ecliipse? Or is there another workaround (did a bit of Googling, but that mainly seemed to be people switching validation off to simply get rid of the error...)
    Cheers,
    Steve

    Cheers, Dave.
    I had in fact had a try at extracting the xsd and pointing to it directly, and that did indeed work (had to do this following the same steps shown below using an "entry" in the XML Catalog.)
    I had a look around at some of the other "entries" in Eclipse by default and noticed that they actually refer to xsd's directly within the jars, hence saving the extraction step and keeping screw-ups down to a minimum; a bit of playing around to get the syntax right and I finally managed to get it working.
    For those who are interested (NB. my Coherence 3.7.1.0 install is in a directory "c:\coherence3.7"), the steps are:
    In Eclipse, Go to Window->Preferences->XML->XML Catalog. Then create a "User Specified Entry".
    In the "Location", add (without the quotes): "jar:file:/C:/coherence3.7/coherence/lib/coherence.jar!/coherence-pof-config.xsd"
    In the "Key Type", add (without the quotes): "Namespace Name"
    In the "Key", add (without the quotes): "http://xmlns.oracle.com/coherence/coherence-pof-config"
    The schema validation now works fine. Eclipse shows no warnings/errors, and the auto-complete and validation are fully functional.
    Still, it would be nice to get the "1.1" urls updated to point to the schemas on the Oracle site, to avoid all our developers from having to make these changes (and of course avoid them pointing at an older, out-of-date local install of coherence.)
    Cheers,
    Steve

  • Coherence*Web on GlassFish Server Issues

    Hi!
    We are using Coherence 3.7.1.8 in our application in GlassFish 3.1.2 both as application cache and for storing session data (Coherence*Web) so it can be shared between multiple EARs and App server instances. Session data sharing between EARs in the same container works fine, but when we try to share session data between application server instances the server stops responding and has to be restarted. The only thing we get on the log is this exception:
    #|SEVERE|oracle-glassfish3.1.2|com.tangosol.coherence.servlet.ParallelReapTask|_ThreadID=169;_ThreadName=Thread-2;|An exception was thrown while reaping a session.
    com.tangosol.coherence.servlet.commonj.WorkException: Work Failed.
      at com.tangosol.coherence.servlet.commonj.impl.WorkItemImpl.run(WorkItemImpl.java:167)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      at java.lang.Thread.run(Thread.java:722)
    Caused by: java.lang.ClassCastException: com.tangosol.coherence.servlet.SplittableHolder cannot be cast to com.tangosol.coherence.servlet.AttributeHolder
      at com.tangosol.coherence.servlet.AbstractHttpSessionModel.readAttributes(AbstractHttpSessionModel.java:1815)
      at com.tangosol.coherence.servlet.AbstractHttpSessionModel.readExternal(AbstractHttpSessionModel.java:1735)
      at com.tangosol.util.ExternalizableHelper.readExternalizableLite(ExternalizableHelper.java:2042)
      at com.tangosol.util.ExternalizableHelper.readObjectInternal(ExternalizableHelper.java:2346)
      at com.tangosol.util.ExternalizableHelper.deserializeInternal(ExternalizableHelper.java:2747)
      at com.tangosol.util.ExternalizableHelper.fromBinary(ExternalizableHelper.java:263)
      at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$ConverterFromBinary.convert(PartitionedCache.CDB:4)
      at com.tangosol.util.ConverterCollections$ConverterMap.get(ConverterCollections.java:1656)
      at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$ViewMap.get(PartitionedCache.CDB:1)
      at com.tangosol.coherence.component.util.SafeNamedCache.get(SafeNamedCache.CDB:1)
      at com.tangosol.net.cache.CachingMap.get(CachingMap.java:491)
      at com.tangosol.coherence.servlet.DefaultCacheDelegator.getModel(DefaultCacheDelegator.java:122)
      at com.tangosol.coherence.servlet.AbstractHttpSessionCollection.getModel(AbstractHttpSessionCollection.java:2288)
      at com.tangosol.coherence.servlet.AbstractReapTask.checkAndInvalidate(AbstractReapTask.java:140)
      at com.tangosol.coherence.servlet.ParallelReapTask$ReapWork.run(ParallelReapTask.java:89)
      at com.tangosol.coherence.servlet.commonj.impl.WorkItemImpl.run(WorkItemImpl.java:164)
      ... 3 more
    We tried to restrict the shared session data by implementing a custom SessionDistributionController, but according to the documentation, this feature requires coherence-sticky-sessions optimization to be enabled and this last one requires coherence-session-member-locking to be enabled. This led us to the following error:
    #|SEVERE|oracle-glassfish3.1.2|org.apache.catalina.connector.CoyoteAdapter|_ThreadID=202;_ThreadName=Thread-2;|PWC3989: An exception or error occurred in the container during the request processing
    java.lang.IllegalStateException: attempt to exit session VhSnfqkcwAza when it was not owned
        at com.tangosol.coherence.servlet.AbstractHttpSessionCollection.exit(AbstractHttpSessionCollection.java:799)
        at com.tangosol.coherence.servlet.AbstractHttpSessionCollection.exit(AbstractHttpSessionCollection.java:696)
        at com.tangosol.coherence.servlet.glassfish31.CoherenceWebSessionManager.exit(CoherenceWebSessionManager.java:536)
        at com.tangosol.coherence.servlet.glassfish31.CoherenceWebSession.unlockForeground(CoherenceWebSession.java:451)
        at org.apache.catalina.connector.Request.unlockSession(Request.java:4222)
        at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:342)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231)
        at com.sun.enterprise.v3.services.impl.ContainerMapper$AdapterCallable.call(ContainerMapper.java:317)
        at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195)
        at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:860)
        at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:757)
        at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1056)
        at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:229)
        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(Thread.java:722)
    We want to know if we are missing something in our configuration. We are using com.tangosol.coherence.servlet.AbstractHttpSessionCollection$GlobalScopeController. The session-cache-config.xml file has only this item added:
            <replicated-scheme>
                <scheme-name>default-replicated</scheme-name>
                <service-name>ReplicatedCache</service-name>
                <backing-map-scheme>
                    <class-scheme>
                        <scheme-ref>default-backing-map</scheme-ref>
                    </class-scheme>
                </backing-map-scheme>
            </replicated-scheme>
            <class-scheme>
                <scheme-name>default-backing-map</scheme-name>
                <class-name>com.tangosol.util.SafeHashMap</class-name>
            </class-scheme>
    Any help or light would be greatly appreciated. Thanks in advance.

    Depending on the version of WebLogic (which unfortunately I cannot remember off of the top of my head), you don't have to use the installer, because WebLogic has added built-in Coherence*Web support. Have you checked the WebLogic documentation for using Coherence*Web?
    Peace,
    Cameron Purdy | Oracle Coherence
    http://coherence.oracle.com/

  • Values from a java archive file that uses Coherence are null

    This is essentially the details of my project.
    Check the values in andrew's coherence cluster.
    Checkign the values in the stats class.
    z:\javaclasses\stats.jar
    Some sample code:
    -- initialize
    /* start the stats class (the fields you want to look) */
    Stats.init(StatsField._1_DAY_HIGH, StatsField._1_DAY_LOW,
    StatsField.PREV_CLOSE);
    -- pulling data
    if (Stats.get(sSymbol).PREV_CLOSE != null) {
    fValue = Stats.get(sSymbol).PREV_CLOSE;
    -- in your .bat file (Before setting the classpaths)
    call z:\coherence\bin\prod_setup.bat
    set java_opts=%java_opts%
    -Dtangosol.coherence.cacheconfig=z:/coherence/cache-config-extend-client.xml
    myclasspaths
    myclasspaths
    myclasspaths
    My bat file looks like this.
    call z:\coherence\bin\prod_setup.bat
    set java_opts=%java_opts% -Dtangosol.coherence.cacheconfig=z:/coherence/cache-config-extend-client.xml
    cd \
    cd C:\Users\Dan\Documents\Documents_for_4th_Project
    SET PATH=%PATH%;Z:\jdk1.7.0\bin
    SET CLASSPATH=
    SET CLASSPATH=%CLASSPATH%;.
    SET CLASSPATH=%CLASSPATH%;z:\javaclasses\stats.jar
    SET CLASSPATH=%CLASSPATH%;Z:\coherence\lib3702\coherence.jar
    javac ValuesInStats.java
    java ValuesInStats
    pause
    My ValuesInStats.java looks like this below.
    * To change this template, choose Tools | Templates
    * and open the template in the editor.
    //package ValuesInStats;
    import stats.*;
    import java.io.*;
    * @author Dan
    public class ValuesInStats
    * @param args the command line arguments
    private double dayHigh;
    private double dayLow;
    private double prevClose;
    public void startStatClass()
    Stats.init(StatsField._1_DAY_HIGH, StatsField._1_DAY_LOW, StatsField.PREV_CLOSE);
    public void pullDataFromStatClass()
    if (Stats.get("GOOG")._1_DAY_HIGH != null)
    dayHigh = Stats.get("GOOG")._1_DAY_HIGH;
    if (Stats.get("IBM")._1_DAY_LOW != null)
    dayLow = Stats.get("IBM")._1_DAY_LOW;
    if (Stats.get("SLB").PREV_CLOSE != null)
    prevClose = Stats.get("").PREV_CLOSE;
    public static void main(String[] args)
    ValuesInStats stat = new ValuesInStats();
    stat.startStatClass();
    stat.pullDataFromStatClass();
    try
    PrintWriter inputToFile = new PrintWriter(new BufferedWriter(new FileWriter("C:\\Users\\Dan\\Documents\\Documents_for_4th_Project\\DANS_StatReport.txt")));
    inputToFile.println(stat.dayHigh);
    inputToFile.println(stat.dayLow);
    inputToFile.println(stat.prevClose);
    inputToFile.close();
    catch(Exception e)
    e.getMessage();
    e.printStackTrace();
    The results i'm getting are included below.
    C:\Users\Dan\Documents\Documents_for_4th_Project>call z:\coherence\bin\prod_setup.bat
    C:\Users\Dan\Documents\Documents_for_4th_Project>REM
    C:\Users\Dan\Documents\Documents_for_4th_Project>REM Call this batch file before setting any PATH or CP or JAVA_OPTS.
    C:\Users\Dan\Documents\Documents_for_4th_Project>REM You can override anything you don't like afterwards.
    C:\Users\Dan\Documents\Documents_for_4th_Project>REM
    C:\Users\Dan\Documents\Documents_for_4th_Project>title
    C:\Users\Dan\Documents\Documents_for_4th_Project>set JAVA_HOME=z:\jdk7
    C:\Users\Dan\Documents\Documents_for_4th_Project>set JAVA_EXE=z:\jdk7\bin\java_for_.exe
    C:\Users\Dan\Documents\Documents_for_4th_Project>set PATH=z:\jdk7\bin
    C:\Users\Dan\Documents\Documents_for_4th_Project>for /F "tokens=1,2" %u in ('date /t') do set d=%v
    C:\Users\Dan\Documents\Documents_for_4th_Project>set d=10/11/2011
    C:\Users\Dan\Documents\Documents_for_4th_Project>set timestr=20111011
    C:\Users\Dan\Documents\Documents_for_4th_Project>for /F "tokens=1,2,3 delims=: " %i in ('time /t') do set q=%i%j%k
    C:\Users\Dan\Documents\Documents_for_4th_Project>set q=1052AM
    C:\Users\Dan\Documents\Documents_for_4th_Project>set datetime=20111011_1052AM
    C:\Users\Dan\Documents\Documents_for_4th_Project>echo 20111011_1052AM
    20111011_1052AM
    C:\Users\Dan\Documents\Documents_for_4th_Project>REM token=14 for vista, 15 for XP
    C:\Users\Dan\Documents\Documents_for_4th_Project>for /F "tokens=14,15" %a in ('c:\windows\system32\ipconfig | c:\windows\system32\findstr /R "Address.*XXX.XXX.X."') do (IF "%a" == ":" (set my_ip=%b ) ELSE (set my_ip=%a ) )
    C:\Users\Dan\Documents\Documents_for_4th_Project>(IF "XXX.XXX.X.XXX" == ":" (set my_ip= ) ELSE (set my_ip=XXX.XXX.X.XXX ) )
    IP=XXX.XXX.X.XXX
    C:\Users\Dan\Documents\Documents_for_4th_Project>for /F %i in ('z:\coherence\bin\getpid.exe') do set my_pid=%i
    C:\Users\Dan\Documents\Documents_for_4th_Project>set my_pid=1464
    C:\Users\Dan\Documents\Documents_for_4th_Project>IF /I "" == "OMS" goto OMS
    C:\Users\Dan\Documents\Documents_for_4th_Project>goto DONE
    C:\Users\Dan\Documents\Documents_for_4th_Project>REM ---PROD---
    C:\Users\Dan\Documents\Documents_for_4th_Project>REM ---PROD---
    C:\Users\Dan\Documents\Documents_for_4th_Project>rem ==== COHERENCE ====
    C:\Users\Dan\Documents\Documents_for_4th_Project>rem ==== COHERENCE ====
    C:\Users\Dan\Documents\Documents_for_4th_Project>set java_opts= -Dtangosol.coherence.localhost=XXX.XXX.X.XXX -Dtangosol.coherence.distributed.localstorage=false -Dtangosol.coherence.member=Dan -Xms -Xmx -server -showversion -Djava.
    eferIPv4Stack=true -Dtangosol.coherence.log.level=3 -Dtangosol.coherence.log=z:\oms2\logs\.Dan.XXX.XXX.X.XXX.20111011_1052AM.log -Xloggc:z:\oms2\logs\.Dan.XXX.XXX.X.XXX.20111011_1052AM.gc -Dtangosol.pof.config=z:/coherence/pof-conf
    -Dtangosol.coherence.cacheconfig=z:/coherence/cache-config.xml -Dtangosol.coherence.clusteraddress=255.0.0.1 -Dtangosol.coherence.clusterport=54321 -Dtangosol.coherence.cluster=oms_prod -Dtangosol.coherence.rack= -Dtangosol.cohere
    te=1464 -Dtangosol.coherence.cacheconfig=z:/coherence/cache-config-extend-client.xml
    C:\Users\Dan\Documents\Documents_for_4th_Project>cd \
    C:\>cd C:\Users\Dan\Documents\Documents_for_4th_Project
    C:\Users\Dan\Documents\Documents_for_4th_Project>SET PATH=z:\jdk7\bin;Z:\jdk1.7.0\bin
    C:\Users\Dan\Documents\Documents_for_4th_Project>SET CLASSPATH=
    C:\Users\Dan\Documents\Documents_for_4th_Project>SET CLASSPATH=;.
    C:\Users\Dan\Documents\Documents_for_4th_Project>SET CLASSPATH=;.;z:\javaclasses\stats.jar
    C:\Users\Dan\Documents\Documents_for_4th_Project>SET CLASSPATH=;.;z:\javaclasses\stats.jar;Z:\coherence\lib3702\coherence.jar
    C:\Users\Dan\Documents\Documents_for_4th_Project>javac ValuesInStats.java
    C:\Users\Dan\Documents\Documents_for_4th_Project>java ValuesInStats
    2011-10-11 10:52:21.299/2.277 Oracle Coherence 3.7.0.2 <Info> (thread=main, member=n/a): Loaded operational configuration from "jar:file:/Z:/coherence/lib3702/coherence.jar!/tangosol-coherence.xml"
    2011-10-11 10:52:21.408/2.386 Oracle Coherence 3.7.0.2 <Info> (thread=main, member=n/a): Loaded operational overrides from "jar:file:/Z:/coherence/lib3702/coherence.jar!/tangosol-coherence-override-dev.xml"
    2011-10-11 10:52:21.408/2.386 Oracle Coherence 3.7.0.2 <D5> (thread=main, member=n/a): Optional configuration override "/tangosol-coherence-override.xml" is not specified
    2011-10-11 10:52:21.408/2.386 Oracle Coherence 3.7.0.2 <D5> (thread=main, member=n/a): Optional configuration override "/custom-mbeans.xml" is not specified
    Oracle Coherence Version 3.7.0.2 Build 25173
    Grid Edition: Development mode
    Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.
    2011-10-11 10:52:22.625/3.603 Oracle Coherence GE 3.7.0.2 <Info> (thread=main, member=n/a): Loaded Reporter configuration from "jar:file:/Z:/coherence/lib3702/coherence.jar!/reports/report-group.xml"
    2011-10-11 10:52:22.844/3.822 Oracle Coherence GE 3.7.0.2 <Info> (thread=main, member=n/a): Loaded cache configuration from "jar:file:/Z:/coherence/lib3702/coherence.jar!/coherence-cache-config.xml"
    2011-10-11 10:52:24.029/5.007 Oracle Coherence GE 3.7.0.2 <D4> (thread=main, member=n/a): TCMP bound to /XXX.XXX.X.XXX:8102 using SystemSocketProvider
    2011-10-11 10:52:24.560/5.538 Oracle Coherence GE 3.7.0.2 <Info> (thread=Cluster, member=n/a): This Member(Id=9, Timestamp=2011-10-11 10:52:24.482, Address=XXX.XXX.X.XXX:8102, MachineId=27506, Location=process:5892, Role=ValuesInSt
    uesInStats, Edition=Grid Edition, Mode=Development, CpuCount=2, SocketCount=2) joined cluster "cluster:0x96AB" with senior Member(Id=1, Timestamp=2011-10-07 14:15:01.108, Address=XXX.XXX.X.XXX:8088, MachineId=27506, Location=proces
    , Role=CoherenceConsole, Edition=Grid Edition, Mode=Development, CpuCount=2, SocketCount=2)
    2011-10-11 10:52:24.591/5.569 Oracle Coherence GE 3.7.0.2 <D5> (thread=Cluster, member=n/a): Member(Id=2, Timestamp=2011-10-07 14:15:44.572, Address=XXX.XXX.X.XXX:8090, MachineId=27506, Location=process:3904, Role=CoherenceConsole)
    d Cluster with senior member 1
    2011-10-11 10:52:24.591/5.569 Oracle Coherence GE 3.7.0.2 <D5> (thread=Cluster, member=n/a): Member(Id=3, Timestamp=2011-10-07 14:21:36.311, Address=XXX.XXX.X.XXX:8092, MachineId=27506, Location=process:628, Role=CoherenceConsole)
    Cluster with senior member 1
    2011-10-11 10:52:24.591/5.569 Oracle Coherence GE 3.7.0.2 <D5> (thread=Cluster, member=n/a): Member(Id=4, Timestamp=2011-10-07 14:21:50.655, Address=XXX.XXX.X.XXX:8094, MachineId=27506, Location=process:4212, Role=CoherenceConsole)
    d Cluster with senior member 1
    2011-10-11 10:52:24.591/5.569 Oracle Coherence GE 3.7.0.2 <D5> (thread=Cluster, member=n/a): Member(Id=5, Timestamp=2011-10-07 14:22:18.338, Address=XXX.XXX.X.XXX:8096, MachineId=27506, Location=process:5224, Role=CoherenceConsole)
    d Cluster with senior member 1
    2011-10-11 10:52:24.591/5.569 Oracle Coherence GE 3.7.0.2 <D5> (thread=Cluster, member=n/a): Member(Id=6, Timestamp=2011-10-07 14:23:41.229, Address=XXX.XXX.X.XXX:8098, MachineId=27506, Location=process:5608, Role=CoherenceConsole)
    d Cluster with senior member 1
    2011-10-11 10:52:24.591/5.569 Oracle Coherence GE 3.7.0.2 <D5> (thread=Cluster, member=n/a): Member(Id=7, Timestamp=2011-10-07 14:24:16.971, Address=XXX.XXX.X.XXX:8100, MachineId=27506, Location=process:5924, Role=CoherenceConsole)
    d Cluster with senior member 1
    2011-10-11 10:52:24.622/5.600 Oracle Coherence GE 3.7.0.2 <D5> (thread=Cluster, member=n/a): Member 1 joined Service Cluster with senior member 1
    2011-10-11 10:52:24.622/5.600 Oracle Coherence GE 3.7.0.2 <D5> (thread=Cluster, member=n/a): Member 1 joined Service Management with senior member 1
    2011-10-11 10:52:24.638/5.616 Oracle Coherence GE 3.7.0.2 <D5> (thread=Cluster, member=n/a): Member 2 joined Service Cluster with senior member 1
    2011-10-11 10:52:24.638/5.616 Oracle Coherence GE 3.7.0.2 <D5> (thread=Cluster, member=n/a): Member 2 joined Service Management with senior member 1
    2011-10-11 10:52:24.638/5.616 Oracle Coherence GE 3.7.0.2 <D5> (thread=Cluster, member=n/a): Member 3 joined Service Cluster with senior member 1
    2011-10-11 10:52:24.638/5.616 Oracle Coherence GE 3.7.0.2 <D5> (thread=Cluster, member=n/a): Member 3 joined Service Management with senior member 1
    2011-10-11 10:52:24.653/5.631 Oracle Coherence GE 3.7.0.2 <D5> (thread=Cluster, member=n/a): Member 7 joined Service Cluster with senior member 1
    2011-10-11 10:52:24.653/5.631 Oracle Coherence GE 3.7.0.2 <D5> (thread=Cluster, member=n/a): Member 7 joined Service Management with senior member 1
    2011-10-11 10:52:24.653/5.631 Oracle Coherence GE 3.7.0.2 <D5> (thread=Cluster, member=n/a): Member 4 joined Service Cluster with senior member 1
    2011-10-11 10:52:24.653/5.631 Oracle Coherence GE 3.7.0.2 <D5> (thread=Cluster, member=n/a): Member 4 joined Service Management with senior member 1
    2011-10-11 10:52:24.653/5.631 Oracle Coherence GE 3.7.0.2 <D5> (thread=Cluster, member=n/a): Member 5 joined Service Cluster with senior member 1
    2011-10-11 10:52:24.653/5.631 Oracle Coherence GE 3.7.0.2 <D5> (thread=Cluster, member=n/a): Member 5 joined Service Management with senior member 1
    2011-10-11 10:52:24.669/5.647 Oracle Coherence GE 3.7.0.2 <D5> (thread=Cluster, member=n/a): Member 6 joined Service Cluster with senior member 1
    2011-10-11 10:52:24.669/5.647 Oracle Coherence GE 3.7.0.2 <D5> (thread=Cluster, member=n/a): Member 6 joined Service Management with senior member 1
    2011-10-11 10:52:24.669/5.647 Oracle Coherence GE 3.7.0.2 <Info> (thread=main, member=n/a): Started cluster Name=cluster:0x96AB
    Group{Address=224.3.7.0, Port=37000, TTL=4}
    MasterMemberSet
    ThisMember=Member(Id=9, Timestamp=2011-10-11 10:52:24.482, Address=XXX.XXX.X.XXX:8102, MachineId=27506, Location=process:5892, Role=ValuesInStatsValuesInStats)
    OldestMember=Member(Id=1, Timestamp=2011-10-07 14:15:01.108, Address=XXX.XXX.X.XXX:8088, MachineId=27506, Location=process:1632, Role=CoherenceConsole)
    ActualMemberSet=MemberSet(Size=8, BitSetCount=2
    Member(Id=1, Timestamp=2011-10-07 14:15:01.108, Address=XXX.XXX.X.XXX:8088, MachineId=27506, Location=process:1632, Role=CoherenceConsole)
    Member(Id=2, Timestamp=2011-10-07 14:15:44.572, Address=XXX.XXX.X.XXX:8090, MachineId=27506, Location=process:3904, Role=CoherenceConsole)
    Member(Id=3, Timestamp=2011-10-07 14:21:36.311, Address=XXX.XXX.X.XXX:8092, MachineId=27506, Location=process:628, Role=CoherenceConsole)
    Member(Id=4, Timestamp=2011-10-07 14:21:50.655, Address=XXX.XXX.X.XXX:8094, MachineId=27506, Location=process:4212, Role=CoherenceConsole)
    Member(Id=5, Timestamp=2011-10-07 14:22:18.338, Address=XXX.XXX.X.XXX:8096, MachineId=27506, Location=process:5224, Role=CoherenceConsole)
    Member(Id=6, Timestamp=2011-10-07 14:23:41.229, Address=XXX.XXX.X.XXX:8098, MachineId=27506, Location=process:5608, Role=CoherenceConsole)
    Member(Id=7, Timestamp=2011-10-07 14:24:16.971, Address=XXX.XXX.X.XXX:8100, MachineId=27506, Location=process:5924, Role=CoherenceConsole)
    Member(Id=9, Timestamp=2011-10-11 10:52:24.482, Address=XXX.XXX.X.XXX:8102, MachineId=27506, Location=process:5892, Role=ValuesInStatsValuesInStats)
    RecycleMillis=1200000
    RecycleSet=MemberSet(Size=0, BitSetCount=0
    TcpRing{Connections=[7]}
    IpMonitor{AddressListSize=0}
    2011-10-11 10:52:24.872/5.850 Oracle Coherence GE 3.7.0.2 <D5> (thread=Invocation:Management, member=9): Service Management joined the cluster with senior service member 1
    2011-10-11 10:52:25.871/6.849 Oracle Coherence GE 3.7.0.2 <D5> (thread=DistributedCache, member=9): Service DistributedCache joined the cluster with senior service member 9
    Stats init _1_DAY_HIGH
    Stats init _1_DAY_LOW
    Stats init PREV_CLOSE
    Stats.get() hm has null for GOOG
    Stats.get() hm has null for IBM
    Stats.get() hm has null for SLB
    2011-10-11 10:52:28.605/9.583 Oracle Coherence GE 3.7.0.2 <D4> (thread=ShutdownHook, member=9): ShutdownHook: stopping cluster node
    2011-10-11 10:52:28.620/9.598 Oracle Coherence GE 3.7.0.2 <D5> (thread=Cluster, member=9): Service Cluster left the cluster
    C:\Users\Dan\Documents\Documents_for_4th_Project>pause
    Press any key to continue . . .
    I'm not sure why I'm getting null values. Let me know if additional information is needed. Thanks!
    P.S. IP Addresses represent XXX.XXX.X.XXX for security purposes.

    Here's the details of the stat class from the stats.jar. Thanks!
    package stats;
    import java.lang.reflect.Field;
    import java.util.Date;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Set;
    public class Stats implements com.tangosol.util.MapListener, com.tangosol.net.MemberListener {
    public String SYMBOL;
    public String NAME;
    public String CUSIP;
    public Long POSITION_LIMIT;
    public Float YEAR_HIGH;
    public String NEWS_BUY_RATING;
    public String NEWS_SELL_RATING;
    public String NEWS_NOTES;
    public Long AVG_DAILY_VOLUME;
    public Float MARKET_CAP;
    public Float _1_DAY_GROUP_PERCENT_CHANGE;
    public String PRIMARY_GROUP;
    public String ZACKS_RANK;
    public String FUND_GRADE;
    public String CRAMER_CALL;
    public Float PREV_CLOSE;
    public Float KSLOW;
    public Float DSLOW;
    public Float _90_DAY_HIGH;
    public Float _90_DAY_LOW;
    public Float _90_DAY_PERCENT_OF_RANGE;
    public Float _52_WEEK_HIGH;
    public Float _52_WEEK_LOW;
    public Float _52_WEEK_PERCENT_OF_RANGE;
    public Date NEXT_EARNINGS_DATE;
    public String NEXT_EARNINGS_ANNOUNCEMENT_TIME;
    public Object OPENING_INDICATION;
    public oms.OrderExchange PRIMARY_EXCHANGE;
    public Float _1_DAY_PERCENT_CHANGED;
    public Float _1_DAY_PERCENT_CHANGED_TEST;
    public Float _1_DAY_HIGH;
    public Float _1_DAY_LOW;
    public Long POSTMARKET_VOLUME;
    public Long PREMARKET_VOLUME;
    public Float OPEN_PRICE;
    public Integer POSTMARKET_TRADES;
    public Integer PREMARKET_TRADES;
    public Float POSTMARKET_HIGH;
    public Float POSTMARKET_LOW;
    public Float PREMARKET_HIGH;
    public Float PREMARKET_LOW;
    public Float POSTMARKET_VOLUME_WEIGHTED_AVG_PRICE;
    public Float PREMARKET_VOLUME_WEIGHTED_AVG_PRICE;
    public Float POSTMARKET_AVG_PRICE;
    public Float PREMARKET_AVG_PRICE;
    public Boolean IS_OPEN_ON_NYSE;
    public Boolean IS_HALTED;
    public Integer NEWSWARE_STORY_COUNT;
    public Float _1_DAY_PERCENT_OF_RANGE;
    public Boolean IS_ETF;
    public Integer ROUND_LOT_SIZE;
    public Integer LOCATED_SHARES_AVAILABLE;
    public Boolean IS_OPTIONABLE;
    private static HashMap<String, Stats> hm;
    private static List<com.tangosol.net.NamedCache> subscribedCacheList;
    private static Stats INSTANCE;
    private Set<StatsUpdateListener> updateListenerSet;
    public Stats() {
    //compiled code
    throw new RuntimeException("Compiled Code");
    public void memberJoined(com.tangosol.net.MemberEvent me) {
    //compiled code
    throw new RuntimeException("Compiled Code");
    public void memberLeaving(com.tangosol.net.MemberEvent me) {
    //compiled code
    throw new RuntimeException("Compiled Code");
    public void memberLeft(com.tangosol.net.MemberEvent me) {
    //compiled code
    throw new RuntimeException("Compiled Code");
    public static Stats get(String string) {
    //compiled code
    throw new RuntimeException("Compiled Code");
    public static void init(StatsField[] sfs) {
    //compiled code
    throw new RuntimeException("Compiled Code");
    private static Field getField(com.tangosol.util.MapEvent me) throws NoSuchFieldException {
    //compiled code
    throw new RuntimeException("Compiled Code");
    private void notifyUpdateListeners(Field field, Object o) {
    //compiled code
    throw new RuntimeException("Compiled Code");
    public void addStatsUpdateListener(StatsUpdateListener sl) {
    //compiled code
    throw new RuntimeException("Compiled Code");
    public void removeStatsUpdateListener(StatsUpdateListener sl) {
    //compiled code
    throw new RuntimeException("Compiled Code");
    private void processInsertOrUpdate(com.tangosol.util.MapEvent me) {
    //compiled code
    throw new RuntimeException("Compiled Code");
    public synchronized void entryInserted(com.tangosol.util.MapEvent me) {
    //compiled code
    throw new RuntimeException("Compiled Code");
    public synchronized void entryUpdated(com.tangosol.util.MapEvent me) {
    //compiled code
    throw new RuntimeException("Compiled Code");
    public void entryDeleted(com.tangosol.util.MapEvent me) {
    //compiled code
    throw new RuntimeException("Compiled Code");
    }

  • I have two Macs--a flat-screen iMac that uses i-tunes 9 (its max) and a MacBook Intel duo that uses i-tunes 10 (its max). Both are on sharing. I am trying to put the Library from the flat screen i tunes music onto the MacBook. I have carefully followeBook

    I have two Macs, an i-Mac flat screen that runs on OSX.4.11 and i-tunes 9 and a MacBook Intel Duo that runs on Snow Leopard and i-tunes 10.  I have carefully followed all the Advanced instructions for sharing music libraries, which is not a problem; however I am unable to transfer following the instructions to drag the music I want from t he i-Mac flat screen library onto the MacBook. Help! Please! Also, my new Nano will not accept i-tunes 9 which is where I have my old i-pod contents stored--the old i-pod died.  Many thanks!

    UPDATE: I disconnected the iPhone, restarted it, and tried again to sync it with the iTunes library on the iMac. This time it worked
    Now I'm going to try to transfer the music into the iTunes library on the PowerBook, then sync with that, delete the library on the iMac, and sync the (hopefully full of all my music) iPhone with the iMac again.
    Message was edited by: DingNYC

  • In NOKIA, Customer is cared till he buys. After th...

    I had recently bought a Nokia N91 handset for Rs 28,000, about 3 months back. Within a week, it had to be dispatched to customer care centre due to malfunctioning. I received the phone back after a month. After a month again, it had to be dispatched to Nokia care centre on 5-Sep-2006. The target date for delivery was 5-Oct-2006. In Nokia, it takes minimum 1 month to repair any phone. The complaint number is 2-1JKT61.
    Upon inquiring on helpline about my handset after 10 days, I was told that the new target date is 30-Sep-2006.And, upon inquiring on 30-Sep-2006, they confirmed delivery, and that I could collect the handset from the Nokia care centre. Similarly, SMS status, indicated “Status closed, Send to L3”. It seems Nokia believes, the term L3 is very informational, and satisfies the customer’s query.
    Upon reaching the center, I was informed, that they have no information about the delivery of this handset. Further, there was no revert mail about the handset delivery from the head office. It was very encouraging for a person who had just driven 15km drive to the center in just over 1.5 hrs.
    I was told to wait another 48 hrs and thereafter, another 12 hrs. I was further assured, that Nokia repair cell would inform me about the handset.
    Of course, they has never called till date.
    Obviously feeling frustrated, I aggressively inquired on the helpline about the handset. I was asked to behave professionally by the helpdesk of the company. But in events till date, Nokia has not showed professionalism as expected from this company. Further, my monetary investment is blocked due to this negligence.
    After personally visiting the Nokia care centre, I am now told, there are scores of cases in this model, and that my case is not so special. And, there will be no refund or replacement.
    When challenged about dragging Nokia Customer Care to consumer court, they openly claim that this case will be dismissed from the court without success, and till the case continues, the handset will not be returned.
    It seems the Nokia as a company has not only employed good lawyers, but also the judges, who will always deliver the case in their favor. After all, consumer safety laws of this country are not strong enough to teach Nokia a lesson.
    I will be moving a petition against nokia in consumer court, and I would request all Nokia handset owners who have suffered the agony of the nokia customer care to unite and fight against this injustice.
    In NOKIA, Customer is cared till he buys. After that, who cares !!

    I have to say that my experience of Nokia is just the same and it only adds insult to injury when moderators on here patronisingly lecture to the very customers who pay Nokia employee's wages by buying the handsets.
    This is a help forum. People may want help on how to formally complain to or about Nokia. I'm afraid moderators and those fortunatel enough not to have suffered at the hands of Nokia's appalling customer service need to be realistic. Nokia cannot have it both ways; they either take customer service seriously and train/remove the idiots they have on their helpdesk or theyt accept that there will be a backlash.
    I have exhausted just about every avenue I can think of to recover a handset I have been without now for the fifth week. See 'Beat this' in the Smartphones forum for more info.
    I have tried phoning, e-mailing and writing letters. Your phone calls go unreturned. E-mails are replied to usually but in a usually generic and always unhelpful fashion, offering nothing by way of resolution. My letter to Nokia Head Office has gone unanswered. Out of sheer frustration (well you can only believe the usual line 'we're still waiting for a response to X Dept' for so long), I have written to the Board of Directors of Nokia in Finland. Not after though speaking to the MD of CRC, Mr Cameron Radford who also expressed concern that Nokia just refuse point blank to take ownership of a situation they themselves have created.
    I had my handset stolen. It was brand new. Despite CRC claiming on insurance with the carrier, UPS, they are not allowed to use the claim to provide a new replacement handset to me. They will only offer a secondhand handset because Nokia insist this is part of the warranty. Because not even a second hand handset was available for me, Nokia saw fit to keep me waiting for weeks even before anyone told me what the cause of the delay was.
    I do not understand how a business that is so blatantly inadequate when it comes to basic customer service can be so large. Nokia are an absolute disgrace. If the company took a pride in customer service, instead of 'telling off' those who are so frustrated, they complain on here, they would actual pick up the problem and do something to turn it around.
    Nokia...YOU ARE A DISGRACE.

Maybe you are looking for

  • Adobe Cloud: coding auf unterster Ebene

    Ich bin jetzt 52 Jahre Alt und benutze Adobe Produkte in meinem Job und Alltag seit den Anfängen von Windows resp. Apple! Dies teils weil die Produkte gut waren oder meistens weil Adobe alles andere aufgekauft hat (siehe Makromedia) Ich kann behaupte

  • Issue in SAP GUI 7.0 for ECC6 (ABAP Editor not working)

    Dear SAP Team,                          We have installed SAP ECC6.0 EHP4.We have installed SAP GUI 7.0 in our clients machine but in some machines the ABAP Editor i.e Tcode SE38 is not working properly.When our Client selects any transaction for edi

  • I updated my system to mac os x lion but now i am unable to open itunes 10.5.

    Path:            /Applications/iTunes.app/Contents/MacOS/iTunes Identifier:      com.apple.iTunes Version:         10.5.1 (10.5.1) Build Info:      iTunes-10514201~1 Code Type:       X86-64 (Native) Parent Process:  launchd [152] Date/Time:       201

  • How can i use an airport base station and multiple airport expresses with U-verse and still use wireless tv boxes?

    I just got uverse, and when I put my Airport Base Station in Bridge mode I lose access to the 4 airport express stations I have. Can anyone tell me how to turn off the u-verse wireless, set up a network with all the apple stations and still have wire

  • How can i subtract?

    In the following sql, i need to subtract nvl(m.evaluation_rights,0) from ooc.installs (which is found in the subquery) i continually get an error ORA01722, invalid number select m.model||CHR(9)|| m.ej_sftwr_id||CHR(9)|| m.ej_sftwr_lic_ty_txt||CHR(9)|