OpenSolaris is dead as a distro, but it is still around, unless it's content moved/migrated to Nexenta or, later, IllumOS. Today I've got weird error from GlassFish v3 after installation. Apparently that's because OpenSolaris has chronically screwed up locales (one never grows up). Here is the way how the thing looks like in all its glory:
Waiting for DAS to start ..Error starting domain: domain1.
The server exited prematurely with exit code 6.
Before it died, it produced the following output:
UTF ERROR ["../../../src/solaris/instrument/EncodingSupport_md.c":66]: Failed to complete
iconv_open() setup
So the cure is quite simple: fix that broken locale (in fact, broken locale breaks other things anyway). To do so, install
SUNWlang-enUS
from the IPS and add
export LANG=en_US.UTF-8
in your
.profile
to make it default. Maybe also good idea to add it to the skeleton... :)
No comments:
Post a Comment