Netbeans error with glassfish server 3.1?

19,427

Solution 1

I encounted the same problem. It was because the server takes over the proxy settings of the IDE by default. You can deselect it by going to GlassFish Server 3.x properties and then click on the java tab ==> deselect Use IDE's proxy settings.

Afther that i could deploy my application.

Solution 2

Start server using:

<glassfilshInstallationRoot>\glassfish\bin\startserv.bat

For me it also works in NetBeans.

Solution 3

I encounted the same problem today, cause I'm using it for rails, and I always use Webric to run rails project. If you don't use glassfish, you can just delete it. click 'tools -> service', and delete glassfish, then it works fine.

Solution 4

There are a few things to look at.

1) Make sure GF is running or if it's not that you can start it. On the Services tab, expand servers, right click on your gf server and select start. 2) Verify the port it's using by mousing over the server (see image). Make sure that port isn't blocked by a firewall. 3) Earlier you were having problems installing it. Right click on the server and verify the properties. If that path isn't correct or what not. Add a new server point to where ever you installed it.

Glassfish admin port

Solution 5

This has happened to me too,and I figured out that the 'JavA(TM) Platform SE Auto updater ' service was not running.I checked the service after running msconfig->startup tab.An update automatically was installed and there after everything restarted working. Hope this might help. Cheers. Maiga

Share:
19,427
Zeeno
Author by

Zeeno

My Website! My Twitter My linkedin My YouTube Channel! A computer scientist with a passion for Robotics and Music Production. My technologies are Java Javascript LAMP Stack MEAN Stack Assembly with Z80 Spectrum Haskell C++ I'm eager to help and be helped while using the site.

Updated on June 24, 2022

Comments

  • Zeeno
    Zeeno about 2 years

    I'm trying to launch a project in netbeans but I keep getting the error

    "Could not connect to admin listener for GlassFish server 3.1 Verify that NetBeans can make outbound connections to localhost:4848"

    I've been tackling glassfish server problems since morning. Has anyone encountered this problem before?

  • Rónán Ó Braonáin
    Rónán Ó Braonáin almost 12 years
    This didn't solve all my problems, which were due to various problems, but it got me past the confusing bit of my deployment hanging without any log output, before timing out after 2 minutes and showing the error message mentioned in the question. Thanks!
  • Khalid Saifullah
    Khalid Saifullah almost 11 years
    This solution worked for me for the first step. Later I had to add my usename and password for another error message.