admin@glassfish.java.net

Re: multibyte characters in instance names

From: Bill Shannon <bill.shannon_at_oracle.com>
Date: Fri, 28 Jan 2011 13:58:44 -0800

Tom Mueller wrote on 01/28/11 07:37 AM:
> I updated the bug with a comment. The problem is likely that the LANG
> environment variable is not set to support UTF-8 when starting the server. Try
> setting LANG=en_US.utf-8. Then the characters will be written correctly to the
> domain.xml file.
>
> BTW, I've assigned the original bug that bought up this issue (15706) to Carla
> for investigation. I suspect that what is happening is that when create-instance
> invokes the asadmin command to run various hidden commands, such as
> _create-instance-filesystem, an instance name that has a multibyte character is
> not being passed correctly on the command line for some operating systems. I was
> able to create an instance with a multibyte character on Linux, just as you were
> able to on MacOS, but this fails on Windows. While you were able to delete an
> instance on MacOS, this definitely fails on both Windows and Linux. So there is
> some OS variation here.

Also, do we simply assume that the DAS and the user accounts on the nodes
are running in the same locale? Or do we try to communicate the locale
information to the nodes with ssh? (Does ssh automatically send the
locale information?)