Servoy 3.1 Beta 1 (Multi Developer Release)

We announce the immediate availability of Servoy 3.1 Beta 1 (Multi Developer Release)

NOTE: this is PRE-RELEASE SOFTWARE, use with caution and make BACKUPS before you start.

This version is available at the download page on Servoy website (developer section)

Changes:
[fix]-for onAction and tooltip on mediafield
[fix]-user pageformat is stored in the servoy.properties
[fix]-several bug fixes in the pagedialog
[chg]-default L&F set to system default in stead of hardcoded kunststoff L&F
[enh]-webclient supports now loginform
[enh]-application.closeSolution(…) accepts solutionname and method+params (to start another solution after close)
[enh]-optimized socket handling in 2way socket package (faster accept)
[enh]-rawSQL plugin now uses the same transaction as the current client
[enh]-adminpage will show clients sorted by last usage
[enh]-adminpage will show rawSQL statements in performance data
[enh]-in adminpage added ‘update all servoy sequences on all servers’ button
[enh]-multi developer:
For multi-dev you have to start an Servoy Server (called multi-dev-server), in the admin-page network settings, you have to fill in the external ip or dns name in the property called"servoy.multideveloper.address", this will enable the multi developer part. (after server restart)
When connecting with a developer on the repository database managed by that multi-dev-server you have to log in (user has to be admin-user on the multi-dev-server), if you now try to touch a repository object like a form you will be informed if someone else is working on that object.

Note: In this beta you have to disable SSL en 2Way sockets in all the Developers connecting and multi-dev-server itself.

Take it easy guys! We are still busy converting to 3.0 :lol:

Wow! I ask for two features on Thursday and they are in the product on Monday. You guys are great!

Dean

Hey Jan,

[enh]-adminpage will show clients sorted by last usage
[enh]-adminpage will show rawSQL statements in performance data
[enh]-in adminpage added ‘update all servoy sequences on all servers’ button

While you’re at it. ;)
Make the Database Servers page so that the connection panes are collapsable/expandable. Make it collapsed by default so the list will be much shorter and when we need to see the details of one connection we could expand that section.

I guess I should send this also to the bug/request base…

Robert, even better would be if you give us the html/css for that page ;)

Hello!

We have tried setting up the new 3.1 beta and have appeared to log into the multi developer server. We are not seeing any error messages when we try to edit the same form.

I have turned off the ssl/2 way sockets and entered the ip address of the server into the field in the servoy-admin page. I also added our user names as admins. Logging into the solution works fine.

Any tips on what else we should check? I assume that when one developer has a form in design mode that developer 2 would get a notification when they open the same form?

Thanks!

do you get the inlog dialog when you start the developer?
So do you need to logon? And does the logon work?

Then if you open the same solution and then one opens a form in designer the other shouldn’t be able to get into that form in the designer.

Do both developer get the blue M icon in the status bar?

yes after we we changed the repository to point towards the server (which I hope was the right thing to do). We were then presented with a login form, which we entered our user name/password that we setup in the servoy admin.

After that we were able to log into our solution. Dev 1 then went into design mode on a form and then dev 2 went into design mode of the same form. No dialog popped up and we were both able to make changes which the other person couldn’t see.

Both show the blue icon and it says

“Multi-Developer (connected to ‘null’ with user ‘bryant’)”

The other developer has the same thing except with his user name.

we did have some issues getting it to work at the start but after changing the java.rmi.server.hostname from 127.0.0.1 to 129.102.6.2(our server ip) it connected. I don’t know if that was the right thing to do or not.

The “servoy.multideveloper.address:” is set to 129.102.6.2

What we are trying to do is store the database on our main server (129.102.6.2) then connect to it from our workstations that are our local network here in the office.

Most likely its just a setting that we probably haven’t got right.

Thanks for the help!

all 3 server and the 2 developers should connect to the same repository database.

But if you setup your users on the servers admin pages and you can login afterwards with them then that should be ok.

rmi hostname should be blank or the ip adress of the multi dev server (the same yes), rmi hostname of 127.0.0.1 can only be done when 2 way is enabled which can’t be enabled at the moment.

that connected to “null” message is a bug i fixed this, this will contain the servoy servers name in the further.

if you start Servoy application server in a console what kind of output do you see when the developer switches from browse to design mode?
you should see things like:

UUID xxxxx locked by yyyyy

do you see those?

what is the exact output when you switch both developers to the same form?

in the servoy server console window i can see it get a lock when we go to a form.

It doesn’t say a user is locking it though.

Here is an example minus the actual uuid:

lock: “UUID”

So it never shows a “lock: UUID by username”

I can see in the console it doing the locks and release when both of us are going to forms, when we both go to the same form it shows that both of us have it locked.

So user 1 goes to customers it shows locked.

user 2 goes to customers from products it shows user 2 releasing products and locking customers. The UUIDs are the same.

Thanks!

thats very odd.
lock: “uuid” means that it tries to lock that uuid.
And then you should get a message that it succeeded.

IS there maybe a log file generated where that is logged (because it could be that one goes into error log and the other into standard out)

But not seeing the locked by statement is consistent with what can do (open 2 the same forms in design)
I have currently no idea how that can happen. Need to reproduce that here.

I will look and see if I can find anything in the log files. I will let you know what i find.

-Bryant Robinson

[fix]-user pageformat is stored in the servoy.properties
[fix]-several bug fixes in the pagedialog

Does this mean that custom defaultPageFormat properties will now be retained, rather than reverting to the default setting?

Jim

Jim,

Does this mean that custom defaultPageFormat properties will now be retained, rather than reverting to the default setting?

Yes, the selected page format in the developer, either custom size or predefined will be saved in the servoy.properties file and loaded upon startup.

Rob

Johan,

I didn’t see anything in the log files but I may not be looking in the right place.

If there is a certian directory I need to look in let me know.

Thanks!
-Bryant

Rob,

Will this fix be available for 3.0 as well?

Alternatively, how long until 3.1 is out of beta, and can be deployed in a production environment (that is, for our customers)?

Thank you!

Jim

We expect to have Servoy 3.1 final this year.

Jan,

That’s great! So… just to clarify:

For every form with a defaultPageFormat, there is a line in servoy.properties that describes or points to the defaultPageFormat values?

Where are the actual custom page format values stored? In servoy.properties, or somewhere in the repository with a pointer to that place in servoy.properties? Or…?

Thanks for your patience with my questions…

Jim

For printing a form uses the pageformat from:

  1. the form property defaultPageFormat
    if not defined:
  2. user defined one under File->pageformat or pageformat button in printpreview.

The user defined one is now also stored in the servoy.properties

Hi folks,

What are we supposed to name the multi dev server? It’s not letting us use the dashes in multi-dev-server.