Thursday, April 3, 2014

Problem with ADF and IE11

A new browser version released by Microsoft is not supported by ADF and what is worse, ADF web pages are not rendered at all. When you run ADF webpage in IE11, you will see message box:

Unsupported image

The problem is caused by ADF javascript layer, because in IE 11 the browser's User-Agent header has changed, and ADF no longer even recognizes the browser's product family. Additionally Oracle says, that "... internal testing has shown that there are many other changes in IE 11 that have an impact on ADF, and these all need to be evaluated before ADF can be certified for use with IE 11. Customers should bear in mind that, at this time, IE 11 has only recently been formally released, and the certification process takes some time."

To fix main part of problems with IE11 you should apply patch available on Oracle Support. The path is provided for JDeveloper/ADF 11.1.1.6.0, JDeveloper/ADF 11.1.1.7.0, JDeveloper/ADF 11.1.2.4.0 and JDeveloper/ADF 12.1.2.0.0.

Bellow I will show how to proceed with patch for ADF 11.1.1.7.0.

After you download zipped patch file run command line and go to unzipped path folder. By example:

C:\Users\mariusz\Downloads\PATCH_TOP>cd 18277370

Next you can start the first step of the path procedure:

C:\Users\mariusz\Downloads\PATCH_TOP\18277370>cd oui

C:\Users\mariusz\Downloads\PATCH_TOP\18277370\oui>cd 18277370

C:\Users\mariusz\Downloads\PATCH_TOP\18277370\oui\18277370>C:\Oracle\Middleware7\oracle_common\OPatch\opatch apply -jdk c:\oracle\jdk
Invoking Standalone OPatch 11.1.0.0.0

Oracle Standalone Interim Patch Installer version 11.1.0.0.0
Copyright (c) 2007, Oracle Corporation.  All rights reserved.


Oracle Home            : C:\Oracle\Middleware7\oracle_common
Oracle Home Inventory  : C:\Oracle\Middleware7\oracle_common\sainventory
OPatch version         : 11.1.0.0.0
Product information    : n/a
Log file location      : C:\Oracle\Middleware7\oracle_common\cfgtoollogs\opatch\opatch2014-03-07_13-34-09PM.log

ApplySession applying interim patch '18277370' to OH 'C:\Oracle\Middleware7\oracle_common'

Running prerequisite checks...

OPatch finds no 'product.xml' in Oracle Home and will attempt to create 'product.xml' file.

Attempting to retrieve patch inventory's "product" and its "version" information...

Please enter your choice to enable OPatch to create 'product.xml' file or quit creation...


Choice                          Product                         Version
------                          -------                         -------
1                               SA_JDEV                         11.1.1.7.0

2. If you wish, quit 'product.xml' creation

Please enter [1-2]:
1
User Responded with: 1

OPatch will put the information of selected product 'SA_JDEV' and selected version '11.1.1.7.0'
in product.xml during inventory updation.


OPatch detected non-cluster Oracle Home from the inventory and will patch the local system only.


Please shutdown Oracle instances running out of this ORACLE_HOME on the local system.
(Oracle Home = 'C:\Oracle\Middleware7\oracle_common')


Is the local system ready for patching?

Do you want to proceed? [y|n]
y
User Responded with: Y
Backing up files and inventory (not for auto-rollback) for the Oracle Home
Backing up files affected by the patch '18277370' for restore. This might take a while...
Backing up files affected by the patch '18277370' for rollback. This might take a while...

Patching component oracle.jrf.adfrt, 11.1.1.7.0...
Copying file to "C:\Oracle\Middleware7\oracle_common\modules\oracle.adf.view_11.1.1\adf-richclient-api-11.jar"
Copying file to "C:\Oracle\Middleware7\oracle_common\modules\oracle.adf.view_11.1.1\adf-richclient-automation-11.jar"
Copying file to "C:\Oracle\Middleware7\oracle_common\modules\oracle.adf.view_11.1.1\adf-richclient-impl-11.jar"
Copying file to "C:\Oracle\Middleware7\oracle_common\modules\oracle.adf.view_11.1.1\adf.oracle.domain.webapp.war"
Copying file to "C:\Oracle\Middleware7\oracle_common\modules\oracle.adf.view_11.1.1\dvt-faces.jar"
Copying file to "C:\Oracle\Middleware7\oracle_common\modules\oracle.adf.view_11.1.1\oracle-page-templates.jar"
Copying file to "C:\Oracle\Middleware7\oracle_common\modules\oracle.adf.view_11.1.1\trinidad-api.jar"
Copying file to "C:\Oracle\Middleware7\oracle_common\modules\oracle.adf.view_11.1.1\trinidad-impl.jar"
ApplySession adding interim patch '18277370' to inventory

Attempting to create/replace 'product.xml' as requested...

