> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > Behalf Of Filipe David Manana > Subject: Beginner question > > 1) Is Tomcat reliable for a production environment, where > client requests can be in the order of a few thousands per hour?
Yes. > 2) I've red the documentation and I was not able to do the > following: What documentation did you "red"? What version of Tomcat are you trying to use? > 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. That's not correct. The conf/context.xml file is used to specify attributes common to all webapps, not just one particular webapp. Put it back to the way it was. An individual webapp's <Context> element should be in the META-INF/context.xml file within your webapp. > The contents of my context.xml file are: > <Context path="" docBase="/opt/tomcat/webapps/cdbweb.war"> Take out the path and docBase attributes - they're not allowed when the <Context> element is in the proper location. In your case, you can omit the <Context> element (and the META-INF/context.xml file) entirely, since you're not specifying anything out of the ordinary. > Yet I am not able to access my webapp as http://myhost:8080/ > but only as http://myhost:8080/cdbweb2/ Your webapp must be named ROOT.war in order for it to be the default webapp. Simply rename the .war file, and repair the conf/context.xml file. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]