Servoy 6.0 beta 2

Release notes for Servoy betas

Servoy 6.0 beta 2

Postby Jan Blok » Fri Apr 22, 2011 11:07 am

We are pleased to announce the immediate availability of Servoy 6.0 beta 2

This version is available through the download option on the Servoy website and auto update.
Always make a backup of your current Servoy installation (directory and database) before installing/upgrading.
To update a Servoy eclipse open Check for updates via help menu.

For all the highlights read the wiki

Client Changes
[chg] 352146 Multi column sort indication on table headers
[fix] 373990 Difference of behaviour for media on label and button between web and smartclient
[fix] 374443 the style in all table-view are not applied to fields
[fix] 357845 Ability to control automatic drop down of combobox control
[fix] 374236 Incorrect warning when passing an UUID value to a function argument of type Object
[fix] 374935 Re-displaying forms on the web client after they have been manually or automatically unloaded causes their layout to be completely malformed
[fix] 300670 scripting stops after security.logout() in webclient but not in smartclient

Developer Changes
[chg] 355291 Form Editor more fine grained layering controls
[fix] 375570 i18n don't always resolve in Servoy 6 b1
[fix] 356268 Bean (JProgressbar) properties changed in Servoy 6 after import
[fix] 374081 Viewing Tables In Servoy Developer, un-select column needed
[fix] 362968 Overwritten methods in Servoy 6 generate a warning "Function <function_name> hides variable"
[fix] 342821 When placing fields on a form have option to sort field based on creation order in db instead of alphabetically
[fix] 366495 JSEvent.getModifiers() doesn't work on the JSEvent passed into the onSortCmd when clicking a tableview/portal column header

Application Server Changes
[fix] 311906 Cant Import Servoy Export to Server with DB Identity ON in MSSQL
[fix] 355339 Slowing down import solution after x nr. of imports

Plugin Changes
[fix] 377576 rawSQL.executeStoredProcedure to return the last resultset, not the first one
Jan Blok
Servoy
Jan Blok
 
Posts: 2684
Joined: Mon Jun 23, 2003 11:15 am
Location: Amsterdam

Re: Servoy 6.0 beta 2

Postby gldni » Fri Apr 22, 2011 7:28 pm

Just upgraded to beta 2 and tried to check out a solution and I get this error: Cannot get solutions from : 129.102.6.2 Error getting the repository from host 129.102.6.2:1099
Here is my log file:
Code: Select all
2011-04-22 12:16:22,862 ERROR [Worker-9] com.servoy.j2db.util.Debug - couldn't instantiate the rmi socketfactory
java.lang.NoSuchMethodException: com.servoy.j2db.rmi.DefaultClientSocketFactoryFactory.<init>(java.net.URL, com.servoy.j2db.IApplication, java.util.Properties, com.servoy.j2db.util.rmi.IReconnectListener)
   at java.lang.Class.getConstructor0(Unknown Source)
   at java.lang.Class.getConstructor(Unknown Source)
   at com.servoy.j2db.rmi.RMIClientFactoryProvider.createRMIClientSocketFactoryFactory(RMIClientFactoryProvider.java:27)
   at com.servoy.eclipse.team.RepositoryAccessPoint.createRMIClientSocketFactoryFactory(RepositoryAccessPoint.java:356)
   at com.servoy.eclipse.team.RepositoryAccessPoint.createApplicationServerAccess(RepositoryAccessPoint.java:293)
   at com.servoy.eclipse.team.RepositoryAccessPoint.getApplicationServerAccess(RepositoryAccessPoint.java:254)
   at com.servoy.eclipse.team.RepositoryAccessPoint.createRepository(RepositoryAccessPoint.java:200)
   at com.servoy.eclipse.team.RepositoryAccessPoint.getRepository(RepositoryAccessPoint.java:191)
   at com.servoy.eclipse.team.ui.NewSolutionWizard$5.runInWorkspace(NewSolutionWizard.java:302)
   at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
   at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
