1
votes

I get the following error when try to start the GlassFish in Netbeans services tab.(This error appeared after the installation of mavericks)

Could not connect to admin listener for GlassFish Server. Verify that Netbeans can make outbound connections to localhost:4848

I ran the following command in terminal.

hakdogan:~ hakdogan$ lsof -i -P | grep -i "listen" 
java 61143 hakdogan 58u IPv6 0xe10371a06a96d9a9 0t0 TCP localhost:51659 (LISTEN)  
java 61231 hakdogan 43u IPv6 0xe10371a06a96dde9 0t0 TCP localhost:1527 (LISTEN)

I tried to run GlassFish with the terminal.

hakdogan:~ hakdogan$ /Applications/NetBeans/glassfish-4.0/glassfish/bin/asadmin start-domain domain1 Waiting for domain1 to start.......................................... Successfully started the domain : domain1 domain Location: /Applications/NetBeans/glassfish-4.0/glassfish/domains/domain1 Log File: /Applications/NetBeans/glassfish-4.0/glassfish/domains/domain1/logs/server.log Admin Port: 4848 Command start-domain executed successfully.

As you can see worked :)

But can not start GlassFish in Netbeans services tab.

Is problem the netbeans permissions?

Do you have any idea?

Thank you in advance for your answers.

OS X version 10.9

Netbeans version 7.3.1

GlassFish version 4.0

1

1 Answers

0
votes
  1. Download glassfish: https://javaee.github.io/glassfish/download

  2. goto Tools>>>Servers>>>Add server>> choose glassfish>> browse where u just download the glassfish and install.