We announce the immediate availability of Servoy 2.2.5
Make a backup of your current Servoy installation (directory and database) before installing.
This version will also be available through auto update shortly (via help menu → check for new version)
Changes:
[new]-improved sample solutions
[new]-Sybase iAnywhere database engine (version 9.0.2, not in autoupdate)
[fix]-file plugin http://forum.servoy.com/viewtopic.php?p=30337#30337
[fix]-dynamic tab add/remove strange behavior http://forum.servoy.com/viewtopic.php?t=5870&start=15
[fix]-checkbox enabling in findmode
[fix]-tab (sequence) skips disabled components
[enh]-number field editing in tableview (without mouse click)
[enh]-for client disconnect problems in bad network environments
[enh]-in a field format property an i18n key can be used
As Jan Blok mentions above iAnywhere 9.0.2 is only available in the full installer as it is an external binary we cannot include it in the automatic update, additionally as the automatic update works very simple we find many people clicking on ‘Yes get it’ before making a full backup. In particular if there is a new database engine it is key to make a full backup before installing it, although it has been tested in many configurations one never knows if in your particular installation problems could arrive.
If you want to upgrade to iAnywhere 9.0.2 here is the recommended upgrade procedure:
Stop Servoy and iAnywhere, rename your servoy directory to servoy_old
Run the full 2.2.5 installer, install into a new directory with same name and location as your old servoy install (this is helpful in case you have configured startup scripts/services)
copy the following from your old install dir to your new one:
database directory
servoy.properties file
sybase_db/sybase.config file
if you have any extra beans/plugins/drivers also copy them over
start Servoy and test to make sure everything goes OK
if problems occur delete directory and copy backup back, file problem with Servoy Support
extra points if you test it first in a test environment before doing it in production.
The key reason we move to 9.0.2 is that the default download of the tools on iAnywhere’s site is 9.0.2 (and not backwards compatible). Beside that there’s a long list of minor improvements in 9.0.2 but if 9.0.1 works for you there is no big hurry to upgrade.
Will updating iAnywhere require in production solutions to be updated? if I continue to develop my solution locally but with new iAnywhere, does my client’s 9.0.1 get broken when I try to import the latest solution from my 9.0.2??
jaleman:
extra points if you test it first in a test environment before doing it in production.
Thanks for the update and appreciate all of your hard work, Servoyians!
Like to sum up some errors that occurred on my demo server:
Server Information
Servoy version R2 2.2.5-build 337, repository version 27
java.vm.version=1.5.0_06-64
os.name=Mac OS X
os.version=10.4.6
os.arch=ppc
(didn’t upgrade to iAnywhere 9.0.2)
I get this message in my Java Console after running a query:
java.net.MalformedURLException: no protocol:
java.net.MalformedURLException: no protocol:
at java.net.URL.<init>(URL.java:567)
at java.net.URL.<init>(URL.java:464)
at java.net.URL.<init>(URL.java:413)
at com.servoy.j2db.util.Utils.getURLContent(Unknown Source)
at com.servoy.j2db.dataui.DataImgMediaField$2.run(Unknown Source)
at com.servoy.j2db.dataui.DataImgMediaField.setValue(Unknown Source)
at com.servoy.j2db.dataprocessing.ax.getTableCellRendererComponent(Unknown Source)
at javax.swing.JTable.prepareRenderer(JTable.java:3924)
at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2070)
at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:1972)
at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1895)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:154)
at javax.swing.JComponent.paintComponent(JComponent.java:742)
at javax.swing.JComponent.paint(JComponent.java:1005)
at javax.swing.JComponent.paintChildren(JComponent.java:842)
at javax.swing.JComponent.paint(JComponent.java:1014)
at javax.swing.JViewport.paint(JViewport.java:726)
at javax.swing.JComponent.paintChildren(JComponent.java:842)
at javax.swing.JComponent.paint(JComponent.java:1014)
at javax.swing.JComponent.paintChildren(JComponent.java:842)
at javax.swing.JComponent.paint(JComponent.java:1014)
at javax.swing.JComponent.paintChildren(JComponent.java:842)
at javax.swing.JComponent.paint(JComponent.java:1014)
at javax.swing.JComponent.paintChildren(JComponent.java:842)
at javax.swing.JComponent.paint(JComponent.java:1014)
at javax.swing.JComponent.paintChildren(JComponent.java:842)
at com.servoy.j2db.dataui.m.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(JComponent.java:1014)
at javax.swing.JComponent.paintChildren(JComponent.java:842)
at javax.swing.JComponent.paint(JComponent.java:1014)
at javax.swing.JComponent.paintChildren(JComponent.java:842)
at javax.swing.JComponent.paint(JComponent.java:1014)
at javax.swing.JViewport.paint(JViewport.java:726)
at javax.swing.JComponent.paintChildren(JComponent.java:842)
at javax.swing.JComponent.paint(JComponent.java:1014)
at javax.swing.JComponent.paintChildren(JComponent.java:842)
at javax.swing.JComponent.paint(JComponent.java:1014)
at javax.swing.JComponent._paintImmediately(JComponent.java:4881)
at javax.swing.JComponent.paintImmediately(JComponent.java:4667)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:477)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:114)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
One solution didn’t load completely and gave this message in the console:
Since loading 2.2.5 developer this morning, I can’t see the list of databases/tables in the left panel of the Define Dataproviders window. It just says “Loading…” with a little page icon.
I can see the columns, calcs and aggregations for the current form’s table just fine on the right. There’s no adverse effect on the solution, it seems to work fine.
I am on a WIN XP box and using iAnywhere 9.0.1.
Is this something to do with 2.2.5, the way I’ve upgraded or should I be looking at something else in my own setup.
antonio:
Since loading 2.2.5 developer this morning, I can’t see the list of databases/tables in the left panel of the Define Dataproviders window. It just says “Loading…” with a little page icon.
I can see the columns, calcs and aggregations for the current form’s table just fine on the right. There’s no adverse effect on the solution, it seems to work fine.
I am on a WIN XP box and using iAnywhere 9.0.1.
Is this something to do with 2.2.5, the way I’ve upgraded or should I be looking at something else in my own setup.
Are you sure that all your databases are online? You can get the “Loading …” for quite a while if for one of your database connections is offline.
Here’s what I did to upgrade.
First time, I followed the directions abonve, (renaming the Servoy folder etc and doing a clean install, then copying over the database folder etc). This was unsuccessful - launching 2.2.5 gave an error - couldn’t open the repository. So I deleted the new install, renamed the Servoy 2.2.4 folder back to ‘Servoy’. This time I made a copy of the folder (rather than renaming), then launched and updated the original Servoy 2.2.4 via the Manual update option within Servoy. This worked fine, and as you can see from the screen shot, all the DBs appear to be online. If I open Define Dataproviders from forms referencing each of these DBs in turn, I can see that they are there.
Here’s what I did to upgrade.
First time, I followed the directions abonve, (renaming the Servoy folder etc and doing a clean install, then copying over the database folder etc). This was unsuccessful - launching 2.2.5 gave an error - couldn’t open the repository.
Are you sure you stopped iAnywhere before doing this? Sounds like you copied open files.
Are you sure you stopped iAnywhere before doing this? Sounds like you copied open files.
I’m 99% sure that I did this the forst time, though I take your point, it’s a good explanation for the observed problem.
On the second go I closed Servoy, clicked exit on the SQL trayicon to shut down IAnywhere server. Then I rebooted. Then I made a copy of the Servoy folder as a backup, but did the manual update to 2.2.5 within Servoy, on the original 2.2.4 (not the copy)
I mentioned, I have not changed to iAnywhere 9.0.2, still with 9.0.1
Are you sure you stopped iAnywhere before doing this? Sounds like you copied open files.
I’m 99% sure that I did this the forst time, though I take your point, it’s a good explanation for the observed problem.
On the second go I closed Servoy, clicked exit on the SQL trayicon to shut down IAnywhere server. Then I rebooted. Then I made a copy of the Servoy folder as a backup, but did the manual update to 2.2.5 within Servoy, on the original 2.2.4 (not the copy)
I mentioned, I have not changed to iAnywhere 9.0.2, still with 9.0.1
Strange. Sounds like something is messed up in your install. We havn’t seen any of this behaviour in any of our testing systems. I’d suggest a clean install of 2.2.5