Can we make multiple instance for Open Foris so that two or more open foris can be run at the same time without affecting each other data. For eg. creating multiple port number and each port number is a different system with different database.

asked 16 Nov '17, 08:48

Biplab's gravatar image

Biplab
134
accept rate: 0%

edited 16 Nov '17, 12:13

Stefano%20%28OF%29's gravatar image

Stefano (OF) ♦♦
4.8k119


Hi Biplab,
This is not the standard way to use Collect, so if you need to do it you have to be a sort of "advanced" user.
Collect is a standard web application that can run in a Tomcat or Jetty application server, so if you need it you have to have two different installations of Tomcat running on two different ports.
We provide an archive containing Tomcat and Collect already preconfigured, you can download this file from here.
Once you downloaded this file, you have to:
- unzip it in the location you prefer;
- duplicate the file tomcat/conf/server.xml into a server.xml.bck to have a backup copy and open it with a text editor;
- locate the section "... Connector port"8080" ..." and change the value 8080 with the port number you prefer (be sure that the port is not already in use by some other process);
- modify the file tomcat/conf/Catalina/localhost/collect.xml and add your database connection parameters;
- start the Tomcat instance using the Start and Stop scripts inside collect-server folder
Please note that in this way you need to have Java Runtime Environment installed (you can download it for free from www.java.com website).
Many thanks and let us know if it fits your needs.
Open Foris Team

permanent link

answered 16 Nov '17, 10:03

Stefano%20%28OF%29's gravatar image

Stefano (OF) ♦♦
4.8k119
accept rate: 19%

It was very helpful. Thank you very much. Biplab Baniya

(19 Nov '17, 07:58) Biplab Biplab's gravatar image
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×494

question asked: 16 Nov '17, 08:48

question was seen: 1,874 times

last updated: 19 Nov '17, 07:58