struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anderson, Jessica" <Jessica.Ander...@trs.state.tx.us>
Subject RE: "Unsafe path" error
Date Fri, 16 Mar 2001 20:39:22 GMT
I figured out what the problem is.

It has nothing to do with capitalization of Web-inf.

In server.xml i had the crossContext attribute set to false and when i
changed it to "true" it worked.

Jessica

-----Original Message-----
From: Maya Muchnik [mailto:mmuchnik@pumatech.com]
Sent: Friday, March 16, 2001 12:09 PM
To: struts-user@jakarta.apache.org
Subject: Re: "Unsafe path" error


Create a new directory WEB-INF under tomcat/webapps/you_app, Copy all files
from tomcat/webapps/you_app/Web-inf to tomcat/webapps/you_app/WEB-INF.
Remove
directory Web-inf.
Change all config files accordingly.

"Anderson, Jessica" wrote:

> do you mean capitalize?
>
> -----Original Message-----
> From: Maya Muchnik [mailto:mmuchnik@pumatech.com]
> Sent: Friday, March 16, 2001 10:29 AM
> To: struts-user@jakarta.apache.org
> Subject: Re: "Unsafe path" error
>
> I did not know that you have Web-inf. This is absolutely not good for
Tomcat
> 3.2. Relocate all your files under WEB-INF!!!
>
> "Anderson, Jessica" wrote:
>
> > well,
> > the best "place" for my application is "working" and until I figure out
> how
> > to configure for tomcat 3.2, 3.1 will have to suffice.
> > :)
> > i am concerned for the future though, so I will most likely revisit this
> > topic if I don't receive any feedback.
> >
> > It was suggested that i change Web-inf to WEB-INF in one of the email
> links
> > you sent, but i was unable to change my folder to all caps.  I don't
refer
> > to Web-inf anywhere else except the directory structure - it's implicit
> with
> > the context of my application.  So once again, i am at a loss...
> >
> > It seems that someone else must have experienced this.
> > jessica
> >
> > -----Original Message-----
> > From: Maya Muchnik [mailto:mmuchnik@pumatech.com]
> > Sent: Friday, March 16, 2001 9:09 AM
> > To: struts-user@jakarta.apache.org
> > Subject: Re: "Unsafe path" error
> >
> > The best specialist in Tomcat is Graig M. If you read our email archive,
> > that
> > Tomcat 3.2.1 and higher is the best "place" for struts, because 3.1 has
a
> > lot
> > of bugs.
> >
> > "Anderson, Jessica" wrote:
> >
> > > Thanks.
> > >
> > > Another tidbit - i just discovered that this error only occurs in
Tomcat
> > > 3.2.1 - Tomcat 3.1 works fine with no changes to the application,
> > > environment or anything...
> > >
> > > Any comments regarding versions of Tomcat?
> > >
> > > Jessica
> > >
> > > -----Original Message-----
> > > From: Maya Muchnik [mailto:mmuchnik@pumatech.com]
> > > Sent: Friday, March 16, 2001 8:36 AM
> > > To: struts-user@jakarta.apache.org
> > > Subject: Re: "Unsafe path" error
> > >
> > > Here is a link to those emails:
> > >
> > >
http://www.mail-archive.com/struts-user@jakarta.apache.org/msg02132.html
> > >
http://www.mail-archive.com/struts-user@jakarta.apache.org/msg02193.html
> > >
http://www.mail-archive.com/struts-user@jakarta.apache.org/msg02163.html
> > > Maybe it will help?!
> > >
> > > "Anderson, Jessica" wrote:
> > >
> > > > Yes,
> > > > it was from me and I never received any replies.
> > > > :)
> > > > jessica
> > > >
> > > > -----Original Message-----
> > > > From: Maya Muchnik [mailto:mmuchnik@pumatech.com]
> > > > Sent: Friday, March 16, 2001 8:17 AM
> > > > To: struts-user@jakarta.apache.org
> > > > Subject: Re: "Unsafe path" error
> > > >
> > > > I remember the similar error "Unsafe Path" in the mail. Try to find
> it.
> > > >
> > > > "Anderson, Jessica" wrote:
> > > >
> > > > > I am still trying to troubleshoot this problem, and therefore, I
> still
> > > > need
> > > > > assistance.
> > > > >
> > > > > I am setting up another developer to use Struts, but we are
> receiving
> > a
> > > > > message that tomcat cannot load controller and something about an
> > Unsafe
> > > > > Path (see below).
> > > > >
> > > > > We installed the jaxp parser but he doesn't have ant - is ant
> required
> > > > > eventhough he will not be building from src dist?
> > > > >
> > > > > When trying to request a page using the controller a
> > NullPointerExeption
> > > > is
> > > > > encountered.
> > > > >
> > > > > Any ideas?
> > > > > Thanks a lot,
> > > > > jessica
> > > > >
> > > > > -----Original Message-----
> > > > > From: Anderson, Jessica [mailto:Jessica.Anderson@trs.state.tx.us]
> > > > > Sent: Thursday, March 15, 2001 1:48 PM
> > > > > To: 'struts-user@jakarta.apache.org'
> > > > > Subject: "Unsafe path" error
> > > > >
> > > > > Can anyone tell why I am getting this error when starting tomcat?
> > > > >
> > > > > 2001-03-14 12:25:24 - Ctx( /best ): Unsafe path
> > > G:\BestPilot\src\trs\best
> > > > > /WEB-INF/struts-config.xml
> > > > > cannot load servlet name: controller
> > > > >
> > > > > thanks,
> > > > > jessica

Mime
View raw message