Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » RunReport.java example question?
RunReport.java example question? [message #225366] Thu, 15 March 2007 13:19 Go to next message
Eclipse UserFriend
Originally posted by: beta.designtech.se

I'm trying to create a report from a remote machine using the RunReport
example code and it seems that the report engine needs an X-server for the
report to be created successfully. If X-forwarding is not used the report
file size is zero with the error message:
X connection to localhost:12.0 broken (explicit kill or server shutdown)

Can anyone shed some light on this?

Regards,

Fredrik
Re: RunReport.java example question? [message #225787 is a reply to message #225366] Fri, 16 March 2007 08:59 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: martin.tauber.t-online.de

Sorry, I don't know the runReport.java example. Maybe you can add some
more information.

Fredrik Lindvall schrieb:
> I'm trying to create a report from a remote machine using the RunReport
> example code and it seems that the report engine needs an X-server for the
> report to be created successfully. If X-forwarding is not used the report
> file size is zero with the error message:
> X connection to localhost:12.0 broken (explicit kill or server shutdown)
>
> Can anyone shed some light on this?
>
> Regards,
>
> Fredrik
>
>
Re: RunReport.java example question? [message #225874 is a reply to message #225787] Fri, 16 March 2007 14:05 Go to previous message
Eclipse UserFriend
Originally posted by: beta.designtech.se

Ok, thanks for replying.

I use this example ( http://www.eclipse.org/birt/deploy/RunReport.java ) to
make some easy test reports with the example database that is available
here: http://www.eclipse.org/birt/phoenix/db/
If I run the command 'java RunReport chart.rptdesign -p' with the Xserver
running everything is ok and the pdf report is created normally but if I run
the command from a shell without Xserver support I get the error message 'X
connection to localhost:12.0 broken (explicit kill or server shutdown)' and
the pdf report file has zero length.
I eventually want to call on the command from php either by using the
'system' command or running the RunReport class through the php-java bridge
but I'm suspecting I will run into trouble if the birt report engine needs
the X environment to be able to create the reports without errors.

Regards,

Fredrik

"Martin Tauber" <martin.tauber@t-online.de> skrev i meddelandet
news:etdm9j$hru$1@utils.eclipse.org...
> Sorry, I don't know the runReport.java example. Maybe you can add some
> more information.
>
> Fredrik Lindvall schrieb:
>> I'm trying to create a report from a remote machine using the RunReport
>> example code and it seems that the report engine needs an X-server for
>> the report to be created successfully. If X-forwarding is not used the
>> report file size is zero with the error message:
>> X connection to localhost:12.0 broken (explicit kill or server shutdown)
>>
>> Can anyone shed some light on this?
>>
>> Regards,
>>
>> Fredrik
Previous Topic:Scripted DataSEt Parameters : script access
Next Topic:Change XML Source editor?
Goto Forum:
  


Current Time: Sat Apr 20 13:43:20 GMT 2024

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

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

Back to the top