Web Server Setup
VetView 2.0 is designed to run on on Apache Tomcat 9. Version 1.7.10 and earlier are programmed for Apache Tomcat 7.
Note | ||
---|---|---|
| ||
There are lots of good guides on the web about installing Tomcat on the OS of your choice. There's even a video for installing it on Windows. Here's a guide we found to installing it via the command line in Ubuntu. |
...
Info | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
VetView does not require an special installation, in our test environment we use Tomcat 7 for Windows x64. During the installation we use all the default settings, allocating 3-4 GB of RAM for use. This amount a memory may very based on your user load. Example Setup:
Tomcat Install Wizard Screen Shots ( click to enlarge images )
Tomcat by default installs a manager page that can be accessed using the Tomcat Administrator Login that was created during the installation. Example Tomcat Manager URL:
Tomcat Manager Screen Shots ( click to enlarge images )
|
Adjusting Tomcat Memory
Info | ||
---|---|---|
| ||
By default Tomcat Memory is configured for initial memory pool of 128MB and a maximum of 256MB.
There are 4 memory settings that we recommend you adjust based on user load. To adjust the memory settings you either set the appropriate environment variable or the Tomcat configuration tool for windows.
LinuxYou need to use the set of "non standard" options that are passed to the java command. Run: java -X for details. The options you're looking for are -Xmx and -Xms (this is "initial" heap size) plus perm size. Tomcat comes with a batch script that looks for the JAVA_OPTS environment variable, but it's not part of the Java runtime. To set the variable like, run a command like: set JAVA_OPTS="-Xms128m -Xmx3072m -XX:MaxPermSize=1024m -XX:PermSize=128m" Windows
|
Next Step
Deploy VetView Project |