Oracle iPlanet Web Server 7.0.9 Administrator's Configuration File Reference

load-modules

The load-modules function loads a shared library or dynamic-link library (DLL) into the server. Specified functions from the library can then be executed from any subsequent directives. Use this function to load new plug-ins or SAFs.

This function is applicable in Init-class directives.

If you define your own SAFs, load them by using the load-modules function and specify the shared library or DLL to load.

Parameters

The following table describes the load-modules parameters.

Table 5–6 load-modules Parameters

Parameter 

Description 

shlib

Specifies either the full path to the shared library or DLL, the name of a file that can be found in the operating system's library path, the name of a file that can be found in the server's plugins directory, or a file name relative to the server's config directory.

funcs

A comma-separated list of the names of the functions in the shared library or DLL to be made available for use by other Init directives or by Service directives in obj.conf. The list should not contain any spaces. The dash (-) character may be used in place of the underscore (_) character in function names.

NativeThread

(Optional) Specifies the threading model to use: 

  • no causes the routines in the library to use user-level threading.

  • yes enables kernel-level threading.

The default is yes.

pool

The name of a custom thread pool as specified in thread-pool-init. For more information, see thread-pool-init.

Examples

Init fn="load-modules" shlib="C:/mysrvfns/corpfns.dll" funcs="moveit"
Init fn="load-modules" shlib="/mysrvfns/corpfns.so" funcs="myinit,myservice"
Init fn="myinit"