On a Windows 2003 server box which is running Servoy Server 3.5.7 as a service for a production environment, do you think I can run another copy of Servoy Server for a development environment ? The second server will be in version 4.1, will run as an application (not a background service), it won’t use the same communication ports and it will be launched manually. Also, I don’t think it is important, but the production server is using Sybase while the development server will use MySql.
Do you think this setup can cause me some problems ?
And, more dangerous I guess, do you think I can run 2 Servoy Servers as Windows services ??
It is easier with Unix and Deamons ???
Hi,
I have got a test server running both Servoy 3.5.7 as a service and 4.1 as a service, each on a different port (e.g. 357:8080, 41:8180), with different RMI start ports as well.
There was a thread about this, but basically you need to edit a file in the service folder that has the service parameters.
I’ll try and post more tomorrow when I am at that system (or someone else might offer info…)
And, more dangerous I guess, do you think I can run 2 Servoy Servers as Windows services ??
Sure you can but you have to give the 2nd service another name.
I can not give you the link (no time to search right now) but there is a sort of the same topic on the forum.
The answer to your question is given by Jan Blok if I am not mistaken…
Hi,
Marcel is right.
I’m at the client now, and you will need to edit the ‘wrapper.conf’ file in the ‘service’ directory/folder for each version of Servoy you have installed.
You need to edit the ‘Wrapper NT Service Properties’ section, near the bottom.
This is what I did for the 3.5.7 service
#********************************************************************
# Wrapper NT Service Properties
#********************************************************************
# WARNING - Do not modify any of these properties when an application
# using this configuration file has been installed as a service.
# Please uninstall the service before modifying this section. The
# service can then be reinstalled.
# Name of the service
wrapper.ntservice.name=ServoyService35
# Display name of the service
wrapper.ntservice.displayname=Servoy Application Server 35
# Description of the service
wrapper.ntservice.description=Servoy Application Server 35
I left the Servoy 4.x service as it was.
I think I had to unload or stop the Servoy 3 service, make the change, open services again & then I could install Servoy 4 & it’s service.
On behalf of Homer (Gaston) and myself (we are working together on a joint project), I would like to thank you for your help on this subject. I found the topic you referred to - it was actually Dean Westover who elaborated on the solution for Windows Server: Sybase Central - is it necessary? - #4 by MerMer - Classic Servoy - Servoy Community. I adapted the batch file to point to the new Servoy 4.1 install directory. I also modified the ‘server.xml’ file (in application_server/server/conf) so that the Connector Port and Redirect port were different than those from my v3.5.7 installation. After a server restart, all’s good!
Yes, thanks everyone !! And thanks again to Benoit for his time and expertise.
I’m very glad to have this second server running as a service. Servoy rocks !!