How to Install and Setup Glassfish

1.) Download glassfish installer from 2.) Unzip in {your_choice}/glas...

1.) Download glassfish installer from

2.) Unzip in {your_choice}/glassfish-3.1.1

3.) Create 'startup' script file as follows:

4.) Create mydomain domain in glashfish: {your_choice}/glassfish-3.1.1/bin/asadmin create-domain mydomain

5) To modify the port open {your_choice}/glassfish-3.1.1/glassfish/domains/mydomain/config/domain.xml and look for
admin-listener port=4848
http-listener-1 port=8080

6.) Start mydomain domain: {your_choice}/glassfish-3.1.1/bin/asadmin start-domain mydomain

8.) To test if the new domain works, navigate to the glassfish back url: http://localhost:4848/ and frontend url: http://localhost:8080


javaee 492314371202898253

Post a Comment Default Comments


Are you looking for freelancers in the Philippines? Get in touch.


If you like what I do, you can support this channel by buying me a coffee. I would be grateful for your contribution! Your donations will help me create more FREE online courses and learning materials for programmers and remote workers.