Saturday, February 18, 2012

Disable the Flash usage in Webcenter PS3 Spaces - Manually Editing the webcenter.ear

1.      Start the VM
2.      Locate the webcenter.ear (/u01/app/oracle/product/PS3RC8/fmwhome/Oracle_WC1/archives/applications/ webcenter.ear)
3.      Take the backup of the webcenter.ear and copy to windows machine.
4.      Extract webcenter.ear (eg:  7-zip à Open Archive).
5.      Locate adf-config.xml (adf\META-INF\)
6.      Edit adf-config.xml (Right click on adf-config.xml, and select ‘Edit’)
7.      Navigate to the end of the file and point the cursor before </adf-config> entry

8.      Enter the following entry to that file,                   <adf-faces-config xmlns="http://xmlns.oracle.com/adf/faces/config">     
<flash-player-usage>disabled</flash-player-usage>   
</adf-faces-config>
9.      Save and close the file.
10.  Click on ‘ok’ to the confirmation dialog.
11.  Close the 7-zip window.
12.  Copy the changed webcenter.ear to the exact location (/u01/app/oracle/product/PS3RC8/fmwhome/Oracle_WC1/archives/applications/ webcenter.ear).
13.  Stop all the services.
14.  Restart the VM / virtual box instance.
15.  Start all the services.

3 comments:

  1. Gireesh,

    I upgraded from ps4 to the latest and greatest ps5 for webcenter portal and webcenter content

    the upgrade went smooth

    after the upgrade, i see in the webcenter home page that the version is 11.1.1.6 but the webcenter.ear version in the deployments section of the weblogic server is still showing 11.1.1.4

    And,

    I see the following errors constantly in the logs - which basically is not presenting the "upload" dialog

    does it have to do anything with enabling / disabling flash?

    ReplyDelete
    Replies
    1. Hi Kris,

      The version labeling is a common issues in webcenter. Enabling/Diabling flash is for seeing the Organization details and other analytics in either flash mode or in image mode.

      Can you please list the error logs here. I could not find any error logs.

      Delete
  2. Error portion is missing from the above email - may be there is a limit on the chars

    ReplyDelete