Reputation: 5087
I am using Netbeans 7.4 and Glassfish 4.0. I can start glassfish 4.0 manually from command line but when i click the run the project button from netbeans it says "Starting GlassFish Server". It became more than 10 minutes but nothing happens. It was running fine yesterday, i didn't change anything but today it can't start the server.
What may be the problem?
Upvotes: 7
Views: 15883
Reputation: 1947
This problem stems in your locale settings but the solution is pretty simple:
In Netbeans installation directory find netbeans/etc/netbeans.conf file
.
Open & Edit the file using a text editor. Locate *"netbeans_default_options="* in the file and add --locale en
to the end of options.
For example mine looks like:
netbeans_default_options="-J-client -J-Xss2m -J-Xms32m -J-XX:PermSize=32m -J-Dapple.laf.useScreenMenuBar=true -J-Dapple.awt.graphics.UseQuartz=true -J-Dsun.java2d.noddraw=true -J-Dsun.java2d.dpiaware=true -J-Dsun.zip.disableMemoryMapping=true --locale en"
Now restart Netbeans. If you are still having the same problem, delete and recreate your glassfish domain and it will work.
Upvotes: 9