Netbeans can't start Glassfish 4 server

15,668

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.

Share:
15,668
Salih Erikci
Author by

Salih Erikci

Suggest Board - Easy Feature Request Management Start getting new ideas from your users and customers. Perfect for your app, your product and service. Fill The Rest - Finish the sentences your way. Finish the half sentences your way.

Updated on June 17, 2022

Comments

  • Salih Erikci
    Salih Erikci almost 2 years

    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?

    enter image description here