16 Additional Oracle WebCenter Migration Details

This chapter describes the changes that the migration utility in Oracle JDeveloper 11.1.1.2.0 automatically makes to a WebCenter 10.1.3.x application while migrating the application. It also describes how you can change the location of customization store for preconfigured portlet producers.

16.1 Automated Changes in Migrated WebCenter Applications

To migrate a WebCenter 10.1.3.x application to Oracle WebCenter 11g, you use JDeveloper 11g. While migrating an application, the migration utility in JDeveloper 11g automatically makes certain changes, such as those related to customizable components, external applications, and portlet components.

16.1.1 Customizable Component Changes

In WebCenter applications, you can use Oracle Composer to add components to pages that users can customize at runtime. Oracle Composer provides components like Panel Customizable and Show Detail Frame that you can add to your applications to support page personalization and customization.

When you migrate a WebCenter 10.1.3.x application that uses customizable components, JDeveloper automatically makes various changes related to customizable components to prepare the application to run on Oracle WebLogic Server. These changes include:

General Changes

Panel Customizable Changes

Show Detail Frame Changes

16.1.1.1 General Changes

When you migrate your WebCenter application, JDeveloper makes the following general changes to your application:

The namespace of customizable components in JSPX files is renamed from:

http://xmlns.oracle.com/adf/faces/customizable

To

http://xmlns.oracle.com/adf/faces/customizable/html

From web.xml, entries for the following are removed:

Context parameter oracle.mds.web-app-root

Filter mdsFilter

Filter mapping for mdsFilter

Servlet jsp2, servlet mapping for jsp2, and resource proxy

The Java Customizable Components library is removed and the WebCenter Customizable Components library is added.

The old Customizable Components tag libraries are removed and the new version Customizable Components (HTML) is added.

In import statements and declarations, if any, in Java files, the class name of Panel Customizable is changed to oracle.adf.view.html.component.customizable.PanelCustomizable.

In import statements and declarations, if any, in Java files, the class name of Show Detail Frame is changed to oracle.adf.view.html.component.customizable.ShowDetailFrame.

16.1.1.2 Panel Customizable Changes

A Panel Customizable component is a container for a group of Oracle ADF components, task flows, and portlets that you can make customizable at runtime. When you migrate a WebCenter application, JDeveloper removes various attributes from Panel Customizable because they are no longer supported in Oracle WebCenter 11g. Table 16-1 lists Panel Customizable attribute changes in a migrated WebCenter application.

All these attributes are removed from a migrated WebCenter application. A header is no longer supported for Panel Customizable. Therefore, DisplayHeader and certain other attributes, such as ExpansionMode, Text, and so on, that are dependent on the header being available are also removed.

DisplayScrollBar

Removed.

However, to render scrollbars for the Panel Customizable content area, you can set the Layout attribute to Scroll.

Width

Height

Deprecated.

The usage of the Width and Height attributes is discouraged. It is recommended that you use the inlineStyle attribute to specify the width or height of Panel Customizable. For example, you can set inlineStyle="width:300px;height:500px;".

Example 16-2 shows the sample Panel Customizable code after a WebCenter 10.1.3.x application has been migrated to Oracle WebCenter 11g. Notice that attributes such as isMinimizable and displayHeader are removed from the Panel Customizable code.

16.1.1.3 Show Detail Frame

A Show Detail Frame component renders a border or chrome around a child component in your WebCenter application pages. It provides a header with an Actions menu that contains User Interface (UI) controls to customize the display of the child component. Table 16-2 lists the changes that JDeveloper makes to the attributes of the Show Detail Frame component when you migrate your WebCenter application.

Table 16-2 Changes Made to Show Detail Frame Attributes in Migrated WebCenter Applications

Attribute

Description

isMaximizable

This attribute is removed from the migrated application.

isSeededInteractionAvailable

IsSeededInteractionAvailable=true is migrated to the following:

showMoveAction=menu

showMinimizeAction=chrome

showRemoveAction=chrome

IsSeededInteractionAvailable=false is migrated to the following:

showMoveAction=none

showMinimizeAction=none

showRemoveAction=none

isMovable

This attribute is renamed to showMoveAction. The migration utility migrates isMovable=None|Menu to showMoveAction=none|menu, respectively.

