Redeploying WebCenter Applications Deploying, Undeploying, and Redeploying WebCenter Applications

10-28 Oracle Fusion Middleware Administrators Guide example, you can choose to use only the roles and policies defined in the deployment descriptors, or you can choose to use only the roles and policies defined on the server. The Configure Application Security page displays the following options: ■ Deployment Descriptors Only: Use only roles and policies that are defined in the deployment descriptors. ■ Custom Roles: Use roles that are defined in the Administration Console; use policies that are defined in the deployment descriptor. ■ Custom Roles and Policies: Use only roles and policies that are defined in the Administration Console. ■ Advanced: Use a custom model that you have configured on the realms configuration page. Configure persistence This deployment task is available for applications that contain one or more persistence.xml files. Using this task, you can configure the Java Persistent API JPA persistence units for the application. You can view details about each persistence unit and define a Java Transaction API JTA data source or non-JTA data source for each persistence unit. Configuring the data sources for persistence units can be useful for applications that take advantage of Oracle TopLink. For more information, refer to the Oracle Fusion Middleware Developers Guide for Oracle TopLink. For more information about how persistence units and the persistence.xml file can be used in Java EE applications, refer to the definition of Persistence Units in the Java EE 5 Tutorial at the following Web site: http:download.oracle.comjavaee5tutorialdocbnbqw.htmlbnbrj Configure ADF connections This deployment task is available for applications that use ADF connections. You can modify the connection information for an external application. For more information about ADF connections, see the Oracle Fusion Middleware Fusion Developers Guide for Oracle Application Development Framework.

10.9 Changing MDS Configuration Attributes for Deployed Applications

If your application uses an MDS Repository, you can modify configuration attributes after the application is deployed. To view or modify the attributes, you can use the System MBean Browser or WLST. Deploying Applications 10-29 The following topics describe how you can change the MDS configuration attributes: ■ Changing the MDS Configuration Attributes Using Fusion Middleware Control ■ Changing the MDS Configuration Using WLST ■ Restoring the Original MDS Configuration for an Application

10.9.1 Changing the MDS Configuration Attributes Using Fusion Middleware Control

To change the MDS configuration attributes of an application, take the following steps: 1. Navigate to the applications home page by expanding the farm, then Application Deployments. Then, select an application. The applications home page is displayed. 2. From the Application Deployment menu, choose System MBean Browser. The System MBean Browser page is displayed. 3. Expand Application Defined MBeans, then oracle.adf.share.config, then Server: name , then Application: name, then ADFConfig, then ADFConfig, and ADFConfig. 4. Select MDSAppConfig. The Application Defined MBeans page is displayed, as shown in the following figure: Note: Changes to the configuration persist in MDS as customizations. Because these persist as customizations: ■ Any changes made to the configuration are retained across application deployments. For example, assume that an application has an ExternalChangeDetectionInterval configuration attribute value set to 40 seconds through Oracle JDeveloper. If you change the ExternalChangeDetectionInterval configuration attribute to 50 seconds, and you redeploy the application, the value of the attribute remains at 50 seconds. ■ In a cluster, because all instances of the deployed application point to the same MDS Repository partition, all instances of the application use the same value. If a configuration attribute has been changed for one application instance, all instances of that application in a cluster use the changed value. 10-30 Oracle Fusion Middleware Administrators Guide 5. You can view the description and values for the attributes. Table 10–2 describes the configuration attributes that are specific to MDS. Note that other attributes, such as ConfigMBean appear in the browser, but these are generic attributes for all MBeans. Table 10–2 MDS Configuration Attributes for Deployed Applications Attribute Description AppMetadataRepositoryInfo Read only. Describes the metadata repository partition where the application is deployed. AutoPurgeTimeToLive Automatically purge versions of metadata documents older than the given time interval, specified in seconds. Any unlabeled versions older than this time interval are automatically purged on any subsequent update from this application. If the value is not set, versions are not automatically purged. DeployTargetRepository The name of the target repository configured for the application.