Home
Analytics
First BIRT Report - Not appearing when run from eclipse
LarjJava
<p>Hi All,</p>
<p> </p>
<p>This is my first post.</p>
<p> </p>
<p>I have developed my first BIRT report in eclipse but it's not appearing when I run it.</p>
<p> </p>
<p>The reporting is using a data source that is an embedded derby database that I have created using a java application I have written.</p>
<p> </p>
<p>In the report designer within eclipse (I am using eclipse for report developers) i have created a data source and a data set that is taking data from embedded derby database. When i "preview results" of the data set the data is appearing as expected.</p>
<p> </p>
<p>However when i run the report nothing appears on the screen.</p>
<p> </p>
<p>This is the output I get when i run the report in "debug" mode .....</p>
<p> </p>
<div><span style="color:#ff0000;">Jan 05, 2016 9:39:34 PM org.eclipse.birt.report.debug.internal.core.vm.ReportVMServer start</span></div>
<div><span style="color:#ff0000;">INFO: [Server] client accepted</span></div>
<div><span style="color:#ff0000;">Jan 05, 2016 9:39:34 PM org.eclipse.birt.report.debug.internal.core.vm.ReportVMServer$1 run</span></div>
<div><span style="color:#ff0000;">INFO: [Server] enter request dispatching</span></div>
<div><span style="color:#ff0000;">Jan 05, 2016 9:39:34 PM org.eclipse.birt.report.debug.internal.core.launcher.ReportLauncher configEngine</span></div>
<div><span style="color:#ff0000;">INFO: User class path received: </span></div>
<div><span style="color:#ff0000;">Jan 05, 2016 9:39:39 PM org.eclipse.birt.report.debug.internal.core.vm.ReportVMServer$1 run</span></div>
<div><span style="color:#ff0000;">WARNING: [Server] client disconnected</span></div>
<div> </div>
<div>If anyone can help me with this it would be greatly appreciated.</div>
<div> </div>
<div>Thanks.</div>
Find more posts tagged with
Comments
Clement Wong
<p>What version of BIRT are you using?<br>
</p>
<p>Can you attach your design? If possible, can you send a sample of your Derby database (without the actual data).</p>
<p> </p>
<p>What version of Derby are you using?</p>
<p> </p>
<p>What version of Java are you using?</p>
<p> </p>
<p>As a baseline test, if you use the sample Derby database, Classic Models, and create a simple report. Does that work?</p>
LarjJava
<p>Hi Clement,</p>
<p> </p>
<p>Thanks for the reply.</p>
<p> </p>
<p>BIRT version: 4.5.0.v201506092134</p>
<p>Derby version: 10.11.1.2</p>
<p>Java version: 1.8.0_66</p>
<p>Eclipse version: Eclipse IDE for Java and Report Developers. Version: Mars.1 Release (4.5.1). Build id: 20150924-1200</p>
<p>OS: Windows 10</p>
<p> </p>
<p>The report design is a simple "select * from table" and the data appears fine in the "preview results" window.</p>
<p> </p>
<p>Paul.</p>
LarjJava
<p>Hi Clement,</p>
<p> </p>
<p>I have solved this.</p>
<p> </p>
<p>In eclipse you can set the web browser that will be used when running a report by going to .....</p>
<p> </p>
<p>window|preferences|general|web browser</p>
<p> </p>
<p>..... the default is set to "default system web browser" (which is chrome in my case).</p>
<p> </p>
<p>when i explicitly change the settings to use chrome (select "new" and adding the chrome browser explicitly) then it fixed the problem. my report now appears fine inside a chrome browser window when i run the report.</p>
<p> </p>
<p>hope this helps others who may be experiencing the same issue,</p>
<p> </p>
<p> </p>
Clement Wong
<p>Great to hear. BTW, there are two recommended settings to change under <em>Window > Preferences</em>.</p>
<p> </p>
<p><u><strong>Item #1</strong></u></p>
<p><em>General > Web Browser > Use External Web Browser</em></p>
<p>(Also, add a new browser pointing to Chrome or Firefox)</p>
<p> </p>
<p><u><strong>Item #2</strong></u></p>
<p>OS BIRT: <em>Report Design > Preview > Always use external browsers</em></p>
<p>Commercial BIRT: <em>Actuate BIRT > Preview > Always use external browsers</em></p>
<p> </p>
<p>Tip: Then you can use Chrome's Developer Tools (DevTools) via F12 to debug any client side issues.</p>