jakarta-jcs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "K.Anand Kumar" <post2an...@yahoo.com>
Subject Error in jcsCache.put(.......
Date Wed, 18 Aug 2004 09:41:39 GMT
    When i try to put the cache values as like
jcsCache.put("App" + id, new TestCache());
jcsCache - the region which i defined,
id - some numerical identifier
new TestCache() - User defined object (instance of a user defined class)
   When i run this, i am getting an error as
        at org.apache.jcs.access.CacheAccess.put(CacheAccess.java:279)
whereas if i execute the same code by
jcsCache.put("App" + id, new Vector());
   its working fine.
   My Question is, if i use available java objects, its holding it in the cache, but not the
user defined class objects.
   How to resolve this.
K.Anand Kumar

Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message