
Static Public Member Functions | |
| static boolean | _isLocalInetAddress (InetAddress paramInetAddress, boolean paramBoolean) |
| static NSArray | getLocalHosts () |
| static boolean | isAnyLocalInetAddress (InetAddress paramInetAddress, boolean paramBoolean) |
| static boolean | isLocalInetAddress (InetAddress paramInetAddress, boolean paramBoolean) |
Static Package Functions | |
| [static initializer] | |
| static void | _addInetAddress (InetAddress paramInetAddress, NSMutableArray paramNSMutableArray) |
| static void | _addInetAddressArray (InetAddress[] paramArrayOfInetAddress, NSMutableArray paramNSMutableArray) |
| static NSArray | initLocalHosts () |
Static Package Attributes | |
| static volatile NSArray | _localHosts = null |
Static Private Attributes | |
| static final String | LOCALHOST_IPS_PROPERTY_KEY = "er.extensions.WOHostUtilities.localhostips" |
| static final Logger | log = Logger.getLogger( WOHostUtilities.class ) |
When would you need to use this class? If you have a situation where app instances on a specific server do not respond to WOMonitor requests to STOP the instance, REFUSE SESSIONS and/or the instance summary Statistics do not display on the WOMonitor app Detail View page
This version of the class will read a supplemental list of IPs from the er.extensions.WOHostUtilities.localhostips property.
Usage: set the property above to an array of local IP addresses, for example: er.extensions.WOHostUtilities.localhostips=(192.168.3.160,192.168.3.161,192.168.3.162,192.168.3.162) You can put this property in the machine properties path, /etc/WebObjects/Properties, on each server with the ip addresses assigned to that server, or you can make a list of all ip addresses for all machines in a woa cluster subnet and add it to the app launch args in WOMonitor. Either way, the objective is to ensure that the app will not deny management requests from wotaskd instances that are running on any of the list of supplemental ip addresses that you provide
| [static initializer] | ( | ) | [static, package] |
| static void _addInetAddress | ( | InetAddress | paramInetAddress, | |
| NSMutableArray | paramNSMutableArray | |||
| ) | [static, package] |
| static void _addInetAddressArray | ( | InetAddress[] | paramArrayOfInetAddress, | |
| NSMutableArray | paramNSMutableArray | |||
| ) | [static, package] |
| static boolean _isLocalInetAddress | ( | InetAddress | paramInetAddress, | |
| boolean | paramBoolean | |||
| ) | [static] |
| static NSArray getLocalHosts | ( | ) | [static] |
| static NSArray initLocalHosts | ( | ) | [static, package] |
| static boolean isAnyLocalInetAddress | ( | InetAddress | paramInetAddress, | |
| boolean | paramBoolean | |||
| ) | [static] |
| static boolean isLocalInetAddress | ( | InetAddress | paramInetAddress, | |
| boolean | paramBoolean | |||
| ) | [static] |
volatile NSArray _localHosts = null [static, package] |
final String LOCALHOST_IPS_PROPERTY_KEY = "er.extensions.WOHostUtilities.localhostips" [static, private] |
final Logger log = Logger.getLogger( WOHostUtilities.class ) [static, private] |
1.5.8