Modifying Cache Settings for Content Presenter

11-46 Oracle Fusion Middleware Administrators Guide for Oracle WebCenter

11.9 Deleting Content Repository Connections

This section contains the following subsections: ■ Section 11.9.1, Deleting Content Repository Connections Using Fusion Middleware Control ■ Section 11.9.2, Deleting Content Repository Connections Using WLST

11.9.1 Deleting Content Repository Connections Using Fusion Middleware Control

To delete a content repository connection:

1. Log in to Fusion Middleware Control and navigate to the home page for

WebCenter Spaces or the WebCenter Portal application: ■ Section 6.2, Navigating to the Home Page for WebCenter Spaces ■ Section 6.3, Navigating to the Home Page for WebCenter Portal Applications

2. Do one of the following:

■ For WebCenter Spaces - From the WebCenter menu, choose Settings Service Configuration . ■ For WebCenter Portal applications - From the Application Deployment menu, choose WebCenter Service Configuration.

3. From the list of services on the WebCenter Services Configuration page, choose

Content Repository .

4. Select the connection name, and click Delete.

5. To effect this change you must restart the managed server on which the

WebCenter application is deployed.

11.9.2 Deleting Content Repository Connections Using WLST

Use the WLST command deleteConnection to remove a content repository connection. For command syntax and examples, see deleteConnection in the Oracle Fusion Middleware WebLogic Scripting Tool Command Reference. repo.ucm.profileTrigg erValueCache. Caches the profile trigger value for a given profile, so it is available when documents are created. The maximum number of entries in this cache is implicitly limited to the maximum number of profiles on the UCM server. The cache entry size is small. The primary entry to vary is the expiration, which depends upon how often the profile trigger field values are modified in UCM. These values change rarely once a profile is configured on the UCM system. Therefore, the expiration should be set appropriately. Key - The UCM profile name - String Value - The UCM profile trigger value - String Caution: Delete a content repository connection only if it is not in use. If a connection is marked as active, it should first be removed from the active list, and then deleted. Table 11–9 Cont. Cache Entries in content-coherence-cache-config.xml Cache Entry Name Description Managing Content Repositories 11-47 For information on how to run WLST commands, see Section 1.13.3.1, Running Oracle WebLogic Scripting Tool WLST Commands .

11.10 Setting Connection Properties for the WebCenter Spaces Content Repository

You can view, modify, and delete connection properties for the back-end Oracle Content Server repository that is being used by WebCenter Spaces to store Space and Home Space documents. Specifically, you can define the root folder under which Space content is stored, the name of the content repository administrator, and a unique application identifier for separating application data on the Oracle Content Server. This section contains the following subsections: ■ Section 11.10.1, Setting Connection Properties for the WebCenter Spaces Content Repository Using Fusion Middleware Control ■ Section 11.10.2, Setting Connection Properties for the WebCenter Spaces Content Repository Using WLST 11.10.1 Setting Connection Properties for the WebCenter Spaces Content Repository Using Fusion Middleware Control To set content repository connection properties: 1. Log in to Fusion Middleware Control and navigate to the home page for WebCenter Spaces or the WebCenter Portal application. See Section 6.2, Navigating to the Home Page for WebCenter Spaces .

2. From the WebCenter menu, choose Settings Service Configuration.

3. From the list of services on the WebCenter Services Configuration page, choose Content Repository .

4. Select the connection name, and click Edit.

5. For the active connection in WebCenter Spaces only. Set connection properties for the WebCenter Spaces repository. For information, see Section 11.6.1, What You Should Know About Registering Content Repositories for WebCenter Spaces.

6. Click OK to save your changes.

7. To start using the updated active connection properties, you must restart the managed server on which the WebCenter application is deployed.

11.10.2 Setting Connection Properties for the WebCenter Spaces Content Repository Using WLST

The following commands are valid only for the WebCenter Spaces application to view, set, and delete properties for the Oracle Content Server repository that is being used by WebCenter Spaces to store Space and Home Space documents: ■ listDocumentsSpacesProperties Note: To effect this change you must restart the managed server on which the WebCenter application is deployed. See, Starting and Stopping WebLogic Managed Servers Using the Command Line in the Oracle Fusion Middleware Administrators Guide. 11-48 Oracle Fusion Middleware Administrators Guide for Oracle WebCenter ■ setDocumentsSpacesProperties ■ deleteDocumentsSpacesProperties For command syntax and detailed examples, see the Oracle Fusion Middleware WebLogic Scripting Tool Command Reference. For information on how to run WLST commands, see Section 1.13.3.1, Running Oracle WebLogic Scripting Tool WLST Commands.

11.11 Testing Content Repository Connections

After setting up content repository connections, you can test them to make sure that you can access the content repository, as described in the following sections: ■ Section 11.11.1, Testing Oracle Content Server Connections ■ Section 11.11.2, Testing Oracle Portal Connections

11.11.1 Testing Oracle Content Server Connections

To verify a connection of the socket type web, log in to the Web interface of Oracle Content Server as administrator. You can obtain the URL of a socket type connection through Fusion Middleware Control as follows:

1. In Fusion Middleware Control, from the WebCenter menu, choose Settings and

select Service Configuration Figure 11–12 . Figure 11–12 Fusion Middleware Control WebCenter Menu

2. On the Manage Content Repository Connections page, select the connection and

click Edit Figure 11–13 . Managing Content Repositories 11-49 Figure 11–13 Manage Content Repository Connections Page

3. On the Edit Content Repository Connection page, copy the Web URL

Figure 11–14 . The URL format is: http:host_nameweb_root For example: http:mycontentservercms Figure 11–14 Edit Content Repository Connection Page

11.11.2 Testing Oracle Portal Connections

To verify the full state of an Oracle Portal connection:

1. In the Oracle WebLogic Administration Console, under Domain Structure,

expand Services JDBC, then double-click Data Sources Figure 11–15 . Note: Remove the idcplg suffix from the URL before using it. 11-50 Oracle Fusion Middleware Administrators Guide for Oracle WebCenter Figure 11–15 Oracle WebLogic Administration Console

2. On the Summary of JDBC Data Sources page, select the data source you intend to

test Figure 11–16 . Figure 11–16 Summary of JDBC Data Sources Page

3. In the Settings for datasource_name section, select the tabs Monitoring, then

Testing . Select the data source target server, then click Test Data Source to test the connection Figure 11–17 .