Hello, I need to install two versions of Servoy (5.22 and 6) and make them work at the same time on a windows 2008 R2 64 bit server.
Which are the steps I must follow to acomplish this task?
So far I have succesfully instaled Servoy 5.22, the problem is when I try to start Servoy 6 service when 5.22 is running. I think there is a problem that involves the servoy_repository DB. However I tryed to install Servoy 6 configurating the postgre DB on a different port rather than using the default one, but It didnt work.
Thanks in advance
you have to change the http port and so on in the server.xml file (besides postgresql stuff but you do want to have 2 different postgresql installations? or can they just connect to the same instance which would be preferred)
what should be changed in the server.xml is this:
and
the port numbers that are mentioned there should not be equal on both installs
Thank you very much for your answer, Im trying now to install both Servoy 6 and 5.22 connected to the same Postgre instance with 2 separate repositories.
The steps Im following to acomplish this are:
Install Postgresql 9.1
Install Servoy 5.22
Install Servoy 6
Create two separate databases (repository_servoy6, repository_servoy5)
Add “wrapper.ntservice.dependency.1= postgresql-9.1” to wrapper.conf (on both Servoy versions while their services are down)
Modify servoy.properties so to have “server.0.URL=jdbc:postgresql://localhost:5432/repository_servoy6” where server.0 is “repository_server” (same change on servoy.properties for servoy 5.22)
Run servoy_server.bat -upgradeRepository for the two versions as suggested in reply viewtopic.php?f=5&t=16027#p86430
That last step does not return anything and when I check database using pgadmin nothing has changed.
What can I be missing?
Role DBA was created on pgadmin so to match default role in servoy.properties, maybe Im doing this wrong, Im not very familiar with pgadmin
@Johan,
To be clear when we want to create a second (or subsequent) instance of the servoy app server on same machine we need to change all ports in servoy.xml as follows:
(i) shutdown port (default 8005)
(ii) http port (default 8080)
(iii) redirect port (default 8443)
Previous posts on this topic have only mentioned 1 or 2 ports (maybe add to wiki?)
I have only changed the http port so far and it seemed to work. Should I now change all the ports as advised?
redirect port is not really needed if you don’t use ssl (https)
Its finally working, Ive changed ports and given the solutions acces to different databases for repository porpuses and it is working fine now. Thanks for the help!