Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Troubleshoot pdf export
Troubleshoot pdf export [message #493630] Tue, 27 October 2009 11:40 Go to next message
No real name is currently offline No real nameFriend
Messages: 3
Registered: October 2009
Junior Member
Hello

I'm using Tivoli Common Reporting with the BIRT engine 2.2.1.
Now I have the following problem. I run a script which produces a few reports in pdf format. The greater part works fine, but some of them have only header, a grid with the selected report parameters and a footer. The chart is missing. I have verified the command which the script execute and this is working. Now I will go into depper and would like to trace the birt engine pdf creation process.
Do you know which, from the following components are useful to trace ?

org.eclipse.birt.chart...
org.eclipse.birt.core...
org.eclipse.birt.data...
org.eclipse.birt.report...

Thanks
Peter
Re: Troubleshoot pdf export [message #493654 is a reply to message #493630] Tue, 27 October 2009 13:19 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Peter,

Can you post how the report is being executed? Can you post the code?

Jason

peter_bauer_71@hotmail.com wrote:
> Hello
>
> I'm using Tivoli Common Reporting with the BIRT engine 2.2.1.
> Now I have the following problem. I run a script which produces a few
> reports in pdf format. The greater part works fine, but some of them
> have only header, a grid with the selected report parameters and a
> footer. The chart is missing. I have verified the command which the
> script execute and this is working. Now I will go into depper and would
> like to trace the birt engine pdf creation process. Do you know which,
> from the following components are useful to trace ?
>
> org.eclipse.birt.chart...
> org.eclipse.birt.core...
> org.eclipse.birt.data... org.eclipse.birt.report...
>
> Thanks Peter
Re: Troubleshoot pdf export [message #493683 is a reply to message #493654] Tue, 27 October 2009 14:45 Go to previous messageGo to next message
No real name is currently offline No real nameFriend
Messages: 3
Registered: October 2009
Junior Member
It's a perl script, where I read a file with a few machines and there osnames. $execute is the command string which I call with the system command.

If I run only linux machines, it works
If I run linux and Unix machine, some of the unix machines fail.
If I run only unix machine, it works
Strange or not !?

$execute = '/TCR/products/tcr/bin/trcmd.sh -distribute -report /ITM621_V1.2/ITM-621/ITM_Resource_Utilization_Details -PDF -location /tmp/tmp/' . $directory . '/' . $servername . '_overview.pdf -notifyFile /tmp/tmp/' . $servername . '_notify.txt -parameters OSType=' . $p_ostype . ' "Server Name=' . $p_servername . '" ShowTable=no -user tipadmin -password xxx';

or do you mean the xml code of the reportdesign file ?

[Updated on: Tue, 27 October 2009 14:57]

Report message to a moderator

Re: Troubleshoot pdf export [message #493712 is a reply to message #493683] Tue, 27 October 2009 16:22 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Check permissions on the birt runtime install location. You may also
need to look at font location and permissions.

peter_bauer_71@hotmail.com wrote:
> It's a perl script, where I read a file with a few machines and there
> osnames. $execute is the command string which I call with the system
> command.
>
> If I run only linux machines, it works
> If I run linux and Unix machine, some of the unix machines fail.
> If I run only unix machine, it works
> Strange or not !?
>
> $execute = '/TCR/products/tcr/bin/trcmd.sh -distribute -report
> /ITM621_V1.2/ITM-621/ITM_Resource_Utilization_Details -PDF -location
> /tmp/tmp/' . $directory . '/' . $servername . '_overview.pdf -notifyFile
> /tmp/tmp/' . $servername . '_notify.txt -parameters OSType=' . $p_ostype
> . ' "Server Name=' . $p_servername . '" ShowTable=no -user tipadmin
> -password xxx';
Re: Troubleshoot pdf export [message #493830 is a reply to message #493712] Wed, 28 October 2009 08:44 Go to previous messageGo to next message
No real name is currently offline No real nameFriend
Messages: 3
Registered: October 2009
Junior Member
the permissions at the birtengine are ok, what did you mean with the font location ... where can I find that ?

Thanks
Re: Troubleshoot pdf export [message #493948 is a reply to message #493830] Wed, 28 October 2009 15:16 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

look at the fonts config file in:
\WEB-INF\platform\plugins\org.eclipse.birt.report.engine.fon ts_2.5.1.v20090821

Jason

peter_bauer_71@hotmail.com wrote:
> the permissions at the birtengine are ok, what did you mean with the
> font location ... where can I find that ?
>
> Thanks
Re: Troubleshoot pdf export [message #493951 is a reply to message #493948] Wed, 28 October 2009 15:22 Go to previous message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Also look at this faq posting

http://wiki.eclipse.org/BIRT/FAQ/Charts2.2#Charts_not_render ing_on_Unix_systems

Jason Weathersby wrote:
> look at the fonts config file in:
> \WEB-INF\platform\plugins\org.eclipse.birt.report.engine.fon ts_2.5.1.v20090821
>
>
> Jason
>
> peter_bauer_71@hotmail.com wrote:
>> the permissions at the birtengine are ok, what did you mean with the
>> font location ... where can I find that ?
>>
>> Thanks
Previous Topic:2 fields from 2 scripted data sets to be combined in one data field
Next Topic:Birt Deployment on TOmcat server not working
Goto Forum:
  


Current Time: Fri Apr 26 01:24:20 GMT 2024

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

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

Back to the top