BIRT Exchange Forum: HTML reports are not rendering due to https - BIRT Exchange Forum

Jump to content


 

No Latest Open Poll.

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

HTML reports are not rendering due to https HTML reports are not rendering due to https Rate Topic: -----

#1 User is offline   sandeep_sn Icon

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 33
  • Joined: 23-September 11


Posted 25 April 2012 - 05:33 AM

Hi,

I have used birt viewer in my application. The application in the https. When i render the report from the application, the URL framed to run the report is like taking as "http" and the port as '80'. As shown below
"http://xxx.yyyyyyyyy.zzz:80/birt"

As I run the application with https the birt viewer should get the protocol as "https" and as it is secured the port number should be '443'. For example its shown below
"https://xxx.yyyyyyyyy.zzz:443/birt".
Due to this when I render the HTML report Im getting javscript error("constant.js is undefined" I suspect this error is due to following reason "it couldnt read the file using http since the application is running in https"). where as the other reports pdf,word,excel are able to generate.

Kindly let me know why the birt viewer is getting the protocol as "http" and port number as "80", even though i run the apllication with secured enabled (ie) through "https".



Regards,
S.Sandeep
0

#2 User is offline   JasonW Icon

  • Senior Member
  • Icon
  • View blog
  • Group: Administrators
  • Posts: 2505
  • Joined: 08-August 07


Posted 25 April 2012 - 09:42 AM

All viewer paths should be relative. What version of BIRT are you using?
https://bugs.eclipse...g.cgi?id=152413

Jason
0

#3 User is offline   sandeep_sn Icon

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 33
  • Joined: 23-September 11


Posted 25 April 2012 - 11:04 PM

Hi,

Im using the BIRTVIEWER 3.7, and i have also set all iframes src attribute with a temp blank.html, to avoid https secure warning message. Still im facing the same issue. Kindly help me out.


Regards,
S.Sandeep
0

#4 User is offline   cbrell Icon

  • Member
  • Group: Members
  • Posts: 523
  • Joined: 17-March 09


Posted 26 April 2012 - 12:16 AM

Hi Sandeep,

what do you mean by: "i have also set all iframes src attribute with a temp blank.html, to avoid https secure warning message"

It shoudn't be required to do any changes in the viewer to run https. You just have to add some string to special javacript statements in the HTML to avoid a warning in IE but you must not replace something with a blank html page.
Interested to join BIRT User Group Mannheim (Germany)?
Have a look at: http://www.xing.com/...-group-mannheim or write me an email
0

#5 User is offline   sandeep_sn Icon

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 33
  • Joined: 23-September 11


Posted 26 April 2012 - 12:53 AM

Hi,

Kindly let me know the javascript to be added and im getting the "http" as protocol and "80" as port number even though the application runs in the https application.As mentioned im using BIRT Viewer 3.7 version.

Kindly let me know your inputs on this.

Regards,
S.Sandeep
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users