If the Select Role dialog displays, select Default Role to enable all

15-6 Oracle Fusion Middleware Upgrade Guide for Oracle SOA Suite, WebCenter, and ADF

15.3.1.1 Backing Up Your Applications

It is important to back up your application because after you upgrade a WebCenter 10.1.3.x application to Oracle WebCenter 11g, you cannot open it in an earlier release of JDeveloper 11g. Also, the changes made to the application during the upgrade cannot be reverted. If you use a source control system, a separate backup may not be necessary.

15.3.1.2 Preparing Applications That Rely on Oracle Content DB

To work with WebCenter 10g applications that rely on Oracle Content DB: ■ Ensure that you have Oracle Content Server installed. Oracle WebCenter 11g does not support Oracle Content DB as a content repository. If your WebCenter 10g applications rely on Oracle Content DB for content integration, then you must use Oracle Content Server 10.1.3.5.1 or Oracle Content Server 11g as a content repository for such applications. For information about installing or upgrading Oracle Content Server, see Section 7.6.2, Upgrading Oracle Content Server. ■ Migrate your application data from Oracle Content DB to Oracle Content Server, as described in Section 15.5.2, Migrating Data from Oracle Content DB. ■ Upgrade your application, as described in this section. You cannot directly upgrade WebCenter 10.1.3.2 or 10.1.3.3 applications, which rely on Oracle Content DB, to Oracle WebCenter 11g. You must upgrade these applications to Oracle WebCenter 10.1.3.4 to get the support for adding Oracle Content Server as the connection type for content repository data controls. To upgrade your WebCenter 10.1.3.2 or 10.1.3.3 application to Oracle WebCenter 10.1.3.4: 1. Open your application in JDeveloper 10.1.3.4 and follow the instructions in the upgrade wizard. 2. Edit the existing content repository data control in the upgraded application to point to Oracle Content Server. To do this, you must change the connection type to Oracle Content Server and redefine the custom attribute definitions. In the upgraded WebCenter 10.1.3.4 application, you must use the same name and value for custom attributes that you used in your WebCenter 10.1.3.2 or 10.1.3.3 application. For information about content repository connections, see the sections Editing Content Repository Data Controls and How to Create a Content Repository Connection Based on the Oracle Content Server Adapter in Oracle Fusion Middleware Developers Guide for Oracle WebCenter. Note: Make sure that you keep your JDeveloper 10.1.3.x installation when you upgrade your applications. To prepare your applications for migration, you may be required to perform certain tasks in JDeveloper 10.1.3.x. Note: If your application does not contain Oracle Content DB connections, you may skip this section. Considerations When Upgrading Oracle WebCenter Applications 15-7 After you have performed these tasks, your WebCenter 10.1.3.4 application is ready to be upgraded to Oracle WebCenter 11g, as described in Section 15.3.2, Upgrading Your WebCenter Application.

15.3.1.3 Preparing Applications That Contain Portlets

In JDeveloper 11g, WebCenter applications do not contain the Portlets project. However, if your WebCenter 10.1.3.x application contains portlets, it will continue to include the Portlets project even after it has been upgraded. You must manually remove the Portlets project from your WebCenter application before you upgrade it. To remove the Portlets project from your WebCenter 10.1.3.x application: 1. Start JDeveloper 10.1.3.x. 2. Open the WebCenter 10.1.3.x application that you want to upgrade.

3. In the Application Navigator, select the Portlets project.

4. From the File menu, select Erase from Disk.

5. Click Yes to delete the project from the application.

6. Save your application.

15.3.2 Upgrading Your WebCenter Application

After you have prepared your WebCenter 10.1.3.x application, you can upgrade it to Oracle WebCenter 11g. To upgrade your WebCenter 10.1.3.x application to Oracle WebCenter 11g:

1. Start JDeveloper 11g.

2. Open your WebCenter 10.1.3.x application.

This invokes the upgrade wizard, which is displayed every time a WebCenter 10.1.3.x application is opened in JDeveloper 11g.

3. On the Welcome page, click Next.

4. On the Confirmation page, the Yes option is selected by default, as shown in

Figure 15–1 . Click Next to confirm that you want to upgrade the application and its projects. Note: If your WebCenter 10g applications do not contain portlets, you can skip this section. Note: To upgrade portlet producers, you will need to create a portlet producer application in Oracle WebCenter 11g, as described in Section 15.4.2.2, Upgrading Portlet Producers Created in JDeveloper. You will need a copy of the Portlets project of your 10.1.3.x application while upgrading the portlet producers. Note: To remove the Portlets project, you must use JDeveloper 10.1.3.x, and not JDeveloper 11g.