[GLASSFISH-20636] Server created in multilingual edition can't be started. Created: 15/Jun/13 Updated: 24/Jun/13
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
windows 8 ,windows 2008 R2
I'm a Chinese user and I installed the glassfish 4.0 multilingual edition on Win8 and Win2008R2 using the native installer.
I checked domain.xml in the path 'glassfish4\glassfish\nodes\localhost-domain1\appserver\config',and I found this file is GB2312 encoding(os default),and in row 80 of this file ,there is Chinese text:
I delete the description attribute from the orignal config file glassfish4\glassfish\domains\domain1\config\config.xml in line 80 and restart the glassfish server,problem resolved.
I guess when starting the server,glasssfish try to use UTF-8 encoding to read the xml ,however thie text encoding of this file is not specified when creating it(so it's encoding follows the OS default,which is GB2312).
The funny thing is that the default admin server's config file is also in GB2312 text encoding...