users@glassfish.java.net

Re: Long paths on windows

From: Ludovic Champenois <Ludovic.Champenois_at_Sun.COM>
Date: Mon, 14 Sep 2009 13:17:51 -0700

On 9/14/09 1:04 PM, 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.
Yep, this is more a general Jvm limitation on windows (or to be
absolutely correct,a windows limitation) than a gf issue.
As a workaround, you could use drive substitution or move to a better
platform:-)

http://ss64.com/nt/subst.html

Ludo
>
> --
> Sean Comerford, Software Engineer
> ESPN.com Site Architecture Group
> Office: 860.766.6454 Cell: 860.329.5842