users@glassfish.java.net

Re: Long paths on windows

From: Kedar Mhaswade <Kedar.Mhaswade_at_Sun.COM>
Date: Mon, 14 Sep 2009 16:46:31 -0700

Ludovic Champenois wrote:
> On 9/14/09 1:04 PM, Comerford, Sean wrote:
>> Is there a known issue with Glassfish managing long path names on Windows?

Sean,

What is the exact error?
There could be some issues with the handling of long file names (by
Windows platform itself) in this case. If you can attach the server.log
or the error in server.log, that might help.

-Kedar

>>
>> 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
>