ROCLASI:
I guess it’s really time to upgrade everything to Servoy 6.1.
To 6.1 and web client.
ROCLASI:
I guess it’s really time to upgrade everything to Servoy 6.1.
To 6.1 and web client.
ROCLASI:
I just had an opportunity to test this and indeed it uses Java 7 for new downloads. Already downloaded clients continue to work with Java 6.
Servoy 6 and up seem to work fine with Java 7 on the Mac. Servoy 5.2 however seem to have some issues.
I guess it’s really time to upgrade everything to Servoy 6.1.
I think the latest versions of 5.2 work ok with Java 7 (I have an issue at a client with 5.2.6 with a form not loading, but once I updated to newest 5.2.x it was fine), but I am also trying to move everything to 6.1 (just in time for Servoy 7 ).
Rafi
Now we have a really strange behaviour…
The last way i tried was to restore the TimeMachine Backup to 2013-03-12. On this date the customer had a working Servoy 5.2.15 client on the Mac.
But now when you click the Servoy desktop icon it says again that no JRE is installed!
When you go to Safari and start via jnlp file the file only will be downloaded. When you doubleclick the jnlp in Finder, nothing happens.
I’ve no idea what’s going on! Maybe Apple has made a silent update just after the restore?! How can it be when we make a TimeMachine restore that the issue still occurs?
Now we have 2 customers with this issues and in our company are also 3 workmates (2 Macs and 1 Linux with Java 1.7.0_17).
After one week of trying this is a serious problem for us now!
I can’t believe that we are the only one with this problems (Servoy 5.2.15).
Any ideas how to solve this problem?
Thanks a lot!
Alex
Hi Alex,
Is Java enabled in Safari ?
Yes, Java is enabled in the Safari settings.
I’ve noticed an interesting thing:
We are using Servoy 5.2.15 and now i’ve copied this installation and updated to Servoy 5.2.16.
We clicked the jnlp file in Safari and the file was downloaded. After going to Finder and Open with → Java Web Start the Java 6 splash and the download window was shown.
I thought that Servoy 5.2.16 would be the solution of the problem, but after completing the download, the window disappears but no Servoy Smart Client was started.
When you start the same jnlp file again no splash is shown. There’s just a very short time the javaws process visible in the Activity monitor of Mac OS X and nothing happens again.
On the same machine i’ve tried to start a Java Web Start demo solution from Oracle:
http://www.pscode.org/jws/printtest.jnlp (from this website: http://www.pscode.org/jws/api.html#cbs)
This works without any problems. So i think it’s related to Servoy?
what do you have specified as vm args in the admin page?
the vm args are the following:
servoy.vmClientArgs:
-XX:MaxPermSize=128m -XX:SoftRefLRUPolicyMSPerMB=3600000 -XstartOnFirstThread -Dsun.awt.disableMixing=true -Djavaws.useDJNativeSwing=true -Dhttp.agent=DJ
servoy.initialClientHeap: 256
servoy.maxClientHeap: 768
Meanwhile i’ve tested with a new Servoy 5.2.16 installation with the sample crm. Here the click on the jnlp file works.
So i also think, it must be a difference in the servoy.properties between our installation and the new fresh installation.
I’ve added the jnlp file from our Servoy 5.2.15 server, which isn’t working as attachment in a zip file.
servoy_client_Spotlight.zip (2.06 KB)
delete: -Dsun.awt.disableMixing=true -Djavaws.useDJNativeSwing=true -Dhttp.agent=DJ
that is somehow causing issues especially in the latest releases, this is because of the BrowserSuite but that doesn’t really work i think in java 7 (on the mac) that good if at all.
I’ve tried it with only
-XX:SoftRefLRUPolicyMSPerMB=3600000
which is the default in a new installation and it works. So the vm args seems to be the problem. Thanks for you hint Johan! I’ll try deleting it!
It seems to be the the parameter -XX:MaxPermSize=128m and it’s position in the args is the problem.
In my config the parameter was the first one. When i move it to the end, the smart client starts.
So this vm args string seems to work:
-XX:SoftRefLRUPolicyMSPerMB=3600000 -XstartOnFirstThread -Dsun.awt.disableMixing=true -Djavaws.useDJNativeSwing=true -Dhttp.agent=DJ -XX:MaxPermSize=128m
I’ve expected that the order of the argument isn’t important. What do you think about it? Is this really the solution? It seems to be…
Nevertheless i’ll remove the other parameter how you’ve recommended.
I’ll test this on the customers server and i hope it solves the problem.
Thank you very much!
thats weird, i know we just had to remove those browsersuite mac things from our side to get our clients started again.
i have no idea why the order is important that shouldn’t do anything.
was this only on Macs with Java 7?
We work with Java 6 at the moment, because afaik the Browser Suite isn’t working (on Macs) with Java 7.
And we have another strange issue on Java 7 when using Mac:
On many forms (often dialogs) you open the dialog and can’t select text fields (comboboxes works). I found out, when you go to another application (Finder etc), do nothing and go back to the Servoy Smart Client you can click the text fields and edit them. On Windows i’ve no such problems.
It isn’t 100% reproducible, so i couldn’t create a sample solution yet, because i did not found the real reason for this behaviour.
I think it has to to with tab panels in dialogs, but i’m not sure.
Do you have ever heared from such issues?
yes, I have seen the same, with Servoy 6.0.9 and Java 7 on MAC
sometimes you can’t put the cursor into fields, when you are in in a FID.
just give another program focus and return back, and it works again
So you have this with with Java 6?
ah, nice to hear that i’m not the only one with this strange behaviour
Do you have or is there any solution for that issue?
No, we only had this with Java 7 and Servoy 5.2.15.
This is one reason to stay on Java 6.
Is there any chance to fix those strange issues?
Can Servoy fix here anything for Java 7?
For me it’s difficult to say our customers to stay on Java 6.
In the last two months i’ve spent many hours to reactivate Java 6 on many customers Macs.
Thanks a lot!
Alex
Last week I discussed this with Johan, about this problem, because it’s very hard to reproduce, Johan said in Servoy 6.1.x there where a bunch of changes/optimizes in this area. Not quite sure, if that will fix this problem, so we are going to test this, asap.
Thanks for your quick reply!
Do you know if these changes go to Servoy 5.2.x as well?
We are still on Servoy 5.2.x because of many module circles…
They were made in 6.1.x, so no, not in 5. (we aren’t even sure if those changes will fix this…)
I understand. So can you inform us about the changes when they are tested? I hope they make things better and if so, they will be migrated to Servoy 5 too
But you say, you can’t upgrade to 6, because of cycles between solutions & modules right?
that is only a problem (generating an error) in developer, (which I believe you can turn that warning off, if you want)
it should still work on a server.