tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bachoo jahnkar <manut...@yahoo.com>
Subject RE: context.xml
Date Thu, 01 Sep 2005 18:19:04 GMT
Thanks for the reply.
 
My application uses tomcat 4.0.3. the webapps/hst/htdocs is the app directory. I have used
ants war task to create a war file hst.war. when i deploy this to unix box it is creating
the whole directory correctly. However is setting the context to /hst instead of /hst/htdocs.
how can i change this or where can i change this.
 
server.xml
---------------------------------------------------------------------------------------------
Host name="localhost" debug="0" appBase="webapps" errorReportValveClass="org.apache.catalina.valves.HstErrorReportValve"
unpackWARs="true">
      <Context path="" docBase="hst/htdocs" debug="0"/>
      <Realm className="org.apache.catalina.realm.HstJDBCRealm" debug="99"
 driverName="oracle.jdbc.driver.OracleDriver"
--------------------------------------------------------------------------------------------
 
 

Julie Moore <jmoore@orchardsoft.com> wrote:
I believe this is new to tomcat 5 in the past the context was in the
server.xml

-----Original Message-----
From: bachoo jahnkar [mailto:manutmct@yahoo.com] 
Sent: Thursday, September 01, 2005 1:07 PM
To: tomcat-user@jakarta.apache.org
Subject: context.xml

Hi,

Can context.xml be used with tomcat 4.0.3? If yes can anyone please tell
me what the contents should be for it and how to invoke it using the
"METAINF" attribute of ant WAR task?


thanks.


---------------------------------
Start your day with Yahoo! - make it your home page 

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
Mime
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message