Hi,
Can i run a developer (3.5.7) against an existing and running Servoy server instance.
(to do minor bugfixing without export/import)
And if so, how do i prevent the developer from starting its own server ?
Tia,
Hi,
Can i run a developer (3.5.7) against an existing and running Servoy server instance.
(to do minor bugfixing without export/import)
And if so, how do i prevent the developer from starting its own server ?
Tia,
Hi Hans,
You mean you want to use the developer that is part of the server install ?
You can simply start Developer and the server part will not work (not sure if it doesn’t load or what) since it can’t claim the ports that already in use by the running Servoy server instance.
But if you want to make sure the server doesn’t start when you start Developer you can disable that in the Services tab in the preferences.
One ‘heads-up’ though. When you have servoy.allowSolutionBrowsing disabled in Server (new feature in 3.5.7/4.0.1) then Developer won’t show any solutions either.
Hope this helps.
Thanks Robert,
I’ll try that.
But is’nt there a risk when both developer and server are started using the same repository ?
I can remember reading something on the forum about this, but i can’t seem to find that.
Regards,
Hans
Hi Hans,
Hans Nieuwenhuis:
But is’nt there a risk when both developer and server are started using the same repository ?
I dunno about Windows but on Mac when you run Developer from the same install then in my experience this isn’t an issue .
What you are refering to is when you run 2 different installs on the same repository in combination with servoy sequences.
Hope this helps.
Hi, i found the article I was reffering to :
Paul Bakker’s remark there is :
You can have as many instances of Servoy running on the same machine, no problem there. The things you have to look out for are the following:
- Don’t share the same properties file between two instances (an instance being Servoy server or Servoy Developer)
- Make sure you configure different ports for all instances (or disable HTTP Services in Developer instances)
- When each environment uses their own databases: Make sure they run on different ports and you connect to the proper one.
- When sharing databases between instances, be aware that changes done through one instance of Servoy are not broadcast to the other instance of Servoy. When you make use of Servoy Sequences in your solutions, you’re bound for trouble here, so either use database sequences then, or don’t share databases between instances of Servoy.
- when connecting multiple instances of Servoy to the same Repository Database: ALERT!!! ALERT!!! ALERT!!! know what you’re doing… Plenty of advice on this forum already about the do’s and donts in this area.
my question now is : do i have to use different propertie files for server and developer if i want to run them at the same time ?
( they are in the same Servoy installation, there is only one servoy installation on that server)
And if so, how can this be configured.
Hans
You might want to check out this article on multi-instances…
http://www.servoymagazine.com/home/2005/05/tip_how_to_run_.html
Tom
Thanks Thomas,
That’s what i needed !!
Hans