How to install Oracle-GlassFish Application Server V4 for Java-EE Web Applications hosting

As you know, the Oracle GlassFish application Server is a Java-EE-supported application server that provides a flexible, lightweight, and production-ready Java-ee-6 and java-ee-7 platform for java-EE based web applications deployment and Webhosting. We can use the Glassfish application server as our own custom dedicated application server for our java-EE based (JSP, Server let, JSF, Prime faces, Oracle ADF, etc.) applications hosting. It is available as open source and as well with commercial support from Oracle.

In this tutorial we will learn how to install Oracle Glass Fish application Server open source V4 at windows platform for Java-EE based web applications deployment and web-hosting. 


For installation Oracle Glassfish app-server, latest version of Java JDK / JRE should be installed at your Computer machine. Java EE 7 requires JDK 7 or above.

Now we first download the required version of Glassfish app-server from official website which is in our case is Oracle GlassFish application server Open source edition V4.

Click here to download Oracle GlassFish Application Server

Below is the official downloading page for GlassFish server open source Edition 4.0. Here two types of Zip files are available. We will download 2nd option of specific installer for Java-EE-7

Installation of Oracle-GlassFish Application Server V4 for Java-ee Web Applications hosting, Java Server, glassfish jee application-server, Java Webhosting Server, jee app server, Oracle-app-server, open source java application server, java-ee application hosting, java web action, javawebaction, java web development, oracle adf hosting, jsp hosting, ejb hosting, jsf hosting, jsf application server

Save downloaded file of Glassfish-4.0.zip at your specific location and unzip it as showing in below mentioned snapshot.


Installation of Oracle-GlassFish Application Server V4 for Java-ee Web Applications hosting, Java Server, glassfish jee application-server, Java Webhosting Server, jee app server, Oracle-app-server, open source java application server, java-ee application hosting, java web action, javawebaction, java web development, oracle adf hosting, jsp hosting, ejb hosting, jsf hosting, jsf application server

Open the location " \glassfish-4.0\glassfish4\bin " and double click at asadmin.bat, a command window will be open as showing below

Installation of Oracle-GlassFish Application Server V4 for Java-ee Web Applications hosting, Java Server, glassfish jee application-server, Java Webhosting Server, jee app server, Oracle-app-server, open source java application server, java-ee application hosting, java web action, javawebaction, java web development, oracle adf hosting, jsp hosting, ejb hosting, jsf hosting, jsf application server



Installation of Oracle-GlassFish Application Server V4 for Java-ee Web Applications hosting, Java Server, glassfish jee application-server, Java Webhosting Server, jee app server, Oracle-app-server, open source java application server, java-ee application hosting, java web action, javawebaction, java web development, oracle adf hosting, jsp hosting, ejb hosting, jsf hosting, jsf application server



Write start-domain command after asadmin> as showing in below snapshot to start GlassFish application server domain. ( asadmin> start-domain )

This process can also start by giving command "glassfish4\bin\asadmin start-domain " after changing path to desired location.


Installation of Oracle-GlassFish Application Server V4 for Java-ee Web Applications hosting, Java Server, glassfish jee application-server, Java Webhosting Server, jee app server, Oracle-app-server, open source java application server, java-ee application hosting, java web action, javawebaction, java web development, oracle adf hosting, jsp hosting, ejb hosting, jsf hosting, jsf application server

GlassFish application server process has been started. A window for Security alert will open, click on unblock for unblock the server process

Installation of Oracle-GlassFish Application Server V4 for Java-ee Web Applications hosting, Java Server, glassfish jee application-server, Java Webhosting Server, jee app server, Oracle-app-server, open source java application server, java-ee application hosting, java web action, javawebaction, java web development, oracle adf hosting, jsp hosting, ejb hosting, jsf hosting, jsf application server


Results of commands is showing below

asadmin> start-domain
Waiting for domain1 to start ...................................................
.....
Successfully started the domain : domain1
domain  Location: D:\asif\glassfish-4.0\glassfish4\glassfish\domains\domain1
Log File: D:\asif\glassfish-4.0\glassfish4\glassfish\domains\domain1\logs\server
.log
Admin Port: 4848
Command start-domain executed successfully.
asadmin>


Installation of Oracle-GlassFish Application Server V4 for Java-ee Web Applications hosting, Java Server, glassfish jee application-server, Java Webhosting Server, jee app server, Oracle-app-server, open source java application server, java-ee application hosting, java web action, javawebaction, java web development, oracle adf hosting, jsp hosting, ejb hosting, jsf hosting, jsf application server

GlassFish Application Server has been started and now we can open server admin console. Click on below link to open admin console.
http://localhost:4848
Below is the admin console view of GlassFish Application Server. Here you can manage all the tasks of GlassFish application server.

Installation of Oracle-GlassFish Application Server V4 for Java-ee Web Applications hosting, Java Server, glassfish jee application-server, Java Webhosting Server, jee app server, Oracle-app-server, open source java application server, java-ee application hosting, java web action, javawebaction, java web development, oracle adf hosting, jsp hosting, ejb hosting, jsf hosting, jsf application server

Below snapshot is showing all common tasks which can be managed from GlassFish Application server.like Domain management, Server Administration, Clusters management, Nodes management, Resources (Connector, JMS, JavaMail session, JNDI etc), deployed applications management, Web container, EJB Container etc.


Installation of Oracle-GlassFish Application Server V4 for Java-ee Web Applications hosting, Java Server, glassfish jee application-server, Java Webhosting Server, jee app server, Oracle-app-server, open source java application server, java-ee application hosting, java web action, javawebaction, java web development, oracle adf hosting, jsp hosting, ejb hosting, jsf hosting, jsf application server


