GlassFish 4

NOTE: This node is optional since it is based on cartridge packaging model. If this server is not available at your wizard, please contact your hosting provider for its activation.

GlassFish is an open source community comprising of users, developers and partners, who are creating an industry leading Java EE compatible enterprise-quality application server. It gives a possibility to develop portable and scalable enterprise applications with a high reliability, performance, and full clustering.

Our platform provides GlassFish 3 server by default. And with Jelastic cartridges approach you are able to work with the latest 4th version of this application server. Its improvements include higher productivity, HTML5 support, and implementation of the Java EE 7 specifications.

To host your project with GlassFish 4 application server in Jelastic Cloud follow the instruction below.

GlassFish 4 at Jelastic

1. Log in to the Jelastic account using your credentials.

2. Create Environment with the corresponding button in the upper left corner of the dashboard.

3. Go to the Java tab in the appeared dialog window and pick GlassFish 4 from the list of available application servers. Then specify the resources usage limits by means of cloudlets sliders, edit name of your environment (if it’s needed), and proceed with the Create button.

4. Just in a few minutes your environment will be created. Click the Open in browser button for it.

5. In the opened browser tab you’ll see the GlassFish welcome page with some useful information about it.

In order to access the GF administration panel, switch the used connection protocol to the https:// one and add the :4848 port number at the end of the opened page’s URL.

If your environment contains multiple GlassFish nodes, you need to have the Public IP feature enabled for them. In this case, type the attached to a particular server IP address with :4848 port specified in your browser address bar and use your admin credentials for entering.
Or, you can set the appropriate proxy rules to the NGINX load-balancer’s configuration (which was automatically added to your environment during increasing the amount of application servers and became the entry point of your application).

Finally, as an alternative, you can establish the SSH connection to the desired GF server and use the asadmin CLI inbuilt utility for its managing.

Note: The Custom SSL feature is available for this server since Jelastic of 4.6 version and higher.

That’s all about GlassFish 4 server installation, and now you can configure it in a way you need and proceed to your Java application deployment.