Discussions

EJB design: JCache in cluster (java.lang.ClassCastException)

  1. JCache in cluster (java.lang.ClassCastException) (1 messages)

    hi,
      i made two EJB's which shares the same the JCache
    in which the first puts the object in JCache and second
    retrieves it ..but when i run this on the same server
    it works ...but it dosent work when i run my server in
    cluster ...by puttin one EJB in one cluster and another EJB
    in another cluster .......Please Help.
    i'm working on JBoss server

    the exception which occurs is "java.lang.ClassCastException"
  2. Hi Raj,

    What "JCache" are you speaking of? I would suggest taking a look at Coherence. Many of our customers are doing exactly the same thing that you are attempting, with much success.

    Later,
    Rob Misek
    Tangosol Coherence: Cluster your Work. Work your Cluster.
    Coherence Forums