Filipe David Manana wrote:
> 1) Is Tomcat reliable for a production environment, where client requests
> can be in the order of a few thousands per hour?

Easily.

> 2) I've red the documentation and I was not able to do the following: I
> created a struts 2 app and I want to access it through http://myhost:8080/ .
> By what I have understood I have to set the path of my  application context
> (cdbweb.war located in $CATALINA_HOME/webapps). to "". This can be done in
> $CATALINA_HOME/conf/context.xml. The contents of my context.xml file are:

I am pretty sure the docs don't say that. If they do, they are wrong and
need to be changed. Where did you read that?

The easiest way to do what you want is:
- delete/rename $CATALINA_HOME/webapps/ROOT
- package your war as ROOT.war
- copy your ROOT.war to $CATALINA_HOME/webapps/ROOT.war

$CATALINA_HOME/conf/context.xml is the global context.xml file shared by
all webapps. If you want to use an individual context.xml file see
http://tomcat.apache.org/tomcat-6.0-doc/config/context.html for options on
where you can place it.

Mark


---------------------------------------------------------------------
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