Due to some reasons I have to run 2 instances of collect in same computer. It seems I cannot run the installer when collect is previously installed. I tried to copy the folder collect and named it collect2 and tried to change the tomcat config but to no avail! Can anybody guide me through this? I would really appreciate it. Thanks.
Accepted answer
Hi Sushil,
If you still run Collect using Tomcat, then probably you are still running the old version of Collect. In the latest one, instead of Tomcat we use an embedded Jetty server... that make Collect run a bit faster in a standalone configuration. Using the latest version of Collect will make almost impossible to run 2 different instances in the same machine, because the configuration file (where even the http port in use is written) is located in your user home folder, for example c:\Users\YOURUSER\OpenForis\Collect\collect.properties, and you cannot have 2 separate configurations.
What you can do is:
- download this package: Tomcat+Collect
- unzip it in the location you prefer and create 2 copies of the extracted folder
- modify the Tomcat configuration files
- run Tomcat using the startup commands inside it's bin folder
Basically this is what you can normally do when you want to setup Collect in a proper server.
Let us know, thanks.
Open Foris Team