Report Designer 4.3.2 Preview Not Working [message #1611711] |
Wed, 11 February 2015 15:14 |
Al Koch Messages: 62 Registered: August 2011 |
Member |
|
|
Hello,
I am running Kepler and used Update Manager to install the Report Designer 4.3.2 plug-in and associated modules. It appears that everything installed properly and I have been able to define a Data Source and then design multiple reports. I can use the toolbar icon and view the reports as HTML, PDF and XLSX but here the "View Report in Web Viewer" also fails to work (although the window that pops up does show the "menu bar"). When I select the pane for a report there is a delay of about 10 seconds and then the pane "flashes" and is continues to be blank. (Actually, there is a Refresh button and a message stating that there is a limit of 500 rows across the top of the pane but the rest of the pane is empty.)
Can anyone explain why this has happened and how to fix this? Nothing in all that I have read suggests that the report engine has to be installed and running for this to work but is that correct?
Thank you.
[Updated on: Wed, 11 February 2015 15:18] Report message to a moderator
|
|
|
Re: Report Designer 4.3.2 Preview Not Working [message #1611717 is a reply to message #1611711] |
Wed, 11 February 2015 15:20 |
|
This feature has actually been removed from the latest versions. Using external browsers is the preferred method and also gives you the best idea of what your report will actually look like in production. I think there was a fix that some people were able to get to work that was listed in a bug report. If I find it, I'll post the link in here.
To use external browsers, go to Window ->Preferences->Report Design->Preview and select the use external browsers check box.
Michael
Developer Evangelist, Silanis
|
|
|
|
|
Re: Report Designer 4.3.2 Preview Not Working [message #1611737 is a reply to message #1611736] |
Wed, 11 February 2015 15:35 |
|
The tab wasn't removed until 4.4 as the issue was seemingly intermittent for certain setups. If you were to upgrade, you wouldn't have the tab any longer.
Have you gone into the preferences and changed to use external browser? If you do this, the web viewer output should work. If you have already done so and it's not working, let me know.
Michael
Developer Evangelist, Silanis
|
|
|
|
|
|
|
|
|
Re: Report Designer 4.3.2 Preview Not Working [message #1611808 is a reply to message #1611801] |
Wed, 11 February 2015 16:25 |
|
You'll need to have Eclipse 4.4 to upgrade to BIRT 4.4. You can download from eclipse.org/birt. 4.4.1 is the latest version. 4.4.2 will release later this month.
You could try forcing Eclipse to use Java 7 to see if that solves your issue. I thing Java 8 support will be part of the 4.5 release (June/July timeframe).
Michael
Developer Evangelist, Silanis
|
|
|
Re: Report Designer 4.3.2 Preview Not Working [message #1611994 is a reply to message #1611808] |
Wed, 11 February 2015 19:10 |
Al Koch Messages: 62 Registered: August 2011 |
Member |
|
|
Hi Michael ,
Well, I updated to Luna (4.4) but that (of course) required updating other plug-ins. I finally got all updated and now have BIRT 4.4. However, I still have a problem where the View with Web Viewer fails. But now, we have a different failure.
I see that the BIRT.war is being deployed in the JBoss 7 server (11:05:09,992 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS018559: Deployed "birt.war"). But when I select View Report in Web Viewer Firefox now shows:
HTTP ERROR: 500
Problem accessing /viewer/frameset. Reason:
Server Error
(Also, I was wrong about Java. Java 8 is installed but Eclipse is pointed at the Java 7 RTE).
Can you help me discover why we are now failing (seems like I went backwards after the update!)
Thanks.
Al
[Updated on: Wed, 11 February 2015 19:10] Report message to a moderator
|
|
|
|
Re: Report Designer 4.3.2 Preview Not Working [message #1612031 is a reply to message #1612000] |
Wed, 11 February 2015 19:43 |
Al Koch Messages: 62 Registered: August 2011 |
Member |
|
|
Yes. I missed the very last line of the error message above which was:
Powered by Jetty://
However, I don't understand the significance of this.
Here is something else. If I test the server by accessing (from the local machine) at the local machine's address as ipaddress:port/birt/ we see the BIRT greeting page. But if I use http://localhost:port/birt/ we get:
HTTP ERROR: 404
Problem accessing /birt/. Reason:
Not Found
Powered by Jetty://
How can that happen since "ipaddress" above is the loca host? Does that provide a clue?
Also, I cannot locate instructions for how to "configure" the engine at least for the database driver. Since I haven't done this that may be the cause of some of these problems. How is this done for JBoss 7?
Thanks,
Al
[Updated on: Wed, 11 February 2015 20:09] Report message to a moderator
|
|
|
Re: Report Designer 4.3.2 Preview Not Working [message #1612064 is a reply to message #1612031] |
Wed, 11 February 2015 20:15 |
|
The port used for the BIRT session from the designer isn't a fixed port, unless you specify a specific port. That could be part of why it's not finding the viewer when you enter an address like that. From the designer, you can find these settings in Window->Preferences->Report Design->Preview->Preview Server.
As for Jetty, I was just confused about you saying it was running on JBoss.
As for the Java 8 issue, I feel like I ran into the issue that even though Eclipse was pointing at 7, it still actually ran on 8 when it was installed (I have since deleted Java 8 altogether). Is there any way you can try uninstalling Java 8 completely to see if that solves the issue. I understand this might not work for you long term, but it'd help in discovering if that's the issue.
Michael
Developer Evangelist, Silanis
|
|
|
|
|
|
Re: Report Designer 4.3.2 Preview Not Working [message #1612198 is a reply to message #1612133] |
Wed, 11 February 2015 22:14 |
|
1)
a) It means that your JBoss is working, but your viewer is not working. Do you get anything in your log files? You're saying you just get a 500 error when trying to go through JBoss? This would probably mean that the viewer is not properly deployed.
b) I'm assuming you followed the instructions I gave inside the designer to set the use of external browsers only, correct? The next thing you'll need to do is go back to the preview server page and remove the host and port settings you put there. (All versions of BIRT I have work properly in all three major browsers FF, IE, and Chrome with external browser)
c) You would have to extract the war (Jboss should actually do this for you when you start/restart it, if you deployed it in the proper location). You could also try just using the WebViewerExample folder which is just the war file extracted. You can rename the WebViewerExample folder anything you'd like and call the application with the name you give it.
Michael
Developer Evangelist, Silanis
|
|
|
|
|
|
|
|
|
Re: Report Designer 4.3.2 Preview Not Working [message #1613824 is a reply to message #1613803] |
Thu, 12 February 2015 22:55 |
|
At first glance, I don't see a difference.
I've not deployed 4.4 to JBoss 7. I might have to give it a try. The old instructions for JBoss may no longer apply. I dunno.
Here are the old instructions: https://wiki.eclipse.org/BirtPOJO_Viewer_JBOSS_Deployment
Is there anything special you're doing in your report design? Connection profile? Did you deploy your database Jar if using JDBC? Anything else special about the designs that aren't working?
Edit: Ah, sorry, I didn't see you said you used a library and a template. Where did you place your designs/libraries in the web viewer deployment?
Michael
Developer Evangelist, Silanis
[Updated on: Thu, 12 February 2015 22:58] Report message to a moderator
|
|
|
|
Re: Report Designer 4.3.2 Preview Not Working [message #1613843 is a reply to message #1613832] |
Thu, 12 February 2015 23:12 |
|
Your deployment folder structure would need to match your design structure, probably, so you'd need the same structure from the root of your deployment as in your workspace in the designer. Can you make a design and library for me that uses the sample database that fails for you and I'll just try it out.
Michael
Developer Evangelist, Silanis
|
|
|
|
Re: Report Designer 4.3.2 Preview Not Working [message #1614919 is a reply to message #1614201] |
Fri, 13 February 2015 15:31 |
|
Great! Glad it's working, now.
As for the report folder, if you put your reports in here, you'd call them by http://localhost:8080/birt/frameset?__report=report/test.rptdesign since the root folder of the web viewer is the default location for designs. If you changed it to be the reports folder in the web.xml, you could not put the "report" part of the location. This folder is really meant for if your design environment has a folder in your workspace for reports, one for libraries, etc. You would rename this report folder to whatever name you used. Then, add a library folder, etc. to mimic your design environment structure.
Hope this helps.
Michael
Developer Evangelist, Silanis
|
|
|