logo       


RE: Store surviving a shutdown: msg#00043

Subject: RE: Store surviving a shutdown
I think I found the problem now:

During reading the keys the following exception occurs in readObject in
IndexedDisk:

ClassCastException: local class incompatible: stream classdesc
serialVersionUID = 7888269624850553887, local class serialVersionUID =
776964015449842672

And classname is org.apache.jcs.auxiliary.disk.LRUMapJCS

Hmm...

Carsten 

> -----Original Message-----
> From: Carsten Ziegeler [mailto:cziegeler@xxxxxxxxxx] 
> Sent: Tuesday, May 18, 2004 4:15 PM
> To: 'Turbine JCS Developers List'
> Subject: RE: Store surviving a shutdown
> 
> Hi,
> 
> to complete the picture, attached is the configuration we use.
> 
> Carsten 
> 
> > -----Original Message-----
> > From: Carsten Ziegeler [mailto:cziegeler@xxxxxxxxxx]
> > Sent: Tuesday, May 18, 2004 2:31 PM
> > To: 'Turbine JCS Developers List'
> > Subject: RE: Store surviving a shutdown
> > 
> > Hi Aaron,
> > 
> > yes we are running the latest version from CVS and yes we 
> get the two 
> > files and they are both not empty.
> > 
> > But on startup the files are overwritten. Is there any 
> configuration 
> > for this perhaps?
> > 
> > Carsten
> > 
> > > -----Original Message-----
> > > From: Aaron Smuts [mailto:aasmuts@xxxxxxxx]
> > > Sent: Tuesday, May 18, 2004 2:25 PM
> > > To: 'Turbine JCS Developers List'
> > > Subject: RE: Store surviving a shutdown
> > > 
> > > The latest jcs version if shutdown properly, should write 
> two files 
> > > per region.  One called keys the other data.  One startup 
> it should 
> > > read the keys into memory and everything in the data folder
> > should be
> > > available just as before shutdown.
> > > 
> > > You need to make sure that the elements in the regions are not 
> > > expiring also.
> > > 
> > > Are you getting the two files?  If not, did you build the latest 
> > > version of jcs from source?
> > > 
> > > Cheers,
> > > 
> > > Aaron
> > > 
> > > 
> > > > -----Original Message-----
> > > > From: Carsten Ziegeler [mailto:cziegeler@xxxxxxxxxx]
> > > > Sent: Tuesday, May 18, 2004 5:36 AM
> > > > To: 'Turbine JCS Developers List'
> > > > Subject: RE: Store surviving a shutdown
> > > > 
> > > > Just an additional info:
> > > > It seems that the files are written properly on 
> shutdown, but on 
> > > > startup they are overwritten with empty files.
> > > > 
> > > > Carsten
> > > > 
> > > > > -----Original Message-----
> > > > > From: Upayavira [mailto:uv@xxxxxxxxxxx]
> > > > > Sent: Tuesday, May 18, 2004 9:46 AM
> > > > > To: turbine-jcs-dev@xxxxxxxxxxxxxxxxxx
> > > > > Subject: Store surviving a shutdown
> > > > >
> > > > > Hello, another Cocooner popping in for a visit!
> > > > >
> > > > > In our explorations of JCS, one thing I believe that was
> > > said about
> > > > > it is that the store doesn't persist through a shutdown.
> > > > >
> > > > > Now, the current (slightly buggy) implemention within
> > > Cocoon does. 
> > > > > Is there any way to make it persists through a restart,
> > > or to make
> > > > > it configurable?
> > > > >
> > > > > The main usecase for Cocoon is running within a 
> servlet, where 
> > > > > arguably surviving a shutdown isn't crucial. However,
> > > Cocoon can be
> > > > > used from the command line to statically generate web
> > sites. For
> > > > > this, a working persistent cache that survives 
> shutdown can be 
> > > > > invaluable. Each time you run it, it can check to see
> > > whether a page
> > > > > in the cache is up-to-date, and if so, not bother
> > generating the
> > > > > page. This should be able to offer a great performance
> > > improvement
> > > > > (but didn't because our previous implementation of a 
> persistent 
> > > > > store was slow). So you'd make me a happy man if you 
> gave me a 
> > > > > responsive persistent store that could survive a shutdown.
> > > > >
> > > > > Regards, Upayavira
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > 
> > 
> ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail:
> > > turbine-jcs-dev-unsubscribe@xxxxxxxxxxxxxxxxxx
> > > > > For additional commands, e-mail:
> > > > > turbine-jcs-dev-help@xxxxxxxxxxxxxxxxxx
> > > > >
> > > > >
> > > > 
> > > > 
> > > > 
> > > 
> > 
> ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: 
> > > turbine-jcs-dev-unsubscribe@xxxxxxxxxxxxxxxxxx
> > > > For additional commands, e-mail:
> > > turbine-jcs-dev-help@xxxxxxxxxxxxxxxxxx
> > > 
> > > 
> > > 
> > 
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: 
> > turbine-jcs-dev-unsubscribe@xxxxxxxxxxxxxxxxxx
> > > For additional commands, e-mail: 
> > > turbine-jcs-dev-help@xxxxxxxxxxxxxxxxxx
> > > 
> > 
> > 
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: 
> turbine-jcs-dev-unsubscribe@xxxxxxxxxxxxxxxxxx
> > For additional commands, e-mail: 
> > turbine-jcs-dev-help@xxxxxxxxxxxxxxxxxx
> > 
> 
> 


Ruby Jobs
Java Jobs
Jobs in California
more...
what
job title, keywords
where
city, state, zip
jobs by job search
Search:
Java, servers, webhosting, windows, cisco ...
more...
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
encryption.gpg....    ietf.rfc822/199...    freebsd.devel.i...    lang.haskell.li...    mail.squirrelma...    web.zope.plone....    yellowdog.gener...    text.xml.xalan....    recreation.phot...    kde.devel.educa...    hardware.bus.ca...    printing.ghosts...    voip.peering/20...    assembly/2006-0...    org.user-groups...    culture.interne...    network.i2p/200...    boot-loaders.ya...    xfree86.render/...    qnx.openqnx.dev...    jakarta.velocit...    user-groups.pal...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe