NG client + ServoyForge JasperReports Plugin

Questions and answers on developing, deploying and using plugins and JavaBeans

NG client + ServoyForge JasperReports Plugin

Postby imre_tokai » Mon Mar 14, 2016 7:51 pm

Hello,

What's the compatible JasperReports Plugin version for Servoy8's NG client? Haven't been able to generate reports there, but they do appear from same code base in Servoy6 + WebClient.
Posted issue #1000 :idea: on ServoyForge, as well
https://www.servoyforge.net/issues/1000

Regards

PS.
found below topic, but don't want to mislead that conversation
viewtopic.php?f=69&t=21222&p=113949&hilit=jasper#p113949
Imre Tokai, Software Engineer
iTech Professionals, Inc.
User avatar
imre_tokai
 
Posts: 33
Joined: Mon Mar 26, 2012 12:18 pm

Re: NG client + ServoyForge JasperReports Plugin

Postby derk.hulshof » Thu Mar 24, 2016 12:16 pm

Hi imre,

I had the same issue.
Using the follow plugins with version, works for me
Servoy 802 and 803
Basic_Servoy_JasperReports_Plugin_v.5.0.0
Jasper Studio version 6.2.0
derk.hulshof
 
Posts: 108
Joined: Tue Dec 03, 2013 9:18 am
Location: Netherlands

Re: NG client + ServoyForge JasperReports Plugin

Postby Gabi Boros » Thu Mar 24, 2016 1:26 pm

for me Servoy 8.0.3 + Servoy JasperReports plugin 6.0.0 + java 8 works fine, with a simple report;
do you have errors in the log ?
Gabi Boros
Servoy
Gabi Boros
 
Posts: 399
Joined: Tue Jun 26, 2007 4:03 pm
Location: Timisoara, Romania

Re: NG client + ServoyForge JasperReports Plugin

Postby steve1376656734 » Thu Mar 24, 2016 5:50 pm

Totally off topic but where did you get Servoy 8.0.3 from? I have 8.0.2 and it says there are no updates available :wink:
Steve
SAN Developer
There are 10 types of people in the world - those that understand binary and those that don't
steve1376656734
 
Posts: 327
Joined: Fri Aug 16, 2013 2:38 pm
Location: Ashford, UK

Re: NG client + ServoyForge JasperReports Plugin

Postby ROCLASI » Thu Mar 24, 2016 6:45 pm

steve1376656734 wrote:Totally off topic but where did you get Servoy 8.0.3 from? I have 8.0.2 and it says there are no updates available :wink:

I guess working for Servoy has it's perks ;)
Robert Ivens
SAN Developer / Servoy Valued Professional / Servoy Certified Developer

ROCLASI Software Solutions / JBS Group, Partner
Mastodon: @roclasi
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5438
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium

Re: NG client + ServoyForge JasperReports Plugin

Postby steve1376656734 » Thu Mar 24, 2016 6:54 pm

Good point for Gabi but does that apply to Derk as well? :D
Steve
SAN Developer
There are 10 types of people in the world - those that understand binary and those that don't
steve1376656734
 
Posts: 327
Joined: Fri Aug 16, 2013 2:38 pm
Location: Ashford, UK

Re: NG client + ServoyForge JasperReports Plugin

Postby ROCLASI » Thu Mar 24, 2016 7:04 pm

steve1376656734 wrote:Good point for Gabi but does that apply to Derk as well? :D

Good point for you, sir. :D I didn't realized that Derk also used 8.0.3 (reading is hard ;) ).
When you know the build number you can upgrade to pre-release versions. So far 8.0.3 hasn't been announced yet.
Robert Ivens
SAN Developer / Servoy Valued Professional / Servoy Certified Developer

ROCLASI Software Solutions / JBS Group, Partner
Mastodon: @roclasi
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5438
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium

Re: NG client + ServoyForge JasperReports Plugin

Postby steve1376656734 » Thu Mar 24, 2016 7:12 pm

Think I'll wait for the announcement as I've been fighting with version issues all week trying to get a test environment set up (though that one is a Tomcat problem not Servoy)
Steve
SAN Developer
There are 10 types of people in the world - those that understand binary and those that don't
steve1376656734
 