isMinimizable

This attribute is renamed to showMinimizeAction. The migration utility migrates the isMinimizable=false|true to showMinimizeAction=none|chrome, respectively.

expansionMode

This attribute is removed from the migrated application if expansionMode=maximized. If the value was set to normal or minimized, then the attribute is retained.

ContentInlineStyle

This attribute is renamed to ContentStyle.

Example 16-3 shows the sample code of Show Detail Frame in the source view of a WebCenter 10.1.3.x application page. Example 16-4 shows the sample Show Detail Frame code after this application is migrated to Oracle WebCenter 11g. Notice that isMaximizable is removed and the isSeededInteractionAvailable, isMinimizable, isMovable, and ContentInlineStyle attributes are renamed.

Compared to Oracle Application Server 10g, in Oracle Fusion Middleware 11g, external applications have undergone some changes. In Oracle Fusion Middleware 11g, external applications let you specify shared and public credentials. External applications also let you define an internal name (that serves the purpose of external application identifier and cannot be changed after creation) and a display name (that can be changed). Another distinguishing feature is that in Oracle Application Server 10g, external applications use Metadata Services (MDS) to store metadata; in Oracle Fusion Middleware 11g, external applications are stored as connections similar to other services like content repository connections.

16.1.2.2 External Application Migration Changes

If your WebCenter 10.1.3.x application relies on external applications, then when you migrate that application, the associated external applications are also migrated automatically. For example, when migrating a WebCenter 10.1.3.x application that uses PDK-Java producers dependent on external applications, the external applications are automatically migrated. During WebCenter application migration, the migration utility performs the tasks for a migrated external application:

Uses the name of the 10.1.3.x external application as the internal name (ExtAppId) of the migrated application.

Updates the producer metadata with the new external application ID. An external application is referenced in the portlet producer metadata through its ID.

Migrates the external application metadata from MDS store configured in the WebCenter application's adf-config.xml to connections.xml.

Adds the automated login configuration to the project that contains external application portlets.

Adds the new attributes, listed in Table 16-3, to the migrated external application.

Removes the credential provisioning page configured for the project containing external application portlets and the managed bean and navigation rule defined in each project. In Oracle Fusion Middleware 11g, the credential provisioning page is packaged in the external application library.

16.1.3 Portlet Component Changes

When you migrate a WebCenter application that uses portlets, JDeveloper automatically makes various changes related to portlet tags in the migrated application.

16.1.3.1 Portlet Tag Changes

In WebCenter 10.1.3.x applications, the adfp:portlet tag represents a portlet in the namespace http://xmlns.oracle.com/adf/faces/portlet.

In WebCenter 11g applications, portlet tags are converted to Trinidad HTML Portlet tags. The adfp:portlet portlet tag is migrated to adfph:portlet in the namespace http://xmlns.oracle.com/adf/faces/portlet/html.

16.1.3.2 Attribute Changes

Table 16-4 lists the attributes that are renamed or removed from a migrated WebCenter application containing portlets.

This attribute is renamed to displayActions. The migration utility migrates isSeededInteractionAvailable=false|true to displayActions=onHover|always, respectively.

isMinimizable

This attribute is renamed to showMinimizeAction. The migration utility migrates isMinimizable=false|true to showMinimizeAction=none|chrome, respectively.

isMaximizable

This attribute is renamed to showMaximizeAction. This change is applicable only for HTML portlets. The attribute is not available for rich-text portlets. The migration utility migrates isMaximizable=false|true to showMaximizeAction=none|chrome, respectively.

isMovable

This attribute is renamed to showMoveAction. The migration utility migrates isMovable=False|True to showMoveAction=none|menu, respectively.

contentInlineStyle

This attribute is renamed to contentStyle.

text

This attribute is renamed to title.

portletType

This attribute is removed.

isLinkModeAvailable

This attribute is removed.

showRemoveAction

This attribute is removed from an HTML portlet. In Oracle WebCenter 11g, this attribute is available only for rich-text portlets.

expansionMode

In JDeveloper 11g, the values allowed for this attribute are normal and minimized. In a WebCenter 10.1.3.x application, if the value is set to maximized, then the attribute is removed from the migrated application.

