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.
i'm not sure if this is problem of NB itself or glassfish, reporting just to catch the things up: i'm using pseudolocalized jappanise nb5.5 on jappanise locales and trying to register app server with Create Personal Domain checked - selected new empty directory with multibyte character in its name - following error appeared in OW: と粮Jo1粮Please, wait while the domain is being created...粤ろ [Fatal Error] :1:45: Invalid byte 1 of 1-byte UTF-8 sequence. CLI130 Could not create domain, 新 Invalid value for domain name : 新
pinging i18n/GF folks on this. If it is supported, I will figure out what is up in the plugin and fix it. If GF doesn't support this, I will try to figure out how to flag the name as unsupported.
Hi Vince, any new status? Do you know whether this is supported by GF?
GF folks say this should be doable via asadmin, so the plugin should support it. The issue appears to be the character encoding. asadmin expects to "speak" in UTF-8. So, it looks like we just need to make sure that all the arguments in all uses of asadmin get converted to UTF-8 BEFORE we do an exec of asadmin (which is how things like the 'Create Personal Domain' are powered)
Please try logging in with a locale that uses UTF-8 as its character encoding.
not sure how to emulate jappanise characters in encoding UTF-8 implicitly ja-encoding/locales are ja_JP (nb); MS932 i've tried switch -J-Dfile.encoding=ISO8859-15 but it didn't work (for czech characters) either
well. this is working on a Mac. I created a new domain in /Users/vbk/Desktop/と粮Jot3 I used GF v1 u1 Build 3.
Opened https://glassfish.dev.java.net/issues/show_bug.cgi?id=895
Need to reevaluate for 6.0. The bug Vince opened against GlassFish is not considered important by the GF team and was downgraded to P4. I guess this bug's priority should be adjusted accordingly.
downgrading priority to P3
attempt to detect the MB characters in the domain name and flag it as invalid.
this is working on Solaris 10 x86, too. Turning off multibyte characters for every platform because Windows is fussy seems like a bad idea.
So, we want to the field value validation to fail on the name the domain page of the create personal domain wizard. the test is two layers if the length of the domain directory name in characters is shorter than the length of the domain directory name in bytes when the name is encoded in utf8 and the default encoding in bytes doesn't equal the utf8 encoding in bytes, the validation should fail.
http://serverplugins.netbeans.org/source/browse/serverplugins/sun/appsrv81/src/org/netbeans/modules/j2ee/sun/ide/j2ee/ui/Bundle.properties?r1=1.39&r2=1.40 http://serverplugins.netbeans.org/source/browse/serverplugins/sun/appsrv81/src/org/netbeans/modules/j2ee/sun/ide/j2ee/ui/AddDomainDirectoryPanel.java?r1=1.11&r2=1.12
build 0927: Domain was created ok using mbyte in its location on Solaris 10, ja_JP On XP the problem exists using zh locale
changing to fixed: I'll verify on the last build. Seems 0927 was not the correct one.
KAA: did this ever get verified or did it fall through the cracks?
I couldn't create domain with mbyte in its name: build 1217 Warning message was shown and Finish button disabled.
Created attachment 54331 [details] Reopen please If this is not expected behavior.