Page 1 of 2

Client takes a loooong time to launch

PostPosted: Tue Nov 05, 2013 5:31 pm
by wes.s.grayson
When my users launch Servoy Client, it takes a long time to load. I see the JAVA logo right away, it stay up for a few seconds, then goes away. About 2 minutes and 30 seconds later, the application comes up with the login prompt.

If you close the application and relaunch it, the time is significantly less.

Is there a log somewhere that will show me what it's doing during that time? Will disabling some plugins help reduce this time? any other ideas? I'm currently using Servoy 5.2.

thanks!
Wes

Re: Client takes a loooong time to launch

PostPosted: Tue Nov 05, 2013 6:18 pm
by Harjo
If this is smart-client, set the java console to: Show Console (setting in Java control-panel under advanced)
and have look what happens

Re: Client takes a loooong time to launch

PostPosted: Tue Nov 05, 2013 7:00 pm
by wes.s.grayson
thanks. This is what I see

Missing Permissions manifest attribute for: http://servername:8080/lib/j2db.jar
Missing Codebase manifest attribute for: http://servername:8080/lib/j2db.jar
Missing Permissions manifest attribute for: http://servername:8080/lib/js.jar
Missing Codebase manifest attribute for: http://servername:8080/lib/js.jar
Missing Permissions manifest attribute for: http://servername:8080/lib/commons-logging.jar
Missing Codebase manifest attribute for: http://servername:8080/lib/commons-logging.jar
Missing Permissions manifest attribute for: http://servername:8080/lib/rmitnl.jar
Missing Codebase manifest attribute for: http://servername:8080/lib/rmitnl.jar
Missing Permissions manifest attribute for: http://servername:8080/lib/networktnl.jar
Missing Codebase manifest attribute for: http://servername:8080/lib/networktnl.jar
Missing Permissions manifest attribute for: http://servername:8080/plugins/http.jar
Missing Codebase manifest attribute for: http://servername:8080/plugins/http.jar
Missing Permissions manifest attribute for: http://servername:8080/plugins/udp.jar
Missing Codebase manifest attribute for: http://servername:8080/plugins/udp.jar
Missing Permissions manifest attribute for: http://servername:8080/plugins/window.jar
Missing Codebase manifest attribute for: http://servername:8080/plugins/window.jar
Missing Permissions manifest attribute for: http://servername:8080/plugins/scheduler.jar
Missing Codebase manifest attribute for: http://servername:8080/plugins/scheduler.jar
Missing Permissions manifest attribute for: http://servername:8080/plugins/default_validators.jar
Missing Codebase manifest attribute for: http://servername:8080/plugins/default_validators.jar
Missing Permissions manifest attribute for: http://servername:8080/plugins/excelxport.jar
Missing Codebase manifest attribute for: http://servername:8080/plugins/excelxport.jar
Missing Permissions manifest attribute for: http://servername:8080/plugins/busy-v2.jar
Missing Codebase manifest attribute for: http://servername:8080/plugins/busy-v2.jar
Missing Permissions manifest attribute for: http://servername:8080/plugins/headlessclient.jar
Missing Codebase manifest attribute for: http://servername:8080/plugins/headlessclient.jar
Missing Permissions manifest attribute for: http://servername:8080/lib/jabsorb.jar
Missing Codebase manifest attribute for: http://servername:8080/lib/jabsorb.jar
Missing Permissions manifest attribute for: http://servername:8080/plugins/converters.jar
Missing Codebase manifest attribute for: http://servername:8080/plugins/converters.jar
Missing Permissions manifest attribute for: http://servername:8080/plugins/amortization.jar
Missing Codebase manifest attribute for: http://servername:8080/plugins/amortization.jar
Missing Permissions manifest attribute for: http://servername:8080/plugins/xmlreader.jar
Missing Codebase manifest attribute for: http://servername:8080/plugins/xmlreader.jar
Missing Permissions manifest attribute for: http://servername:8080/plugins/images.jar
Missing Codebase manifest attribute for: http://servername:8080/plugins/images.jar
Missing Permissions manifest attribute for: http://servername:8080/plugins/maintenance.jar
Missing Codebase manifest attribute for: http://servername:8080/plugins/maintenance.jar
Missing Permissions manifest attribute for: http://servername:8080/plugins/servoyguy_pdf_pro.jar
Missing Codebase manifest attribute for: http://servername:8080/plugins/servoyguy_pdf_pro.jar
Missing Permissions manifest attribute for: http://servername:8080/plugins/mail.jar
Missing Codebase manifest attribute for: http://servername:8080/plugins/mail.jar
Missing Permissions manifest attribute for: http://servername:8080/plugins/dialog.jar
Missing Codebase manifest attribute for: http://servername:8080/plugins/dialog.jar
Missing Permissions manifest attribute for: http://servername:8080/plugins/agent.jar
Missing Codebase manifest attribute for: http://servername:8080/plugins/agent.jar
Missing Permissions manifest attribute for: http://servername:8080/plugins/pdf_output.jar
Missing Codebase manifest attribute for: http://servername:8080/plugins/pdf_output.jar
Missing Permissions manifest attribute for: http://servername:8080/plugins/spellcheck.jar
Missing Codebase manifest attribute for: http://servername:8080/plugins/spellcheck.jar
Missing Permissions manifest attribute for: http://servername:8080/plugins/spellche ... dSpell.jar
Missing Codebase manifest attribute for: http://servername:8080/plugins/spellche ... dSpell.jar
Missing Permissions manifest attribute for: http://servername:8080/plugins/file.jar
Missing Codebase manifest attribute for: http://servername:8080/plugins/file.jar
Missing Permissions manifest attribute for: http://servername:8080/plugins/rawSQL.jar
Missing Codebase manifest attribute for: http://servername:8080/plugins/rawSQL.jar
Missing Permissions manifest attribute for: http://servername:8080/plugins/serialize.jar
Missing Codebase manifest attribute for: http://servername:8080/plugins/serialize.jar
Missing Permissions manifest attribute for: http://servername:8080/plugins/tabxport.jar
Missing Codebase manifest attribute for: http://servername:8080/plugins/tabxport.jar

