Servoy 5.2 beta 2 (open source release)

Release notes for Servoy betas

Servoy 5.2 beta 2 (open source release)

Postby Jan Blok » Wed Jun 02, 2010 8:48 pm

We are pleased to announce the immediate availability of Servoy 5.2 beta 2 (open source release)
When installing this version all non Servoy beans and plugins have to be signed by there vendor! Plugin/beans developer should have a look here

This version is available through the download page on the Servoy website (developer section) and auto update.
Always make a backup of your current Servoy installation (directory and database) before upgrading.
To update a Servoy 5.x eclipse open, Window -> Preferences (update sites), change:
-url to http://www.servoy.com/developer/5xx_updates/beta
-Disable both eclipse.org update-sites, since there is a problem at the eclipse side!
Check for updates via help menu.

For open source info look here

It contains all the changes as mentioned in Servoy 5.1.4 release notes, additionally:

Client changes:
[fix] 295202 Solutions using a loginSolution show the name of the login solution when opened

Developer changes:
[fix] 290708 database create in developer hould also work on postgres
[fix] 295425 Smart client solution is not cached in 5.2 beta1

Server changes:
[fix] solution import slowness
[fix] batch processor showed as started but did not run
Jan Blok
Servoy
Jan Blok
 
Posts: 2684
Joined: Mon Jun 23, 2003 11:15 am
Location: Amsterdam

Re: Servoy 5.2 beta 2 (open source release)

Postby Sjoerd » Thu Jun 03, 2010 3:57 pm

Is it possible to update a test-application server with the command: java -jar servoy_updater.jar -beta
It is only finding 5.1.4 and not the beta 5.2 Beta 2.

Regards,

Sjoerd Hannema
Sjoerd
 
Posts: 12
Joined: Wed Feb 14, 2007 10:03 pm
Location: Leeuwarden - Netherlands

Re: Servoy 5.2 beta 2 (open source release)

Postby ROCLASI » Thu Jun 03, 2010 9:11 pm

Hi Sjoerd,

This is because 5.2 is a new branch. There could always be a 5.1.5 for instance.
Robert Ivens
ROCLASI Software Solutions / JBS Group, Partner
SAN Developer / Servoy Valued Professional / Servoy Certified Developer
Twitter: @roclasi / @servoyforge
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5205
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium

Re: Servoy 5.2 beta 2 (open source release)

Postby alb » Sun Jun 06, 2010 12:41 am

Where do you want us to post bugs/issues with 5.20b2? (I have 2 :)
alb
 
Posts: 148
Joined: Sun Aug 13, 2006 4:40 am

Re: Servoy 5.2 beta 2 (open source release)

Postby ROCLASI » Sun Jun 06, 2010 1:02 am

Hi alb,

You file them in the same place as otherwise, i.e. http://www.servoy.com/s .
Robert Ivens
ROCLASI Software Solutions / JBS Group, Partner
SAN Developer / Servoy Valued Professional / Servoy Certified Developer
Twitter: @roclasi / @servoyforge
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5205
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium

Re: Servoy 5.2 beta 2 (open source release)

Postby Sjoerd » Mon Jun 07, 2010 1:56 pm

With the new enhanced security there are separate solutions for the login process and authenticating.
The login-solution is not connecting to the database etc. for security reasons. This is good.

With the application server running (version 5.2. beta 2) the login-solution is also blocked to get the media (images) for the solution.
In the login-form it is not possible to have media. Images are not shown.
It only works when the images are put in ROOT/IMAGES on the webserver. With HTML the images can be attached to the form.

Is this a known problem or is this for security reasons?

Best regards,

Sjoerd Hannema
Sjoerd
 
Posts: 12
Joined: Wed Feb 14, 2007 10:03 pm
Location: Leeuwarden - Netherlands

Re: Servoy 5.2 beta 2 (open source release)

Postby rgansevles » Mon Jun 07, 2010 4:05 pm

Sjoerd,

Media stored in the solution (in the login-solution or in one of its modules) should be accessible in the login-solution and should show up.
Check the module dependency for this.

Images stored in the database are not accessible since the login solution does not have db access.
You may do a separate security.authenticate() call to retrieve it from the server.

Rob
Rob Gansevles
Servoy
User avatar
rgansevles
 
Posts: 1838
Joined: Wed Nov 15, 2006 6:17 pm
Location: Amersfoort, NL

Re: Servoy 5.2 beta 2 (open source release)

Postby Sjoerd » Mon Jun 07, 2010 4:13 pm

Yes, I thought also that this should work.

In the application server the media of the solution is not accessible for the forms. Something is blocking the media from the solution??
i18n is working OK with the login form.
I have also put the media in the login_module with a new name. I thought that this was the problem to load media from the main solution.

In the developer everything is working OK. In the application server it is not working.

Regards,

Sjoerd Hannema
Sjoerd
 
