felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard S. Hall" <he...@ungoverned.org>
Subject Re: Got a problem running felix in production mode
Date Fri, 17 Mar 2006 13:58:00 GMT
Alex Karasulu wrote:
> Richard S. Hall wrote:
>> Yes, you could just detect whether stdin is invalid first, but you 
>> would need a thread if stdin is valid. Is there a proper way to 
>> determine if stdin is valid?
> Hmmm this behavoir is truly unexpected since jsvc does some strange 
> things to daemonize the process.  I don't really know how this would 
> manifest itself in the Java space.  Basically the stdin file 
> descriptor is closed in which case the String line will return null 
> all the time (just a suspicion from looking at the code and the 
> observed behavoir).  I think rigging in the ability to switch the 
> profile and the configuration file when not in debug mode is the key.

Sounds fine by me. For now, we will ignore modifying Shell TUI for 
detecting an invalid stdin, but I will modify Shell TUI so that it 
interrupts its thread when stop() is called.

-> richard

View raw message