Troubleshooting GlassFish - part 2
By chinmayee on Apr 11, 2008
I was reading about the persistent Baital (or vampire) who continually caused difficulties for the legendary king Vikramaditya with his puzzling tales and I was reminded that I should write the second part to my earlier blog about recurring problems in GlassFish.
These two installation-related problems pop up really often!
Most Common Problems and Solutions
|On Linux or Solaris, GlassFish or Sun Java System Application Server installation fails. Error message says the installer could not create the default domain.
||Set your environment variable LC_CTYPE to "C".
|GlassFish or Sun Java System Application Server installer freezes and does not allow you to continue installing after you provide the installation path.
||This problem occurs because of a previous unclean/partial uninstallation. or failed installation. The solution is to delete Application Server-specific entries from the productregistry file:
\* On Windows, the productregistry file is usually at c:\\Windows\\system32\\productregistry. Do NOT delete this file. Search for all application server-specific entries and remove them.
\* On Solaris, run /bin/prodreg and uninstall application server. \* On Linux or other non-Solaris Unix systems, the productregistry file is at var/tmp/productregistry. Delete all application server-related information.