This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
User cannot create a personal domain in folder with space in path (assuming this should be allowed). To reproduce: - open runtime view - on Servers node call Add Server popup - in Add Server Instance dialog select Sun Java System Application Server - click Next - browse Platform location and pick 'Create Personal Domain' - click Next - browse folder with space in path (e.g. ....\My Documents\myDomain) but there is a red error message and domain cannot be created. The problem is at AddDomainDirectoryPanel(line 114 - !parent.canWrite()). It returns false for folders with space in path. It is a known JDK bug 4939819 and it should be somehow work arounded until it is fixed (http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4939819). Build 20060109-0026, JDK1.5.0_06, WindowsXP.
actually the root cause is discussed in the bug referenced. I was able to successfully create a personal domain in directory the directory C:\Documents and Settings\Administrator\My Documents\My Domains
In 9/1 NB build, I could not recreate the reported issue. Close as WORKSFORME.
I am closing this issue. Please reopen if issue still exists.
I can reproduce this issue in build 20060911-0600, JDK1.6.0-b93, WindowsXP. Look at screen shot.
Created attachment 33746 [details] Screen shot.
no changes ready for check in today -- 5.5 code freeze
Looking into this problem further, I was able to recreate the problem on NB 9/11 build , JDK1.6.0-b98 and JDK1.5 update 8, WindowsXP. I found if I created domain3 giving the following directory (1), I see the reported issue, but if I give the following directory (2), I was able to create the domain3 ok and start the server ok. The difference between the two directories is the directory (2) is where I installed appserver. I wonder why this can make difference ? The other thing is in directory (1) it has two spaces in the directory tree, would this cause the problem ? (1) C:\Documents and Settings\Administrator\My Documents\My Pictures\domain3 (2) D:\AppServer Install\9.0UR1glassfish\domains\domain3
The issue is valid only for 'My Documents' folder as stated in previous descriptions and in this bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4939819.
Thanks for the update. I now understand the whole picture. I used the CLI way to try to create the domain under the My Documents directory, I got the no write permission error below. May be the plugin can do the same thing to issue an error message in this case ? No write permission: C:\Documents and Settings\Administrator\My Documents\My Pic tures
following the lead of issue 71332
Verified.