You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Adam Pfeiffer <ad...@yahoo.com> on 2002/06/04 20:58:52 UTC

Manager App Question

Hello,
I just began playing with the manager app and am confused on how it deploys a new web application.
 Here is the lowdown.

I had an existing one at:
/opt/jakarta-tomcat-4.0.3/webapps/trips

I did a cp -r from /opt/jakarta-tomcat-4.0.3/webapps/trips to
/opt/jakarta-tomcat-4.0.3/webapps/trips-dev in order to set up a development environment.

Then I ran the command:
http://localhost:8080/manager/install?path=/trips-dev?war=file:/opt/jakarta-tomcat-4.0.3/webapps/trips-dev

This worked, the web app deployed and I can now browse it perfectly.  What I am confused on it
that I can stop and start tomcat /opt/jakarta-tomcat-4.0.3/bin/shutdown.sh & startup.sh and it
still sees the trips-dev app.  Where does it store this information??  I have checked server.xml
and it does not contain any info on trips-dev.  I must be missing some config file, but for the
life of me I can't figure out what it is. 

Thanks,
Adam





__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Manager App Question

Posted by Jacob Kjome <ho...@visi.com>.
At 02:00 AM 6/5/2002 +0200, you wrote:
>Hello Adam,
>
>AP> I just began playing with the manager app and am confused on how it 
>deploys a new web application.
>AP>  Here is the lowdown.
>
>AP> /opt/jakarta-tomcat-4.0.3/webapps/trips-dev in order to set up a 
>development environment.
>
>AP> This worked, the web app deployed and I can now browse it 
>perfectly.  What I am confused on it
>AP> that I can stop and start tomcat 
>/opt/jakarta-tomcat-4.0.3/bin/shutdown.sh & startup.sh and it
>AP> still sees the trips-dev app.
>
>   Tomcat will always deploy all applications in the directory
>   "webapps" on startup. It's a feature you do not have to configure
>   that somewhere.


I have found this *not* to be true in the case that you specify the context 
in the Server.xml.  If I don't specify it in server.xml, it expands the 
.war file on startup.  With it specified, the .war file isn't expanded and 
if I don't expand it manually before Tomcat startup, the context will not 
be found.   Any solution to that problem?

Jake


>
>--
>Regards,
>  Thomas                            mailto:uf4b@stud.uni-karlsruhe.de
>
>
>--
>To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
>For additional commands, e-mail: <ma...@jakarta.apache.org>

Re: Manager App Question

Posted by Thomas Bierhance <uf...@stud.uni-karlsruhe.de>.
Hello Adam,

AP> I just began playing with the manager app and am confused on how it deploys a new web application.
AP>  Here is the lowdown.

AP> /opt/jakarta-tomcat-4.0.3/webapps/trips-dev in order to set up a development environment.

AP> This worked, the web app deployed and I can now browse it perfectly.  What I am confused on it
AP> that I can stop and start tomcat /opt/jakarta-tomcat-4.0.3/bin/shutdown.sh & startup.sh and it
AP> still sees the trips-dev app.

  Tomcat will always deploy all applications in the directory
  "webapps" on startup. It's a feature you do not have to configure
  that somewhere.
  
-- 
Regards,
 Thomas                            mailto:uf4b@stud.uni-karlsruhe.de


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>