Re: [idempiere] upload *.war in idempiere for jasper report

755 views
Skip to first unread message

Carlos Antonio Ruiz Gomez

unread,
Mar 4, 2013, 10:11:49 PM3/4/13
to idem...@googlegroups.com
Hi Alexander - you can use the attachment way of deploying.

Regards,

Carlos Ruiz


On 27/02/13 21:40, alexan...@ambidexter-consulting.com wrote:
>
> Hi everyone,
>
> in adempiere, I usually use jasper report, make *.war and upload it to
> server,deploy directory of adempiere so the report can appear when i
> call. e.g.:http://192.168.0.10:8080/reportTest/form_po.jasper
>
> In idempiere, in which directory I have to upload the *.war file so i
> can view the report?? or is there another way how to view the jasper
> report in idempiere?
>
> Thanks
>

Alexander AS

unread,
Mar 10, 2013, 5:25:17 AM3/10/13
to idem...@googlegroups.com
Hi Carlos,

sorry for late reply..
thankss FYI.. i'll try it.. 

Regards,
Alexander AS

Carlos Antonio Ruiz Gomez

unread,
Mar 12, 2013, 11:36:27 AM3/12/13
to idem...@googlegroups.com
Alex, I was reviewing the tomcat config file server.xml and maybe you can test putting your .war file on the webapps folder that is created when starting the idempiere server.

Can you test if that works?

Regards,

Carlos Ruiz

Alexander AS

unread,
Mar 12, 2013, 11:46:24 AM3/12/13
to idem...@googlegroups.com
Sure, i'll test it tomorrow morning n report it to you.
Thanks for u'r support Carlos. Gracias :)

Regards,
Alexander AS

AS Alexander

unread,
Mar 13, 2013, 12:22:25 AM3/13/13
to idem...@googlegroups.com
Hi Carlos,

i've just tested the .war file, and I found this error:
Inline image 1
If there any wrong with my steps?

Regards,

Alexander AS


--
You received this message because you are subscribed to a topic in the Google Groups "iDempiere" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/idempiere/YXZVLT9GX1c/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to idempiere+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
Regards,
Alexander. AS
image.png

Heng Sin Low

unread,
Mar 21, 2013, 6:08:15 AM3/21/13
to idem...@googlegroups.com
Hi Alexander,

iDempiere comes with the jasper report webpp so all you have to do is to create a fragment project to host your jasper report resources ( .jasper, .jrxml, etc ). For reference, I've create an example eclipse project here - https://bitbucket.org/hengsin/idempiere-hengsin/downloads/jasper.fragment.test.zip

You can use the same fragment approach to deploy additional fonts too, example - https://bitbucket.org/hengsin/idempiere-hengsin/downloads/jasper.font.test.zip

Regards,
Low


--
You received this message because you are subscribed to the Google Groups "iDempiere" group.
To unsubscribe from this group and stop receiving emails from it, send an email to idempiere+...@googlegroups.com.
image.png

Heng Sin Low

unread,
Mar 21, 2013, 6:12:32 AM3/21/13
to idem...@googlegroups.com
one more thing, the context path for the jasper report webapp is set to webApp previously and I've change it to JasperReportFiles in current trunk revision. If your local installation port for idempiere is 8080, and your jasper file is MyJasperReport.jasper, the path to the report file would be http://localhost:8080/webApp/MyJasperReport.jaser for earlier revisions or http://localhost:8080/JasperReportFiles/MyJasperReport.jaser for the current revision.
image.png

Nicolas Micoud

unread,
Jun 5, 2013, 10:07:06 AM6/5/13
to idem...@googlegroups.com
Hi,


I've started to play with Jasper reports.
I've created a fragment and a simple report with one parameter.
It is ok from Eclipse.

Now, i'd like to add an image on this report.

I've done it and i change the Image expression to "Header.jpg".

This image is in the fragment.

I can access to the image through http://localhost:8080/JasperReportFiles/Header.jpg


But when i try to launch the report, it fails and log says :

GRAVE: ReportStarter.startProcess: Can not run report - Byte data not found at : C:\Users\Nico\AppData\Local\Temp/HeaderTGI_FR.jpg

Any ideas ?

Thanks

Nicolas
Reply all
Reply to author
Forward
0 new messages