Mac OSX - SmartClient won't start application

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

Mac OSX - SmartClient won't start application

Postby Mark Crichton » Wed Jun 19, 2013 5:44 am

Hi

Error after loading latest Java version.
Is there a fix for this?

MAC OSX 10.8.4 with Safari ( All updates loaded)
Servoy 6.1.5.1433
Java OSX 2013-004 1.0 Jave SE 6 1.6.0_51

Recently my Mac will not open the Smart-client application hosted on separate server
Cache entry as below.
Not sure if Cocoa or beans are the problem

Application opens fine on windows pc's and older versions of Java on Macs


CacheEntry[http://121.98.136.28:8080/servoy-client/servoy_client.jnlp]: updateAvailable=true,lastModified=Wed Jun 19 14:29:57 NZST 2013,length=-1
Java Web Start 10.25.2.15
Using JRE version 1.7.0_25-b15 Java HotSpot(TM) 64-Bit Server VM
User home directory = /Users/MarkCrichton
----------------------------------------------------
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
m: print memory usage
o: trigger logging
p: reload proxy configuration
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
v: dump thread stack
0-5: set trace level to <n>
----------------------------------------------------
Resource http://crl.globalsign.net/root.crl has future expires: Wed Jun 26 22:51:53 NZST 2013 update check skipped.
Resource http://crl.globalsign.com/gs/gscodesigng2.crl has future expires: Wed Jun 19 16:30:03 NZST 2013 update check skipped.
JNLP JREDesc in Component ignored: http://121.98.136.28:8080/servoy-client ... s.jar.jnlp
Missing Permissions manifest attribute for: http://121.98.136.28:8080/lib/j2db.jar
Missing Codebase manifest attribute for: http://121.98.136.28:8080/lib/j2db.jar
Missing Permissions manifest attribute for: http://121.98.136.28:8080/plugins/brows ... ng-SWT.jar
Missing Codebase manifest attribute for: http://121.98.136.28:8080/plugins/brows ... ng-SWT.jar
Missing Permissions manifest attribute for: http://121.98.136.28:8080/plugins/brows ... eSwing.jar
Missing Codebase manifest attribute for: http://121.98.136.28:8080/plugins/brows ... eSwing.jar
Missing Permissions manifest attribute for: http://121.98.136.28:8080/browser_suite ... v3834e.jar
Missing Codebase manifest attribute for: http://121.98.136.28:8080/browser_suite ... v3834e.jar
JNLPClassLoader: Finding library libswt-cocoa-3834.dylib
JNLPClassLoader: Finding library libswt-cocoa.dylib
JNLPClassLoader: Finding library libswt-pi-cocoa-3834.dylib
JNLPClassLoader: Finding library libswt-pi-cocoa.dylib
***WARNING: Display must be created on main thread due to Cocoa restrictions.
Mark Crichton
DataWise Ltd - New Zealand
http://www.datawise.co.nz
User avatar
Mark Crichton
 
Posts: 109
Joined: Mon Jan 24, 2011 10:01 am
Location: Auckland, New Zealand

Re: Mac OSX - SmartClient won't start application

Postby Mark Crichton » Wed Jun 19, 2013 6:19 am

More ...
I have followed instructions on Apple support to remove 7 and reinstall 6.
What a mess....
6 now installed but application gets to login and shows user name, but no password box and hangs.
Mark Crichton
DataWise Ltd - New Zealand
http://www.datawise.co.nz
User avatar
Mark Crichton
 
Posts: 109
Joined: Mon Jan 24, 2011 10:01 am
Location: Auckland, New Zealand

Re: Mac OSX - SmartClient won't start application

Postby hovw » Wed Jun 19, 2013 10:18 am

Same problem here

Apple/Security

Java for OS X 2013-004 [for OS X 10.7 and later] and Java for Mac OS X v10.6 Update 16 both update Java SE 6 to 1.6.0_51 to patch security problems.

Multiple vulnerabilities existed in Java 1.6.0_45, the most serious of which may allow an untrusted Java applet to execute arbitrary code outside the Java sandbox. Visiting a web page containing a maliciously crafted untrusted Java applet may lead to arbitrary code execution with the privileges of the current user. These issues were addressed by updating to Java version 1.6.0_51. Further information is available via the Java website...

This update uninstalls the Apple-provided Java applet plug-in from all web browsers. To use applets on a web page, click on the region labeled "Missing plug-in" to go download the latest version of the Java applet plug-in from Oracle.

So NO Update of Java


Wim
OSX 10.9.5 - 10.15.1
hovw
 
Posts: 33
Joined: Wed Nov 04, 2009 10:41 pm

Re: Mac OSX - SmartClient won't start application

Postby hovw » Wed Jun 19, 2013 11:48 am

Her is a quick (Dirty) answere.
From a Apple not updated copy /System/Library/Java to the machine with 1.6.0_51 and replace the Java folder.
chown -R root /System/Library/Java.
restart
now you are running in the same java version als de old machine.

Now you can start the solution with javaws in the terminal.
OSX 10.9.5 - 10.15.1
hovw
 
Posts: 33
Joined: Wed Nov 04, 2009 10:41 pm

Re: Mac OSX - SmartClient won't start application

Postby LXS » Wed Jun 19, 2013 12:47 pm

I also have problems an a customer mac with OS X 10.7.5 and Java 1.6.0_51 working on Servoy 5.2.15
Our SmartClient Application starts, but on the Login-Screen the combobox for username and password field is not clickable anymore.
The hint to change to Finder and go back to SmartClient does not help.
So this is a serious problem for our customers at the moment.
Can you please try to find a solution?

Thank you!
Alex
Alexander Stefan
Dr. Maison & Partner GmbH
www.servoy-plugins.de
www.maison-partner.de
LXS
 
Posts: 151
Joined: Thu Mar 01, 2007 12:00 am

Re: Mac OSX - SmartClient won't start application

Postby Mark Crichton » Wed Jun 19, 2013 2:32 pm

Hi

Unfortunately cannot go the route of getting customers to do complex removal of update. This technology is supposed to just work. Who's responsibility is it to get a solution. Servoy or Oracle?
Users will keep updating to latest Java versions, and Servoy Smartclient should not break.

I agree with Alex that this is a serious problem for customers, and I am loosing credibility with them.

:cry: Mark
Mark Crichton
DataWise Ltd - New Zealand
http://www.datawise.co.nz
User avatar
Mark Crichton
 
Posts: 109
Joined: Mon Jan 24, 2011 10:01 am
Location: Auckland, New Zealand

Re: Mac OSX - SmartClient won't start application

Postby swingman » Wed Jun 19, 2013 4:15 pm

Seeing this thread I have just updated a Mac OS X 10.8.3 test computer to Java 1.7.0_25-b15.

I have two Servoy Servers (6.1.4) running on Mac OS X 10.7.x.
The solutions from both servers appear to launch and run fine. The solutions downloaded fresh, so I had to answer a few security dialogs.

There are some issues launching via Safari. Clicking the donut will only download the jnlp. Workaround:
1. From the download button on far right of the window I show the jnlp in the finder.
2. Select the jnlp and hold down the control key to get a contextual menu.
3. Select "open with java webstart'.

Hope this helps,
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: Mac OSX - SmartClient won't start application

Postby Mark Crichton » Thu Jun 20, 2013 2:12 am

Hi Swingman

Your solution unfortunately what we've tried and app runs and freezes with no data input possible.

I am confused that we have both upgraded to latest versions, but have different Mac and Java versions .... Hence maybe why works for you.
Also may be that our servers are Windows 7 Prof delivering smart-client consumed on mac

Problem still remains unresolved.
Mark Crichton
DataWise Ltd - New Zealand
http://www.datawise.co.nz
User avatar
Mark Crichton
 
Posts: 109
Joined: Mon Jan 24, 2011 10:01 am
Location: Auckland, New Zealand

Re: Mac OSX - SmartClient won't start application

Postby LXS » Thu Jun 20, 2013 9:57 am

same here. Since Java 1.6.0_51 on Mac customers can't login in our smart client solution. The fields for username and password are not accessible - like disabled.
What can be done here?
Alexander Stefan
Dr. Maison & Partner GmbH
www.servoy-plugins.de
www.maison-partner.de
LXS
 
Posts: 151
Joined: Thu Mar 01, 2007 12:00 am

Re: Mac OSX - SmartClient won't start application

Postby jcompagner » Thu Jun 20, 2013 12:06 pm

what kind of login is this? default servoy (so that dialog)? or a custom login form with some fields?
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8833
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Mac OSX - SmartClient won't start application

Postby LXS » Thu Jun 20, 2013 12:08 pm

It uses a login solution with some fields.
1 combobox and 1 password field
Alexander Stefan
Dr. Maison & Partner GmbH
www.servoy-plugins.de
www.maison-partner.de
LXS
 
Posts: 151
Joined: Thu Mar 01, 2007 12:00 am

Re: Mac OSX - SmartClient won't start application

Postby LXS » Thu Jun 20, 2013 12:12 pm

I can give you a link to our solution if that helps
Alexander Stefan
Dr. Maison & Partner GmbH
www.servoy-plugins.de
www.maison-partner.de
LXS
 
Posts: 151
Joined: Thu Mar 01, 2007 12:00 am

Re: Mac OSX - SmartClient won't start application

Postby swingman » Thu Jun 20, 2013 12:57 pm

Have you tried clearing the Java cache? Remember to also delete the .servoy directory in the users home directory.
We had one mac not being able to log in yesterday, and this sorted out the problem.
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: Mac OSX - SmartClient won't start application

Postby LXS » Thu Jun 20, 2013 1:01 pm

How can you clear the cache of a Java 6 installation on Mac?
The Java Preferences app has gone and the Java Control Center in the System Settings are only for Java 7.
Alexander Stefan
Dr. Maison & Partner GmbH
www.servoy-plugins.de
www.maison-partner.de
LXS
 
Posts: 151
Joined: Thu Mar 01, 2007 12:00 am

Re: Mac OSX - SmartClient won't start application

Postby jcompagner » Thu Jun 20, 2013 1:56 pm

so you can't focus even a default form elements.

Do you have also this with a plain default install of servoy without any 3th party plugins ?
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8833
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Next

Return to Plugins and Beans

Who is online

Users browsing this forum: Bing [Bot] and 6 guests