users@glassfish.java.net

Re: Long paths on windows

From: Hong Zhang <Hong.Zhang_at_Sun.COM>
Date: Mon, 14 Sep 2009 20:10:29 -0400

Hi, Sean
 
   Which JDK were you using?

   There was a JDK bug on this
(http://bugs.sun.com/view_bug.do?bug_id=6182812) which got fixed in 1.6
and 1.5_06.
 
   There is still the windows restriction that a single component of the
path can not exceed 255 characters. In your case, is the length of whole
path exceeds 255 characters or one component of the path exceeds 255
characters?

   It will be useful if you could share the path information.

    Thanks,

- Hong

Comerford, Sean wrote:

> Is there a known issue with Glassfish managing long path names on Windows?
>
> We're using Windoze 2k3 and while Glassfish *IS* able to deploy an
> application that results in a very long directory structure being
> created (i.e. c:\foo\bar\blah\... Where the path ends up being 255+
> characters), there are problems when you attempt to undeploy the app.
> It fails with "invalid file name" or some such nonsense.
>
> We're using Glassfish 2.1 b60e.
>
> --
> Sean Comerford, Software Engineer
> ESPN.com Site Architecture Group
> Office: 860.766.6454 Cell: 860.329.5842