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 martinh » Mon Apr 19, 2010 3:49 pm

Paul,

There is no JAVA update 19 involved here.
So I thought this was a non issue for me, but since you replied on this I'll check it out.
So the subject of this topic is not only related to Java 6 update 19.

But what strange is, is that using 1 webserver, most customers have no problems , but some of them do have problems since Servoy 4.1.6.
I should expect that all customers would have problems and not just some of them if it is a problem of signing.
May there is some other issue, because one of the customers also has problem with webclient, and webclient runs without java.

Martin
Martin
------------------------------------------------
Servoy Developer
Version 5.2.10/5.2.13
Java version 1.6 update 31
Database SQL Server 2008 R2
martinh
 
Posts: 857
Joined: Wed May 09, 2007 5:34 pm
Location: Belgium

Re: Plugin and Beans with Java 6 update 19

Postby Infop » Mon Apr 19, 2010 9:27 pm

Hi all,

In java Update 20, the previous issue with Update 19, Using the self-signed certificate the warning dialog might reappear on each consecutive start, regardless if the "Always trust" checkbox gets checked or not, has resolved?

Thanks,
User avatar
Infop
 
Posts: 151
Joined: Fri Nov 30, 2007 3:00 pm

Re: Plugin and Beans with Java 6 update 19

Postby jcompagner » Mon Apr 19, 2010 11:23 pm

i haven't heard of this bug and i haven't encountered it yet.
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 sasmithota » Wed Apr 21, 2010 7:59 pm

Hi all,

I am just testing with my servoy apps in servoy 4.1.6 with self signing all my third party jars in Java update 20. It is working fine. But, sometimes, while launching client, I am getting the below error and client stop launching.

Java Web Start 1.6.0_20
Using JRE version 1.6.0_20-b02 Java HotSpot(TM) Client VM

#### Java Web Start Error:
#### JAR resources in JNLP file are not signed by same certificate


This is not reproducible always. Is there any issue, that all the jars should be signed with same certificate??

Thanks,
Sasmit
sasmithota
 
Posts: 14
Joined: Mon Apr 19, 2010 8:21 pm

Re: Plugin and Beans with Java 6 update 19

Postby jcompagner » Wed Apr 21, 2010 10:48 pm

You get this on the same machine just between starts when there are no changes what so ever on the server?
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 sasmithota » Thu Apr 22, 2010 7:14 am

Thanks for your response.

No,yet, I have not reported any issues on the Server. Everything is working fine. Sometimes, I am getting the error, when starting the client at the same machine.

Thanks,
Sasmit
sasmithota
 
Posts: 14
Joined: Mon Apr 19, 2010 8:21 pm

Re: Plugin and Beans with Java 6 update 19

Postby jcompagner » Thu Apr 22, 2010 9:38 am

thats very weird, because that means that when there is no state change webstart sees different things between starts. Never seen this.
So if you get that dialog, you close it and press the same (shorcut)link again it works?
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 martinh » Thu Apr 22, 2010 9:45 am

I got the same error when I updated Servoy to 4.1.6, but third party plugins were not updated.

If you have servoy-plugins.de plugins, do the update again, because there was an error in those plugins. They made a new update installer that fixes that problem.
Martin
------------------------------------------------
Servoy Developer
Version 5.2.10/5.2.13
Java version 1.6 update 31
Database SQL Server 2008 R2
martinh
 
Posts: 857
Joined: Wed May 09, 2007 5:34 pm
Location: Belgium

Re: Plugin and Beans with Java 6 update 19

Postby Foobrother » Thu Apr 22, 2010 10:01 am

Note that when having jars set in the jnlp, to be downloaded as "lazy" they will not be checked at the start of the solution (as you have not yet downloaded them). Then, if you have downloaded them during your session, when you restart you get the signed errors.
It might be a reason :roll:
Current configuration: Servoy 5.2.6 Build 1011, Java 6u24, PostgreSQL 8.3, Windows Server 2003

Servoy / Java Developer
http://www.assetguardian.com
User avatar
Foobrother
 
Posts: 530
Joined: Tue Jan 13, 2009 5:46 pm

Re: Plugin and Beans with Java 6 update 19

Postby sasmithota » Thu Apr 22, 2010 1:30 pm

@Johan

Yes, closing the dialog and again starting the client, fixes the issue. But, it the dialog is haphazardly coming. Not always I can say. I am worried about why it is coming.