Posts: 12
Joined: Wed Feb 14, 2007 10:03 pm
Location: Leeuwarden - Netherlands

Re: Servoy 5.2 beta 2 (open source release)

Postby rgansevles » Tue Jun 08, 2010 10:39 am

Sjoerd,

Images of newly imported solutions are only visible in the smart client after a server restart,
this is fixed for next beta of Servoy 5.2.

Rob
Rob Gansevles
Servoy
User avatar
rgansevles
 
Posts: 1838
Joined: Wed Nov 15, 2006 6:17 pm
Location: Amersfoort, NL

Re: Servoy 5.2 beta 2 (open source release)

Postby alb » Tue Jun 08, 2010 11:32 am

also the http tunneling doesnt work.
Is this known issue?

SocketFactory.rmiServerFactory=com.servoy.j2db.server.rmi.tunnel.ServerTunnelRMISocketFactoryFactory

causes servoy to fail on startup.
alb
 
Posts: 148
Joined: Sun Aug 13, 2006 4:40 am

Re: Servoy 5.2 beta 2 (open source release)

Postby alb » Tue Jun 08, 2010 11:34 am

oh - and jasperreports plug-in fails when SC initialises - even with the latest version:

6/06/2010 11:16:33 AM com.servoy.j2db.util.Debug error
SEVERE: Error ocured initializing plugin: jasperPluginRMI , error: java.lang.NullPointerException
06/06/2010 11:16:33 AM com.servoy.j2db.util.Debug error
SEVERE: Throwable
com.servoy.j2db.plugins.PluginException: java.lang.NullPointerException
at com.servoy.plugins.jasperreports.JasperReportsPlugin.initialize(JasperReportsPlugin.java:82)

blah blah blah
alb
 
Posts: 148
Joined: Sun Aug 13, 2006 4:40 am

Re: Servoy 5.2 beta 2 (open source release)

Postby jcompagner » Tue Jun 08, 2010 11:50 am

alb wrote:also the http tunneling doesnt work.
Is this known issue?

SocketFactory.rmiServerFactory=com.servoy.j2db.server.rmi.tunnel.ServerTunnelRMISocketFactoryFactory

causes servoy to fail on startup.


what is the error you get?
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 7974
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Servoy 5.2 beta 2 (open source release)

Postby Sjoerd » Tue Jun 08, 2010 3:47 pm

Hello Johan,

When RMI is activated in the network settings the Application Server is not starting.

Setting servoy.properties:
SocketFactory.rmiServerFactory=com.servoy.j2db.server.rmi.tunnel.ServerTunnelRMISocketFactoryFactory


Error servoy_log.txt:
java.io.EOFException
at java.io.DataInputStream.readInt(DataInputStream.java:392)
at com.servoy.j2db.rmi.ServerTwoWaySocketFactory$1.run(ServerTwoWaySocketFactory.java:106)
2010-06-08 15:37:25,034 ERROR [main] com.servoy.j2db.util.Debug - couldnt instantiatie the rmi socketfactory
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
at com.servoy.j2db.server.ApplicationServer.Za(ApplicationServer.java:269)
at com.servoy.j2db.server.ApplicationServer.main(ApplicationServer.java:438)
Caused by: java.lang.IllegalStateException: No valid license found.
at com.sebster.tunnel.impl.vd.<init>(vd.java:9)
at com.sebster.tunnel.http.server.HttpTunnelServer.<init>(HttpTunnelServer.java:7)
at com.servoy.j2db.server.rmi.tunnel.ServerTunnelRMISocketFactoryFactory.<init>(ServerTunnelRMISocketFactoryFactory.java:82)
... 6 more


When the setting of SocketFactory.rmiServerFactory is not set the server is starting normal.

Regards,

Sjoerd Hannema
Sjoerd
 
Posts: 12
Joined: Wed Feb 14, 2007 10:03 pm
Location: Leeuwarden - Netherlands

Re: Servoy 5.2 beta 2 (open source release)

Postby rgansevles » Tue Jun 08, 2010 8:58 pm

alb wrote:oh - and jasperreports plug-in fails when SC initialises - even with the latest version:

6/06/2010 11:16:33 AM com.servoy.j2db.util.Debug error
SEVERE: Error ocured initializing plugin: jasperPluginRMI , error: java.lang.NullPointerException
06/06/2010 11:16:33 AM com.servoy.j2db.util.Debug error
SEVERE: Throwable
com.servoy.j2db.plugins.PluginException: java.lang.NullPointerException
at com.servoy.plugins.jasperreports.JasperReportsPlugin.initialize(JasperReportsPlugin.java:82)


This is fixed in next beta of Servoy 5.2, the plugin was initialised too early.

Rob
Rob Gansevles
Servoy
User avatar
rgansevles
 
Posts: 1838
Joined: Wed Nov 15, 2006 6:17 pm
Location: Amersfoort, NL


Return to Latest Releases

Who is online

Users browsing this forum: No registered users and 1 guest