[Resin-interest] Resin-4.0.5 Watchdog on Shutdown

2010-03-30 Thread Aaron Freeman
When we try to stop the resin-4.0.5 processes using:

$JAVA_HOME/bin/java \
-server \
-Djava.util.logging.manager=com.caucho.log.LogManagerImpl \
-Djava.security.egd=/dev/urandom \
-Dhost=${SERVER} \
-Dresin.home=${RESIN_HOME} \
-jar ${RESIN_HOME}/lib/resin.jar \
-conf ${SERVER_ROOT}/conf/resin.xml \
$*

Where we pass in start to start it and stop to stop the server.  The 
main resin java process stops, but the watchdog does not.  Is that 
expected behavior (and thus a change from 3.0.x)?  If so, how do we stop 
the watchdog java process?  I believe Rick Mann reported the same 
issue.  Also we are running uncompiled, if that matters.

Thanks,

Aaron


___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] Resin-4.0.5 Watchdog on Shutdown

2010-03-30 Thread Emil Ong
Hi Aaron,

This is the correct behavior. In 4.0.x, we changed the watchdog to be a
long-lived process.  If you'd like to shut it down, along with all
running resin instances, use the shutdown command.  We're in the
process of updating the documentation this week to reflect the change.

Thanks,
Emil

On Tue, Mar 30, 2010 at 11:01:23AM -0500, Aaron Freeman wrote:
 When we try to stop the resin-4.0.5 processes using:
 
 $JAVA_HOME/bin/java \
 -server \
 -Djava.util.logging.manager=com.caucho.log.LogManagerImpl \
 -Djava.security.egd=/dev/urandom \
 -Dhost=${SERVER} \
 -Dresin.home=${RESIN_HOME} \
 -jar ${RESIN_HOME}/lib/resin.jar \
 -conf ${SERVER_ROOT}/conf/resin.xml \
 $*
 
 Where we pass in start to start it and stop to stop the server.  The 
 main resin java process stops, but the watchdog does not.  Is that 
 expected behavior (and thus a change from 3.0.x)?  If so, how do we stop 
 the watchdog java process?  I believe Rick Mann reported the same 
 issue.  Also we are running uncompiled, if that matters.
 
 Thanks,
 
 Aaron
 
 
 ___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest


___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] Resin-4.0.5 Watchdog on Shutdown

2010-03-30 Thread Scott Ferguson
Rick Mann wrote:
 I'm seeing that same behavior.
   
To shutdown the watchdog, use shutdown. start/stop only starts and 
stops the Resin instance.

-- Scott
 On Mar 30, 2010, at 09:01:23, Aaron Freeman wrote:

   
 When we try to stop the resin-4.0.5 processes using:

 $JAVA_HOME/bin/java \
 -server \
 -Djava.util.logging.manager=com.caucho.log.LogManagerImpl \
 -Djava.security.egd=/dev/urandom \
 -Dhost=${SERVER} \
 -Dresin.home=${RESIN_HOME} \
 -jar ${RESIN_HOME}/lib/resin.jar \
 -conf ${SERVER_ROOT}/conf/resin.xml \
 $*

 Where we pass in start to start it and stop to stop the server.  The 
 main resin java process stops, but the watchdog does not.  Is that 
 expected behavior (and thus a change from 3.0.x)?  If so, how do we stop 
 the watchdog java process?  I believe Rick Mann reported the same 
 issue.  Also we are running uncompiled, if that matters.

 Thanks,

 Aaron


 ___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest
 



 ___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest

   



___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] Resin-4.0.5 Watchdog on Shutdown

2010-03-30 Thread Aaron Freeman
Perfect, thanks!

Aaron


On 3/30/2010 1:49 PM, Emil Ong wrote:
 Hi Aaron,

 This is the correct behavior. In 4.0.x, we changed the watchdog to be a
 long-lived process.  If you'd like to shut it down, along with all
 running resin instances, use the shutdown command.  We're in the
 process of updating the documentation this week to reflect the change.

 Thanks,
 Emil

 On Tue, Mar 30, 2010 at 11:01:23AM -0500, Aaron Freeman wrote:

 When we try to stop the resin-4.0.5 processes using:

 $JAVA_HOME/bin/java \
 -server \
 -Djava.util.logging.manager=com.caucho.log.LogManagerImpl \
 -Djava.security.egd=/dev/urandom \
 -Dhost=${SERVER} \
 -Dresin.home=${RESIN_HOME} \
 -jar ${RESIN_HOME}/lib/resin.jar \
 -conf ${SERVER_ROOT}/conf/resin.xml \
 $*

 Where we pass in start to start it and stop to stop the server.  The
 main resin java process stops, but the watchdog does not.  Is that
 expected behavior (and thus a change from 3.0.x)?  If so, how do we stop
 the watchdog java process?  I believe Rick Mann reported the same
 issue.  Also we are running uncompiled, if that matters.

 Thanks,

 Aaron
  



