BusinessObjects Board

Cross Domain policy error

Hi all,

I am kind of going crazy here. Up until today in the day time my new dashboard which went into production today was working fine and now its not working.

No matter where i access it from, it throws the cross domain policy error. I googled and googled and googled, i cant find anything. I have my crossdomain.xml in place, but why isnt my dashboard working?

I am using Dashboards 4.1 SP2 with query browser, not even using QAAWS at all in that dashboard. Please help!!!


NycPriya (BOB member since 2010-11-04)

Hi,

Did you restart WAS after you placed the crossdomain.xml file into a correct folder?


Marek Chladny :slovakia: (BOB member since 2003-11-27)

Hi Marek,

Forgot to mention: Env is clustered, Server01 is CMS (no tomcat) is and Server02 is where ONLY tomcat is.

I only restarted tomcat, the crossdomain.xml was already in place and it would have made no difference at all by restarting tomcat as well.

We access our reports through a custom webapp (https://BI.companyname.com). It is made public so that our external clients can access reports. Here is the crazy thing, the dashboards made with qaaws works but this, the only one developed using query browser throws the error. What could it be? :frowning:

PS: Do you think you can move this topic to server discussion, If it makes sense to move it there for better exposure? Thanks


NycPriya (BOB member since 2010-11-04)

Hi,

  1. Did you place the crossdomain.xml file into the root level directory of Tomcat (web server root), e.g. C:\Program Files\Business Objects\Tomcat\webapps\ROOT ?

  2. Can you post the content of your crossdomain.xml?


Marek Chladny :slovakia: (BOB member since 2003-11-27)

  1. Yes.

  2. Sure, here you go.

<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM 
"http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
	<site-control permitted-cross-domain-policies="all"/>
	<allow-http-request-headers-from domain="*" headers="*" secure="false" />
	<allow-access-from domain="*" secure="false" />
</cross-domain-policy>

Location of the crossdomain.xml is


NycPriya (BOB member since 2010-11-04)

Those dashboards developed using qaaws use:

WSDL URL: https://sapbodev.mycompany.com/dswsbobje/qaawsservices/?WSDL&cuid=AV.1234ddjdjdjdjdjdjdj

Method: runQueryAsAService

Web Service URL: https://portal.mycompany.com/dswsbobje/qaawsservices/queryasaservice/biws?cuid=AV.1234ddjdjdjdjdjdjdj&authType=secEnterprise&locale=en_US&timeout=60&ConvertAnyType=false

I don’t understand that^.


NycPriya (BOB member since 2010-11-04)

I was able to resolve the crossdomain error but now a new error comes up. “Could not logon to sap businessobjects enterprise”. Even though i am logged in through CMC.

What i did:

I went into CMC - Applications - Web Service and the link was http://:servername.domain.com:6405/dswsbobje (This is where CMS is)

I changed it to:

https://portal.mycompany.com:6405/dswsbobje (This is the TOMCAT only server)

I thought it would resolve the issue since we access our reports from the https://portal.mycompany.com

Should i open a ticket with SAP? Or do you guys think its a configuration issue and just need to tweak the configuration?


NycPriya (BOB member since 2010-11-04)

Just to update: I had to rebuild my dashboard using QaaWS and put a IF statement to point the WSDL url. It works fine now.


NycPriya (BOB member since 2010-11-04)