> Alternatively, I'd try just using a relative path from $TOMCAT_HOME.
> If it's installed in webapps/struts-faces-example1, then
> docBase="struts-faces-example1" should work... unless I'm making
> another thinko! :)

That's the whole idea.  I want to deploy it from where it sits.  I have
other deployments (struts-example) declared the same exact way.  I don't
understand why this doesn't work.


--
James Mitchell
Software Engineer / Open Source Evangelist
EdgeTech, Inc.
678.910.8017
AIM: jmitchtx

----- Original Message -----
From: "Kevin Clifton" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Thursday, October 21, 2004 2:56 PM
Subject: Re: Struts faces


> Doh! Looking back, I see he's got forward slashes in the path already,
> so I think that should parse OK. Must... read... carefully....
> before... reply. :(
>
> But, if Tomcat isn't running in a cygwin-aware environment, that might
> be the problem. It might work with an absolute (non-cygwin) path like
> "c:/program files/apache software foundation/Tomcat x.x/....".
>
> Alternatively, I'd try just using a relative path from $TOMCAT_HOME.
> If it's installed in webapps/struts-faces-example1, then
> docBase="struts-faces-example1" should work... unless I'm making
> another thinko! :)
>
> Kev
>
> On Thu, 21 Oct 2004 11:42:19 -0700, Craig McClanahan <[EMAIL PROTECTED]>
wrote:
> > So it's really a Tomcat configuration issue.
> >
> > I hardly ever use Windows, but don't you have to do something wierd
> > like double slashes on paths in the docBase element?
> >
> >
> >
> > Craig
> >
> > 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]
> >
> >
>
> ---------------------------------------------------------------------
> 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