___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] Resin-4.0.5 Watchdog on Shutdown

2010-03-30 Thread Emil Ong
On Tue, Mar 30, 2010 at 11:52:15AM -0700, Rick Mann wrote:
 Ah! Thanks. So, does that mean it's safe to leave the watchdog running, and 
 just issue a start again? I seem to recall Resin getting mad that someone 
 already had the port when I did that.

That's correct: you can just leave the watchdog running and issue a
start. Let us know if you run into the issue with port conflicts again.
It should only be a configuration issue.

Emil

 On Mar 30, 2010, at 11:49:59, Emil Ong wrote:
 
  Hi Aaron,
  
  This is the correct behavior. In 4.0.x, we changed the watchdog to be a
  long-lived process.  If you'd like to shut it down, along with all
  running resin instances, use the shutdown command.  We're in the
  process of updating the documentation this week to reflect the change.
  
  Thanks,
  Emil
  
  On Tue, Mar 30, 2010 at 11:01:23AM -0500, Aaron Freeman wrote:
  When we try to stop the resin-4.0.5 processes using:
  
  $JAVA_HOME/bin/java \
  -server \
  -Djava.util.logging.manager=com.caucho.log.LogManagerImpl \
  -Djava.security.egd=/dev/urandom \
  -Dhost=${SERVER} \
  -Dresin.home=${RESIN_HOME} \
  -jar ${RESIN_HOME}/lib/resin.jar \
  -conf ${SERVER_ROOT}/conf/resin.xml \
  $*
  
  Where we pass in start to start it and stop to stop the server.  The 
  main resin java process stops, but the watchdog does not.  Is that 
  expected behavior (and thus a change from 3.0.x)?  If so, how do we stop 
  the watchdog java process?  I believe Rick Mann reported the same 
  issue.  Also we are running uncompiled, if that matters.
  
  Thanks,
  
  Aaron
  
  
  ___
  resin-interest mailing list
  resin-interest@caucho.com
  http://maillist.caucho.com/mailman/listinfo/resin-interest
  
  
  ___
  resin-interest mailing list
  resin-interest@caucho.com
  http://maillist.caucho.com/mailman/listinfo/resin-interest
 
 
 
 ___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest


___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] Resin-4.0.5 Watchdog on Shutdown

2010-03-30 Thread Rick Mann
Thanks!

On Mar 30, 2010, at 15:25:47, Emil Ong wrote:

 On Tue, Mar 30, 2010 at 11:52:15AM -0700, Rick Mann wrote:
 Ah! Thanks. So, does that mean it's safe to leave the watchdog running, and 
 just issue a start again? I seem to recall Resin getting mad that someone 
 already had the port when I did that.
 
 That's correct: you can just leave the watchdog running and issue a
 start. Let us know if you run into the issue with port conflicts again.
 It should only be a configuration issue.
 
 Emil
 
 On Mar 30, 2010, at 11:49:59, Emil Ong wrote:
 
 Hi Aaron,
 
 This is the correct behavior. In 4.0.x, we changed the watchdog to be a
 long-lived process.  If you'd like to shut it down, along with all
 running resin instances, use the shutdown command.  We're in the
 process of updating the documentation this week to reflect the change.
 
 Thanks,
 Emil
 
 On Tue, Mar 30, 2010 at 11:01:23AM -0500, Aaron Freeman wrote:
 When we try to stop the resin-4.0.5 processes using:
 
 $JAVA_HOME/bin/java \
 -server \
 -Djava.util.logging.manager=com.caucho.log.LogManagerImpl \
 -Djava.security.egd=/dev/urandom \
 -Dhost=${SERVER} \
 -Dresin.home=${RESIN_HOME} \
 -jar ${RESIN_HOME}/lib/resin.jar \
 -conf ${SERVER_ROOT}/conf/resin.xml \
 $*
 
 Where we pass in start to start it and stop to stop the server.  The 
 main resin java process stops, but the watchdog does not.  Is that 
 expected behavior (and thus a change from 3.0.x)?  If so, how do we stop 
 the watchdog java process?  I believe Rick Mann reported the same 
 issue.  Also we are running uncompiled, if that matters.
 
 Thanks,
 
 Aaron
 
 
 ___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest
 
 
 ___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest
 
 
 
 ___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest
 
 
 ___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest



___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest