Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004732 [Resin] minor always 08-26-11 13:09 09-09-11 13:21
Reporter cowan View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version 4.0.21
Summary 0004732: -kill with no -server fails in cluster
Description Configure a cluster with more than one server as below. Start server a. Then issue command " -kill". Response is:

Resin/4.0.21 can't kill -server 'b' for watchdog at
java.lang.RuntimeException: WatchdogClient[b]: watchdog kill failed because of 'WatchdogService[watchdog@admin.resin.caucho]: kill server='b' failed because of exception
com.caucho.config.ConfigException: No matching <server> found for -server 'b' in /Users/paul/resin-pro-4.0.21/conf/resin.xml''

ResinBootConfig.findShutdownClient returns the 1st WatchdogClient in an unordered map regardless of if the server is up.

    <server id="a" address="" port="6800">
      <http address="*" port="8080"/>

    <server id="b" address="" port="6801">
      <http address="*" port="8081"/>

    <server id="c" address="" port="6802">
      <http address="*" port="8082"/>
Additional Information
Attached Files

- Relationships

- Notes
09-09-11 10:55

* command with no -server should require a default server
* If a default server is not configured, then commands should fail with a message whenever no -server is passed
09-09-11 13:21


- Issue History
Date Modified Username Field Change
08-26-11 13:09 cowan New Issue
09-09-11 10:53 cowan Note Added: 0005495
09-09-11 10:54 cowan Note Deleted: 0005495
09-09-11 10:55 cowan Note Added: 0005496
09-09-11 13:21 ferg Note Added: 0005497
09-09-11 13:21 ferg Assigned To  => ferg
09-09-11 13:21 ferg Status new => closed
09-09-11 13:21 ferg Resolution open => fixed
09-09-11 13:21 ferg Fixed in Version  => 4.0.23

Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
33 total queries executed.
27 unique queries executed.
Powered by Mantis Bugtracker