On 9/19/2014 3:36 PM, Tran, Minh wrote:
Thanks one more question about running multiple web apps on one Tom Cat server
if you would not mind;
Suppose I am now having two web applications call app1 , and app2; and I deploy
both of them to Tomcat.
Suppose I am able to access app1 on http://localhost:8080/app1;
and app2 on http://localhost:8080/app2
My question is that could I be able to run both applications app1 and app2 at
the same time? I don't know it because I see both applications use same port
so that I may not be able to access them at same time. I may be wrong on this;
so please correct me.
Yes, that is how it works. It is Tomcat that is listening on a specific
port, not your application as such. TC passes the request on to the
appropriate app.
Thanks again for all of your help,
Tom
________________________________________
From: Christopher Schultz [ch...@christopherschultz.net]
Sent: Friday, September 19, 2014 3:23 PM
To: Tomcat Users List
Subject: Re: May I have multiple web applications running on one tomcat server?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Tran,
On 9/19/14 3:22 PM, Tran, Minh wrote:
Could I have a several web applications running on one tomcat
server?
Yes.
I am using tomcat manager version 7. If I can , how can i do it?
Place more than one WAR file (or exploded WAR directory) in your
webapps/ directory.
- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: GPGTools - http://gpgtools.org
iQIcBAEBCAAGBQJUHIK8AAoJEBzwKT+lPKRYiNMQAJh23tFzsdQD46VAxu2J3YR7
qZiuDHBbXyZHs0DEgE810QrUBZTupQOxxdcprqV6Ld/k6mBCTjtMaY3mfnTWaQEi
poNcr+0UZxlTzvyCJM+Lq8D69sTdGmm/GxU9fHlmPv2bVZMOUdrM14q/ExnOOK1z
HNDgROLUOWC8GJS5TBOc8RQOh8UzR6Wkv0IjP378OcqyVx8U3hd/XxXl2luXz+gZ
ZUOhhqNskAbCHYH2o+CWI6cPSfGfpLW1G++8mg2G2nvPBGXHpM0EX8NUtOTZNSFX
T7sqNtQjmKaN0C3kMLLJ4BRs4KhgTSOtkHJof+aW0MxLRBIRM4dNF+UbR1GONJNk
8sxlJUBoP5v+Ex9GQ1x0LAipMvCBXCATgBeXc2IboiLxHtyYr0aaQg8I/4M5WiEj
CFDmrurS+/sG74B39fTpFLJnkDE+sAMMzvf1zIIaZr4KzGPDuSmgAemZMQ322juC
DLBwI+zlyMfdsY2/ETLktar1iuZLl2GOt6ZYDxd3/y68VVwfluhVPjz+YNkysOOb
O4EhAZYz3Z7NWjVw3iMXXVbUJ8ETM6lPZxHs1rLYWTPN8uLIrpeyq1ppj/alV24+
8xdptPgv9J6/37Lw2DLW9FJBpF0OMiJ+Ng/RQ+HLUWBpKooML9z5CL+Uc0xdIUCZ
h4ZKAgb/Udqraxo5FJ8j
=kEeC
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
________________________________
This e-mail message (including any attachments) is for the sole use of
the intended recipient(s) and may contain confidential and privileged
information. If the reader of this message is not the intended
recipient, you are hereby notified that any dissemination, distribution
or copying of this message (including any attachments) is strictly
prohibited.
If you have received this message in error, please contact
the sender by reply e-mail message and destroy all copies of the
original message (including attachments).
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org