Adobe 38000382 JRun Guide - Page 68
addOfflinePropertyValue, checkServer, following table describes the meanings of the settings of
UPC - 718659575946
View all Adobe 38000382 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 68 highlights
addOfflinePropertyValue Description Appends the name and value as a property to the specified service in the jrun.xml file. The addOfflinePropertyValue tag is similar to setOfflineProperty tag. This tag is often used when adding properties for the DeployerService. Attributes Attribute Description service (Required.) The name of the service. server The name of the JRun server. Defaults to the server on which the JSP is invoked. name Required. Specifies the name of the service's property. value Required. Specifies the value of the service's attribute. The service attribute is not required, but a value for the service path can be implied. The following table describes the meanings of the settings of the server and service attributes: Attribute set none server=X service=Y server=X service=Y Description The current server's JRunAdminService. Server X's JRunServer service. The current server's Y service. Server X's Y service. Example The following example adds the property nick with a value of danger to the LoggerService in the jrun.xml file: checkServer Description Detects whether the directory specified for the server (in servers.xml) exists, and returns a list of any read-only files in that directory. By default, the samples server contains no read-only files or directories. The JMC uses the checkServer tag before deleting a JRun server. JRun throws an exception if the server cannot be reached. Attributes Attribute server directoryExistsId readOnlyFilesId Description (Required.) The name of the JRun server. Specifies a Boolean variable that returns true if the server directory exists. Specifies a variable that returns a java.util.List of filepaths under the server directory that are read-only. 54 Chapter 6 Using the JMC Custom Tag Library