Tuesday, December 21, 2010

GlassFish V3 Linux: process already using the admin port 4848

-- In English

when I run  glassfishv3 in linux trhow this error

glassfishv3/glassfish/bin# ./asadmin start-domain domain1
 

There is a process already using the admin port 4848 -- it probably is another instance of a GlassFish server.



I havent any port open try -> netstat -tlunp 
I thought, is this a problem IPV6? no 

the problem that  the file /etc/host  havent PC name with IP
add this line in the file.

ip_PC name_PC
192.144.168.2 miserver


This works




--In spanish.

Al lanzar glassfishv3 en linux recibo este error

glassfishv3/glassfish/bin# ./asadmin start-domain domain1
 

There is a process already using the admin port 4848 -- it probably is another instance of a GlassFish server.



Evidentemente no tengo ningún puerto en uso netstat -tlunp 

Pensaba que era problema del soporte de IPV6, pero tampoco.

Así, ¿que cual es el problema?
El problema es que en el fichero /etc/host no esta definido en nombre del equipo con su ip
así que simplemente hay que añadir

ip_del_equipo nombre_del_equipo
192.144.168.2 servidor


Ya está funcionando.







3 comments:

  1. i also have the same problem !

    ReplyDelete
    Replies
    1. add in /etc/host file this line

      192.144.168.2 serverName


      when serverName is the real server name

      Delete
  2. i had the same problem, and this solution work thanks very much.

    ReplyDelete