Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] OLAP CORS on iframe issue

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] OLAP CORS on iframe issue
 Login/Join
 
Platinum Member
posted
Hi,

I create an OLAP car report on IP: 172.16.2.10:8080/ibi_apps/ and it run as expected with "ON TABLE SET OLAPPANE TOP" .
And then on another WebFOCUS VM(IP:172.16.2.50) create an simple iframe to run that OLAP car report on 172.16.2.10 but it show error due to CORS security, so I had CORS setting in Administration Console > Security tab marked all check mark and using asterisk(*) for "Allow Origin" .
Turn out OLAP car report did show up in my iframe(172.16.2.50) but NOT the OLAP Panel. It show "Loading please wait" and OLAP report on the browser.
So I check the browser's developer tool on "Console" tab and notice there is several errors include "Uncaught DOMException: Blocked a frame with origin "http://172.16.2.10:8080" from accessing a cross-origin frame. " (Run in Chrome)
So I think something have to do with "web.xml" in Tomcat. and I Add/un-comment following lines:
<filter>
  <filter-name>httpHeaderSecurity</filter-name>
  <filter-class>org.apache.catalina.filters.HttpHeaderSecurityFilter</filter-class>
  <async-supported>true</async-supported>
  <init-param>
    <param-name>antiClickJackingEnabled</param-name>
    <param-value>true</param-value>
  </init-param>
  <init-param>
    <param-name>antiClickJackingOption</param-name>
    <param-value>ALLOW-FROM</param-value>
  </init-param>
  
 <init-param>
    <param-name>antiClickJackingUri</param-name>
    <param-value>http://172.16.2.50:8080/ibi_apps/*</param-value>
  </init-param>
		
</filter>

<filter-mapping>
  <filter-name>httpHeaderSecurity</filter-name>
  <url-pattern>/*</url-pattern>
  <dispatcher>REQUEST</dispatcher>
</filter-mapping>

and since I have to use "ALLOW-FROM" which work on Firefox, so I try it on Firefox and getting different Error: "SecurityError: Permission denied to access property "search" on cross-origin object"

I try change "ON TABLE SET OLAPPANE TOP" to "ON TABLE SET OLAPPANE CONTROL" to show as button, and it is same error.

anybody got an idea what is going on with OLAP Panel/button in iframe on CORS?

This message has been edited. Last edited by: FP Mod Chuck,


WebFOCUS v8.2.06 , Windows
 
Posts: 137 | Registered: August 29, 2019Report This Post
Virtuoso
posted Hide Post
Nox

I you haven't opened a case with techsupport I suggest you do that since no one has been able to provide you any guidance.


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
 
Posts: 2127 | Location: Customer Support | Registered: April 12, 2005Report This Post
Platinum Member
posted Hide Post
Hi,

I did open a ticket for support, and they take quite some time to do "researching", so trying my luck here to see if anyone got similar experience before?

This message has been edited. Last edited by: nox,


WebFOCUS v8.2.06 , Windows
 
Posts: 137 | Registered: August 29, 2019Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] OLAP CORS on iframe issue

Copyright © 1996-2020 Information Builders