myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam <>
Subject Re: Clash with Chiba?
Date Thu, 06 Apr 2006 09:38:46 GMT
Mike Kienenberger wrote:
> On 4/5/06, Adam <> wrote:
>> For Tomcat, the solution appears to be:
>> go to tomcat-install-dir/conf/ and add this to
>> lines:
>> http.proxyHost=<proxy address>
>> http.proxyPort=<proxy port>
>> The H and the P of host and port must be in capital letters.
> While this will work for you, you're still fetching the dtds from the internet.
> This means that if the internet route to that host is ever down, or
> that host is unable to serve the dtd to you, your app will fail.
> I would try copying your dtd files into WEB-INF for each app and see
> if that solves the problem.   There's bound to be a way to provide
> local copies of these files, even though it can sometimes vary. 
> You'll not only get better performance, but you'll have better
> reliability as well.

If I simply set the doc type like:

<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 
2.3//EN" "web-app_2_3.dtd">

Doing this, myfaces bugs out with:

ERROR org.apache.myfaces.webapp.StartupServletContextListener : Error 
initializing ServletContext javax.faces.FacesException: \WEB-INF\web-app_2_3.dtd (The system 
cannot find the path specified)

The dtd is there in the WEB_INF folder would appear that the is being directed to a place w/o any webapp context file path.


View raw message