To administer a COM+ pool, use the COM+ Component Services
administrative tool, which is a standard Microsoft Management Console
(MMC) plug-in that ships with Windows 2000.
You can configure COM+
pools in these two different ways:
-
library application -- each process
has its own pool
-
server application -- the pool
is shared by all processes on the same machine
To create
a new COM+ server application, perform the following steps:
-
Start the Component
Services administrative tool by selecting
StartProgramsAdministrative
ToolsComponent Services.
-
Expand
Component ServicesComputerCOM+ Applications. Right-click
COM+ Applications and select
NewApplication. This starts a wizard. Click
Next.
-
Select
Create
an Empty Application.
-
Enter a name of your
choice, and select
Server application as
the Activation Type. Click
Next.
-
Specify an identity,
and click
Next.
-
To add the PooledObject
component to the application, perform the following steps:
-
Expand the application
that you previously created in order to see
Components
and Roles.
-
Right-click
Components and select
New Component, which brings up a wizard.
-
Click
Next, and then select
Import components that are already
registered.
-
Select
SASObjectManager.PooledObject.1, and then click
Next and
Finish.
To administer the pooling
properties, perform the following steps:
-
Right-click
SASObjectManager.PooledObject.1 under the
Components node of the application that you created,
and select
Properties from the pop-up menu.
-
Select the
Activation tab.
-
Select the
Enable object pooling check box. Enter the properties.
-
(Optional) You can also
enter a constructor string, which enables you to specify which machine
SAS should run on. For more information, see
Constructor Strings
.
Note: If you do not specify a
constructor string, then the SAS Object Manager creates workspaces
on the local machine by using COM. It is necessary to configure a
metadata server with pooling metadata only if you specify a logicalName.