2011-04-22 12:16:22,862 ERROR [Worker-9] com.servoy.j2db.util.Debug - Error getting the repository from host 129.102.6.2:1099
com.servoy.eclipse.team.ApplicationServerAccessException: Error getting remote repository
   at com.servoy.eclipse.team.RepositoryAccessPoint.createRMIClientSocketFactoryFactory(RepositoryAccessPoint.java:361)
   at com.servoy.eclipse.team.RepositoryAccessPoint.createApplicationServerAccess(RepositoryAccessPoint.java:293)
   at com.servoy.eclipse.team.RepositoryAccessPoint.getApplicationServerAccess(RepositoryAccessPoint.java:254)
   at com.servoy.eclipse.team.RepositoryAccessPoint.createRepository(RepositoryAccessPoint.java:200)
   at com.servoy.eclipse.team.RepositoryAccessPoint.getRepository(RepositoryAccessPoint.java:191)
   at com.servoy.eclipse.team.ui.NewSolutionWizard$5.runInWorkspace(NewSolutionWizard.java:302)
   at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
   at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: java.lang.NoSuchMethodException: com.servoy.j2db.rmi.DefaultClientSocketFactoryFactory.<init>(java.net.URL, com.servoy.j2db.IApplication, java.util.Properties, com.servoy.j2db.util.rmi.IReconnectListener)
   at java.lang.Class.getConstructor0(Unknown Source)
   at java.lang.Class.getConstructor(Unknown Source)
   at com.servoy.j2db.rmi.RMIClientFactoryProvider.createRMIClientSocketFactoryFactory(RMIClientFactoryProvider.java:27)
   at com.servoy.eclipse.team.RepositoryAccessPoint.createRMIClientSocketFactoryFactory(RepositoryAccessPoint.java:356)
   ... 7 more

I had a similar problem after upgrading to beta 1, but a server restart fixed that problem. No such luck this time.

Thanks for the help.
Nicholas Dunn
E-Automation Systems, LLC
Servoy 6.1 final
PostgreSQL 9.0
gldni
 
Posts: 120
Joined: Fri May 23, 2008 5:35 pm
Location: MO, USA

Re: Servoy 6.0 beta 2

Postby Jan Blok » Fri Apr 22, 2011 10:03 pm

Do you connect to a server with the same version? of is the IP your localhost?
Jan Blok
Servoy
Jan Blok
 
Posts: 2684
Joined: Mon Jun 23, 2003 11:15 am
Location: Amsterdam

Re: Servoy 6.0 beta 2

Postby jasantana » Mon Apr 25, 2011 12:19 pm

Hi Jan.

I have setup a new server with 6.0b2 without the database nor the Development. I have created the repository with servoy_server -upgradeRepository and everything seems to be fine. I can run the server go to the admin page, create users, etc. What I do not see is the way to create groups.

But the big problem is that when I import a solution I get this message:
Importing C:\Users\Administrator\Downloads\GSCRMDespachos.servoy...
[info] Import contains XML version 15 and repository version 39.
[error] com.servoy.j2db.persistence.RepositoryException: org.postgresql.util.PSQLException: ERROR: llave duplicada viola restricción de unicidad «servoy_elements_pkey» Detail: Ya existe la llave (element_id, object_uuid, revision)=(4553, 14392F18-580B-491A-B96F-C7A132A5AEE9, 1).


