JDBC Server Programmer's Reference

configuration file. The default policy configuration file shipped with NonStop Server for Java is not adequate for use with the
JDBC server. You need to create an additional policy file to grant the necessary permissions.
You can start the JDBC Server on the Compaq server with a java command of the form:
java [system_properties]com.tandem.jdbc.server.jdbcServer [-port
port_number][-startRegistry]\
> [-verbose][driver_list]
The options you can supply to the JDBC Server are as follows:
port_number
is the number of the port on which you want the rmiregistry to run. If you omit port_number, the default port
number is 1099.
startRegistry
indicates that you want the JDBC Server to start its own internal registry.
verbose
enables verbose output.
driver_list
is a colon-separated list of the JDBC driver classes available on the server.
Useful System Properties
Several System Properties are useful to specify when starting the JDBC server. They fall into two categories: those associated
with user authentication and the System Property that identifies a policy file. You specify individual properties to be inserted
into the System Properties list with the -D option to the Java interpreter.
If you are using the SQL/MX driver with the JDBC Server, see the README_JDBCMX file on the product CD for more
information about the latest System Properties that are useful with the JDBC for SQL/MX driver.
System Properties Used for User Authentication
You specify System Properties to the Java Virtual Machine with the -Dproperty option. The following is a list of System
Properties that are associated with user authentication:
noa={true|false}
is the "no authentication" property. If you specify true, no user authentication takes place. If you specify false, or omit
this System Property, the JDBC Security Manager performs user authentication.
jdbcSecurityFile=filename
specifies the name of the file containing the username and password information. If you omit this System Property and
instead specify -Dnoa=false, the default location of the security file is
/usr/tandem/java/lib/jdbcSecurity.file.
encPassword={true|false}
is the "encryption" property. If you specify true, you must specify this System Property when you run any client
programs as well as when you start the JDBC Server. If you specify false, or omit this System Property, the password is
not encrypted.
System Property Used to Identify a Policy File
The following System Property is used to specify a user-created policy file:
java.security.policy=filename