Servoy 6.1

Servoy announcements

Re: Servoy 6.1

Postby jcompagner » Fri Jul 06, 2012 11:42 am

omar wrote:I've had a similar situation on a few occasions which was also related to the debugger. In my case the progress indicator on the lower right of the screen would go to 70% (for globals.js) and stop there. After a few minutes I would get the message 'unable to connect to the IDE' or something like that. I could solve this by taking all code out of globals.js, save it, put all code back, save it again and restart Servoy.

I must say however that this was in 6.1RCx and I have not seen it occur in Servoy 6.1 final.


this was fixed in the last RC or the final.
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8828
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Servoy 6.1

Postby jcompagner » Fri Jul 06, 2012 11:44 am

rossent wrote:Hi all,

In the final 6.1 we started experiencing quite often the following issue - during debug sessions, the Servoy Developer and the debugged Smart Client will freeze. Many time developer have to kill the Servoy Developer process, occasionally after several minutes the Servoy Developer will come back to life. The issue is not reproducible at will and at the point where the Developer will freeze during one session it will work fine during the next debug session.

Does anybody else see similar issues? In the past we have had similar issues, but they were very rare. After the release of 6.1 almost all of our developers are seeing these issues on a daily basis.


Rossen,

At the moment this freeze happens, can you go to the admin page and dump the stack? So that we can say what it currently does?

This is also a tip for everybody reading this, if in developer (or webclients/server) something really hangs for a while (in what ever form or place, so the developer it self or any debug clients, web or smart) please go to the admin page and dump the stack. Then we can quite easily see what it is doing at that time, To have a bit more info when it takes a bit longer is have a few dumps 5-10 seconds apart.
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8828
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Servoy 6.1

Postby lvostinar » Fri Jul 06, 2012 12:17 pm

rossent wrote:We are getting the following error when attempting to import solutions in Application Server:

Code: Select all
com.servoy.j2db.persistence.RepositoryException: Data model change needed: server - argos_user_data table - ap_payment but is not allowed from import preferences.
       at com.servoy.j2db.server.Zc.Zj.Za(Zj.java:239)
       at com.servoy.j2db.server.Zc.Zj.importDatabaseInfo(Zj.java:655)
       at com.servoy.j2db.server.Zc.Zdb.Za(Zdb.java:397)
       at com.servoy.j2db.server.Zc.Zdb.importFromJarFile(Zdb.java:549)
       at com.servoy.j2db.server.servlets.ConfigServlet.Zi(ConfigServlet.java:2338)
       at com.servoy.j2db.server.servlets.ConfigServlet.service(ConfigServlet.java:2697)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
       at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:554)
       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
       at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
       at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
       at java.lang.Thread.run(Unknown Source)


Some additional information:
- we update the databases with a separate tool before the solution imports and ensure that the Servoy application server is restarted after the database updates so it can pickup the changes
- when importing solutions we do not use the Servoy option "allow data model (database) changes"
- I have verified that the table ap_payment exists in the argos_user_data database
- when I try the solution import again, a similar error will be thrown but this time for another new table or column (as if the server now "sees" the table/column on which it failed before but does not "see" the next change); after several attempts which fail on different tables or columns the errors will start to repeat/cycle through the same tables/columns;
- we have been using the same database update and solution import process for quite some time now without these issues - even RC1, RC2 and RC3 worked fine (did not try the RC4); it appears that this changed behavior is introduced after RC3


Are you sure the table is loaded on application server? If you create a small sample based on that table (using solution model form), does it display well?
Laurian Vostinar
Servoy
lvostinar
 
Posts: 1062
Joined: Tue Feb 19, 2008 10:53 am

Re: Servoy 6.1

Postby rossent » Fri Jul 06, 2012 1:26 pm

jcompagner wrote:are cases created for these FireFox problems?


Yes, see https://support.servoy.com/browse/SVY-2605
Rossen Totev
Argos Software
rossent
 
Posts: 288
Joined: Wed Dec 31, 2008 2:03 pm

Re: Servoy 6.1

Postby briese-it » Fri Jul 06, 2012 2:09 pm

I have a lot of warnings (deprecated) for the methods: utils.dateFormat and utils.numberFormat. Quick fix shows that I have to add SuppressWarnings for that. Is there an other new call for these methods or should I ignore this and add only the @SuppressWarnings command? Iam asking because maybe these methods are not longer supported within next releases..
Michael Harms
Briese Schiffahrts GmbH & Co.KG, Germany
- Servoy 2020.3.3.3565_LTS Running on Windows 2019 DataCenter - MSSQL2017 & PostGreSQL
User avatar
briese-it
 
Posts: 171
Joined: Mon Jun 20, 2011 1:50 pm
Location: Leer, Germany

Re: Servoy 6.1

Postby ROCLASI » Fri Jul 06, 2012 2:20 pm

If utils.numberFormat() and utils.dateFormat() are deprecated then it's interesting that they still show up in the navigator view in Servoy 6.1 final.
Also I don't see a reason to have them deprecated, but that is me...
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: Servoy 6.1

Postby lwjwillemsen » Fri Jul 06, 2012 2:28 pm

Is there a list of deprecated functions for the Servoy Developer community ? I don't see it in the Wiki that quickly...

Regards,
Lambert Willemsen
Vision Development BV
lwjwillemsen
 
Posts: 680
Joined: Sat Mar 14, 2009 5:39 pm
Location: The Netherlands

Re: Servoy 6.1

Postby rossent » Fri Jul 06, 2012 2:52 pm

lvostinar wrote:Are you sure the table is loaded on application server? If you create a small sample based on that table (using solution model form), does it display well?


