Client takes a loooong time to launch

Questions, answers, tips and ideas on Servoy Client

Client takes a loooong time to launch

Postby wes.s.grayson » Tue Nov 05, 2013 5:31 pm

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
wes.s.grayson
 
Posts: 45
Joined: Mon Jan 23, 2012 5:39 pm

Re: Client takes a loooong time to launch

Postby Harjo » Tue Nov 05, 2013 6:18 pm

If this is smart-client, set the java console to: Show Console (setting in Java control-panel under advanced)
and have look what happens
Harjo Kompagnie
Direct ICT / Servoy Hosting / ServoyCamp
Servoy Certified Developer
Servoy Valued Professional
SAN Developer
User avatar
Harjo
 
Posts: 4307
Joined: Fri Apr 25, 2003 11:42 pm
Location: DEN HAM OV, The Netherlands

Re: Client takes a loooong time to launch

Postby wes.s.grayson » Tue Nov 05, 2013 7:00 pm

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
wes.s.grayson
 
Posts: 45
Joined: Mon Jan 23, 2012 5:39 pm

Re: Client takes a loooong time to launch

Postby Peter de Groot » Tue Nov 05, 2013 9:47 pm

Hi,

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

Regards,

Peter
Peter de Groot
 
Posts: 215
Joined: Thu Jan 10, 2008 8:38 pm
Location: Not sure...

Re: Client takes a loooong time to launch

Postby Harjo » Tue Nov 05, 2013 11:16 pm

That should'nt be the cause of that launching take's that long.

is there more?
Harjo Kompagnie
Direct ICT / Servoy Hosting / ServoyCamp
Servoy Certified Developer
Servoy Valued Professional
SAN Developer
User avatar
Harjo
 
Posts: 4307
Joined: Fri Apr 25, 2003 11:42 pm
Location: DEN HAM OV, The Netherlands

Re: Client takes a loooong time to launch

Postby wes.s.grayson » Wed Nov 06, 2013 2:56 am

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.
wes.s.grayson
 
Posts: 45
Joined: Mon Jan 23, 2012 5:39 pm

Re: Client takes a loooong time to launch

Postby david » Wed Nov 06, 2013 9:47 am

If you're using mysql for the repository database and the tables are myisam instead of innodb you will get this issue.
David Workman, Kabootit

Image
Everything you need to build great apps with Servoy
User avatar
david
 
Posts: 1727
Joined: Thu Apr 24, 2003 4:18 pm
Location: Washington, D.C.

Re: Client takes a loooong time to launch

Postby wes.s.grayson » Wed Nov 06, 2013 2:41 pm

My application database as well as my repository database are both Sybase.
wes.s.grayson
 
Posts: 45
Joined: Mon Jan 23, 2012 5:39 pm

Re: Client takes a loooong time to launch

Postby sjoerd1337768711 » Wed Nov 06, 2013 8:00 pm

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.
Sjoerd Hannema
Muta Services B.V.
sjoerd1337768711
 
Posts: 18
Joined: Wed May 23, 2012 12:25 pm
Location: Leeuwarden, NL

Re: Client takes a loooong time to launch

Postby wes.s.grayson » Wed Nov 06, 2013 11:02 pm

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.
wes.s.grayson
 
Posts: 45
Joined: Mon Jan 23, 2012 5:39 pm

Re: Client takes a loooong time to launch

Postby jcompagner » Thu Nov 07, 2013 10:08 am

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

Re: Client takes a loooong time to launch

Postby wes.s.grayson » Thu Nov 07, 2013 3:33 pm

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!
wes.s.grayson
 
Posts: 45
Joined: Mon Jan 23, 2012 5:39 pm

Re: Client takes a loooong time to launch

Postby jcompagner » Thu Nov 07, 2013 3:44 pm

https://www.servoyforge.net/projects/signtester

But also play with the java preferences to see if that helps
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8250
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Client takes a loooong time to launch

Postby jcarlos » Fri Nov 08, 2013 6:00 am

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.
Juan-Carlos Sanchez, Stanford University - Law and Economics
jcarlos
 
Posts: 574
Joined: Thu May 04, 2006 8:55 pm
Location: Palo Alto, California USA

Re: Client takes a loooong time to launch

Postby grahamg » Fri Nov 08, 2013 12:59 pm

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
Graham Greensall
Worxinfo Ltd
www.worxinfo.com
grahamg
 
Posts: 752
Joined: Fri Oct 03, 2003 3:15 pm
Location: Midlands UK

Next

Return to Servoy Client

Who is online

Users browsing this forum: No registered users and 1 guest