Sun ONE Application Server 7 Administrator's Configuration File Reference |
Chapter 5
Other Configuration FilesThis chapter summarizes the Purpose, Location, and Contents or Syntax of important configuration files not discussed in other chapters, then briefly describes all directives or parameters allowed in each file (if any) in a table. Cross references are listed after See Also headings when other chapters or manuals describe some of the directives or parameters in more detail. Configuration files that should never be modified are not listed in this chapter.
The following configuration files are described in alphabetical order:
dbswitch.confPurpose
Specifies the LDAP directory that Sun ONE Application Server uses.
Location
instance_dir/config
Syntax
directory name LDAP_URL
name:property1 [value1]
name:property2 [value2]
...The default contents of this file are as follows:
directory default null:///none
Edit the file as follows for anonymous binding over SSL:
directory default ldaps://directory.sun.com:636:/dc%3Dcom
Edit the file as follows for anonymous binding not over SSL:
directory default ldap://directory.sun.com:389:/dc%3Dcom
See Also
The following table describes properties in the dbswitch.conf file. The left column lists the property names. The second column from the left lists allowed values. The third column from the left lists default values. The right column lists property descriptions.
If an LDAP database is schema compliant, the base DN of the access is computed using a DC tree lookup of the virtual-server element’s hosts attribute that matches the client-supplied Host header. If no hosts attribute matches, the server-name attribute of the parent http-listener is used. The result must contain an inetDomainBaseDN attribute that contains the base DN. This base DN is taken as is and is not relative to any of the base DN values.
Deployment DescriptorsPurpose
Configures features specific to the Sun ONE Application Server for deployed modules and applications.
Location
The META-INF or WEB-INF directory of a module or application.
See Also
The following table shows where to find more information about Sun ONE Application Server deployment descriptors. The left column lists the deployment descriptors, and the right column lists where to find more information about those descriptors.
generated.instance.aclPurpose
Sets permissions for access to the server instance. This is the default ACL file; you can create and use others.
Location
instance_dir/config
See Also
Sun ONE Application Server Administrator’s Guide to Security
nsfc.confPurpose
Sets file cache parameters. This file is present only if file cache parameters have been changed from their defaults.
Location
instance_dir/config
Syntax
parameter=value
See Also
Sun ONE Application Server Performance Tuning, Sizing, and Scaling Guide
The following table describes parameters in the nsfc.conf file. The left column lists the parameter names. The second column from the left lists allowed values. The third column from the left lists default values. The right column lists parameter descriptions.
password.confPurpose
By default, the application server prompts the administrator for the SSL key database password before starting up. If you want the application server to be able to restart unattended, you need to save the password in a password.conf file. Be sure that your system is adequately protected so that this file and the key databases are not compromised.
Location
instance_dir/config
This file is not present by default. You must create it if you need it.
Syntax
PKCS#11_module_name:password
If you are using the internal PKCS#11 software encryption module that comes with the server, type the following:
internal:password
If you are using a different PKCS#11 module, for example for hardware encryption or hardware accelerators, you will need to specify the name of the PKCS#11 module, followed by the password, for example:
internal:password
See Also
Sun ONE Application Server Administrator’s Guide
server.policyPurpose
Controls what access applications have to resources. This is the standard J2SE policy file.
Location
instance_dir/config
Syntax
grant [codeBase "path"] {
permission permission_class "package", "permission_type";
...
};See Also
Sun ONE Application Server Developer’s Guide
http://java.sun.com/docs/books/tutorial/security1.2/tour2/index.html