tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <Yoav.Shap...@mpi.com>
Subject RE: configuring new context
Date Thu, 06 Nov 2003 13:54:56 GMT

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:dionisio@tinieblas.com]
>Sent: Thursday, November 06, 2003 8:49 AM
>To: tomcat-user@jakarta.apache.org
>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: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org




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: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message