Determining WebCenter Consumer Application and Portlet Producer Compatibility

Considerations When Upgrading Oracle WebCenter Applications 15-19

5. Click Yes, if the message to confirm the delete operation displays.

6. Save your application. 7. On the file system, copy the Portlets directory from the backed up copy of your WebCenter 10.1.3.x application to the root directory of the newly created portlet producer application. 8. In JDeveloper 11g, open portlets.jpr of the portlet producer application. JDeveloper prompts you to upgrade the Portlets project.

9. Click Yes to upgrade the 10.1.3.x Portlets project to the 11g portlet producer

application, as shown in Figure 15–10 . Figure 15–10 Upgrading the Portlets Project After the Portlets project is upgraded, the Migration Status dialog shows that portlets.jpr has been upgraded successfully.

10. Click OK.

15.4.2.3 Upgrading Portlet Producers Created Outside of JDeveloper

If you have a JSR 168 Java portlet producer application or a PDK-Java portlet application packaged as a WAR file or as a WAR file within an EAR file, then you must update the application with Oracle WebCenter 11g specific elements, such as Oracle WebLogic Server application descriptors. The following sections describe how to upgrade a PDK-Java or JSR 168 application, which is in the form of an EAR or a WAR archive file, to Oracle WebCenter 11g.

15.4.2.3.1 Creating a JDeveloper Application from an EAR File If you have a JSR 168 portlet

application or a PDK-Java portlet application packaged as a WAR file within an EAR file, then to upgrade that EAR to Oracle WebCenter 11g, you first need to create a JDeveloper 10.1.3.x application based on the archive file. You can then upgrade the application by opening it in JDeveloper 11g. To create an application from an EAR file in JDeveloper 10g and upgrade it to Oracle WebCenter 11g: 1. Open JDeveloper 10.1.3.x.

2. From the File menu, select New.

Note: You must use JDeveloper 10.1.3.x to prepare the EAR file for upgrade. 15-20 Oracle Fusion Middleware Upgrade Guide for Oracle SOA Suite, WebCenter, and ADF

3. In the New Gallery dialog, expand General, select Applications, then Application

from EAR File , and click OK. 4. Select Application from EAR File, and click OK. 5. On the Welcome page in the Create Application from EAR File wizard, click Next. 6. On the Location page, in the EAR File field, enter the path to the EAR file. 7. Select the Copy Files to Application checkbox. 8. Select Finish to create the application in JDeveloper. 9. Save the application. 10. Save a backup copy of the application. 11. Open JDeveloper 11g. 12. Open the WebCenter 10.1.3.x application that you created from the EAR file. 13. Follow the instructions to upgrade the application to JDeveloper 11g. 14. Save the application. The application can now be redeployed.

15.4.2.3.2 Creating a JDeveloper Application from a WAR File To create a JDeveloper file

from a JSR 168 or a PDK-Java application packaged as a WAR file: 1. Open JDeveloper 10.1.3.x.

2. From the File menu, choose New.

3. In the New Gallery dialog, expand General, select Applications, then

Application , and click OK.

4. In the Create Application wizard, click OK.

5. In the Create Project wizard, click Cancel so that no new project is created in the

application.

6. In the Application Navigator, select the newly created application.

7. From the File menu, choose New.

8. In the New Gallery, expand General, select Project, then Project from WAR File,

and click OK. 9. On the Welcome page in the Create Project from WAR File wizard, click Next. 10. On the WAR Location page, in the WAR File field, specify the path to the WAR file.

11. Click Finish to create the project.

12. Save the application. 13. Back up your application. 14. Open JDeveloper 11g. 15. Open the WebCenter 10.1.3.x application that you created from the WAR file. Note: You must use JDeveloper 10.1.3.x to prepare the WAR file for upgrade.