|
Re: problem with birt-runtime [message #699449 is a reply to message #699295] |
Thu, 21 July 2011 14:45 |
|
The only thing you should have had to do was add the oracle jdbc driver
to the classpath. Undo all the previous changes and edit the
genReport.bat and add it to this line:
SET
BIRTCLASSPATH=%BIRT_HOME%\ReportEngine\lib\com.ibm.icu_4.4.2.v20110208.jar;...
Jason
On 7/21/2011 5:46 AM, forums-noreply@eclipse.org wrote:
> hello,
>
> i downloaded the birt-runtime-3_7_0 to create a report via console.
>
> my command looks like this:
> U:\birt-runtime-3_7_0\ReportEngine\genReport.bat --mode runrender --parameter "MitarbeiterID=1" --output "C:\Documents and Settings\mag7rt\Desktop\output.pdf" --format PDF "U:\workspace-birt\SDBReport\EmployeeReport.rptdesign"
>
> at the first time i ran this command there were some errors:
>
> 21.07.2011 11:11:08 org.eclipse.birt.report.data.oda.jdbc.JDBCDriverManager loadExtraDriver
> SCHWERWIEGEND: DriverClassLoader failed to load class: oracle.jdbc.OracleDriver
> java.lang.ClassNotFoundException: oracle.jdbc.OracleDriver
>
> the pdf file was created on the desktop, but without the data from the database...
>
> i searched on google and i found some solutions... (cant post link)
>
> so i copied the folder "org.eclipse.birt.report.data.oda.jdbc_2.6.2.r262_v20110127" with his content from my eclipse-birt/plugins folder to the birt-runtime-3_7_0\ReportEngine\plugins folder and ran the command again...
>
> and it said:
>
>
> this time it doesnt create the pdf file on my desktop
>
> so i decided to copy the following three files from eclipse-birt/plugins to birt-runtime-3_7_0\ReportEngine\plugins
> - org.eclipse.osgi.services_3.2.100.v20100503.jar
> - org.eclipse.osgi.util_3.2.100.v20100503.jar
> - org.eclipse.osgi_3.6.2.R36x_v20110210.jar
>
> now it says:
>
>
> and no pdf file...
>
> i have no idea what to do...
>
> can somebody help?
> thx!
|
|
|
|
Re: problem with birt-runtime [message #798084 is a reply to message #701612] |
Tue, 14 February 2012 08:21 |
suganya govindaraj Messages: 8 Registered: February 2012 |
Junior Member |
|
|
Hi,
I want to create a project using BIRT and need to view that in jsp file.
I downloaded, "birt-rutime-3-7-1" and copied the sample in my tomcat webapps, its working fine. I created my BIRT report, and copied the files which is in the "birt-runtime" sample. But i dont know how to include those war files into my project.
Please some one help me,
How can i include my "birt-runtime" libraries in my project "pom.xml" file. Please help me.
Thanks in advance.
[Updated on: Tue, 14 February 2012 08:28] Report message to a moderator
|
|
|
Re: problem with birt-runtime [message #798432 is a reply to message #798084] |
Tue, 14 February 2012 17:38 |
|
What type of project is it? Is it an Eclipse Java Project? If so right
click on the project and choose configure build path and add the jars
from the birt-runtime/ReportEngine/lib directory.
Jason
On 2/14/2012 3:21 AM, suganya govindaraj wrote:
> Hi,
>
> How can i include my "birt-runtime" libraries in my project. Please help
> me.
>
> Thanks in advance.
|
|
|
Re: problem with birt-runtime [message #798816 is a reply to message #798432] |
Wed, 15 February 2012 05:33 |
suganya govindaraj Messages: 8 Registered: February 2012 |
Junior Member |
|
|
Thanks for your kind help.
I'm new to Eclipse. I want to view my BIRT report in jsp file.
But I'm getting
+ Can't startup the OSGI framework
I did the following steps:
1) I downloaded "birt-runtime-3.7.1" and i copied "birt.war" from "birt-runtime" into tomcat/webapps/
2) The birt.war is working fine. The ".rptdesign" (BIRT report) also working fine.
3) I installed BIRT tool in my eclipse. And i created one new Eclipse Java project(BirtSample), and I added one BIRT report with the datas from "mysql" database into my BirtSample project.
4) I copied "birt.tld" (from birt under webapps) file into my WEB-INF, and in web.xml
<jsp-config>
<taglib>
<taglib-uri>/birt.tld</taglib-uri>
<taglib-location>/WEB-INF/birt.tld</taglib-location>
</taglib>
</jsp-config>
i added these.
5)In pom.xml i added the required libraries for BIRT ( Am not sure which i done is right)
Did I missed anything?
How to resolve this issue? Please help me.
Thanks in advance.
[Updated on: Wed, 15 February 2012 12:07] Report message to a moderator
|
|
|
Re: problem with birt-runtime [message #799244 is a reply to message #798816] |
Wed, 15 February 2012 16:40 |
|
Are you wanting to use Eclipse to create a web app or just to write the
reports? If you only want to use it to design the report, create a birt
report project, design your report and then export the report to the
birt directory on your tomcat install. If you want to create web app
you may want to download the WTP integration package from the full list
of birt downloads:
http://download.eclipse.org/birt/downloads/build.php?build=R-R1-3_7_1-201109131734
After you install this package you can create a new project Web->Dynamic
Web Project. In the configuration menu there should be a BIRT Reporting
Web Project option.
Currently the viewer is not mavenized. You may also be interested in:
http://birtworld.blogspot.com/2007/09/22-birt-tag-library-building-custom.html
Jason
On 2/15/2012 12:33 AM, suganya govindaraj wrote:
> Thanks for your kind help.
> I'm new to Eclipse. I want to view my BIRT report in jsp file.
> But I'm getting "NetworkError: 404 Not Found -
> /BirtSampleframeset?__id=birtViewer&__report=demoReport.rptdesign&__masterpage=true"
>
>
> I did the following steps:
>
> 1) I downloaded "birt-runtime-3.7.1" and i copied "birt.war" from
> "birt-runtime" into tomcat/webapps/
> 2) The birt.war is working fine. The ".rptdesign" (BIRT report) also
> working fine.
> 3) I installed BIRT tool in my eclipse. And i created one new Eclipse
> Java project(BirtSample), and I added one BIRT report with the datas
> from "mysql" database into my BirtSample project.
> 4) I copied "birt.tld" (from birt under webapps) file into my WEB-INF,
> and in web.xml
> <jsp-config>
> <taglib>
> <taglib-uri>/birt.tld</taglib-uri>
> <taglib-location>/WEB-INF/birt.tld</taglib-location>
> </taglib>
> </jsp-config>
> i added these.
> 5)In pom.xml i added the required libraries for BIRT ( Am not sure which
> i done is right)
> Did I missed anything?
> Please Help me.
> Thanks in advance.
|
|
|
|
Re: problem with birt-runtime [message #903068 is a reply to message #903037] |
Tue, 21 August 2012 19:25 |
|
Can you try using a shorter path? This error happens when the classpath
string is to long. Rename the location of the runtime to a shorter name.
Jason
On 8/21/2012 1:42 PM, Bala Voleti wrote:
> Hi Jason,
>
> I tried the to create a html file of the report, trying to use the
> genReport.
>
> Please find the following command which i have in my batch file.
>
> Set BIRT_HOME=E:\BIRTRuntime\birt-runtime-4_2_0\
> %BIRT_HOME%ReportEngine\genReport.bat -p "user='David R. Griffin'" -p
> "region=3" -f pdf E:\snapviews\Invoice_Reports\Other_Business.rptdesign
>
> output i receive is
> The input line is too long.
> The syntax of the command is incorrect.
> C:\Users\bvoleti\Documents\BIRT
>
> Can i get some help what is wrong in my command.
>
> Thank you,
> Bala
|
|
|
Powered by
FUDForum. Page generated in 0.05397 seconds