@Martin

I have used some of the free plugins such as busy plugin available in this forum and some of my written. Is there anything, that I need to added the JNLP file to those plugins. I have used the version="%%version%%", so that it will always check for the recent resource version. But, still getting the dialog sometimes in the same machine.

Thanks,
Sasmit
sasmithota
 
Posts: 14
Joined: Mon Apr 19, 2010 8:21 pm

Re: Plugin and Beans with Java 6 update 19

Postby keenkenny » Tue May 18, 2010 11:33 pm

@Johan

Yes, closing the dialog and again starting the client, fixes the issue. But, it the dialog is haphazardly coming. Not always I can say. I am worried about why it is coming.


Our experience is similar to Sasmit above. We're getting the "#### JAR resources in JNLP file are not signed by same certificate" error often. One user is reporting this happens with every other start up of Servoy. Others it is quite random, but happening frequently.

Mac users on older versions of MacOS X and older Java versions are having to clear their cache before every launch of Servoy.

Nothing is changing on the server throughout the day and we're on Servoy 4.1.7.

Any update or resolution on these particular problems?
Ken Keen
KeenEyes Interactive, Inc.
SAN Developer
keenkenny
 
Posts: 70
Joined: Sun Jun 01, 2003 10:31 pm
Location: Cedar City, UT

Re: Plugin and Beans with Java 6 update 19

Postby Thomas Parry » Wed Jun 02, 2010 3:48 pm

I had postponed updating to Java 6 u20 in order to wait for the issues to be resolved.
So I went ahead and updated to Servoy 3.12 and Java 1.6_u20 and got all the signed plugins.

I run the server startup batch file. then I load the smart client but it fails indicating unsigned jars found.

I had run the signtester so I assumed this "fixes" all.
I have gone through all the forum and the wiki.
I even removed the swingbeans.jar from the beans folder.

Still getting the unsigned jars.

Should I just go to the java console control panel and disable all validation!
Tom Parry
Prospect IT
Java/C++/Servoy/Jasper Reports/Simulation/Service Applications
http://www.prospect-saas.biz
Thomas Parry
 
Posts: 498
Joined: Thu Jan 10, 2008 8:48 pm
Location: Ottawa, Canada

Re: Plugin and Beans with Java 6 update 19

Postby ROCLASI » Wed Jun 02, 2010 3:52 pm

Hi Tom,

What is the exact error you are getting ?
Robert Ivens
ROCLASI Software Solutions / JBS Group, Partner
SAN Developer / Servoy Valued Professional / Servoy Certified Developer
Twitter: @roclasi / @servoyforge
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5205
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium

Re: Plugin and Beans with Java 6 update 19

Postby Thomas Parry » Wed Jun 02, 2010 4:10 pm

Hi Robert,
I use several plugins: IT2BE Tools and ServoyGuy Spell check Pro, and servoy-jasper reports and some others.
I installed the latest signed versions of these before starting the server.

Launching the smart client I get this exception:
Code: Select all
com.sun.deploy.net.JARSigningException: Found unsigned entry in resource: (http://prospect:8080/plugins/it2be-lib/it2be-helper.jar, 1275485552796)
   at com.sun.javaws.security.SigningInfo.getCommonCodeSignersForJar(Unknown Source)
   at com.sun.javaws.security.SigningInfo.check(Unknown Source)
   at com.sun.javaws.LaunchDownload.checkSignedResourcesHelper(Unknown Source)


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.

Running the signtester (latest from Patrick Talbot crashes on my 3.5.12 install) I see that there are many unverified jar files.

I am not sure how to fix that part.
Tom Parry
Prospect IT
Java/C++/Servoy/Jasper Reports/Simulation/Service Applications
http://www.prospect-saas.biz
Thomas Parry
 
Posts: 498
Joined: Thu Jan 10, 2008 8:48 pm
Location: Ottawa, Canada

Re: Plugin and Beans with Java 6 update 19

Postby ptalbot » Wed Jun 02, 2010 4:19 pm

Thomas Parry wrote:Running the signtester (latest from Patrick Talbot crashes on my 3.5.12 install) I see that there are many unverified jar files.

I have fixed this, please download and try running it again.
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

PreviousNext

Return to Plugins and Beans

Who is online

Users browsing this forum: No registered users and 3 guests