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 Jan Aleman » Thu Jun 20, 2013 2:02 pm

I'm running smart client on latest java on mac with no issues...
Jan Aleman
Servoy
Jan Aleman
 
Posts: 2083
Joined: Wed Apr 23, 2003 9:49 pm
Location: Planet Earth

Re: Mac OSX - SmartClient won't start application

Postby LXS » Thu Jun 20, 2013 3:25 pm

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.
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 3:31 pm

server side java version shouldn't have any influence with a client vm.
the server just give some jnlp files and jars nothing more
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8829
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 3:37 pm

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.
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 4:37 pm

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.
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8829
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Mac OSX - SmartClient won't start application

Postby Harjo » Thu Jun 20, 2013 9:54 pm

We can't start the smart-client anymore with Java 1.7.0_25 on OSX also... :evil:

We are using Servoy 6.0.5 (WE use a selfsigned certificate & signtester, to sign everything)
We tried all kinds of security settings in Java (suggested by Hans in another thread, but no solution yet.

this is what we see in the console, after that the smart-client shows up, but stays grey. (we can just hit close button, and the smart-client doe close nicely)

Code: Select all
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/harjokompagnie
----------------------------------------------------
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>
----------------------------------------------------
JNLP JREDesc in Component ignored: https://login.directmanager.nl:443/servoy-client/plugins/it2be-word/aspose-words.jar.jnlp
JNLP JREDesc in Component ignored: https://login.directmanager.nl:443/servoy-client/plugins/it2be-word/aspose-words.jar.jnlp
Missing Permissions manifest attribute for: https://login.directmanager.nl:443/lib/j2db.jar
Missing Codebase manifest attribute for: https://login.directmanager.nl:443/lib/j2db.jar
Missing Permissions manifest attribute for: https://login.directmanager.nl:443/lib/js.jar
Missing Codebase manifest attribute for: https://login.directmanager.nl:443/lib/js.jar
Missing Permissions manifest attribute for: https://login.directmanager.nl:443/lib/commons-logging.jar
Missing Codebase manifest attribute for: https://login.directmanager.nl:443/lib/commons-logging.jar
Missing Permissions manifest attribute for: https://login.directmanager.nl:443/lib/rmitnl.jar
Missing Codebase manifest attribute for: https://login.directmanager.nl:443/lib/rmitnl.jar
Missing Permissions manifest attribute for: https://login.directmanager.nl:443/lib/networktnl.jar
Missing Codebase manifest attribute for: https://login.directmanager.nl:443/lib/networktnl.jar
Missing Permissions manifest attribute for: https://login.directmanager.nl:443/lib/httpclient.jar
Missing Codebase manifest attribute for: https://login.directmanager.nl:443/lib/httpclient.jar
Missing Permissions manifest attribute for: https://login.directmanager.nl:443/lib/httpcore.jar
Missing Codebase manifest attribute for: https://login.directmanager.nl:443/lib/httpcore.jar
Missing Permissions manifest attribute for: https://login.directmanager.nl:443/plugins/drmaison-lib/log4j.jar
Missing Codebase manifest attribute for: https://login.directmanager.nl:443/plugins/drmaison-lib/log4j.jar
INFO  - r                          - using direct connection
Missing Permissions manifest attribute for: https://login.directmanager.nl:443/lib/jcifs.jar
Missing Codebase manifest attribute for: https://login.directmanager.nl:443/lib/jcifs.jar
INFO  - r                          - jcifs library found; NTLM support enabled
INFO  - r                          - using direct connection
INFO  - r                          - jcifs library found; NTLM support enabled
Missing Permissions manifest attribute for: https://login.directmanager.nl:443/lib/MRJAdapter.jar
Missing Codebase manifest attribute for: https://login.directmanager.nl:443/lib/MRJAdapter.jar
Missing Permissions manifest attribute for: https://login.directmanager.nl:443/plugins/agent.jar
Missing Codebase manifest attribute for: https://login.directmanager.nl:443/plugins/agent.jar
Missing Permissions manifest attribute for: https://login.directmanager.nl:443/plugins/amortization.jar
Missing Codebase manifest attribute for: https://login.directmanager.nl:443/plugins/amortization.jar
Missing Permissions manifest attribute for: https://login.directmanager.nl:443/plugins/busy-v2.jar
Missing Codebase manifest attribute for: https://login.directmanager.nl:443/plugins/busy-v2.jar
Missing Permissions manifest attribute for: https://login.directmanager.nl:443/plugins/converters.jar
Missing Codebase manifest attribute for: https://login.directmanager.nl:443/plugins/converters.jar
Missing Permissions manifest attribute for: https://login.directmanager.nl:443/plugins/dateUtils.jar
Missing Codebase manifest attribute for: https://login.directmanager.nl:443/plugins/dateUtils.jar
Missing Permissions manifest attribute for: https://login.directmanager.nl:443/plugins/default_validators.jar
Missing Codebase manifest attribute for: https://login.directmanager.nl:443/plugins/default_validators.jar
Missing Permissions manifest attribute for: https://login.directmanager.nl:443/plugins/dialog.jar
Missing Codebase manifest attribute for: https://login.directmanager.nl:443/plugins/dialog.jar
Missing Permissions manifest attribute for: https://login.directmanager.nl:443/plugins/drmaison.jar
Missing Codebase manifest attribute for: https://login.directmanager.nl:443/plugins/drmaison.jar
Missing Permissions manifest attribute for: https://login.directmanager.nl:443/plugins/excel.jar
Missing Codebase manifest attribute for: https://login.directmanager.nl:443/plugins/excel.jar
Missing Permissions manifest attribute for: https://login.directmanager.nl:443/plugins/excelxport.jar
Missing Codebase manifest attribute for: https://login.directmanager.nl:443/plugins/excelxport.jar
Missing Permissions manifest attribute for: https://login.directmanager.nl:443/plugins/exchange.jar
Missing Codebase manifest attribute for: https://login.directmanager.nl:443/plugins/exchange.jar
Missing Permissions manifest attribute for: https://login.directmanager.nl:443/plugins/file.jar
Missing Codebase manifest attribute for: https://login.directmanager.nl:443/plugins/file.jar
Missing Permissions manifest attribute for: https://login.directmanager.nl:443/plugins/fileWatcher.jar
Missing Codebase manifest attribute for: https://login.directmanager.nl:443/plugins/fileWatcher.jar
Missing Permissions manifest attribute for: https://login.directmanager.nl:443/plugins/google.jar
Missing Codebase manifest attribute for: https://login.directmanager.nl:443/plugins/google.jar
Missing Permissions manifest attribute for: https://login.directmanager.nl:443/plugins/headlessclient.jar
Missing Codebase manifest attribute for: https://login.directmanager.nl:443/plugins/headlessclient.jar
Missing Permissions manifest attribute for: https://login.directmanager.nl:443/lib/jabsorb.jar
Missing Codebase manifest attribute for: https://login.directmanager.nl:443/lib/jabsorb.jar
Missing Permissions manifest attribute for: https://login.directmanager.nl:443/plugins/http.jar
Missing Codebase manifest attribute for: https://login.directmanager.nl:443/plugins/http.jar
Missing Permissions manifest attribute for: https://login.directmanager.nl:443/plugins/images.jar
Missing Codebase manifest attribute for: https://login.directmanager.nl:443/plugins/images.jar
Missing Permissions manifest attribute for: https://login.directmanager.nl:443/plugins/it2be-calendar.jar
Missing Codebase manifest attribute for: https://login.directmanager.nl:443/plugins/it2be-calendar.jar
Missing Permissions manifest attribute for: https://login.directmanager.nl:443/plugins/it2be-core/core-common.jar
Missing Codebase manifest attribute for: https://login.directmanager.nl:443/plugins/it2be-core/core-common.jar
Missing Permissions manifest attribute for: https://login.directmanager.nl:443/plugins/it2be-cryptor.jar
Missing Codebase manifest attribute for: https://login.directmanager.nl:443/plugins/it2be-cryptor.jar
Missing Permissions manifest attribute for: https://login.directmanager.nl:443/plugins/it2be-tools.jar
Missing Codebase manifest attribute for: https://login.directmanager.nl:443/plugins/it2be-tools.jar
Missing Permissions manifest attribute for: https://login.directmanager.nl:443/plugins/it2be-word.jar
Missing Codebase manifest attribute for: https://login.directmanager.nl:443/plugins/it2be-word.jar
Missing Permissions manifest attribute for: https://login.directmanager.nl:443/plugins/log.jar
Missing Codebase manifest attribute for: https://login.directmanager.nl:443/plugins/log.jar
Missing Permissions manifest attribute for: https://login.directmanager.nl:443/plugins/mail.jar
Missing Codebase manifest attribute for: https://login.directmanager.nl:443/plugins/mail.jar
Missing Permissions manifest attribute for: https://login.directmanager.nl:443/plugins/mailpro.jar
Missing Codebase manifest attribute for: https://login.directmanager.nl:443/plugins/mailpro.jar
Missing Permissions manifest attribute for: https://login.directmanager.nl:443/plugins/maintenance.jar
Missing Codebase manifest attribute for: https://login.directmanager.nl:443/plugins/maintenance.jar
Missing Permissions manifest attribute for: https://login.directmanager.nl:443/plugins/pdf_output.jar
Missing Codebase manifest attribute for: https://login.directmanager.nl:443/plugins/pdf_output.jar
Missing Permissions manifest attribute for: https://login.directmanager.nl:443/plugins/rawSQL.jar
Missing Codebase manifest attribute for: https://login.directmanager.nl:443/plugins/rawSQL.jar
Missing Permissions manifest attribute for: https://login.directmanager.nl:443/plugins/scanner_pro.jar
Missing Codebase manifest attribute for: https://login.directmanager.nl:443/plugins/scanner_pro.jar
Missing Permissions manifest attribute for: https://login.directmanager.nl:443/plugins/scheduler.jar
Missing Codebase manifest attribute for: https://login.directmanager.nl:443/plugins/scheduler.jar
Missing Permissions manifest attribute for: https://login.directmanager.nl:443/plugins/screenshot.jar
Missing Codebase manifest attribute for: https://login.directmanager.nl:443/plugins/screenshot.jar
Missing Permissions manifest attribute for: https://login.directmanager.nl:443/plugins/serialize.jar
Missing Codebase manifest attribute for: https://login.directmanager.nl:443/plugins/serialize.jar
Missing Permissions manifest attribute for: https://login.directmanager.nl:443/plugins/servoy_jasperreports.jar
Missing Codebase manifest attribute for: https://login.directmanager.nl:443/plugins/servoy_jasperreports.jar
Missing Permissions manifest attribute for: https://login.directmanager.nl:443/plugins/spellcheck.jar
Missing Codebase manifest attribute for: https://login.directmanager.nl:443/plugins/spellcheck.jar
Missing Permissions manifest attribute for: https://login.directmanager.nl:443/plugins/tabxport.jar
Missing Codebase manifest attribute for: https://login.directmanager.nl:443/plugins/tabxport.jar
Missing Permissions manifest attribute for: https://login.directmanager.nl:443/plugins/udp.jar
Missing Codebase manifest attribute for: https://login.directmanager.nl:443/plugins/udp.jar
Missing Permissions manifest attribute for: https://login.directmanager.nl:443/plugins/usermanager.jar
Missing Codebase manifest attribute for: https://login.directmanager.nl:443/plugins/usermanager.jar
Missing Permissions manifest attribute for: https://login.directmanager.nl:443/plugins/window.jar
Missing Codebase manifest attribute for: https://login.directmanager.nl:443/plugins/window.jar
Missing Permissions manifest attribute for: https://login.directmanager.nl:443/plugins/xmlreader.jar
Missing Codebase manifest attribute for: https://login.directmanager.nl:443/plugins/xmlreader.jar
Missing Permissions manifest attribute for: https://login.directmanager.nl:443/plugins/servoy_jasperreports/jasperreports-4.0.0.jar
Missing Codebase manifest attribute for: https://login.directmanager.nl:443/plugins/servoy_jasperreports/jasperreports-4.0.0.jar
Missing Permissions manifest attribute for: https://login.directmanager.nl:443/plugins/it2be-word/aspose-words-jdk16.jar
Missing Codebase manifest attribute for: https://login.directmanager.nl:443/plugins/it2be-word/aspose-words-jdk16.jar
Registering Commercial IT2BE Component runtime licenses for Direct ICT
Missing Permissions manifest attribute for: https://login.directmanager.nl:443/plugins/drmaison-lib/support.jar
Missing Codebase manifest attribute for: https://login.directmanager.nl:443/plugins/drmaison-lib/support.jar
Missing Permissions manifest attribute for: https://login.directmanager.nl:443/plugins/drmaison-lib/servoy6support.jar
Missing Codebase manifest attribute for: https://login.directmanager.nl:443/plugins/drmaison-lib/servoy6support.jar
Missing Permissions manifest attribute for: https://login.directmanager.nl:443/plugins/drmaison-lib/mac_widgets.jar
Missing Codebase manifest attribute for: https://login.directmanager.nl:443/plugins/drmaison-lib/mac_widgets.jar
Missing Permissions manifest attribute for: https://login.directmanager.nl:443/plugins/drmaison-lib/mail.jar
Missing Codebase manifest attribute for: https://login.directmanager.nl:443/plugins/drmaison-lib/mail.jar
Missing Permissions manifest attribute for: https://login.directmanager.nl:443/plugins/drmaison-lib/google/gdata-core-1.0.jar
Missing Codebase manifest attribute for: https://login.directmanager.nl:443/plugins/drmaison-lib/google/gdata-core-1.0.jar
Missing Permissions manifest attribute for: https://login.directmanager.nl:443/plugins/drmaison-lib/google/gdata-calendar-2.0.jar
Missing Codebase manifest attribute for: https://login.directmanager.nl:443/plugins/drmaison-lib/google/gdata-calendar-2.0.jar
Missing Permissions manifest attribute for: https://login.directmanager.nl:443/plugins/drmaison-lib/google/gdata-contacts-3.0.jar
Missing Codebase manifest attribute for: https://login.directmanager.nl:443/plugins/drmaison-lib/google/gdata-contacts-3.0.jar
Missing Permissions manifest attribute for: https://login.directmanager.nl:443/plugins/drmaison-lib/google/gdata-docs-3.0.jar
Missing Codebase manifest attribute for: https://login.directmanager.nl:443/plugins/drmaison-lib/google/gdata-docs-3.0.jar
Missing Permissions manifest attribute for: https://login.directmanager.nl:443/plugins/drmaison-lib/google/gdata-media-1.0.jar
Missing Codebase manifest attribute for: https://login.directmanager.nl:443/plugins/drmaison-lib/google/gdata-media-1.0.jar
Missing Permissions manifest attribute for: https://login.directmanager.nl:443/plugins/drmaison-lib/google/gdata-client-1.0.jar
Missing Codebase manifest attribute for: https://login.directmanager.nl:443/plugins/drmaison-lib/google/gdata-client-1.0.jar
Missing Permissions manifest attribute for: https://login.directmanager.nl:443/plugins/drmaison-lib/ical4j.jar
Missing Codebase manifest attribute for: https://login.directmanager.nl:443/plugins/drmaison-lib/ical4j.jar
Missing Permissions manifest attribute for: https://login.directmanager.nl:443/plugins/drmaison-lib/google/gdata-spreadsheet-3.0.jar
Missing Codebase manifest attribute for: https://login.directmanager.nl:443/plugins/drmaison-lib/google/gdata-spreadsheet-3.0.jar
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 rvanderburg » Fri Jun 21, 2013 10:14 am

Seems to have to do with checking self signed certificates. As a quick fix you can turn the check on that of:

http://screencast.com/t/vGWcstnO34

Just tried Harjo's application and starts up fine after I changed this.
rvanderburg
Site Admin
 
Posts: 78
Joined: Wed May 04, 2011 10:28 am

Re: Mac OSX - SmartClient won't start application

Postby LXS » Fri Jun 21, 2013 3:10 pm

After a whole day of research i've recognized that the Browser Suite is the problem.
When the Servoy 5.2.16 installation does not contain Browser Suite all works fine and i can select my login fields.
But when Browser Suite is installed, i get the behaviour, that in my login solution the fields are disabled (i don't know if the main solution works better).
I've tried it with Browser Suite 0.9.55 and 0.9.75 on Servoy 5.2.16 on a Mac with Java 1.6.0_51 (we still use this version, because on Mac it seems the only version which works on Servoy 5.2.x correctly in Dialogs with HTMLEditor).

The problem is, that we need the Browser Suite in our SmartClient Solution :(
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 » Fri Jun 21, 2013 3:32 pm

I also tried it with Servoy 6.1.5 and Browser Suite 0.9.75 on the same Mac with Java 1.6.0_51 with the same results.
The login fields are not accessible.
So it seems that the Browser Suite does not work with Java 1.6.0_51 on any Servoy version :(
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 » Fri Jun 21, 2013 3:40 pm

what kind of system args do you push to the client? do you have those special mac settings defined on the admin page? (servoy.vmClientArgs property)

remove that for a moment only have the default in there.
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8829
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Mac OSX - SmartClient won't start application

Postby LXS » Fri Jun 21, 2013 4:07 pm

i'm using a fresh Servoy 6.1.5 installation and installed the Browser Suite. Now the vmArgs contains are the following:
-XX:SoftRefLRUPolicyMSPerMB=3600000 -XstartOnFirstThread -Dsun.awt.disableMixing=true -Djavaws.useDJNativeSwing=true -Djnlp.nativeswing.dependencies.checkVersions=false -Dhttp.agent=DJ

When i delete all args and save, there are still those args left:
-XX:SoftRefLRUPolicyMSPerMB=3600000

But it seems, that the args are the problem! Using Browser Suite 0.9.55 and 0.9.75 without the other arguments i can edit my login fields!! :)
Do you know what these arguments are good for or if they are needed?
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 ptalbot » Sat Jun 22, 2013 12:15 am

-XstartOnFirstThread was a SWT requirement on Mac OS X up until recently. There’s been report that it’s no longer needed with Java 7, but it’s still needed with Java 6

-Dsun.awt.disableMixing=true is there because they’ve introduce the lightweight heavyweight component mixing in Java 6, except that the implementation is not entirely full proof and the DJNativeSwing lib have some code specifically for that which is dealing with lightweight component painting over heavyweight (like a menu on top of a SWT bean) that is working better, only you need to disable the default one.

-Djavaws.useDJNativeSwing=true is there so that the NativeInterface.initialize() iscalled from the main Thread (some code for this is part of Servoy's J2DBClient code) which on Mac OS X (at least with previous versions of Java) is a requirement along with -XStartOnFirstThread for the beans to work.

-Djnlp.nativeswing.dependencies.checkVersions=false is probably no longer needed with the latest NativeSwing lib but certainly not doing any harm.

-Dhttp.agent=DJ is inoffensive, it's only there to make certain version of java web start recognize the previous non 'secure' arguments.

So the issue is that if you want the BrowserSuite to work on MacOS X Java 6, you will want these arguments, but you will not want them with Java 7... I guess the way to go would be to create a profile and have your client with Java 6 use this profile which would have these arguments declared as servoy.vmargs
Patrick Talbot
Freelance - Open Source - Servoy Valued Professional
https://www.servoyforge.net
Velocity rules! If you don't use it, you don't know what you're missing!
User avatar
ptalbot
 
Posts: 1654
Joined: Wed Mar 11, 2009 5:13 am
Location: Montreal, QC

Re: Mac OSX - SmartClient won't start application

Postby Mark Crichton » Mon Jun 24, 2013 5:22 am

Hi Johan

The message I had ( See first message of thread) points to 3rd party problems, so will try set up another solution to test.
I am upgrading to Servoy 7 to see if that will help, as really need to upgrade moving forward.
I will get back to you as soon a s I know.

Regards 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 huber » Tue Jul 16, 2013 8:06 am

We also get this problem not being able to login to the application. Can anyone please give an info about the best way to solve it when using Servoy 5.2.16?
Thanks in advance, Robert
Robert Huber
7r AG, Switzerland
SAN Developer
http://www.seven-r.ch
User avatar
huber
 
Posts: 516
Joined: Mon May 14, 2012 11:31 pm

Re: Mac OSX - SmartClient won't start application

Postby ROCLASI » Tue Jul 16, 2013 10:59 am

Hi Robert,

Are you using the BrowserSuite ?
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

PreviousNext

Return to Plugins and Beans

Who is online

Users browsing this forum: No registered users and 9 guests

cron