JasperReport Certificate Problem?

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

JasperReport Certificate Problem?

Postby kwpsd » Sun Mar 10, 2013 2:31 am

Servoy Version: 6.1.4 - build 1429
Java Version: 1.7.0_07-b11

I need help!

I upgraded a customer's Servoy Server from 6.1.3 to 6.1.4 with no problems. Then, I uploaded a new solution, again with no problems. When I launched the solution (in Smart Client), I get the following error:

ERROR: JAR resources in JNLP file are not signed by same certificate

and in the exceptions:

JNLPException[category: Launch File Error : Exception: null : LaunchDesc:
<jnlp codebase="http://xxx.yyy.zzz.216:8080/" href="servoy-client/plugins/servoy_jasperreports.jar.jnlp" spec="1.0+">
<information>
<title>Servoy Client Plugins</title>
<vendor>Servoy and Others</vendor>
</information>
<resources>
<j2se version="1.6+"/>
<jar download="eager" href="plugins/servoy_jasperreports.jar" version="1340209766743"/>
<jar download="eager" href="plugins/servoy_jasperreports/commons-io.jar" part="commons-io" version="1340209756899"/>
<package name="org.apache.commons.io.*" part="commons-io" recursive="true"/>
<jar download="eager" href="lib/commons-collections.jar" part="commons-collections" version="1362872759377"/>
<package name="org.apache.commons.collections.*" part="commons-collections" recursive="true"/>
<jar download="eager" href="lib/commons-logging.jar" part="commons-logging" version="1362872759385"/>
<package name="org.apache.commons.logging.*" part="commons-logging" recursive="true"/>
<jar download="eager" href="lib/commons-dbcp.jar" part="commons-dbcp" version="1362872759380"/>
<package name="org.apache.commons.dbcp.*" part="commons-dbcp" recursive="true"/>
<package name="org.apache.commons.jocl.*" part="commons-dbcp" recursive="true"/>
<jar download="eager" href="plugins/servoy_jasperreports/jasperreports-4.6.0.jar" version="1340209763919"/>
<jar download="eager" href="plugins/servoy_jasperreports/commons-beanutils-1.8.0.jar" part="commons-beanutils" version="1340209756541"/>
<package name="org.apache.commons.beanutils.*" part="commons-beanutils" recursive="true"/>
<jar download="eager" href="plugins/servoy_jasperreports/commons-digester-2.1.jar" part="commons-digester" version="1340209756712"/>
<package name="org.apache.commons.digester.*" part="commons-digester" recursive="true"/>
<jar download="eager" href="plugins/servoy_jasperreports/groovy-all-1.7.5.jar" part="groovy" version="1340209760706"/>
<package name="org.codehaus.groovy.*" part="groovy" recursive="true"/>
<package name="groovy.*" part="groovy" recursive="true"/>
<package name="groovyjarjarantlr.*" part="groovy" recursive="true"/>
<package name="groovyjarjarasm.asm.*" part="groovy" recursive="true"/>
<package name="groovyjarjarcommonscli.*" part="groovy" recursive="true"/>
<jar download="eager" href="plugins/servoy_jasperreports/iText-2.1.7.jar" part="itext" version="1340209761361"/>
<package name="com.lowagie.*" part="itext" recursive="true"/>
<jar download="eager" href="plugins/servoy_jasperreports/jcommon-1.0.15.jar" part="jcommon" version="1340209764153"/>
<package name="com.keypoint.*" part="jcommon" recursive="true"/>
<package name="org.jfree.*" part="jcommon" recursive="true"/>
<jar download="eager" href="plugins/servoy_jasperreports/jdt-compiler-3.1.1.jar" part="jdt-compiler" version="1340209764731"/>
<package name="org.eclipse.jdt.*" part="jdt-compiler" recursive="true"/>
<jar download="eager" href="plugins/servoy_jasperreports/jfreechart-1.0.12.jar" part="jfreechart" version="1340209765448"/>
<package name="org.jfree.*" part="jfreechart" recursive="true"/>
<jar download="eager" href="plugins/servoy_jasperreports/poi-3.7-20101029.jar" part="poi" version="1340209766681"/>
<package name="org.apache.poi.*" part="poi" recursive="true"/>
</resources>
<component-desc/>
<security>
<all-permissions/>
</security>
</jnlp> ]
at com.sun.javaws.security.JNLPSignedResourcesHelper.checkSignedResourcesHelper(Unknown Source)
at com.sun.javaws.security.JNLPSignedResourcesHelper.checkSignedResources(Unknown Source)
at com.sun.javaws.Launcher.prepareResources(Unknown Source)
at com.sun.javaws.Launcher.prepareAllResources(Unknown Source)
at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
at com.sun.javaws.Launcher.launch(Unknown Source)
at com.sun.javaws.Main.launchApp(Unknown Source)
at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
at com.sun.javaws.Main.access$000(Unknown Source)
at com.sun.javaws.Main$1.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

It appears JasperReports is the problem, but I haven't changed/upgraded JaspeReports on the server or in developer in over 6 months. To what certificate is the error message referring...that is, is it JasperReports itself, or is it one of its one of its components? What changed, and how do I fix this?

Thanks!
Kim W. Premuda
San Diego, CA USA
User avatar
kwpsd
 
Posts: 700
Joined: Sat Jul 28, 2007 6:59 pm
Location: San Diego, CA USA

Re: JasperReport Certificate Problem?

Postby Andrei Costache » Mon Mar 11, 2013 10:21 am

Kim, there has been a certificate change in Servoy 6.1.4 - the JasperReports plugin has been also signed accordingly; you just need to pick up the latest plugin from the plugin's files section (it's the latest version of the plugin, but signed with the code certificate used in Servoy 6.1.4).

Regards,
Andrei
Andrei Costache
Servoy
User avatar
Andrei Costache
 
Posts: 196
Joined: Mon Sep 07, 2009 11:53 am

Re: JasperReport Certificate Problem?

Postby Hans Nieuwenhuis » Mon Mar 11, 2013 12:05 pm

I hope it is still possible to use our own certificate ?
Is there a ne jarsigner ?

Regards,
User avatar
Hans Nieuwenhuis
 
Posts: 1026
Joined: Thu Apr 12, 2007 12:36 pm
Location: Hengelo, The Netherlands

Re: JasperReport Certificate Problem?

Postby Andrei Costache » Mon Mar 11, 2013 12:20 pm

Hans Nieuwenhuis wrote:I hope it is still possible to use our own certificate ?
Is there a ne jarsigner ?

Regards,

Yes sure, that is still possible.

Regards,
Andrei
Andrei Costache
Servoy
User avatar
Andrei Costache
 
Posts: 196
Joined: Mon Sep 07, 2009 11:53 am

Re: JasperReport Certificate Problem?

Postby kwpsd » Mon Mar 11, 2013 2:57 pm

Thanks for the information, Andrei..I will download the newer version.
Kim W. Premuda
San Diego, CA USA
User avatar
kwpsd
 
Posts: 700
Joined: Sat Jul 28, 2007 6:59 pm
Location: San Diego, CA USA


Return to Plugins and Beans

Who is online

Users browsing this forum: No registered users and 7 guests

cron