Plugin and Beans with Java 6 update 19

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

Re: Plugin and Beans with Java 6 update 19

Postby jcompagner » Wed Jun 09, 2010 12:51 pm

jcompagner wrote:try

java -jar signtester.jar

first
that will give you the options


oeps thats true, default it just verifies
just give a argument with it:

java -jar signtester.jar x

and then it will explain what you can call
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 7974
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Plugin and Beans with Java 6 update 19

Postby tgs » Wed Jun 09, 2010 2:09 pm

Johan,

I have now signed the jar files by my own generated kestore how you explained.
When I run the signtester.jar again, all the Verifying dirs are signed.
Than I have deleted the server cache and also the .servoy folder and Java cache files on the client side. Made a restart of the server, but still the same error while launching the smart client:

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

What is wrong?
Thomas Schnaus
SAN Developer
yomotec GmbH
User avatar
tgs
 
Posts: 833
Joined: Wed Oct 04, 2006 12:05 pm
Location: Germany

Re: Plugin and Beans with Java 6 update 19

Postby mboegem » Wed Jun 09, 2010 2:20 pm

Hi Thomas,

can you please post the details of the 'JAR resources in JNLP file are not signed by the same certificate' error here?
This gives good information which jars are involved here.
_____________________
Marc Boegem
Solutiative / JBS Group, Partner
• Servoy Certified Developer
• Servoy Valued Professional
• Freelance SAN Developer

Image
User avatar
mboegem
 
Posts: 1382
Joined: Sun Oct 14, 2007 1:34 pm
Location: Hoofddorp, The Netherlands

Re: Plugin and Beans with Java 6 update 19

Postby tgs » Wed Jun 09, 2010 2:30 pm

This are the resources of the jnlp file:
Code: Select all
<?xml version="1.0" encoding="UTF-8" standalone="no"?><jnlp codebase="http://192.168.1.11: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>
      <jar download="eager" href="/plugins/servoy_jasperreports.jar" version="1274455126000"/>
      <jar download="eager" href="/lib/commons-collections.jar" part="commons-collections" version="1270212958000"/>
         <package name="org.apache.commons.collections.*" part="commons-collections" recursive="true"/>
      <jar download="eager" href="/lib/commons-logging.jar" part="commons-logging" version="1270212963000"/>
         <package name="org.apache.commons.logging.*" part="commons-logging" recursive="true"/>
      <jar download="eager" href="/lib/commons-dbcp.jar" part="commons-dbcp" version="1270212959000"/>
         <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-3.7.3.jar" version="1276082068000"/>
      <jar download="eager" href="/plugins/servoy_jasperreports/commons-beanutils-1.8.0.jar" part="commons-beanutils" version="1274454356000"/>
         <package name="org.apache.commons.beanutils.*" part="commons-beanutils" recursive="true"/>
      <jar download="eager" href="/plugins/servoy_jasperreports/commons-digester-1.7.jar" part="commons-digester" version="1274454356000"/>
         <package name="org.apache.commons.digester.*" part="commons-digester" recursive="true"/>
      <jar download="eager" href="/plugins/servoy_jasperreports/iText-2.1.7.jar" part="itext" version="1274454358000"/>
         <package name="com.lowagie.*" part="itext" recursive="true"/>
      <jar download="eager" href="/plugins/servoy_jasperreports/jdt-compiler-3.1.1.jar" part="jdt-compiler" version="1274454362000"/>
         <package name="org.eclipse.jdt.*" part="jdt-compiler" recursive="true"/>
      <jar download="eager" href="/plugins/servoy_jasperreports/poi-3.5-FINAL-20090928.jar" part="poi" version="1274454364000"/>
         <package name="org.apache.poi.*" part="poi" recursive="true"/>
   </resources>
   <component-desc/>
   <security>
      <all-permissions/>
   </security>
</jnlp>
Thomas Schnaus
SAN Developer
yomotec GmbH
User avatar
tgs
 
Posts: 833
Joined: Wed Oct 04, 2006 12:05 pm
Location: Germany

Re: Plugin and Beans with Java 6 update 19

Postby jcompagner » Wed Jun 09, 2010 2:54 pm

did you use the overwrite parameter of the signtester?

You really have to resign everything, you still seem to have mixed signing in jnlps
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 7974
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Plugin and Beans with Java 6 update 19

Postby tgs » Wed Jun 09, 2010 3:07 pm

The command line was:

$ java -jar signtester.jar mykeystore <mypassword> MyPlugins [overwrite]

Before I have generated the mykeystore file with the keytool.
Thomas Schnaus
SAN Developer
yomotec GmbH
User avatar
tgs
 
Posts: 833
Joined: Wed Oct 04, 2006 12:05 pm
Location: Germany

Re: Plugin and Beans with Java 6 update 19

Postby ptalbot » Wed Jun 09, 2010 3:13 pm

tgs wrote:The command line was:

$ java -jar signtester.jar mykeystore <mypassword> MyPlugins [overwrite]

Before I have generated the mykeystore file with the keytool.

You should get rid of the [ and ] (square brackets) they are here in the help just to indicate that it is an optional parameter...
Then you will see that for each jar encoutered the tool will output that it is unsigned, then it should tell you that it is signed.

Takes a while to do them all, but you should be OK then...
Patrick Talbot
Freelance - Open Source - Servoy Valued Professional
http://www.servoy-stuff.net
https://www.servoyforge.net
--------------------------------------------
Servoy 5.2.16 / 6.0.9 / 6.1.6 / 7.3.1
All OSes / Java 5 & 6 & 7
User avatar
ptalbot
 
Posts: 1612
Joined: Wed Mar 11, 2009 5:13 am
Location: Montreal, QC

Re: Plugin and Beans with Java 6 update 19

Postby tgs » Wed Jun 09, 2010 3:37 pm

ptalbot wrote:You should get rid of the [ and ] (square brackets) they are here in the help just to indicate that it is an optional parameter...
Then you will see that for each jar encoutered the tool will output that it is unsigned, then it should tell you that it is signed.

Takes a while to do them all, but you should be OK then...

Thank you Patrick!

I'm little deranged because struggeling in signing - unsigning - signing ..... :oops:

The output is now different then the try before. I'm currently launching the smart client... and cross my fingers that it will work now.

Edit: It's working!
Thomas Schnaus
SAN Developer
yomotec GmbH
User avatar
tgs
 
Posts: 833
Joined: Wed Oct 04, 2006 12:05 pm
Location: Germany

Re: Plugin and Beans with Java 6 update 19

Postby ptalbot » Wed Jun 09, 2010 3:56 pm

Yes, we should all send a big thanks to Larry Ellison for all this headache.

Glad it worked in the end anyway!
Patrick Talbot
Freelance - Open Source - Servoy Valued Professional
http://www.servoy-stuff.net
https://www.servoyforge.net
--------------------------------------------
Servoy 5.2.16 / 6.0.9 / 6.1.6 / 7.3.1
All OSes / Java 5 & 6 & 7
User avatar
ptalbot
 
Posts: 1612
Joined: Wed Mar 11, 2009 5:13 am
Location: Montreal, QC

Previous

Return to Plugins and Beans

Who is online

Users browsing this forum: Bing [Bot] and 1 guest