Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

Re: Helping setting appropriate prefix when using ServletContext.getResourceAsStream()

Hassan Schroeder

2006-12-22

Replies:

On 12/22/06, James Dekker <james.dekker@(protected):

>     <Host name="localhost" appBase="webapps"
>     unpackWARs="true" autoDeploy="true"
>     xmlValidation="false" xmlNamespaceAware="false">
>     </Host>

> tomcat.home=C:/DevTools/tomcat/jakarta-tomcat-5.5.9
> tomcat.deployment.dir=${tomcat.home}/webapps

Most of that was irrelevant :-) but the above doesn't mesh with your
earlier path:
C:\DevTools\tomcat\jakarta-tomcat-5.5.9\mywebapp\WEB-INF\classes\log4j.properties.
:: which doesn't include a 'webapps' directory.

Is that just a typo or are you setting Context atttributes (like docBase)
somewhere else?

--
Hassan Schroeder ------------------------ hassan.schroeder@(protected)

---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.