How to Stop and restart GlassFish Application Server :

We can stop GlassFish application in two ways. First Click at Server (Admin Server), here you can see stop and restart button for stopping and restarting the GlassFish Server. To stop GlassFish Server, click on stop button and process further, server will be stopped and admin consol will be closed. To restart the GlassFish application server, click on restart button, Application server will be restart, admin console will be refreshed. 

Installation of Oracle-GlassFish Application Server V4 for Java-ee Web Applications hosting, Java Server, glassfish jee application-server, Java Webhosting Server, jee app server, Oracle-app-server, open source java application server, java-ee application hosting, java web action, javawebaction, java web development, oracle adf hosting, jsp hosting, ejb hosting, jsf hosting, jsf application server

The second way to stop Glassfish application server is to write stop-domain command after asadmin in already open command window. ( asadmin> stop-domain) as showing in below snapshot.

Installation of Oracle-GlassFish Application Server V4 for Java-ee Web Applications hosting, Java Server, glassfish jee application-server, Java Webhosting Server, jee app server, Oracle-app-server, open source java application server, java-ee application hosting, java web action, javawebaction, java web development, oracle adf hosting, jsp hosting, ejb hosting, jsf hosting, jsf application server

Congratulation we have been successfully learned, how to download GlassFish Application server and how to install it. How to stop, start and restart the GlassFish Application Server at Window platform. From this way, we can use GlassFish application server for our Java-ee 7 applications deployment and for reliable secure web hosting.  
Related Topics:
What is Oracle GlassFish Java-EE Web Application Server 
 
How to register GlassFish Java-EE Application Server V4 with NetBeans-IDE

An overview of Oracle GlassFish Java EE Application Server Administration tools

30 Comments

Please enter relevant questions and information.

  1. professional Web Development Company esparkinfo solution. He has a great experience about the, Web Development Services, logo design services, graphic design services and internet marketing service

    ReplyDelete
  2. very nice blogs!!! i have to learning for lot of information for this sites...Sharing for wonderful information.Thanks for sharing this valuable information to our vision. You have posted a trust worthy blog keep sharing.
    Web Designing Companies Bangalore | Web Designing Bangalore

    ReplyDelete
  3. I am extremely impressed thanks for sharing all information. It is a great post for the people to get the proper information.
    website development company in United States

    ReplyDelete
  4. Really informative. .. In regards to increasing trend in web development it's mine to go with top most ecommerce development firms using latest techniques.

    ReplyDelete
  5. Web Design Sydney: It is a great sharing...I am very much pleased with the contents you have mentioned. I wanted to thank you for this great article.Logo Design Sydney, Logo Design in Coimbatore, Brochure Design in Coimbatore

    ReplyDelete
  6. This post is really nice and pretty well maintained, really deserve to be appreciated. Thanks for it and keep updating.

    Web Development course in Janakpuri

    ReplyDelete
  7. I recently found many useful information in your website especially this blog page. Among the lots of comments on your articles. Thanks for sharing.
    domeinnamen

    ReplyDelete
  8. We are leading website designing company in NYC, offering a wide range of services and covering all the fields in the best possible ways.
    website design and development company

    ReplyDelete
  9. I am first time on this blog and I got valuable knowledge from here....
    packers and movers in Ernakulam

    ReplyDelete
  10. Excellent blog I visit this blog it's really awesome.The important thing is that in this blog content written clearly and understandable.SEO Services in Pakistan

    ReplyDelete
  11. thankyou for shareing this installation process.it helped me in installation..helpfull blog.
    professional-web-design-company

    ReplyDelete
  12. Hi Dear, have you been certainly visiting this site daily, if that's the case you then will certainly get good knowledge.
    Web Development Solution

    ReplyDelete
  13. Hi Dear, have you been certainly visiting this site daily, if that's the case you then will certainly get good knowledge.
    Sex Toys For Men

    ReplyDelete
  14. One of the best blog posts I've read! Thanks a ton for sharing this!
    Web Hosting in Pakistan

    ReplyDelete
  15. With pay per click package in singapore, it is possible to steer your PPC spending towards profitable keywords and phrases, as your SEO campaign is ramping up in the first few months.

    ReplyDelete
  16. Proven to rank page # 1 for your keywords, drive traffic, lead and sales, and help grow your business. Our result-oriented seo packages are designed to keep you ahead of the chase.

    ReplyDelete



  17. Introducing Pakistan Rishta service
    Welcome to Rishta Pakistan Website Allah Swt made your partner already
    in heaven so we help for finding your life partner at earth through this
    website Create an account and look for your Muslim life partner
    http://www.ecomdiversify.com/
    https://www.srsroofing.ca/

    ReplyDelete
  18. Techsaga is providing end-to-end software solutions to customers globally. We are specialized in every vertical of industries and deliver quality solutions using the latest technologies Software development company in Noida.

    ReplyDelete
  19. You've written an intriguing piece of work. This is precisely the type of data I was looking for. Please give me with more pertinent facts so that I can gain a better understanding. Best Custom Websites

    ReplyDelete
  20. Thank you Sir, you made it easy as pie. Now i am able to understand and have enough knowledge about this. It is only because of you.
    Custom Designed Websites

    ReplyDelete
  21. After a long time i found a unique and on purpose information about Custom Website. Can't wait to have more from you.

    ReplyDelete
  22. It was my good fortune to come into this blog and find the information I was looking for, which was also of great quality.
    SEO Service NYC

    ReplyDelete
Previous Post Next Post