Peter Stavrinides a écrit :
If you set up Tomcat correctly, and place all your jars in the correct
places you can hot deploy the war without a restart. This works over
plain http, you don't even need access to the server, all you need is a
password for the manager (it's better to use a
No. Tomcat will create a directory either in webapps or in the work
directory depending on settings, but it will expand the war file
regardless. You wouldn't want tomcat to attempt to run your webapp
archived anyway -- performance would suffer horribly.
--David
Angelo Chen wrote:
Hi,
Can
David Smith wrote:
No. Tomcat will create a directory either in webapps or in the work
directory depending on settings, but it will expand the war file
regardless.
Not always the case. This only happens if unpackWARs on the host is
set to true (the default)
Mark
But doesn't that still unpack the wars to the work directory or
something similar? I was under the impression it always unpacked the
wars for performance reasons -- just not always in the webapps directory.
--David
Mark Thomas wrote:
David Smith wrote:
No. Tomcat will create a
David Smith wrote:
But doesn't that still unpack the wars to the work directory or
something similar? I was under the impression it always unpacked the
wars for performance reasons -- just not always in the webapps directory.
I'd need to check the code but AFAIR it only does that it you use
my home directory to webapps/
5. start again tomcat server.
any easy way to do this? Thanks.
A.C.
--
View this message in context:
http://www.nabble.com/an-easier-way-to-deploy-war-file--tf4376062.html#a12473298
Sent from the Tomcat - User mailing list archive at Nabble.com
in context:
http://www.nabble.com/an-easier-way-to-deploy-war-file--tf4376062.html#a12473298
Sent from the Tomcat - User mailing list archive at Nabble.com.
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe
- *never* start tomcat as root: create a user tomcat if not already
existing and run tomcat with that user-id
- if it's not a production-server with very high security, grant
ftp-access to user tomcat
- from your local pc, ftp to your ubuntu, login as user tomcat
- change to directory
Angelo Chen wrote:
I use Tomcat 5.5, I installed it in an ubuntu, I have to start it as root
with startup.sh. to deplay a war file during development I have to do
following:
1. ftp to my home directory
2. ssh to the host as root, shutdown.sh
3. delete the program directory under webapps
If you set up Tomcat correctly, and place all your jars in the correct
places you can hot deploy the war without a restart. This works over
plain http, you don't even need access to the server, all you need is a
password for the manager (it's better to use a database realm).
There are many
--
w
--
View this message in context:
http://www.nabble.com/an-easier-way-to-deploy-war-file--tf4376062.html#a12490683
Sent from the Tomcat - User mailing list archive at Nabble.com.
-
To start a new topic, e-mail: users
tomcat as user tomcat, you might have to issue
chown -R tomcat:tomcat * in $CATALINA_HOME
--
w
--
...
http://www.nabble.com/an-easier-way-to-deploy-war-file--tf4376062.html#a12490683
Sent from the Tomcat - User mailing list archive
in context:
http://www.nabble.com/an-easier-way-to-deploy-war-file--tf4376062.html#a12491811
Sent from the Tomcat - User mailing list archive at Nabble.com.
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail
13 matches
Mail list logo