Re: reggie started?
Rikard Elofsson <[email protected]>
| Newsgroups | gmane.comp.java.sun.jini |
|---|---|
| Message-ID | <[email protected]> |
Gregg Wonderly wrote:
> I'd venture a guess that this is all about the timing. If you would
> like, you can do something like
> while( true ) {
> try {
> new Socket( unicastHost, unicastPort ).close();
> break;
> } catch( ConnectException ex ) {
> log.log( Level.WARNING, ex.toString(), ex );
> Thread.sleep( 500 );
> }
> }
> between starting the service starter, and doing the lookup, and you
> should see
> that the exception from SDM disappears, but you might see one or more of
> the
> above exceptions.
Looks nice, what is the default port for reggie and does it always use
it? What is the preferred way of telling loggers what level to log at in
Jini?
I dont use log4j since I'm not sure I like it, some people tell me
Chainsaw is wonderful but I dont like undocumented open source stuff and
I feel like I'm drowning in apache stuff even though I try to keep it to
a minimum.
If there was a nice way of using log4j to log to a common log server I'd
maybe go for that, for now I'm using a home-brew Jini logger using java
Logger, not perfect but OK and controlled.
//R
--------------------------------------------------------------------------
Getting Started: http://www.jini.org/wiki/Category:Getting_Started
Community Web Site: http://jini.org
jini-users Archive: http://archives.java.sun.com/archives/jini-users.html
Unsubscribing: email "signoff JINI-USERS" to [email protected]