Hi,
I’m having issues with the Jasper plugin. I’ve managed to get it to work on developer, but no on the application server.
The viewer came out with nothing but the save icon, but with the right page count. I’ve read all posts I could find about this, and the Tom Parry page with tips.
I have developer ( with the working jasper ) on a XP machine, but in the same machine, the report won’t work in the application server.
Also, I have installed servoy on a Suse server without graphical interface, and the application is running ok in the server, except for the jasper report.
It’s a very simple app, that get’s some data from the user and prints a large number of labels, so getting the reports working is important for me.
I have servoy 4.1.3 installed on development and server machines, and tried several versions of the plugin.
I got the development working with a clean copy of the 3.0.0a version and using the .jrxml in the runReport function call.
I’m using iReport 3.5.3
On the suse server I’ve replaced several jars, like itext.jar on pdf_output, son I don’t have different versions
This is my servoy_jasperreports.jar.jnlp file.
<?xml version="1.0;" encoding="UTF-8;" ?>
<jnlp spec="1.0+" codebase="%%serverURL%%" href="/servoy-client/plugins/servoy_jasperreports.jar.jnlp">
<information>
<title>Servoy Client Plugins</title>
<vendor>Servoy and Others</vendor>
</information>
<resources>
<jar href="/plugins/servoy_jasperreports.jar" download="eager"/>
<jar href="/plugins/servoy_jasperreports/jasperreports-3.5.3.jar" download="eager"/>
<jar href="/plugins/server_jasperreports/commons-collections-3.2.1.jar" download="lazy" part="commons-collections" version="3.2.1"/>
<package name="org.apache.commons.collections.*" part="commons-collections" recursive="true" />
<jar href="/plugins/servoy_jasperreports/commons-beanutils-1.8.0.jar" download="lazy" part="commons-beanutils" version="1.8.0"/>
<package name="org.apache.commons.*" part="commons-beanutils" recursive="true"/>
<jar href="/plugins/servoy_jasperreports/commons-digester-1.7.jar" download="lazy" part="commons-digester" version="1.7"/>
<package name="org.apache.commons.digester.*" part="commons-digester" recursive="true"/>
<jar href="/plugins/servoy_jasperreports/commons-logging-1.0.2.jar" download="lazy" part="commons-logging" version="1.0.2"/>
<package name="org.apache.commons.logging.*" part="commons-logging" recursive="true"/>
<jar href="/plugins/servoy_jasperreports/iText-2.1.0.jar" download="lazy" part="itext" version="2.1.0"/>
<package name="com.lowagie.*" part="itext" recursive="true"/>
<jar href="/plugins/servoy_jasperreports/jdt-compiler-3.1.1.jar" download="lazy" part="jdt-compiler" version="3.1.1"/>
<package name="org.eclipse.jdt.*" part="jdt-compiler" recursive="true"/>
<jar href="/plugins/servoy_jasperreports/poi-3.2-FINAL-20081019.jar" download="lazy" part="poi" version="3.2"/>
<package name="org.apache.poi.*" part="poi" recursive="true"/>
</resources>
<component-desc></component-desc>
</jnlp>
And this is the content of my servoy_jasperreports folder
-rwxrwSrwt 1 root root 231320 Sep 8 12:25 commons-beanutils-1.8.0.jar*
-rwxrwSrwt 1 root root 575389 Aug 3 13:47 commons-collections-3.2.1.jar*
-rwxrwSrwt 1 root root 139966 Sep 8 12:25 commons-digester-1.7.jar*
-rw-r–r-- 1 root root 96529 Aug 3 13:47 commons-javaflow-20060411.jar
-rwxrwSrwt 1 root root 26388 Sep 8 12:25 commons-logging-1.0.2.jar*
-rwxrwSrwt 1 root root 52592 Aug 3 13:47 commons-logging-1.1.jar*
-rwxrwSrwt 1 root root 1050691 Sep 8 12:25 iText-2.1.0.jar*
-rwxrwSrwt 1 root root 2465761 Aug 25 04:54 jasperreports-3.5.2.jar*
-rwxrwSrwt 1 root root 2533136 Sep 8 12:25 jasperreports-3.5.3.jar*
-rwxrwSrwt 1 root root 309294 Aug 25 04:54 jcommon-1.0.15.jar*
-rwxrwSrwt 1 root root 1212369 Sep 8 12:25 jdt-compiler-3.1.1.jar*
-rwxrwSrwt 1 root root 1368681 Aug 25 04:54 jfreechart-1.0.12.jar*
-rwxrwSrwt 1 root root 1428690 Sep 8 12:25 poi-3.2-FINAL-20081019.jar*
Thanks in advance