Urgent: Java 7 Update 51 (Mac OS X) Stops Servoy Launching

Discuss all problems you have with Servoy here. It might help to mention the Servoy version and Operating System version you are using

Urgent: Java 7 Update 51 (Mac OS X) Stops Servoy Launching

Postby swingman » Wed Jan 15, 2014 12:04 pm

Hi all,

This is Servoy 7.2.0 running on Mac OS X. Mac clients with the new Java 7 Update 51 cannot launch Servoy due to:
Code: Select all
Missing required permissions manifest attribute in main jar:....  .../lib/j2db.jar


How do I get around this?
Christian Batchelor
Certified Servoy Developer
Batchelor Associates Ltd, London, UK
http://www.batchelorassociates.co.uk

http://www.postgresql.org - The world's most advanced open source database.
User avatar
swingman
 
Posts: 1472
Joined: Wed Oct 01, 2003 10:20 am
Location: London

Re: Urgent: Java 7 Update 51 (Mac OS X) Stops Servoy Launchi

Postby ROCLASI » Wed Jan 15, 2014 12:15 pm

Hi Christian,

Is this a custom signed install (with a valid certificate) or a plain Servoy install?
Robert Ivens
SAN Developer / Servoy Valued Professional / Servoy Certified Developer

ROCLASI Software Solutions / JBS Group, Partner
Mastodon: @roclasi
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5438
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium

Re: Urgent: Java 7 Update 51 (Mac OS X) Stops Servoy Launchi

Postby swingman » Wed Jan 15, 2014 12:31 pm

Plain Servoy install...
Christian Batchelor
Certified Servoy Developer
Batchelor Associates Ltd, London, UK
http://www.batchelorassociates.co.uk

http://www.postgresql.org - The world's most advanced open source database.
User avatar
swingman
 
Posts: 1472
Joined: Wed Oct 01, 2003 10:20 am
Location: London

Re: Urgent: Java 7 Update 51 (Mac OS X) Stops Servoy Launchi

Postby ROCLASI » Wed Jan 15, 2014 12:33 pm

I just tested it in a VM (Mac OS X 10.9) with Servoy 6.1.6 (custom signed) and I can reproduce the error.
I first loaded up the client before the update, which ran fine. Then updated to update 51 and try to run it again and it failed with the following error (url blanked out):
Code: Select all
java.lang.SecurityException: Missing required Permissions manifest attribute in main jar: …/lib/j2db.jar
   at com.sun.deploy.security.DeployManifestChecker.verifyMainJar(Unknown Source)
   at com.sun.deploy.security.DeployManifestChecker.verifyMainJar(Unknown Source)
   at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
   at com.sun.javaws.Launcher.run(Unknown Source)
   at java.lang.Thread.run(Thread.java:744)


I suggest you file a bug report in Jira.
Robert Ivens
SAN Developer / Servoy Valued Professional / Servoy Certified Developer

ROCLASI Software Solutions / JBS Group, Partner
Mastodon: @roclasi
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5438
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium

Re: Urgent: Java 7 Update 51 (Mac OS X) Stops Servoy Launchi

Postby jcompagner » Wed Jan 15, 2014 1:15 pm

