Howdy,
You should start by simply putting the webapp in the webapps directory
and let tomcat auto-deploy it.  Don't have any server.xml entries for it
yet.  Make sure it works fine this way.

Then add a <Context> entry only in server.xml, not another host or
logger.  Restart tomcat, make sure your webapp still works with the new
path.

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Dionisio Ruiz de Zarate [mailto:[EMAIL PROTECTED]
>Sent: Thursday, November 06, 2003 8:49 AM
>To: [EMAIL PROTECTED]
>Subject: configuring new context
>
>Hello i am trying to cofiguring one new context using tomcat for this
>pourpose i make this:
>
><Host name="localhost" debug="0" appBase="webapps/ROOT"
unpackWARs="true"
>autoDeploy="true">
><Logger className="org.apache.catalina.logger.FileLogger"
directory="logs"
>prefix="localhost_log." suffix=".txt" timestamp="true"/>
><Context path="" docBase="" reloadable="true" crossContext="true">
></Context>
><Context path="/webos" docBase="webapps/elmio" debug="0"
reloadable="true"
>crossContext="true">
><Logger className="org.apache.catalina.logger.FileLogger"
>prefix="localhost_webos_log." suffix=".txt" timestamp="true"/>
></Context>
></Host>
>
>but when in my browser i put the url: http://localhost:8080/webos the
>tomcat says me:
>HTTP Status 404 - /webos
>
>-----------------------------------------------------------------------
----
>-----
>
>type Status report
>
>message /webos
>
>description The requested resource (/webos) is not available.
>
>
>-----------------------------------------------------------------------
----
>-----
>
>Apache Tomcat/4.1.29
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to