users@glassfish.java.net

Re: Glassfish administration port change

From: Major Péter <majorpetya_at_sch.bme.hu>
Date: Sun, 28 Mar 2010 16:53:48 +0200

Stop server
Check the domain.xml, and look for admin-listener.
Start server

Regards,
Peter

2010-03-28 16:54 keltezéssel, glassfish_at_javadesktop.org írta:
> 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