"C:\Oracle\Middleware7\oracle_common\product.xml" file under Oracle Home is successfully created.

Verifying the update...
Inventory check OK: Patch ID 18277370 is registered in Oracle Home inventory with proper meta-data.
Files check OK: Files from Patch ID 18277370 are present in Oracle Home.

The local system has been patched and can be restarted.

OPatch succeeded.
OK. Path succeded, and we can start the next step:
C:\Users\mariusz\Downloads\PATCH_TOP\18277370\oui\18277370>set oracle_home=C:\Oracle\Middleware7\jdeveloper

C:\Users\mariusz\Downloads\PATCH_TOP\18277370\oui\18277370>cd ..

C:\Users\mariusz\Downloads\PATCH_TOP\18277370\oui>cd ..

C:\Users\mariusz\Downloads\PATCH_TOP\18277370>cd sa

C:\Users\mariusz\Downloads\PATCH_TOP\18277370\sa>cd 18277370

C:\Users\mariusz\Downloads\PATCH_TOP\18277370\sa\18277370>C:\Oracle\Middleware7\oracle_common\OPatch\opatch apply -jdk c:\oracle\jdk
Invoking Standalone OPatch 11.1.0.0.0

Oracle Standalone Interim Patch Installer version 11.1.0.0.0
Copyright (c) 2007, Oracle Corporation.  All rights reserved.


Oracle Home            : C:\Oracle\Middleware7\jdeveloper
Oracle Home Inventory  : C:\Oracle\Middleware7\jdeveloper\sainventory
OPatch version         : 11.1.0.0.0
Product information    : n/a
Log file location      : C:\Oracle\Middleware7\jdeveloper\cfgtoollogs\opatch\opatch2014-03-07_14-09-44PM.log

ApplySession applying interim patch '18277370' to OH 'C:\Oracle\Middleware7\jdeveloper'

Running prerequisite checks...

OPatch finds no 'product.xml' in Oracle Home and will attempt to create 'product.xml' file.

Attempting to retrieve patch inventory's "product" and its "version" information...

Please enter your choice to enable OPatch to create 'product.xml' file or quit creation...


Choice                          Product                         Version
------                          -------                         -------
1                               SA_JDEV                         11.1.1.7.0

2. If you wish, quit 'product.xml' creation

Please enter [1-2]:
1
User Responded with: 1

OPatch will put the information of selected product 'SA_JDEV' and selected version '11.1.1.7.0'
in product.xml during inventory updation.


OPatch detected non-cluster Oracle Home from the inventory and will patch the local system only.


Please shutdown Oracle instances running out of this ORACLE_HOME on the local system.
(Oracle Home = 'C:\Oracle\Middleware7\jdeveloper')


Is the local system ready for patching?

Do you want to proceed? [y|n]
y
User Responded with: Y
Backing up files and inventory (not for auto-rollback) for the Oracle Home
Backing up files affected by the patch '18277370' for restore. This might take a while...
Backing up files affected by the patch '18277370' for rollback. This might take a while...

Patching component oracle.jdeveloper, 11.1.1.7.0...
Copying file to "C:\Oracle\Middleware7\jdeveloper\adfv\jlib\oracle-page-templates.jar"
Copying file to "C:\Oracle\Middleware7\jdeveloper\jlib\oracle-page-templates.jar"
ApplySession adding interim patch '18277370' to inventory

Attempting to create/replace 'product.xml' as requested...

"C:\Oracle\Middleware7\jdeveloper\product.xml" file under Oracle Home is successfully created.

Verifying the update...
Inventory check OK: Patch ID 18277370 is registered in Oracle Home inventory with proper meta-data.
Files check OK: Files from Patch ID 18277370 are present in Oracle Home.

The local system has been patched and can be restarted.


OPatch succeeded.

C:\Users\mariusz\Downloads\PATCH_TOP\18277370\sa\18277370>

5 comments:

  1. Thanks for the posts.
    It's very helpful.
    I tried to follow your steps and like your posts everything is successful. But when I run my application, I still got the ugly message box '"You are using an unsupported browser. ..."

    Did I miss anything?

    Thank you

    ReplyDelete
    Replies
    1. Hi, Great.. Tutorial is just awesome..It is really helpful for a newbie like me.. I am a regular follower of your blog. Really very informative post you shared here. Kindly keep blogging. If anyone wants to become a Java developer learn from Java Training in Chennai. or learn thru Java EE Online Training from India . Nowadays Java has tons of job opportunities on various vertical industry.

      Delete
  2. Hmm. Hmm. I think something wrong happened during patching process. Are you sure there wasn't any errors?

    ReplyDelete
  3. After applying the patch, message box '"You are using an unsupported browser. ..." is still coming. But the application is working..

    ReplyDelete
    Replies
    1. then applied the patch on jdeveloper too.. now the application is working fine...

      Delete