We did add that permission attribute in our latest releases (so 7.3.1 should be ok.. i will test it asap, didn't install .51 yet on my windows)

But with the latest sign tester tool all those permissions attributes are also added right? So even in older version of servoy, if you resign with your own certificate it should work fine.
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8829
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Urgent: Java 7 Update 51 (Mac OS X) Stops Servoy Launchi

Postby ROCLASI » Wed Jan 15, 2014 1:22 pm

Hi Johan,

jcompagner wrote:But with the latest sign tester tool all those permissions attributes are also added right? So even in older version of servoy, if you resign with your own certificate it should work fine.


I signed my 6.1.6 install with the latest version of the signtester with the -Dcodebase param so something seems to off. Or am I missing another param when I signed it?
Robert Ivens
SAN Developer / Servoy Valued Professional / Servoy Certified Developer

ROCLASI Software Solutions / JBS Group, Partner
Mastodon: @roclasi
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5438
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium

Re: Urgent: Java 7 Update 51 (Mac OS X) Stops Servoy Launchi

Postby ROCLASI » Wed Jan 15, 2014 1:32 pm

Ouch….
Just tested it on Windows (8.1) and I see the same error.
So in effect Update 51 will break Servoy across the board.
You can consider this case (if there is one) a BLOCKER!.
Robert Ivens
SAN Developer / Servoy Valued Professional / Servoy Certified Developer

ROCLASI Software Solutions / JBS Group, Partner
Mastodon: @roclasi
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5438
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium

Re: Urgent: Java 7 Update 51 (Mac OS X) Stops Servoy Launchi

Postby ngervasi » Wed Jan 15, 2014 1:58 pm

I confirm: same issue in Windows7.
As a workaround for now move the security slider to the bottom (medium security) and servoy will start again with a self-signed certificate.
If someone can test this workaround on MacOS and let me know I would be very grateful.
Nicola Gervasi
sintpro.com
SAN Partner
ngervasi
 
Posts: 1485
Joined: Tue Dec 21, 2004 12:47 pm
Location: Arezzo, Italy

Re: Urgent: Java 7 Update 51 (Mac OS X) Stops Servoy Launchi

Postby swingman » Wed Jan 15, 2014 2:05 pm

Temporary workaround (tested on Mac OS X Mavericks):
Open Java control panel, go to security tab, set security to Medium. Save.
Launch Servoy.
Christian Batchelor
Certified Servoy Developer
Batchelor Associates Ltd, London, UK
http://www.batchelorassociates.co.uk

http://www.postgresql.org - The world's most advanced open source database.
User avatar
swingman
 
Posts: 1472
Joined: Wed Oct 01, 2003 10:20 am
Location: London

Re: Urgent: Java 7 Update 51 (Mac OS X) Stops Servoy Launchi

Postby ROCLASI » Wed Jan 15, 2014 2:07 pm

Just tested it on Mavericks and yes, setting the security slider to medium (the lowest setting) then the client will load.
Robert Ivens
SAN Developer / Servoy Valued Professional / Servoy Certified Developer

ROCLASI Software Solutions / JBS Group, Partner
Mastodon: @roclasi
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5438
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium

Re: Urgent: Java 7 Update 51 (Mac OS X) Stops Servoy Launchi

Postby jcompagner » Wed Jan 15, 2014 2:12 pm

for me the middle (high) security works fine

i deleted everything in the cache, also pressed "restore security promps" in the security tab
and let the slider be in the middle (high)

then i can start servoy fine (i do get then a few prompts most of them will not be seen the second time)
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8829
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Urgent: Java 7 Update 51 (Mac OS X) Stops Servoy Launchi

Postby swingman » Wed Jan 15, 2014 2:12 pm

I tried leaving it on "High" and putting my site in the "Exception Site List" but that did not work, so I set security back to "Medium".
Christian Batchelor
Certified Servoy Developer
Batchelor Associates Ltd, London, UK
http://www.batchelorassociates.co.uk

http://www.postgresql.org - The world's most advanced open source database.
User avatar
swingman
 
Posts: 1472
Joined: Wed Oct 01, 2003 10:20 am
Location: London

Re: Urgent: Java 7 Update 51 (Mac OS X) Stops Servoy Launchi

Postby ngervasi » Wed Jan 15, 2014 2:12 pm

Does the problem occur also when using an official certificate? Or is this an issue only with self-signed ones?
Nicola Gervasi
sintpro.com
SAN Partner
ngervasi
 
Posts: 1485
Joined: Tue Dec 21, 2004 12:47 pm
Location: Arezzo, Italy

Re: Urgent: Java 7 Update 51 (Mac OS X) Stops Servoy Launchi

Postby ROCLASI » Wed Jan 15, 2014 2:37 pm

As I understand Christian is using a plain Servoy install, so no resigning done.
Christian is this correct?
Robert Ivens
SAN Developer / Servoy Valued Professional / Servoy Certified Developer

ROCLASI Software Solutions / JBS Group, Partner
Mastodon: @roclasi
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5438
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium

Re: Urgent: Java 7 Update 51 (Mac OS X) Stops Servoy Launchi

Postby jcompagner » Wed Jan 15, 2014 4:47 pm

but Christian is using an older version of servoy that didn't have all those manifest entries
that is only fixed in the latest 7.3.1 release
That release should work fine.
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8829
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Next

Return to Discuss possible Issues and Bugs

Who is online

Users browsing this forum: No registered users and 5 guests

cron