Re: Hello! I have a problem with reconnection...
"Mark S. Petrovic" <[email protected]> Sat, 9 Dec 2006 17:09:41 -0800
| Newsgroups | gmane.comp.java.jxta.user |
|---|---|
| Message-ID | <20061210010941.GD815@false> |
On Thu, Dec 07, 2006 at 11:02:48PM -0500, Rodney Eng wrote: > I switched to operating all the peers on a subnet in my apartment and then > did as you suggested; deleting the cache without wiping out the > ProfileConfiguration seems to do the trick, thanks..I thought I had tried > that before but I guess I was mistaken. > > Are there any disadvantages to doing this though? Seems like a bit of a > hack. For instance, if you discovered rendezvous peers not part of your > original bootstrap seed list during your last session, won't deleting the > cache wipe out the stored information on the additional rendezvous peers? Correct. The cache can contain old entries from previous runs, and depending on the nature of the previous runs (e.g., highly experimental network activities), the cache contents can lead to confusing app behavior. I always clear the cache before starting a new app instance. If you are highly confident you know what's in the cache, you may get to the point where you can run with an old cache. To examine the cache without starting JXTA, you might consider some of this http://wiki.java.net/bin/view/Jxta/DumpingJXTACache Mark > - Rodney > > On 12/7/06, Walter Barnes <[email protected]> wrote: > > > >Hello, > > > >>If I bring both computers offline and turn them back on with the > >configuration files created in the >initial session, then they can't > >exchange messages at all. Nothing seems to cure this besides >completely > >wiping out the .jxta configuration folder, which is troubling. > >Have tried deleting only the cache? That is .jxta/cm and not .jxta itself. > >The cache from a previous session usually causes problems so it's > >recommended to delete it each time you start. > > > >Walter > > > > > >------------------------------ > >Need a quick answer? Get one in minutes from people who know. Ask your > >question on Yahoo! > >Answers<http://answers.yahoo.com/;_ylc=X3oDMTFvbGNhMGE3BF9TAzM5NjU0NTEwOARfcwMzOTY1NDUxMDMEc2VjA21haWxfdGFnbGluZQRzbGsDbWFpbF90YWcx> > >. > > -- Mark S. Petrovic Pasadena, CA http://www.petrovic.org