Re: Client takes a loooong time to launch

PostPosted: Tue Nov 05, 2013 9:47 pm
by Peter de Groot
Hi,

have a look at this thread https://www.servoy.com/forum/viewtopic.php?f=11&t=19948

Regards,

Peter

Re: Client takes a loooong time to launch

PostPosted: Tue Nov 05, 2013 11:16 pm
by Harjo
That should'nt be the cause of that launching take's that long.

is there more?

Re: Client takes a loooong time to launch

PostPosted: Wed Nov 06, 2013 2:56 am
by wes.s.grayson
that's all there is in the java console. During the long delay, there is no activity in the console, and then after about 2 minutes all of those messages start to appear in the console, then the application opens.

Re: Client takes a loooong time to launch

PostPosted: Wed Nov 06, 2013 9:47 am
by david
If you're using mysql for the repository database and the tables are myisam instead of innodb you will get this issue.

Re: Client takes a loooong time to launch

PostPosted: Wed Nov 06, 2013 2:41 pm
by wes.s.grayson
My application database as well as my repository database are both Sybase.

Re: Client takes a loooong time to launch

PostPosted: Wed Nov 06, 2013 8:00 pm
by sjoerd1337768711
I have seen the problem also. Loading the login was +/- 2 minutes.
We found out that It was with users with the update of the latest version Java 7 (Client-side). It was automaticaly downloaded +/- 2 weeks ago.
We have downgraded to a previous version. This solved the long loading problem.

Will be some kind of problem with the new security options in Java 7.45.

Re: Client takes a loooong time to launch

PostPosted: Wed Nov 06, 2013 11:02 pm
by wes.s.grayson
Thanks for the input everyone. We are still on JAVA 6 update 51.

Could "warnings" within my solution contribute to the delay? I have a few hundred warning messages - "overlap betweens sliding components", "element is outside the bounds of the form", etc.

Re: Client takes a loooong time to launch

PostPosted: Thu Nov 07, 2013 10:08 am
by jcompagner
if you open the java preferences and in the advanced section you disable a view checks (you can also pick 1 after each other to see which one really has effect)

1> Mixed code: disable verification
2> Perform certificate revocation checks on: do not check
3> Check for certificate revocation using: Certificate Revocation Lists

Do you use some or many 3th party plugins? And if you do do you resign your self everything with your own certificate? Because if you don't do that you have all kinds of certificates loaded in that are now checked every time.
If you just have 1 (just servoy or just your own) it is already way quicker because by default in only checks that chain.

Re: Client takes a loooong time to launch

PostPosted: Thu Nov 07, 2013 3:33 pm
by wes.s.grayson
I have 2 or 3 third party plugins. I have never resigned anything using my own certificate. I'm not sure how to do that, can you point me in the right direction?

thanks!

Re: Client takes a loooong time to launch

PostPosted: Thu Nov 07, 2013 3:44 pm
by jcompagner
https://www.servoyforge.net/projects/signtester

But also play with the java preferences to see if that helps

Re: Client takes a loooong time to launch

PostPosted: Fri Nov 08, 2013 6:00 am
by jcarlos
Honestly, this problems with every Java update and the Servoy Smart clients is really disturbing.

I really don't have many Servoy smart client users at the moment, but I've been working to get rid of Drupal and FileMaker applications and move them to Servoy. A while ago I gave a presentation to my bosses on how well the Servoy Smart Client (a desktop application) worked/performed in comparison with Drupal (web apps) and FileMaker.

Still, I am concerned to move all these users (40+) to Servoy. I am one-man band, and I don't want to spend my time dealing with these issues client machine by client machine.

Have Servoy think about a global strategy on how to deal with this problem of Java updates? Should we just forget Smart Client solutions entirely? What's the strategy here?

Thank you.

Re: Client takes a loooong time to launch

PostPosted: Fri Nov 08, 2013 12:59 pm
by grahamg
Hi Juan-Carlos

Not much comfort for you but I think the general feeling is that the problems with Java/Desktop apps will only get worse. Apple are doing all they can to make it difficult to use Java apps and Oracle are fighting a losing battle to plug new vulnerabilities.

Servoy have been pushing WebClient development to provide an alternative and, in the last couple of years, I have moved almost all of my existing customers away from Desktop and start all new projects as Web only. It can be difficult converting legacy solutions (I have one going back to Servoy 2.1), and WebClient does present some new challenges, but I think it is the way forward.

Clients and bosses may not like the extra costs of moving away from desktop but have to accept that the IT world is constantly changing. Five years ago Servoy Desktop Client was so much better than Filemaker etc., and the Java scene was relatively stable, but you can't stand still so it's either move to a different platform - I chose WebClient - or write-off time struggling to get Java WebStart to actually start :)

HTH