You shouldn't need to call release.  I'll double check.  

The release model should be dropped.  Many of the singletons keep a get 
instance count.  The idea is that this would be decremented on release and we'd 
only dispose when there were no more clients.  

This was never done right and it wasn't useful.  I started ripping it out some 
time ago.  I'll continue.  And I'm still trying to get multiple instance JCS 
working.  There are only a few more things that assume the cache is a singleton.

Aaron

--- On Mon, 8/24/09, Jeffrey Kesselman <jef...@gmail.com> wrote:

> From: Jeffrey Kesselman <jef...@gmail.com>
> Subject: Re: Little question
> To: "JCS Users List" <jcs-users@jakarta.apache.org>
> Date: Monday, August 24, 2009, 6:15 AM
> Thanks.
> 
> i had figured out shutDown since i posted but i hadn't
> figured out release
> yet.
> 
> Thanks for the tip :)
> 
> JK
> 
> On Mon, Aug 24, 2009 at 4:30 AM, Horton Simon <simon.hor...@uk.mizuho-sc.com
> > wrote:
> 
> > Hi,
> >
> > Are you calling this JCS code during your shutdown of
> the
> > application/app server?
> >
> > CompositeCacheManager compositeCacheManager =
> > CompositeCacheManager.getInstance();
> >
> > compositeCacheManager.release();
> > compositeCacheManager.shutDown();
> >
> > Regards,
> >
> > -----Original Message-----
> > From: Jeffrey Kesselman [mailto:jef...@gmail.com]
> > Sent: 24 August 2009 02:36
> > To: JCS Users List
> > Subject: Little question
> >
> > I'm getting this warnign at shut down:
> > "WARNING: Region [resourceCache] Disk cache not
> shutdown properly,
> > shutting
> > down now."
> >
> > What am I not doing that I should?
> >
> >
> > --
> > ~~ Microsoft help desk says: reply hazy, ask again
> later. ~~
> >
> > This message and any files transmitted with it are
> confidential and
> > intended solely for the use of the individual or
> entity to whom they are
> > addressed. If you have received this message in error
> please delete it and
> > any files transmitted with it, after notifying postmas...@uk.mizuho-sc.com
> > Any opinions expressed in this message may be those of
> the author and not
> > necessarily those of the company. The company accepts
> no responsibility for
> > the accuracy or completeness of any information
> contained herein. This
> > message is not intended to create legal relations
> between the company and
> > the recipient.
> > Recipients should please note that messages sent via
> the Internet may be
> > intercepted and that caution should therefore be
> exercised before
> > dispatching to the company any confidential or
> sensitive information.
> > Mizuho International plc Bracken House, One Friday
> Street, London EC4M 9JA.
> > TEL. 020 72361090. Wholly owned subsidiary of Mizuho
> Securities Co., Ltd.
> > Member of Mizuho Financial Group. Authorised and
> regulated by the Financial
> > Services Authority. Member of the London Stock
> Exchange.
> >
> > Registered in England No. 1203696. Registered office
> as above.
> >
> >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jcs-users-unsubscr...@jakarta.apache.org
> > For additional commands, e-mail: jcs-users-h...@jakarta.apache.org
> >
> >
> 
> 
> -- 
> ~~ Microsoft help desk says: reply hazy, ask again later.
> ~~
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: jcs-users-unsubscr...@jakarta.apache.org
For additional commands, e-mail: jcs-users-h...@jakarta.apache.org

Reply via email to