We have solutions developed under servoy v2.5 & v3.0
I now want to install them in a single server machine.
I want each servoy version run on different port and each with two different repository versions.
Do we have an HOW TO for this? Has any one already done this?
I have read through the latest manual and understand how to set it up. But I still have trouble setting up two separate repository servers.
I have installed the one servoy instance and copied the folder to make it the instance two. I have modified the sybase.conf file to make the repository server pointing to appropriate repository db in the appropriate folder. Here I have modified the repository db to something like servoy_repository_dev.db
Now I opened the two developers one by one. Whichever I opened first opens perfectly. The second one throws cannot connect to repository error.
Note: I can see two repository icons on the tray. one is servoy_repository and another one is servoy_repository_dev
Can you please guide me through the right direction.
I have not changed the other iAnywhere server to different port since I was not aware of that and do not know how to do it. By the way, I am now setting up the repository for the second server in MySQL.
But can you please let me know how to setup two iAnywhere server?
It’s not really necessary to have 2 Sybase iAnywhere instances running. The only thing you need is 2 different repository databases.
What Servoy requires is that the connection name is named ‘repository_server’. The actual database name can be whatever.
So just create a new database and load that in the current iAnywhere instance and point Servoy 3.0 to it.
The only things is that Developer always wants to launch the Sybase iAnywhere in it’s folder when you start it.
What you could do is edit the start parameters in servoy properties > Designer and point it to the other Sybase install.
This way you always have the correct iAnywhere instance running.
In essence it’s the same as creating 2 (or more) separate repository databases in MySQL, PostgreSQL, etc.
Thanks for your advice. I was finally able to setup two repositories (with just one iAnyWhere service). I have setup two instances of servoy successfully.
Actually I am just setting up the Multi Developer environment. I have got a license for two developers.
I have a question on Multi Developer. Should each of the developer points their local version of repository_server to the Multi Developer server’s repository?
Please shed some lights since there is not much documentation on this.
Thanks Harjo! But how about the database for a particular solution?
Do I need to have a connection for that locally in the local developer preference OR it will work like a client (taking connection info for solution that from the server itself)?
How about the plugins/beans directories? Do I need to have them locally as well?
you point all connections of all the developers, to the same DB’s
yes, you must have the plugins and beans on your local developers.
so if you are using new versions of plugins, you have to update them, on all your developers that are connecting to the developer-server.
But what are the advantages of multi developer? I can do the same thing without installing multi developer license as well.
I guess the only advantage of multi developer is broadcast changes (i have not tested it yet). Otherwise I can do (a kind of) multi development by pointing each developer’s repository_server connection to a main repository server.
Am I correct in my understanding?
I think Servoy should make multi development environment just like starting a normal servoy client.
No you can’t connect to the same repository woth the (old) servoy developer without f…king up.
Now with multideveloper, everything is controlled by the multideveloper. so if one developer is in design mode on a form, the other can’t go into design mode on that form. same for methods.
so basicly Servoy multideveloper is in control of everything.