On 1:59 PM, Christopher Schultz wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Jeffrey,
On 2/17/12 10:45 AM, Jeffrey Janner wrote:
Thanks. I was under the impression that Tomcat normally explodes
the war files when you drop them into the webapps folder, though I
know you can disable that feature.
I was suggesting that you leave the WAR files out of the webapps
directory, but it doesn't really matter.
Honestly, if you use the manager to deploy your webapps, you can
upload whatever WAR file you want anytime you want to get whatever
version you want.
I was under the impression that one should run from the exploded
directory for performance reasons, i.e. it's faster to pull files
from the directory than from inside the war file.
IIRC, Tomcat explodes the WAR file into the work directory anyway. You
can easily confirm that.
If there really is no performance difference, then that's even more
reason that I want to get my developers to get this thing down to a
war file with no files I need to modify.
Don't forget the immense power of scripting: if you have
client-specific files to merge into a webapp, then write a script that
takes the stock WAR file from engineering and a set of client-specific
files and combines them into a client-specific WAR. You can even have
that script push the newly-minted WAR file up to Tomcat using the
manager. Boom: single-script deployment for each client.
You got 25 clients? Run the same command 25 times. Or script that, too.
- -chris
If each user has their own domain, wouldn't it be possible to:
1) Move all of the user-specific configuration information to a database
2) Differentiate users by host name and access their configuration data
from the database.
This could simplify administration of the application over the long term.
Does each domain have a different IP address?
-Terence Bandoian
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org