users@glassfish.java.net

Glassfish administration port change

From: <glassfish_at_javadesktop.org>
Date: Sun, 28 Mar 2010 07:54:10 PDT

I want to change the port of the glassfish adminstration port to port 80 because all my other ports are closed.

the os on the server is ubuntu.

i have managed to find out i have to use this command:
sudo -u /bin/asadmin server.http-service.http-listener.admin-listener.port=80

but the server returns:
sudo: no passwd entry for /bin/asadmin!

how can i change the administration port on glassfish. (the glassfish version is v2)
[Message sent by forum member 'tha_tux']

http://forums.java.net/jive/thread.jspa?messageID=394121