Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » BIRT Report Engine Installation Problem
BIRT Report Engine Installation Problem [message #714186] Wed, 10 August 2011 02:24 Go to next message
cbr125x  is currently offline cbr125x Friend
Messages: 34
Registered: July 2011
Member
I try to learn BIRT from Book "Integrating_and_Extending_BIRT_2nd_Edition",
I learn at BIRT Report Engine Installation

I already set the system variable %BIRT_HOME%
The steps :
1 From the command line, navigate to the directory where you installed BIRT Report Engine.

2 Navigate to the ReportEngine subdirectory.

3 To run the genReport script, run the appropriate file for your operating system:
■ On a Windows platform, run genReport.bat.
■ On a UNIX or Linux platform, run genReport.sh.
Enclose the value for a command line parameter in quotes. For example,
the following Windows platform command uses the value, Hello, for the test.rptdesign:
genReport -p "sample=Hello" "C:\birt-runtime-2_2_1\WebViewerExample\test.rptdesign"

genReport generates the required output file.
4 Open the output file. In this example, the file is C:\birt-runtime-2_2_1\WebViewerExample\test.html.

After do that steps in commandline, i get response like below :
"The input line is too long.
The syntax of the command is incorrect."

From the steps above, is there something wrong with that, btw i use BIRT 3_7_0 version and in the steps above i replace birt-runtime-2_2_1 to birt-runtime-3_7_0?
Thx

[Updated on: Wed, 10 August 2011 02:25]

Report message to a moderator

Re: BIRT Report Engine Installation Problem [message #714201 is a reply to message #714186] Wed, 10 August 2011 03:10 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

I believe this is a known issue on windows, with the classpath string in
the genReport.bat file. If the report engine (BIRT_HOME) is a highly
nested folder it makes the command string to long. Try moving the
engine to shorten the string or set the system classpath to add the jars
and remove the -cp "%BIRTCLASSPATH%" setting.

I got this to work on windows using a birt home of c:/3.7runtime.

Jason

On 8/9/2011 10:24 PM, cbr125x wrote:
> I try to learn BIRT from Book "Integrating_and_Extending_BIRT_2nd_Edition",
> I learn at BIRT Report Engine Installation
>
> I alreay set the system variable %BIRT_HOME%
> The steps : 1 From the command line, navigate to the directory where you
> installed BIRT Report Engine.
>
> 2 Navigate to the ReportEngine subdirectory.
>
> 3 To run the genReport script, run the appropriate file for your
> operating system:
> ■ On a Windows platform, run genReport.bat.
> ■ On a UNIX or Linux platform, run genReport.sh.
> Enclose the value for a command line parameter in quotes. For example,
> the following Windows platform command uses the value, Hello, for the
> test.rptdesign:
> genReport -p "sample=Hello"
> "C:\birt-runtime-2_2_1\WebViewerExample\test.rptdesign"
>
> genReport generates the required output file.
> 4 Open the output file. In this example, the file is
> C:\birt-runtime-2_2_1\WebViewerExample\test.html.
>
> After do that steps in commandline, i get response like below :
> "The input line is too long.
> The syntax of the command is incorrect."
>
> From the steps above, is there something wrong with that, btw i use
> BIRT 3_7_0 version and in the steps above i replace birt-runtime-2_2_1
> to birt-runtime-3_7_0?
> Thx
Re: BIRT Report Engine Installation Problem [message #753435 is a reply to message #714201] Thu, 27 October 2011 08:56 Go to previous message
Chuscazo  is currently offline Chuscazo Friend
Messages: 3
Registered: October 2011
Junior Member
For windows, the solutions is change the line
SET BIRTCLASSPATH=%BIRT_HOME%\ReportEngine\lib\com.ibm.icu_4.4.2.v20110208.jar;%BIRT_HOME%\ReportEngine\lib\com.lowagie.text_2.1.7.v201004222200.jar;%BIRT_HOME%\ReportEngine\lib\commons-cli-1.0.jar....
by
SET BIRTCLASSPATH=%BIRT_HOME%\ReportEngine\lib\*;

Now not exists the proble whith the BIRTCLASSPATH var size.

good luck
Previous Topic:DB2 connections
Next Topic:OutOfMemory exceptions in birt engine
Goto Forum:
  


Current Time: Thu Nov 27 03:13:45 GMT 2014

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

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