Plugin which performs a variety of checks on codebase components. If not
configured to perform service starter checks, the codebase is expected to be
defined by the
java.rmi.server.codebase
system
property. Otherwise, all of the codebases contained in the service
descriptors of the service starter
Configuration
are examined
(excepting
SharedActivationGroupDescriptors
, which do not have a
codebase). First, an existence check is performed; the codebase string must
be non-null and have length > 0 after white space is trimmed. Non-existence
is reported as an error. Then the codebase is decomposed into tokens (URL
strings). Each component in a codebase is checked for the following:
- check for a valid URL. As a special case, an httpmd URL which
is invalid because the necessary protocol handler was not loaded
will result in the generation of an appropriate error message
and explanation. Further checks are not done for invalid URLs.
- check that the host name is expressed using a fully qualified domain name
- check for the use of md5 hashes in httpmd URLs
- check the ability to resolve the host name to an address
- check for a host name of 'localhost'
- check for the ability to access (connect to) the URL
Failure of the first or last checks are displayed as errors. Failure of
the other checks are displayed as warnings.