I get that error when I attempt to start the Glassfish server 4 at localhost[domain1]
Unable to start server due to following issues: Key value shall not be null.
I could not find a solution.
Thank you.
I get that error when I attempt to start the Glassfish server 4 at localhost[domain1]
Unable to start server due to following issues: Key value shall not be null.
I could not find a solution.
Thank you.
This seems to be a configuration issue:
As mentioned in this post you have to change two of your config files:
In the Glassfish domain.xml
(located in glassfish\domains\%domainname%\config
) find the section <java-config
in the <config name="server-config">
section and add the following line into it:
-Duser.language=en
In the eclipse.ini
(located in your root folder of your eclipse installation) add the following line at the end:
-Duser.language=en
This problem may be occured because of GlassFish directory. If your GlassFish folder is in the Program Files directory , you need to run your IDE as administrator. Another way is to move the GlassFish folder to a different directory such as C:\GlassFish. These solutions worked for me.
I had the same problem on Eclipse Mars2. I added
-Duser.language=en
line to eclipse.ini but that wasn't enough.
I also had to run Eclipse as Administrator and Glassfish (4.1) works fine now.