I am not sure what you mean by "table is loaded on application server". Here is what I did:
1. Older version of the solution was imported on the test server, everything works fine
2. Before deploying a new version of the solution, I deleted all solutions from the test server
3. Stopped the test server
4. Updated the database using an external tool - the database is verified to match the dbi information of the new version of the solution (when the solution was exported, the option "Export all tables" was used)
5. Started the test server and verified that no solutions are available on it
6. Attempt to import the new version of the solution and got the above error. Attempting the import again fails with similar error but referencing another table. All errors are related to tables which have been modified between the old and the new version of the solution. All error messages indicate that Servoy want to add/update a table or column which is already added/updated in the database - in other words, Servoy did not read the current database schema from the database, but was using something old. The solution does contain forms based on the tables for which errors were raised.
Rossen Totev
Argos Software
rossent
 
Posts: 288
Joined: Wed Dec 31, 2008 2:03 pm

Re: Servoy 6.1

Postby jcompagner » Fri Jul 06, 2012 3:23 pm

ROCLASI wrote:If utils.numberFormat() and utils.dateFormat() are deprecated then it's interesting that they still show up in the navigator view in Servoy 6.1 final.
Also I don't see a reason to have them deprecated, but that is me...


Its the specific call that is i guess deprecated..
I think we have a number of methods where the old (varargs one for example) is deprecated and the real typed one is now the preferred one

I guess somehow the call to dateFormat or numberFormat is not mapping directly on the right typed one.
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8828
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Servoy 6.1

Postby briese-it » Fri Jul 06, 2012 4:08 pm

I have seen that utils.dateFormat() is really deprecated. The new method is utils.parseDate. Maybe there is something new for utils.numberFormat(), too.
Michael Harms
Briese Schiffahrts GmbH & Co.KG, Germany
- Servoy 2020.3.3.3565_LTS Running on Windows 2019 DataCenter - MSSQL2017 & PostGreSQL
User avatar
briese-it
 
Posts: 171
Joined: Mon Jun 20, 2011 1:50 pm
Location: Leer, Germany

Re: Servoy 6.1

Postby rossent » Fri Jul 06, 2012 4:13 pm

briese-it wrote:I have seen that utils.dateFormat() is really deprecated. The new method is utils.parseDate. Maybe there is something new for utils.numberFormat(), too.


The overload of utils.dateFormat to create a date from string is deprecated, but the one to format a Date as String is still available

As for parsing numbers from string, just use the standard JavaScript parseFloat and parseInt functions.
Rossen Totev
Argos Software
rossent
 
Posts: 288
Joined: Wed Dec 31, 2008 2:03 pm

Re: Servoy 6.1

Postby briese-it » Fri Jul 06, 2012 4:54 pm

Ok, I see :-) By the way, the number-problem was my mistake, there was a wrong type-declaration and Servoy warns with deprecated in this case. Well, now all warnings are gone :-) Have a nice weekend.
Michael Harms
Briese Schiffahrts GmbH & Co.KG, Germany
- Servoy 2020.3.3.3565_LTS Running on Windows 2019 DataCenter - MSSQL2017 & PostGreSQL
User avatar
briese-it
 
Posts: 171
Joined: Mon Jun 20, 2011 1:50 pm
Location: Leer, Germany

Re: Servoy 6.1

Postby david » Sat Jul 07, 2012 8:23 am

Congrats Servoy. We've busted our chops the past couple months getting retooled completely to web client from smart client. Our clients love the results and it is opening up a brave new world for us.

Thanks for including us in your development process through the RC period via your support system. At one point last week, the system spit out emails from six different Servoy developers as they were working on our tickets. That kind of attention was super motivation mojo that helped keep us plugging away.

Good Stuff.

demo_order.png
You do not have the required permissions to view the files attached to this post.
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: Servoy 6.1

Postby grahamg » Sat Jul 07, 2012 4:00 pm

Brilliant job on 6.1 Servoy. As David pointed out the response to RC issues has been tremendous and I've been really enjoying the new CSS features.

However, wanted to create a completely fresh install to test an issue but can't see a link. The 6.1 download link on Developer 'Start Page' and Download link from Servoy.com both go to the CRM Download page which still refers to 6.1 beta but the OSX link is not starting a download.
Graham Greensall
Worxinfo Ltd
www.worxinfo.com
grahamg
 
Posts: 752
Joined: Fri Oct 03, 2003 3:15 pm
Location: Midlands UK

Re: Servoy 6.1

Postby grahamg » Sun Jul 08, 2012 1:18 pm

In 6.1 I have an issue with Fields set as 'HTML_AREA' not displaying images. This is working in 6.1 rc1 with ticks/crosses being displayed correctly based on calcs below but in 6.1 Final nothing is displayed.

The calculations are very simple - maybe too simple??

Code: Select all
function disp_decl_yn_c()   {
   if (decl_complete_yn == 'Yes')   
      { return '<html><img src="media:///FCM_30x30_GrnTick.gif"></html>'}
   else      
      { return '<html><img src="media:///FCM_30x30_Red_X.gif"></html>'}
}

/**
* @properties={type:12,typeid:36,uuid:"DDD723A3-DBFE-45B1-97FF-54C6486B0905"}
*/
function disp_refs_yn_c()   {
   if (refs_complete_yn == 'Yes')   
      { return '<html><img src="media:///FCM_30x30_GrnTick.gif"></html>'}
   else      
      { return '<html><img src="media:///FCM_30x30_Red_X.gif"></html>'}
}
Graham Greensall
Worxinfo Ltd
www.worxinfo.com
grahamg
 
Posts: 752
Joined: Fri Oct 03, 2003 3:15 pm
Location: Midlands UK

PreviousNext

Return to Announcements

Who is online

Users browsing this forum: No registered users and 14 guests