Page 5 of 6

Re: Plugin and Beans with Java 6 update 19

PostPosted: Wed Jun 02, 2010 4:24 pm
by ROCLASI
Thomas Parry wrote:I also had same message for the Spellcheck pro plugin. Then I went into the jnlp file for it and noticed that the version= part was not the recommended version="%%version%%" so I manually changed them and then that exception seemed to go away. I checked the jnlp for the it2be-tools and it is fine. So it is one or more jar files in the plugin sub-folder that it does not like.

What happens when you clear your cache first on the client machine? I know Johan fixed an issue the jnlp version strings in 5.1.3 but I am not sure if this ever got into 3.5.12.

Re: Plugin and Beans with Java 6 update 19

PostPosted: Wed Jun 02, 2010 4:34 pm
by Thomas Parry
Patrick,
the signtester now does not crash.

It still shows lots of not verified jar files.

No change in the exception when attempting to download the smart client.

Re: Plugin and Beans with Java 6 update 19

PostPosted: Wed Jun 02, 2010 4:40 pm
by Thomas Parry
I am clearing the cache before every restart of the server.
No changes - still stops on the first "not verified" jar file.

As an experiment I could omit the it2be-tools and try again - I suspect that it will fail on the next not verified jar file.

(My client is not exactly happy to be down at this moment!) :oops:

Re: Plugin and Beans with Java 6 update 19

PostPosted: Wed Jun 02, 2010 4:41 pm
by ptalbot
Thomas Parry wrote:Patrick,
the signtester now does not crash.

It still shows lots of not verified jar files.

No change in the exception when attempting to download the smart client.

You can't use it on if server or developer is running!!!

The jars are locked so they can't be modified/signed, I guess that's what is happening to you.

Re: Plugin and Beans with Java 6 update 19

PostPosted: Wed Jun 02, 2010 4:43 pm
by ptalbot
Thomas Parry wrote:I am clearing the cache before every restart of the server.
No changes - still stops on the first "not verified" jar file.

As an experiment I could omit the it2be-tools and try again - I suspect that it will fail on the next not verified jar file.

(My client is not exactly happy to be down at this moment!) :oops:


You could also clear the server cache (/application_server/server/work/catalina/yourhost/)...

Re: Plugin and Beans with Java 6 update 19

PostPosted: Wed Jun 02, 2010 5:04 pm
by Thomas Parry
I always run the signtester with the server shutdown.

As a last resort I wacked the offending it2be-tools suite of files and folders then downloaded the complete latest set and re-installed it.
Interestingly now these files are verified with the signtester tool. So my method of updating the plugins appears to be flawed to say the least!

Now downloading the smart client completes properly.

So I will assume this was the correct remedial action.

Thanks for the advice from all.

Re: Plugin and Beans with Java 6 update 19

PostPosted: Wed Jun 09, 2010 11:15 am
by tgs
I have replaced the jasperreports-3.7.1.jar by the version 3.7.3 file on my Servoy 5.1.4 application server.
Launching the Smart Client from Developer I get no error messages, but when launching the Smart Client from the application_server, I get the error:

<<Unable to launch the application>>
<<Error: Found unsigned entry in resource: (http://xxx.xxx.xxx.xxx:8080/plugins/ser ... -3.7.3.jar, 1275474554000)>>

Of course, I have changed the setting in the jnlp file.

If I run now the signtester.jar the unsigned jasperreports-3.7.3.jar will be dedected. I have signed it like Johan has discribed it in a previous post on this topic and the tool returns all files are signed. But while launching the Smart Client again, I get the error message:

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

What can I do to get it work?

Re: Plugin and Beans with Java 6 update 19

PostPosted: Wed Jun 09, 2010 11:25 am
by Harjo
are you sure, you use the latest signtester.jar from Servoy-stuff site??

clear your cache, (and what I mostly do, is clear the catalina cache folder also on the servert)

Re: Plugin and Beans with Java 6 update 19

PostPosted: Wed Jun 09, 2010 11:38 am
by jcompagner
where do you get jasperreports-3.7.3.jar from?

If you just download them from somewhere and dump it into the plugin. Then yes it has to be signed
But you cant sign that jar file with the same certificate as the original plugin is signed (thats servoy certificate)
So if you just update jars inside a plugin that is already signed by somebody else then you need to resign the whole plugin (so all the jars that the jnlp file of that plugin points to)

Re: Plugin and Beans with Java 6 update 19

PostPosted: Wed Jun 09, 2010 11:47 am
by tgs
Harjo wrote:are you sure, you use the latest signtester.jar from Servoy-stuff site??

clear your cache, (and what I mostly do, is clear the catalina cache folder also on the servert)


Thanks Harjo!

I used the latest signtester.jar and cleared also the catalina cache, but Johan got it.

Re: Plugin and Beans with Java 6 update 19

PostPosted: Wed Jun 09, 2010 11:50 am
by tgs
jcompagner wrote:where do you get jasperreports-3.7.3.jar from?

If you just download them from somewhere and dump it into the plugin. Then yes it has to be signed
But you cant sign that jar file with the same certificate as the original plugin is signed (thats servoy certificate)
So if you just update jars inside a plugin that is already signed by somebody else then you need to resign the whole plugin (so all the jars that the jnlp file of that plugin points to)


Hi Johan,

I got the jasperreports-3.7.3.jar file from my iReport 3.7.3 installation. How do I resign the whole plugin?

Re: Plugin and Beans with Java 6 update 19

PostPosted: Wed Jun 09, 2010 11:57 am
by jcompagner
that you can also do with the latest signtester.jar from Mr Patrick..

http://forum.servoy.com/viewtopic.php?f ... 188#p74828

Re: Plugin and Beans with Java 6 update 19

PostPosted: Wed Jun 09, 2010 12:27 pm
by tgs
tgs wrote:
Harjo wrote:are you sure, you use the latest signtester.jar from Servoy-stuff site??

clear your cache, (and what I mostly do, is clear the catalina cache folder also on the servert)


Thanks Harjo!

I used the latest signtester.jar and cleared also the catalina cache, but Johan got it.


Hi Harjo,

actually I don't used the latest signtester.jar (I had Johan's vers.) :cry: . But now I have the right one from the Servoy-Stuff site!
Could you please post the correct command line incl. the 'overwrite' parameter? This would be very glad.

Re: Plugin and Beans with Java 6 update 19

PostPosted: Wed Jun 09, 2010 12:37 pm
by jcompagner
try

java -jar signtester.jar

first
that will give you the options

Re: Plugin and Beans with Java 6 update 19

PostPosted: Wed Jun 09, 2010 12:48 pm
by tgs
Ok, the output now in the termial is:

Verifiying dir: ./plugins/servoy_jasperreports/Applications/Servoy5/application_server/./plugins/servoy_jasperreports/jasperreports-3.7.3.jar didnt verify

All others are verified.

Do I run now the unsigner.jar and than sign again with the signtester.jar?