And the server log shows this:
2011-04-25 02:12 http-8080-4 ERROR com.servoy.j2db.util.Debug Throwable
java.lang.RuntimeException: com.servoy.j2db.persistence.RepositoryException: org.postgresql.util.PSQLException: ERROR: llave duplicada viola restricción de unicidad «servoy_elements_pkey»
Detail: Ya existe la llave (element_id, object_uuid, revision)=(4553, 14392F18-580B-491A-B96F-C7A132A5AEE9, 1).
at com.servoy.j2db.server.Za.Zm.visit(Zm.java:5)
at com.servoy.j2db.persistence.AbstractBase.acceptVisitor(AbstractBase.java:305)
at com.servoy.j2db.persistence.AbstractBase.acceptVisitor(AbstractBase.java:311)
at com.servoy.j2db.persistence.AbstractBase.acceptVisitor(AbstractBase.java:311)
at com.servoy.j2db.server.Za.Za.Za(Za.java:1532)
at com.servoy.j2db.server.Za.Za.updateRootObject(Za.java:1679)
at com.servoy.j2db.server.Zc.Zl.Za(Zl.java:430)
at com.servoy.j2db.server.Zc.Zl.importingDone(Zl.java:300)
at com.servoy.j2db.server.Zc.Zeb.Za(Zeb.java:256)
at com.servoy.j2db.server.Zc.Zeb.importFromJarFile(Zeb.java:58)
at com.servoy.j2db.server.servlets.ConfigServlet.Zj(ConfigServlet.java:2572)
at com.servoy.j2db.server.servlets.ConfigServlet.service(ConfigServlet.java:396)
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)
Caused by: com.servoy.j2db.persistence.RepositoryException: org.postgresql.util.PSQLException: ERROR: llave duplicada viola restricción de unicidad «servoy_elements_pkey»
Detail: Ya existe la llave (element_id, object_uuid, revision)=(4553, 14392F18-580B-491A-B96F-C7A132A5AEE9, 1).
at com.servoy.j2db.server.Za.Zb.Za(Zb.java:157)
at com.servoy.j2db.server.Za.Za.Za(Za.java:1494)
at com.servoy.j2db.server.Za.Za.Za(Za.java:1371)
at com.servoy.j2db.server.Za.Zm.visit(Zm.java:6)
... 25 more
Caused by: org.postgresql.util.PSQLException: ERROR: llave duplicada viola restricción de unicidad «servoy_elements_pkey»
Detail: Ya existe la llave (element_id, object_uuid, revision)=(4553, 14392F18-580B-491A-B96F-C7A132A5AEE9, 1).
at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2102)
at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1835)
at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:257)
at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:500)
at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:388)
at org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(AbstractJdbc2Statement.java:334)
at sun.reflect.GeneratedMethodAccessor33.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.servoy.j2db.Za.Zf.invoke(Zf.java:13)
at $Proxy0.executeUpdate(Unknown Source)
at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105)
at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105)
at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105)
at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105)
at com.servoy.j2db.server.Za.Za.Za(Za.java:1888)
at com.servoy.j2db.server.Za.Za.Za(Za.java:431)
... 27 more
2011-04-25 02:12 http-8080-4 ERROR com.servoy.j2db.util.Debug Throwable
java.sql.SQLException: connection already closed or transaction in progress
at com.servoy.j2db.Za.Zn.close(Zn.java:86)
at com.servoy.j2db.util.Utils.closeConnection(Utils.java:1470)
at com.servoy.j2db.server.Zc.Zl.importingDone(Zl.java:80)
at com.servoy.j2db.server.Zc.Zeb.Za(Zeb.java:256)
at com.servoy.j2db.server.Zc.Zeb.importFromJarFile(Zeb.java:58)
at com.servoy.j2db.server.servlets.ConfigServlet.Zj(ConfigServlet.java:2572)
at com.servoy.j2db.server.servlets.ConfigServlet.service(ConfigServlet.java:396)
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)
2011-04-25 02:12 http-8080-4 ERROR com.servoy.j2db.util.Debug Throwable
com.servoy.j2db.persistence.RepositoryException: org.postgresql.util.PSQLException: ERROR: llave duplicada viola restricción de unicidad «servoy_elements_pkey»
Detail: Ya existe la llave (element_id, object_uuid, revision)=(4553, 14392F18-580B-491A-B96F-C7A132A5AEE9, 1).
at com.servoy.j2db.server.Za.Zb.Za(Zb.java:157)
at com.servoy.j2db.server.Za.Za.Za(Za.java:1494)
at com.servoy.j2db.server.Za.Za.Za(Za.java:1371)
at com.servoy.j2db.server.Za.Zm.visit(Zm.java:6)
at com.servoy.j2db.persistence.AbstractBase.acceptVisitor(AbstractBase.java:305)
at com.servoy.j2db.persistence.AbstractBase.acceptVisitor(AbstractBase.java:311)
at com.servoy.j2db.persistence.AbstractBase.acceptVisitor(AbstractBase.java:311)
at com.servoy.j2db.server.Za.Za.Za(Za.java:1532)
at com.servoy.j2db.server.Za.Za.updateRootObject(Za.java:1679)
at com.servoy.j2db.server.Zc.Zl.Za(Zl.java:430)
at com.servoy.j2db.server.Zc.Zl.importingDone(Zl.java:300)
at com.servoy.j2db.server.Zc.Zeb.Za(Zeb.java:256)
at com.servoy.j2db.server.Zc.Zeb.importFromJarFile(Zeb.java:58)
at com.servoy.j2db.server.servlets.ConfigServlet.Zj(ConfigServlet.java:2572)
at com.servoy.j2db.server.servlets.ConfigServlet.service(ConfigServlet.java:396)
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)
Caused by: org.postgresql.util.PSQLException: ERROR: llave duplicada viola restricción de unicidad «servoy_elements_pkey»
Detail: Ya existe la llave (element_id, object_uuid, revision)=(4553, 14392F18-580B-491A-B96F-C7A132A5AEE9, 1).
at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2102)
at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1835)
at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:257)
at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:500)
at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:388)
at org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(AbstractJdbc2Statement.java:334)
at sun.reflect.GeneratedMethodAccessor33.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.servoy.j2db.Za.Zf.invoke(Zf.java:13)
at $Proxy0.executeUpdate(Unknown Source)
at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105)
at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105)
at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105)
at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105)
at com.servoy.j2db.server.Za.Za.Za(Za.java:1888)
at com.servoy.j2db.server.Za.Za.Za(Za.java:431)
... 27 more

