> From: WILLIAMer [mailto:[EMAIL PROTECTED]
> Subject: Re: tomcat with jcaptcha
>
> Sorry my english is poor.

Better than my Mandarin or Taiwanese.

> tomcat/conf/server.xml
> "<Context path="" docBase="eCom" debug="0"/>" before tag </Host>

That is wrong, for a couple of reasons.  First, putting <Context> elements in 
server.xml is strongly discouraged, and exists only for compatibility with 
older versions of Tomcat.  The <Context> element should be in your webapp's 
META-INF/context.xml file, if it's needed at all.  Second, your configuration 
above creates a double deployment of your webapp, once as the default, and then 
again as eCom, since the webapp is located in the <Host> appBase directory.

To fix this, first get rid of the <Context> element - you don't need it.  Next, 
remove any existing ROOT directory (or ROOT.war file) in the <Host> appBase 
directory (named "webapps", by default), and rename your eCom directory or war 
file to ROOT (case sensitive).  That is the proper way of specifying the 
default webapp.

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

Reply via email to