Just battled one of these this AM on Tomcat 4.1. In our case, it
turned out that Tomcat couldn't parse the  backslashes in the docBase.
Try it with forward slashes as path delimeters.

Kev


On Thu, 21 Oct 2004 14:05:10 -0400, James Mitchell <[EMAIL PROTECTED]> wrote:
> (Tomcat 5.0.28)
> 
> Well, this is interesting.
> 
> If I simply copy the deployment (or the .war) to webapps, it deploys
> fine....but if I do this:
> 
>          <Context path="struts-faces-example1"
> 
> docBase="D:/cygwin/home/jmitchell/svn/struts/trunk/struts-faces/example1-web
> app/target/struts-faces-example1"
>           debug="0"/>
> 
> ...I get that error.
> 
> 
> 
> 
> --
> James Mitchell
> Software Engineer / Open Source Evangelist
> EdgeTech, Inc.
> 678.910.8017
> AIM: jmitchtx
> 
> ----- Original Message -----
> From: "Craig McClanahan" <[EMAIL PROTECTED]>
> To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> Sent: Thursday, October 21, 2004 1:31 PM
> Subject: Re: Struts faces
> 
> > That's really odd ... the exception at line 1183 is trying to get an
> > input stream for your /WEB-INF/faces-config.xml file failing, but this
> > code would never get called unless the resource actually exists.  What
> > version of Tomcat are you using?  (And which build of struts-faces?)
> > Could there be file permissions problems on this file?
> >
> > Craig
> >
> >
> > On Thu, 21 Oct 2004 11:27:31 -0400, James Mitchell <[EMAIL PROTECTED]>
> wrote:
> > > Google fails to help on this.
> > >
> > > Has anyone else seen this error when running the struts-faces example
> apps?
> > >
> > > ...
> > > ...
> > > Oct 20, 2004 11:33:35 PM com.sun.faces.config.ConfigureListener parse
> > > SEVERE: Can't parse configuration
> > > file:jndi:/localhost/struts-faces-example1/WEB-INF/faces-config.xml
> > > java.io.FileNotFoundException
> > >         at
> > >
> org.apache.naming.resources.DirContextURLConnection.getInputStream(DirContex
> > > tURLConnection.java:297)
> > >         at
> > >
> com.sun.faces.config.ConfigureListener.parse(ConfigureListener.java:1183)
> > >         at
> > >
> com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.
> > > java:323)
> > >         at
> > >
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:
> > > 3827)
> > >         at
> > >
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4343)
> > >         at
> > > org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
> > >         at
> > > org.apache.catalina.core.StandardHost.start(StandardHost.java:789)
> > >         at
> > > org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
> > > ...
> > > ...
> > >
> > > --
> > > James Mitchell
> > > Software Engineer / Open Source Evangelist
> > > EdgeTech, Inc.
> > > 678.910.8017
> > > AIM: jmitchtx
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

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

Reply via email to