I tried deleting the repository and recreating it but the same problem.

Any clue?

Thanks ins advance.
User avatar
jasantana
 
Posts: 555
Joined: Tue Aug 10, 2010 11:40 am
Location: Leeds - West Yorkshire - United Kingdom

Re: Servoy 6.0 beta 2

Postby jasantana » Mon Apr 25, 2011 12:44 pm

Hi again Jan

I searched in the Solution for the UUID that causes the problem and belongs to a RADIO that I have in a form. About 7 forms extends that one and I guess that the problem is that in all of them the UUID is the same, because the search results shows all the forms that contains that RADIO and has the valuelist property overrided.

That RADIO shows a valuelist with the way that a user can sort a report, the most used in the solution is Numeric or Alphabetic and I created a valulist with those options and put it in the class form as default. Some reports have different options like Order by date, etc. In those forms I override the valuelist property and put the one I need and in that cases the UUID for the element gets the UUID of the element in the parent form.

I tried by not putting the valuelist in the RADIO of the parent form and setting it in each child form RADIO and the same problem so I must think that it is an inheritance problem.

Can anyone reproduce the problem?

Thanks.
User avatar
jasantana
 
Posts: 555
Joined: Tue Aug 10, 2010 11:40 am
Location: Leeds - West Yorkshire - United Kingdom

Re: Servoy 6.0 beta 2

Postby jasantana » Mon Apr 25, 2011 2:16 pm

After many tries I have found that this happens with which ever element that has an overrided proprty: position, size, etc.

Is there a way to regenerate UUIDs ??
User avatar
jasantana
 
Posts: 555
Joined: Tue Aug 10, 2010 11:40 am
Location: Leeds - West Yorkshire - United Kingdom

Re: Servoy 6.0 beta 2

Postby gldni » Mon Apr 25, 2011 5:16 pm

Jan Blok
Do you connect to a server with the same version? of is the IP your localhost?


The server and workstations are running the same version. In testing, on the server we can checkout and sync if we use localhost and our password, but if we put in the server IP in we get the error. We also get the error if we use 127.0.0.1. The firewall is turned off on the server.
Nicholas Dunn
E-Automation Systems, LLC
Servoy 6.1 final
PostgreSQL 9.0
gldni
 
Posts: 120
Joined: Fri May 23, 2008 5:35 pm
Location: MO, USA

Re: Servoy 6.0 beta 2

Postby jasantana » Mon Apr 25, 2011 6:31 pm

Confirmed, the only way I have been able to import the solution on the server is restoring all the overrided properties to the default values. Just figure out: all the titles in forms, all the sizes and positions (even the parts one). I did it just to verify if the problem was that.

I have created a case in the support for this. Let´s wait for a response.

Thanks.
User avatar
jasantana
 
Posts: 555
Joined: Tue Aug 10, 2010 11:40 am
Location: Leeds - West Yorkshire - United Kingdom

Re: Servoy 6.0 beta 2

Postby jcompagner » Tue Apr 26, 2011 11:12 am

gldni wrote:Just upgraded to beta 2 and tried to check out a solution and I get this error: Cannot get solutions from : 129.102.6.2 Error getting the repository from host 129.102.6.2:1099
java.lang.NoSuchMethodException: com.servoy.j2db.rmi.DefaultClientSocketFactoryFactory.<init>(java.net.URL, com.servoy.j2db.IApplication, java.util.Properties, com.servoy.j2db.util.rmi.IReconnectListener)


this will be fixed in beta 3
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8879
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Servoy 6.0 beta 2

Postby rossent » Tue May 03, 2011 12:52 pm

Hi Servoy,

When can we expect the beta 3 to be released?
Rossen Totev
Argos Software
rossent
 
Posts: 288
Joined: Wed Dec 31, 2008 2:03 pm

Re: Servoy 6.0 beta 2

Postby jcompagner » Tue May 03, 2011 1:23 pm

next week.
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8879
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet


Return to Latest Releases

Who is online

Users browsing this forum: No registered users and 35 guests