I installed glassfish v3 some time ago and it's been a while since I last used it, so I forgot the port on which the server is listening and the port on which the admin console is listening. Moreover, i forgot the admin password!

I'm pretty sure I've change them because I've tried the default values and didn't work.

Is there any configuration file where I can look for them (at least the port numbers)?

link|improve this question

feedback

2 Answers

up vote 1 down vote accepted

The default port for admin console is normally 4848.

Check the domain.xml file under the config dir in your Glassfish Domain.

${glassfish_domain_dir}/config/domain.xml 

And for overriding password, refer to http://docs.sun.com/app/docs/doc/820-6823/abgdh?a=view.

link|improve this answer
feedback
 netstat -l 

will give you all the listening ports, so you can start from there.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.