Content integration capabilities of Oracle WebCenter enable you to integrate decentralized content located across various content repositories, such as Oracle Content Server, Oracle Portal, or your file system, into your WebCenter applications. This section describes the authentication methods supported in Oracle WebCenter 10.1.3.x and Oracle WebCenter 11g applications. It also describes how credentials are migrated to external applications for content repository connections when you migrate a WebCenter 10.1.3.x application.

To integrate content from a content repository into your WebCenter application, you need to create a connection to the required repository. In Oracle WebCenter 11g, while creating a content repository connection, you can set the authentication method to any of the following:

Identity Propagation: In this method, no credentials are passed to the content repository. Instead, the repository connector uses the current user's identity as determined from the Java security context. This method is generally used when the application and the content repository use the same identity store to authenticate users.

External Application: This method can be used in all other cases where the current user's identity should not be propagated directly to the content repository.

In Oracle WebCenter 10.1.3.x, the authentication method for connecting to a content repository is determined through the Use JAAS for security checkbox. You select the Use JAAS for security checkbox if you want to transfer the user's identity to the repository without passing the credentials and to use the trust relationship between the WebCenter application and the content repository. If you do not use the JAAS security, then you need to specify credentials and leave the checkbox unselected.

Figure 16-1 shows the content repository connection details of a WebCenter 10.1.3.x application that does not use JAAS security. In Figure 16-1, the Use JAAS for security checkbox is not selected and credentials are specified in the Username and Password fields.

If you migrate a WebCenter 10.1.3.x application in which JAAS security is used (that is the Use JAAS for security checkbox is selected), then Identity Propagation is automatically set as the authentication method for the connection in the migrated application. (The Use JAAS for security feature is same as Identity Propagation.)

If the Use JAAS for security checkbox was not selected in your WebCenter 10.1.3.x application, then when the application is migrated, the authentication method is set to External Application. Further, a new external application with public credentials is created automatically by using credentials from the 10.1.3.x content repository connection. Figure 16-2 shows the content repository connection details of a migrated application. It shows the External Application authentication method selected and a new external application created for the migrated application. Figure 16-3 shows the public credentials automatically specified for the newly created external application.

If your application contains a content repository connection that uses credentials, and during migration if there is a problem in retrieving credentials from the credential store or in creating the external application, then you must edit the migrated content repository connection. In the Edit Content Repository Connection wizard, you must select External Application as the authentication method, and then create an external application with the required credentials.

16.3 Preconfigured Portlet Producers: Customization Store Location

By default, customizations related to preconfigured portlet producers are stored at the following location in Oracle WebCenter 11g:

11g_jdev_install_dir/jdeveloper/portal/portletdata

You may choose to store portlet customizations at a location different. This section describes how to change the location of a customizations store for various preconfigured portlet producers. It contains the following subsections:

16.3.4 OmniPortlet Repository Changes

In Oracle WebCenter 11.1.1.2.0, OmniPortlet connection details are stored in the Oracle Platform Security Service (OPSS) credential store. In earlier versions of Oracle WebCenter, connection details for OmniPortlet are stored in the Web Clipping repository. After you migrate an Oracle WebCenter application containing OmniPortlet, connection details for OmniPortlet are automatically migrated from the Web Clipping repository when you run the OmniPortlet for the first time after upgrade. The first time run of OmniPortlet can be either accessing the OmniPortlet Test Page or displaying an OmniPortlet instance on an application page. The migration process is recorded in the log file of Oracle WebLogic Server. After migration, in OmniPorlet's provider.xml, the vaultId tag is marked with the prefix MIGRATED_FROM_VAULT_ID_old_vault_id.

If there is any error during application migration, you may need to run the migration procedure again. For example, if application migration fails due to the Web Clipping repository being unavailable, you must ensure that the database is up and running and then migrate your application again.

To re-run the migration procedure for an application that contains an OmniPortlet:

From the OmniPorlet's provider.xml, remove the MIGRATED_FROM_VAULT_ID_old_vault_id prefix.

Restart the OmniPortlet producer.

Access the OmniPortlet Test Page by using the following URL format:

http://host:port/portalTools/omniPortlet/providers/omniPortlet

Where, host and port refer to the host name and port number of the system where you installed Oracle WebCenter.

Scripting on this page enhances content navigation, but does not change the content in any way.