Re: an easier way to deploy war file?

2007-09-06 Thread Lionel Crine
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

Re: an easier way to deploy war file?

2007-09-05 Thread David Smith
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

Re: an easier way to deploy war file?

2007-09-05 Thread Mark Thomas
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

Re: an easier way to deploy war file?

2007-09-05 Thread David Smith
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

Re: an easier way to deploy war file?

2007-09-05 Thread Mark Thomas
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

an easier way to deploy war file?

2007-09-04 Thread Angelo Chen
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

Re: an easier way to deploy war file?

2007-09-04 Thread Yannick Haudry
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

Re: an easier way to deploy war file?

2007-09-04 Thread Gregor Schneider
- *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

Re: an easier way to deploy war file?

2007-09-04 Thread Juha Laiho
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

Re: an easier way to deploy war file?

2007-09-04 Thread Peter Stavrinides
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

Re: an easier way to deploy war file?

2007-09-04 Thread Angelo Chen
-- 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

Re: an easier way to deploy war file?

2007-09-04 Thread samk
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

Re: an easier way to deploy war file?

2007-09-04 Thread Angelo Chen
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