Posts: 327
Joined: Fri Aug 16, 2013 2:38 pm
Location: Ashford, UK

Re: NG client + ServoyForge JasperReports Plugin

Postby imre_tokai » Thu Mar 24, 2016 7:29 pm

Thanks for Your replies,

Built trivial solution with button to invoke sample code that comes with plugin
Code: Select all
plugins.jasperPluginRMI.runReport( 'db_server_name', 'testServoy8.jasper', null, OUTPUT_FORMAT.VIEW, null );


Compiled simple testServoy8.jasper in iReport 4.6.0, 5.1.0

Have tried
Basic_Servoy_JasperReports_Plugin_v.5.0.0.zip
Basic_Servoy_JasperReports_Plugin_v.6.0.0.zip
https://www.servoyforge.net/projects/servoy-jasperreports/files

Found errors in logs like
java.lang.NoClassDefFoundError: Could not initialize class net.sf.jasperreports.engine.util.JRStyledTextParser
java.lang.NoClassDefFoundError: org/apache/commons/collections/map/ReferenceMap



Any hint to speed up setup? Does it require additional .jar(s) in either {servoyInstall}/application_server/plugins/servoy_jasperreports or{servoyInstall}/application_server/lib folders, maybe?
Or there is different, optimal concept already?

Happy Easter :)
Imre Tokai, Software Engineer
iTech Professionals, Inc.
User avatar
imre_tokai
 
Posts: 33
Joined: Mon Mar 26, 2012 12:18 pm

Re: NG client + ServoyForge JasperReports Plugin

Postby Gabi Boros » Fri Mar 25, 2016 8:38 am

hi,

these 'java.lang.NoClassDefFoundError' errors are fixed
in the upcoming ( :) ) Servoy 8.0.3 release
Gabi Boros
Servoy
Gabi Boros
 
Posts: 399
Joined: Tue Jun 26, 2007 4:03 pm
Location: Timisoara, Romania

Re: NG client + ServoyForge JasperReports Plugin

Postby Gabi Boros » Fri Mar 25, 2016 2:08 pm

hi,

I guess you have the errors when running from developer, right ?, but if you run it from a war export, does it work then ?
Gabi Boros
Servoy
Gabi Boros
 
Posts: 399
Joined: Tue Jun 26, 2007 4:03 pm
Location: Timisoara, Romania

Re: NG client + ServoyForge JasperReports Plugin

Postby imre_tokai » Fri Apr 01, 2016 5:47 pm

Thanks Gabi,

Confirmed:
Code: Select all
java.lang.NoClassDefFoundError
appear when running NG from developer

.war export for sample solution doesn't work here from available 8.0.2?
However, while ago was able to properly export .war from Version: 6.1.6 - build 1439
than deploy and access it even via pure Tomcat
http://localhost:8080/test_jasper/servo ... ityExample

Just downloaded latest Servoy 8 and it's (still) 8.0.2

Any further guidelines on how to properly run Jasper reports, built in iReport, via Servoy 8 would be appreciated

Thanks
Imre Tokai, Software Engineer
iTech Professionals, Inc.
User avatar
imre_tokai
 
Posts: 33
Joined: Mon Mar 26, 2012 12:18 pm

Re: NG client + ServoyForge JasperReports Plugin

Postby imre_tokai » Fri Apr 01, 2016 6:52 pm

Imre Tokai, Software Engineer
iTech Professionals, Inc.
User avatar
imre_tokai
 
Posts: 33
Joined: Mon Mar 26, 2012 12:18 pm

Re: NG client + ServoyForge JasperReports Plugin

Postby imre_tokai » Wed Apr 13, 2016 8:23 pm

Updated Servoy to 8.0.3 and Jasper works, thanks!
Imre Tokai, Software Engineer
iTech Professionals, Inc.
User avatar
imre_tokai
 
Posts: 33
Joined: Mon Mar 26, 2012 12:18 pm


Return to Plugins and Beans

Who is online

Users browsing this forum: No registered users and 10 guests