tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lee fellows <lfell...@airsmail.com>
Subject Re: New user question - problem with '~' character in paths?
Date Wed, 21 Feb 2001 13:27:38 GMT
Hi,

  I may be all wet here, but this does not appear to be a 
Tomcat error, per sae.  The error states it cannot write
the named class.  Not that it cannot find the source.  Try
creating the file and directory structure shown in the error
message and see if your operating system allows it.  I suspect 
you will get an error from the operating system relating to
length of path.

> Tom Gowers wrote:
> 
> Hello all,
> 
> I am in the midst of muddling through an installation/configuration of
> tomcat for the purposes of integrating with our Xpedio Content Server
> software for a prospect. I have come across what I think is a problem,
> and would appreciate any feedback.
> 
> It seems that the JSP interpreter doesn't like any .jsp files residing
> in a location where the path contains the '~' character. As an
> example, I am placing .jsp files (just doing simple includes at this
> stage) into a directory with the following path
> 
> /xpedio/groups/public/documents/haysworks/~000301/jsptest.htm
> 
> where /xpedio is mapped as a virtual directory in IIS
> 
> When I try to access this .jsp file, I get the following error from
> tomcat:
> 
> Internal Servlet Error:
> 
> org.apache.jasper.JasperException: Unable to compile class for
> JSPerror: Can't write:
> C:\jakarta-tomcat\work\localhost_8080%2Fxpedio\groups\p_00025blic\d_00025cuments\haysworks\_0007e_00030_00030_00030_00033_00030_00031\_0002fgroups_0002fpublic_0002fdocuments_0002fhaysworks_0002f_0007e_00030_00030_00030_00033_00030_00031_0002fjsptest_0002ejspjsptest_jsp_0.class
> 
> 1 error
> 
> However, if I simply move my .jsp file into the parent directory so
> that the path is
> 
> /xpedio/groups/public/documents/haysworks/jsptest.jsp
> 
> The .jsp file is interpreted fine with no problems.
> 
> Is this a know issue/limitation?
> 
> TIA
> 
> Tom Gowers
> ----------------------------------------------------------------------
> 
> Senior Systems Engineer, IntraNet Solutions Inc
> Phone: +44 1753 701072
> tom.gowers@intranetsolutions.com
> <mailto:tom.gowers@intranetsolutions.com>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For
> additional commands, email: tomcat-user-help@jakarta.apache.org

Mime
View raw message