Mac OSX - SmartClient won't start application

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™ 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

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.

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.

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

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.

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

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

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,

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.

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?

what kind of login is this? default servoy (so that dialog)? or a custom login form with some fields?

It uses a login solution with some fields.
1 combobox and 1 password field

I can give you a link to our solution if that helps

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.

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.

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 ?

I’m running smart client on latest java on mac with no issues…

Maybe it depends on the Servoy version? We use Servoy 5.2.15 on our server.
Which version have you tried Jan?

I’ll check if the issue still appears on a clean Servoy installation without 3rd party plugins, but at the moment i’ve no test device to test it.

server side java version shouldn’t have any influence with a client vm.
the server just give some jnlp files and jars nothing more

yes, that’s true. But i talked about the Servoy version, not the Server Java version :)
I think it could be a difference if you use Servoy 5.2.15 or Servoy 6.1 for example.

that could be, there could be some fixes (or better said workarounds) around that not being able to focus in the mac.
but that was as far as i remember only for showing dialogs.