Re: Detecting multiple class loaders
- From: Mark Space <markspace@xxxxxxxxxxxxxx>
- Date: Wed, 19 Mar 2008 11:35:11 -0700
Chris wrote:
Our app has a class that reads and writes a file on disk. The file gets corrupt if more than one process gets at it at once. We can detect
My feeling is that you have multiple web apps all writing to one single file. That sounds like bad design. I think you should look into some method that supports multiple reader/writers inherantly. Maybe a small database or something that you can do transactions on.
Could I ask what the heck this file is? What the idea of having one file that all web apps need to process?
.
- Follow-Ups:
- Re: Detecting multiple class loaders
- From: Chris
- Re: Detecting multiple class loaders
- References:
- Detecting multiple class loaders
- From: Chris
- Detecting multiple class loaders
- Prev by Date: Re: to get local Date...
- Next by Date: Re: Socket error Windows getInputStream
- Previous by thread: Re: Detecting multiple class loaders
- Next by thread: Re: Detecting multiple class loaders
- Index(es):
Relevant Pages
|