After installing JAVA update 19 on the client (server still works on update 17), during smart client startup, the following screen occurs and it hangs:
It looks like this is a security (possibly signing) issue when loading components.
At first I saw an error reported on one of our Beans.
When I removed all our beans the error was reported on the ‘swingbeans.jar’.
After removing ‘swingbeans.jar’ (not a Servoy library as far as I know) the security warning popped up as reported by Martin and I could also not remove the dialog anymore.
After removing all our plugins from the plugins folder the error dialog popped up again.
It looks like Java is going to be very strict (and beyond) about signing beans if I am correct.
Strange event though is that when loading a non-secure Bean (in Java eyes) is loaded JWS reports nicely.
When a plugin is loaded JWS freezes.
The above makes it hard to analyze what really goes on.
Is it the absence of a signature (could be the case for some beans/plugins) or the fact that the signature differs from that of Servoy (some of the plugins are signed with our own signature) or is this something else.
Edit: ook de demo site van Servoy geeft een foutmelding (zie punt 2) als een smart client opgestart wordt…
Ensuring Application and Applet Security when Mixing Signed and Unsigned Code Signed Java Web Start applications and applets that contain signed and unsigned components could potentially be unsafe unless the mixed code was intended by the application vendor. As of this release, when mixed code is detected in a program, a warning dialog is raised. Mixing Signed and Unsigned Code explains this warning dialog and options that the user, system administrator, developer, and deployer have to manage it.
We have the same issues!!
All customers that have updated there java to this version, could not log in anymore into our Servoy solution.
First we thought it had something todo with the calendarbean of IT2BE, but even the standard demo solution of Servoy itself at: demo.servoy.com does not work!!
I hope Servoy could take a look at this. (also for Servoy 3.5?)
The problem seems 2 fold:
-First a problem downloading the swingbeans.jar from the server (some get a download error now even before the security dialog)
Workarround: Removed swingbeans.jar from the server.
-Second the dialog that SUN that shows to enduser has a problem in with modality
Workarround: Go to the enduser JavaControl panel and in the advanced tab under security > mixed code > disable the verification.
See also: http://java.sun.com/javase/6/docs/techn … usted_only
In addition to what Johan already said in the previous post:
Sun/Oracle has pushed a change into update 19 of Java 6 that, in our opinion should have been reserved for a major update (Java 7).
The change in update 19 doesn’t take into account scenario’s Java WebStart scenario’s like Servoy’s (and many, many other software vendors that use Java WebStart) that use libraries, both signed and unsigned and that can be extended with additional libraries of 3rd parties (beans, plugins etc).
This change has broken many Java WebStart implementations, including ours.
The workarounds for now are:
Removal of the /application_server/beans/swingbeans.jar
Make sure your customers do not upgrade to Java 6 update 19
If your customer(s) have already upgraded to Java 6 update 19, the best option would be to downgrade or activate a previous version on Java on their client machines.
If they have upgraded and cannot downgrade, they can disable “verification” under Advanced tab > security > “mixed mode” in the Java Control Panel on the client machine(s) , see: Mixing Signed and Unsigned Code.
Our effort will continue to provide you with a structural solution asap.
If they have upgraded and cannot downgrade, they can disable “verification” under Advanced tab > security > “mixed mode” in the Java Control Panel on the client machine(s) , see: http://java.sun.com/javase/6/docs/techn … e.html#jcp.
This might work for ‘beanless’ solutions. (‘beanless’ in terms of no 3rd party beans)
But after removing the ‘swingbeans.jar’ it’s still impossible to startup as we use the ‘calendar bean’ + more.
pbakker:
Our effort will continue to provide you with a structural solution asap.
I trust Servoy in finding a great solution!(as always)
Affected by the same or similar issue on two XP PCs running update 19, but shown in the Java control panel as 17. I realise this may be another problem, but it seems linked to the Java update issue.
These two PCs have been running Servoy successfully since first installation around autumn 2008. Their Java was updated yesterday to 19. This morning, neither PC would start the Servoy application, yet five other PCs which had not updated Java are OK.
I have removed swingbeans.jar and have followed instructions re mixed code (not mode).
I have followed the advice in this thread to remove swingbeans.jar and have restarted the application server.
Some times a real clean of the webstart cache is needed, if you do it through the java control panel then you must make sure that you also throw away the “Resources” not only the “Application” section.
What error does the calendar bean of marcel generate now? Is there a server where i can connect to?
Marcel: do you sign your beans/plugins with your own certificate?
At the moment it really seems that all jars from core and all the plugins and beans need to be signed and it could be that the have to have the manifest entry: Trusted-Library: true