Hello all.

I have recently started developing J2EE applications using Tomcat and have
come across a stumbling block. Suppose I want to run Tomcat in an
environment close to what it would be in production; to do I need to do the
following:

• Make sure Tomcat is running on port 80 so that there is no need to provide
the port number.
• Make sure that hitting http://myhost.com/ brings up my custom application
and not the tomcat manager.
• Make sure that a light web server like lighttpd or Apache is used for
serving static content and redirecting to tomcat when dynamic jsp
compilation is required.
• Make sure that the sessions are persisted when the above arrangement is
put in clustered mode.

Currently my web app is accessible via a URL like
http://10.32.141.21:8080/MyApp/ which I would like to become
http://my-host.com/ .

I guess the first one would be achievable by making some changes to the
configuration file server.xml? Not pretty sure how to achieve the second one
though; ditto with the remaining ones.

Links, suggestions would be really appreciated.

Regards,
sasuke
-- 
View this message in context: 
http://www.nabble.com/Custom-web-application-as-default-web-app-tp18810002p18810002.html
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to