Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » View Report in Web Viewer Error(Unable to use BIRT Web Viewer within Eclipse)
View Report in Web Viewer Error [message #1341568] Thu, 08 May 2014 14:48 Go to next message
Harry Mantheakis is currently offline Harry MantheakisFriend
Messages: 9
Registered: August 2012
Junior Member
I am using Eclipse 4.3 Kepler with BIRT 4.3.2 on a 64-bit machine running Windows 7 and Java 8.

When I select Run -> View Report -> In Web Viewer I get the following error message:

HTTP ERROR: 500
Problem accessing /viewer/frameset. Reason:

    Server Error

--------------------------------------------------------------------------------
Powered by Jetty://


How can I fix this?
Re: View Report in Web Viewer Error [message #1375661 is a reply to message #1341568] Fri, 23 May 2014 04:58 Go to previous messageGo to next message
Michael Williams is currently offline Michael WilliamsFriend
Messages: 1925
Registered: July 2009
Senior Member

Have you tried using an external browser?

Michael

Developer Evangelist, Silanis
Re: View Report in Web Viewer Error [message #1376599 is a reply to message #1375661] Fri, 23 May 2014 13:44 Go to previous messageGo to next message
Harry Mantheakis is currently offline Harry MantheakisFriend
Messages: 9
Registered: August 2012
Junior Member
Yes I have - no luck.
Re: View Report in Web Viewer Error [message #1384491 is a reply to message #1376599] Thu, 29 May 2014 05:38 Go to previous messageGo to next message
Michael Williams is currently offline Michael WilliamsFriend
Messages: 1925
Registered: July 2009
Senior Member

You might try this out. I'm pretty sure Kris originally tried this because the viewer wasn't working with Java 8.

http://blogs.actuate.com/using-birt-viewer-toolkit-as-the-default-viewer/


Michael

Developer Evangelist, Silanis
Re: View Report in Web Viewer Error [message #1384557 is a reply to message #1384491] Thu, 29 May 2014 09:57 Go to previous messageGo to next message
Harry Mantheakis is currently offline Harry MantheakisFriend
Messages: 9
Registered: August 2012
Junior Member
Thank you for the link.

Setting up BIRT Viewer to work with a local instance of (say) Tomcat, using a workspace that Tomcat can access, etc., is not quite the simple solution I was hoping for.

We do use BIRT Viewer to render our reports in our application - and we use the Ant "sync" task to update reports (from an Eclipse workspace to a Tomcat webapps context) during development, which is a good workaround for when a BIRT report is already wired into an application that can (in turn) be used to invoke the report. (You do not even have to re-start Tomcat to see the changes, which is cool.)

What I was hoping for was a standalone solution whereby a developer does not need to be running Tomcat (or any other Servlet container) with BIRT Viewer deployed, etc.

I am sure that at one time the BIRT Viewer feature worked out-of-the-box, but I could be wrong about that.
Re: View Report in Web Viewer Error [message #1384639 is a reply to message #1384557] Thu, 29 May 2014 19:53 Go to previous messageGo to next message
Michael Williams is currently offline Michael WilliamsFriend
Messages: 1925
Registered: July 2009
Senior Member

The viewer works for me. My guess is it's because of Java 8, but I could be wrong on that. Have you tried using Java 7?

Michael

Developer Evangelist, Silanis
Re: View Report in Web Viewer Error [message #1384683 is a reply to message #1384639] Fri, 30 May 2014 10:54 Go to previous messageGo to next message
Harry Mantheakis is currently offline Harry MantheakisFriend
Messages: 9
Registered: August 2012
Junior Member
I have just tried it with Java 7 - the outer BIRT Report Viewer "frame" renders correctly (headers, buttons, etc.) but the report area itself remains blank.

What is more, with Java 7 the "Preview" function now fails - nothing is displayed.

I had the "Preview" function working with Java 8 after setting the following two properties in the "eclipse.ini" file:

-Dorg.eclipse.swt.browser.DefaultType=ie,mozilla
-Dorg.eclipse.swt.browser.IEVersion=9999

The above idea came from another online thread regarding the fact that the "Preview" function does not work with default settings either.

I have posted a bug report here, though nobody has responded yet:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=435395



Re: View Report in Web Viewer Error [message #1385219 is a reply to message #1384683] Thu, 05 June 2014 04:20 Go to previous messageGo to next message
Michael Williams is currently offline Michael WilliamsFriend
Messages: 1925
Registered: July 2009
Senior Member

It seems to be an issue with the internal Jetty server and Java 8 because I can deploy BIRT to Tomcat 7 using Java 8 and get the appropriate output.

Michael

Developer Evangelist, Silanis
Re: View Report in Web Viewer Error [message #1385315 is a reply to message #1385219] Thu, 05 June 2014 15:01 Go to previous messageGo to next message
Harry Mantheakis is currently offline Harry MantheakisFriend
Messages: 9
Registered: August 2012
Junior Member
We have no issues with deploying BIRT Viewer in Tomcat. Everything works fine.

The problem I have is with Eclipse running on its own.

It should be possible to select "Run -> View Report -> In Web Viewer" and see a BIRT Viewer rendition of the report currently open in Eclipse.

I seem to recall that - a good while back - this used to work .

With Java 7 it *almost* works - the BIRT Viewer "window" (header, buttons, etc.) renders, but the report fails to display.

Am I correct in thinking that selecting "Run -> View Report -> In Web Viewer" should display my report - with Eclipse running on its own, and default settings?
Re: View Report in Web Viewer Error [message #1385317 is a reply to message #1385315] Thu, 05 June 2014 15:08 Go to previous messageGo to next message
Michael Williams is currently offline Michael WilliamsFriend
Messages: 1925
Registered: July 2009
Senior Member

My point in saying that Tomcat works is because Tomcat is different than the Jetty server used inside of Eclipse. I know you were talking about from the designer. Smile

Yes, you should be able to run the web viewer using the method you say above. You'll probably need to go to the Preferences -> Report Design -> Preview and select to use external browser for it to work properly with Java 7. Let me know.


Michael

Developer Evangelist, Silanis
Re: View Report in Web Viewer Error [message #1385337 is a reply to message #1385317] Thu, 05 June 2014 17:20 Go to previous messageGo to next message
Harry Mantheakis is currently offline Harry MantheakisFriend
Messages: 9
Registered: August 2012
Junior Member
Well, thank you Michael: BIRT Report Viewer works with my "Default system web browser" external browser - which happens to be Firefox - running under Java 7.

When I tried this with Java 8, I get the same error message as I originally posted:


HTTP ERROR: 500
Problem accessing /viewer/frameset. Reason:
Server Error
Powered by Jetty://


So I guess it is back to Java 7 for us Smile
Re: View Report in Web Viewer Error [message #1385347 is a reply to message #1385337] Thu, 05 June 2014 18:17 Go to previous messageGo to next message
Michael Williams is currently offline Michael WilliamsFriend
Messages: 1925
Registered: July 2009
Senior Member

Correct. Java 8 isn't working with Jetty, it seems.

Michael

Developer Evangelist, Silanis
Re: View Report in Web Viewer Error [message #1410416 is a reply to message #1385347] Wed, 20 August 2014 18:23 Go to previous messageGo to next message
Paul Clenahan is currently offline Paul ClenahanFriend
Messages: 35
Registered: July 2009
Member
Harry,

We have gone ahead and created a Bugzilla for this issue: https://bugs.eclipse.org/bugs/show_bug.cgi?id=435395

I would appreciate it if you can summarize this forum thread with your findings into the Bugzilla. You may also want to add yourself as a "cc" so you can keep posted on the activity over on the bugzilla.

Thanks,

Paul.
BIRT PMC
Re: View Report in Web Viewer Error [message #1410418 is a reply to message #1410416] Wed, 20 August 2014 18:26 Go to previous messageGo to next message
Paul Clenahan is currently offline Paul ClenahanFriend
Messages: 35
Registered: July 2009
Member
Ooops. Got ahead of myself a little there. I see that it was you that created the Bugzilla - Thanks Harry.

If you could review the Bugzilla and make sure it is up to date with the findings from this thread, that would be appreciated.

Thanks.

Paul.
Re: View Report in Web Viewer Error [message #1700355 is a reply to message #1341568] Thu, 02 July 2015 07:07 Go to previous messageGo to next message
Rajat Khedekar is currently offline Rajat KhedekarFriend
Messages: 2
Registered: July 2015
Junior Member
Hi,
This is Rajat...

I also faced this problem and got a resolved it by below steps :
1) Lower down your browser setting by going in to "internet option" in 'Security'
lower down the level of 'internet' and 'trusted sites' to medium/low.

2) In eclipse go into 'Windows' - > 'Perferences' -> 'Report Design' - > 'Preview' - > 'Preview Server' and type 'localhost' in first tab (Host name) and click apply.


Please try this...

It got working for me... Razz
  • Attachment: viewerror.jpg
    (Size: 24.34KB, Downloaded 1361 times)
Re: View Report in Web Viewer Error [message #1700382 is a reply to message #1410418] Thu, 02 July 2015 09:49 Go to previous message
Rajat Khedekar is currently offline Rajat KhedekarFriend
Messages: 2
Registered: July 2015
Junior Member
Lower down the security of internet explorer related to internet and local by going in internet option
also
Go to Eclipse - > Windows - > Preferences - > Report Design - >Preview - >Preview Server and type 'localhost' in first tab (host name)

or
else install latest internet explorer 11
Previous Topic:EMF object type in column outputs "null" in Web viewer while it works in preview
Next Topic:New wizards menu not shown on Report Design perspective swith
Goto Forum:
  


Current Time: Thu Mar 28 20:44:31 GMT 2024

Powered by FUDForum. Page generated in 0.02830 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top