Sunday, October 20, 2013

OBIEE 11g Chrome 30+ problem, follow up

Lets start with the good news, I installed the patch 16068402 on my local Win7, OBIEE 11.1.1.7.1 and the chrome issue on my Chrome 30.0.1599.101 was solved.
I will have to double check with my customers or patiently wait for the next Patch bundle.

But I write this post not only to brag about my computer.

Since the above patch is relevant for 11.1.1.7.1 and the latest 11.1.1.6 bundle patches solve the issue there, I still have few 11.1.1.5.X customers that haven't upgraded yet (soon I hope).
One of them tried the advice of Nosferatu84 at http://productforums.google.com/forum/#!topic/chrome/X0uMqd7sE6E and says its working. (Didn't try it myself, but similar logic is described at Oracle support site). Please note it's absolutely not supported procedure.

So to summarize Nosferatu84 (I hope it's OK I copied the answer here):
It looks like Oracle found a solution, they haven't post it in the official blog but I tested in our DEV environment and it works.
At line 810 in Ajax.js there is the functioning code that allows Firefox to work: 
if (saw.userAgent.is_nav && d && this.submitMethod == "post") { 
e.setRequestHeader("Content-Type", "application/x-www-form-urlencoded") } 

Proposed fix, add: 
if (saw.userAgent.is_webkit && d && this.submitMethod == "post") { 
e.setRequestHeader("Content-Type", "application/xml") }

You would need to redeploy the analytics.ear

When Nosferatu84 was asked how to redeploy the Analytics.ear, the answer was:
 The process is a little bit surgical...
(Please change the paths to your server conditions)
You need to modify the sources of the analytics.ear, you can find this file on:
.../Oracle_BI1/bifoundation/jee
Copy the ear file to some temp folder, and as usual make a backup of the original analytics.ear
- Uncompress the contents of analytics.ear
- Run the command: C:\tmp1> d:\Java\jdk1.6.0_29\bin\jar xvf analytics.ear
- Copy the analytics.war into another tmp folder
- Uncompress the .war file C:\tmp2> d:\Java\jdk1.6.0_29\bin\jar xvf analytics.war
- Now you will have the source of analytics, find in  c:\tmp2\res\b_mozilla\common
the file ajax.js, modify this file with the instructions on my first post.
- Now we need to compress everything back how it was before
- delete the current analytics.war from the folder tmp2
- Run C:\tmp2>d:\Java\jdk1.6.0_29\bin\jar cvf analytics.war *
- Copy the new generated analytics.war into the tmp1 folder
- In tmp1 folder remove delete the old analytics.ear
- Run C:\tmp2>d:\Java\jdk1.6.0_29\bin\jar cvf analytics.ear *
Almost done....
Copy the new generated .ear file again to .../Oracle_BI1\bifoundation\jee
In console delete the application and Redeploy... (or better replace the ear file and restart)

No comments:

Post a Comment