Mac OSX - SmartClient won't start application

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

Re: Mac OSX - SmartClient won't start application

Postby huber » Tue Jul 16, 2013 2:29 pm

We are using the BrowserSuite, Robert. I read it's a problem, but what is the currents state and possible solution(s) for Servoy 5.2.16 and Java 1.6.0_51 on OS X 10.8.4?

Regards, Robert

ROCLASI wrote:Hi Robert,

Are you using the BrowserSuite ?
Robert Huber
7r AG, Switzerland
SAN Developer
http://www.seven-r.ch
User avatar
huber
 
Posts: 518
Joined: Mon May 14, 2012 11:31 pm

Re: Mac OSX - SmartClient won't start application

Postby LXS » Tue Jul 16, 2013 2:37 pm

the client vm args seems to be the problem:

viewtopic.php?f=15&t=19631&start=15#p105842

When you remove the parameters, you can login again in your solution.
If you want, you can remove only one parameter, try it and so on. Perhaps it is only one of theese parameters.
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 ROCLASI » Wed Jul 17, 2013 10:12 am

It looks like I identified the culprit (Thanks to Alexanders's (LXS) post leading me into the right direction).

It's the -XstartOnFirstThread switch.
When I leave that out everything works again (and the BrowserSuite bean also keeps working).

So now my settings look like this:
Code: Select all
-XX:SoftRefLRUPolicyMSPerMB=3600000 -Dsun.awt.disableMixing=true -Djavaws.useDJNativeSwing=true -Djnlp.nativeswing.dependencies.checkVersions=false -Dhttp.agent=DJ


(Servoy Server 5.2.16, Browser Suite v0.9.73)

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

Postby ROCLASI » Wed Jul 17, 2013 10:40 am

It appears that opening the about window does kill the client in the sense that it doesn't paint the dialog correctly and freezes.
Can anyone else confirm this behavior ?
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: Mac OSX - SmartClient won't start application

Postby huber » Wed Jul 17, 2013 10:47 am

Hi Robert

Thanks a lot, this works for our installations here as well :-)
I just noticed, that in Servoy 7.2 rc there is only this argument left in servoy.vmClientArgs: -XX:SoftRefLRUPolicyMSPerMB=3600000
So it seems that even with Java 1.6.0_xx there is no need of the other arguments any more.
@Servoy: Is that assumption correct?

Regards, Robert
Robert Huber
7r AG, Switzerland
SAN Developer
http://www.seven-r.ch
User avatar
huber
 
Posts: 518
Joined: Mon May 14, 2012 11:31 pm

Re: Mac OSX - SmartClient won't start application

Postby LXS » Wed Jul 17, 2013 10:48 am

yes, i've seen such things too. We have a question dialog onClose() where the user is ask, if he really wants to close.
Some users do not see anything in the dialog. We have no solution yet :(
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 » Wed Jul 17, 2013 10:57 am

we don't add all those vm args (except the default softref thing)
those vm args are the browser suite.
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 huber » Wed Jul 17, 2013 10:59 am

Robert

I can confirm this. Opening the About dialog (not showing the correct content) freezes everything associated with the client except the applications menu bar, so at least I can Quit the application.
My About looks like this (see appendix).

Regards, Robert

ROCLASI wrote:It appears that opening the about window does kill the client in the sense that it doesn't paint the dialog correctly and freezes.
Can anyone else confirm this behavior ?
Attachments
about dialog.png
about dialog.png (18.26 KiB) Viewed 7609 times
Last edited by huber on Wed Jul 17, 2013 10:59 am, edited 1 time in total.
Robert Huber
7r AG, Switzerland
SAN Developer
http://www.seven-r.ch
User avatar
huber
 
Posts: 518
Joined: Mon May 14, 2012 11:31 pm

Re: Mac OSX - SmartClient won't start application

Postby ROCLASI » Wed Jul 17, 2013 10:59 am

Hi Robert,

huber wrote:I just noticed, that in Servoy 7.2 rc there is only this argument left in servoy.vmClientArgs: -XX:SoftRefLRUPolicyMSPerMB=3600000
So it seems that even with Java 1.6.0_xx there is no need of the other arguments any more.
@Servoy: Is that assumption correct?


The other arguments are put there by the BrowserSuite installer. They are required to make the bean work.
And as far as I know the BrowserSuite doesn't really work on Mac using Java 7 (it does on other platforms).
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: Mac OSX - SmartClient won't start application

Postby ROCLASI » Wed Jul 17, 2013 11:00 am

huber wrote:My About looks like this (see appendix).


Yep, that's what I see as well.
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: Mac OSX - SmartClient won't start application

Postby LXS » Wed Jul 17, 2013 11:03 am

do you have the same behaviour on other dialogs as well? (plugins.dialogs.*)
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 ROCLASI » Wed Jul 17, 2013 11:20 am

Hi Alexander,

LXS wrote:do you have the same behaviour on other dialogs as well? (plugins.dialogs.*)

plugins.dialogs.* and the client's preference window do work fine for me. Also form in modal dialogs (FIMD) seems to work without issues.
It seems there is something in the about window that causes this freeze. Anyway, no showstopper. :)
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: Mac OSX - SmartClient won't start application

Postby huber » Fri Aug 16, 2013 9:28 am

Hi All

We still have the problem with the following messages:

Code: Select all
Missing Permissions manifest attribute for: http://<ip-adr>:8081/lib/j2db.jar
Missing Codebase manifest attribute for: http://<ip-adr>:8081/lib/j2db.jar
Missing Permissions manifest attribute for: http://<ip-adr>:8081/lib/js.jar
Missing Codebase manifest attribute for: http://<ip-adr>:8081/lib/js.jar
...


when starting the Servoy 5.2 Smart Client on OS X 10.8.4 and Java 1.6.0_51.

Additional problem we realized, the application menus like File Edit ... don't work any more. I also can't find any error message associated with that. It would be very helpful if someone please could confirm that.

Is there a known workaround?
Robert Huber
7r AG, Switzerland
SAN Developer
http://www.seven-r.ch
User avatar
huber
 
Posts: 518
Joined: Mon May 14, 2012 11:31 pm

Re: Mac OSX - SmartClient won't start application

Postby Harjo » Fri Aug 16, 2013 9:38 am

The warnings you see, about missing permissions & codebase can be fixed by using the latest signtester!

see here: https://www.servoyforge.net/projects/signtester/wiki
Harjo Kompagnie
ServoyCamp
Servoy Certified Developer
Servoy Valued Professional
SAN Developer
Harjo
 
Posts: 4321
Joined: Fri Apr 25, 2003 11:42 pm
Location: DEN HAM OV, The Netherlands

Re: Mac OSX - SmartClient won't start application

Postby huber » Fri Aug 16, 2013 11:17 am

Thanks Harjo. Unfortunatly I still have the the Missing Codebase manifest attribute messages. I used the latest signtester version v1.2.
Any further idea?

Harjo wrote:The warnings you see, about missing permissions & codebase can be fixed by using the latest signtester!

see here: https://www.servoyforge.net/projects/signtester/wiki
Robert Huber
7r AG, Switzerland
SAN Developer
http://www.seven-r.ch
User avatar
huber
 
Posts: 518
Joined: Mon May 14, 2012 11:31 pm

PreviousNext

Return to Plugins and Beans

Who is online

Users browsing this forum: No registered users and 10 guests