That's how I have it set up now. In Tomcat, I have one Host (localhost) that I have separate <Context> for each customer. I find that Tomcat is slowing so I want to modify the configuration now before I have more customers and more Context to add to it.
Is this way better than setting up 1...
Under the current configuration, I add new Contexts to Tomcat for each of my customers. I will be adding new customers in the future (how many, I don't know).
Each customer has their own environment entries and data sources that I use to determine which database to use and where to store...
Thanks!
Do I need to also modify the catalina.bat file?
Here it is:
@echo off
if "%OS%" == "Windows_NT" setlocal
rem ---------------------------------------------------------------------------
rem Start/Stop Script for the CATALINA Server
rem
rem Environment Variable Prequisites
rem
rem...
I'm not sure where to put the following. Can you tell me where in the file to put it??
"Try editing your catalina.bat or catalina.sh so the command line args to "java.exe" are "Xms512m -Xmx512m" where 512 is the amount of RAM to load tomcat's JVM with."
Here is my catalina.sh file:
#!/bin/sh...
I have several contexts running on my Tomcat 4.1.24 server localhost (up to over a dozen now and will need to add more). It seems that after adding one, the server gets slower. Is there a limit to the number of contexts that can be run under one host?
Thanks,
Tracey
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.