tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arieh Markel <Arieh.Mar...@central.sun.com>
Subject RE: Found the problem with the different behavior between NT and Unix
Date Fri, 22 Sep 2000 21:52:52 GMT

> Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm
> list-help: <mailto:tomcat-dev-help@jakarta.apache.org>
> list-unsubscribe: <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
> list-post: <mailto:tomcat-dev@jakarta.apache.org>
> Delivered-To: mailing list tomcat-dev@jakarta.apache.org
> From: Arieh Markel <Arieh.Markel@central.sun.com>
> Subject: RE: Found the problem with the different behavior between NT and  
Unix
> To: tomcat-dev@jakarta.apache.org
> Content-MD5: 0mDPvx3HJmX8liXcMNbIsA==
> X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N
> 
> 
> > Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm
> > list-help: <mailto:tomcat-dev-help@jakarta.apache.org>
> > list-unsubscribe: <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
> > list-post: <mailto:tomcat-dev@jakarta.apache.org>
> > Delivered-To: mailing list tomcat-dev@jakarta.apache.org
> > From: Larry Isaacs <Larry.Isaacs@sas.com>
> > To: "'tomcat-dev@jakarta.apache.org'" <tomcat-dev@jakarta.apache.org>
> > Subject: RE: Found the problem with the different behavior between NT and  
> Unix
> > X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N
> > 
> > I don't think I have ever seen 8.3 names come back from
> > getCanonicalPath().
> > 
> > I did a quick test with JDK 1.3 and Tomcat 3.2 installed at
> > "D:\Jakarta Test\jakarta-tomcat".  getCanonicalPath() returned
> > the full non-8.3 names in FileUtil.safePath().
> > 
> > I have also run Watchdog against Tomcat (both tomcat_32 branch)
> > in the above directory with JDK's 1.3, 1.2.2, and 1.1.8.
> > Everything passes except for a few tests with JDK 1.1.8, where
> > the path to the JSP's servlet source goes over 256 characters.  
> > 
> > I don't know why 8.3 names are being returned is your case.
> > Which JDK are you using?
> 
> I am using 1.2.2_06a.

One thing to add.

I run tomcat embedded and set the document base for the context
programmatically, as a fully qualified pathname.

Arieh

> 
> Arieh
> 
> --
>  Arieh Markel		                Sun Microsystems Inc.
>  Network Storage                        500 Eldorado Blvd. MS UBRM11-194
>  e-mail: arieh.markel@sun.COM           Broomfield, CO 80021
>  Let's go Panthers !!!!                 Phone: (303) 272-8547 x78547
>  (e-mail me with subject SEND PUBLIC KEY to get public key)
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org

--
 Arieh Markel		                Sun Microsystems Inc.
 Network Storage                        500 Eldorado Blvd. MS UBRM11-194
 e-mail: arieh.markel@sun.COM           Broomfield, CO 80021
 Let's go Panthers !!!!                 Phone: (303) 272-8547 x78547
 (e-mail me with subject SEND PUBLIC KEY to get public key)


Mime
View raw message