Jelastic 1.9.3

This document is preliminary and subject to change.

  • Note: More info due to each feature will be added in the nearest future.

In this document you can find all the new features, enhancements and visible changes included in the Jelastic Platform-as-Infrastructure 1.9.3 release:

For detailed information on using any of Jelastic features, please refer to the users’ documentation.

Features and Improvements

A. Scalability and Performance Improvements

Java

Jelastic GC Agent

Garbage collection (GC) is a form of automatic memory management. The garbage collector attempts to reclaim garbage, or memory occupied by objects that are no longer in use by the program. As a result, you can reduce your costs by not paying for unused resources.

In order to release reserved memory, but at the same time unused RAM by JVM to OS, Jelastic uses a special Garbage Collector agent.

Jelastic GC agent is enabled for all newly created Java application servers.

It works only for two kinds of Garbage Collection:

-XX:+UseParNewGC (if -Xmx < 8000m) -XX:+UseG1GC (if -Xmx >= 8000m)These parameters can be customized but if you specify any other GC manually, then calling full GC will be disabled.

By default, the Garbage Collection process is run every 15 minutes (beginning from every JVM start) to force the release of unused application memory. The period of checks can be changed based on your requirements. You can also switch to debug mode.

-javaagent:/var/lib/jelastic/java/jelastic-gc-agent.jar=debug=true,period=900

This solution is unique and originally devised by Jelastic engineers to improve your application memory management and as a result, to reduce the RAM usage.

Back to the list of Features and Improvements

PHP

1. Zend OPcache

Zend OPcache is now enabled by default, which results in a performance improvement of up to 40%. Zend OPcache speeds up PHP execution by opcode caching and optimization.

Apache and Nginx (php: 5.3, 5.4, 5.5) include OPcache extension enabled via etc > php.ini:
zend_extension=/usr/lib64/php/modules/opcache.so

The default size and other OPcache settings can be configured via the php.ini file by changing the following parameters:

  • opcache.enable=1 enable/disable OPcache extension

  • opcache.memory_consumption=64 set the amount of memory to use (megabytes)

  • opcache.interned_strings_buffer=8 set the amount of memory to be used for storing internal strings (e.g. classnames)

  • opcache.max_accelerated_files=4000 the maximum number of files to be cached

  • opcache.revalidate_freq=60 the frequency of checking file timestamps for changes to the shared memory storage allocation

  • opcache.fast_shutdown=1 enable/disable a fast shutdown sequence for accelerated code

  • opcache.enable_cli=1 enable/disable the OPcache for the CLI version of PHP

More info

Back to the list of PHP improvements

2. Change the Number of Workers Automatically

The number of workers for processing PHP requests is increased automatically in an Apache server depending on the cloudlet amount you stated for it. To check this, click Config for your Apache app server and navigate to the conf > httpd.conf file.
Find and remember the Max Clients value. After that, change the topology of your environment by increasing or decreasing the cloudlet limit for your server. Return to the conf > httpd.conf file. As you can, see the number of Max Clients has increased/decreased.
Note that this function will be disabled if you remove the following string from the httpd.conf file:
#Jelastic autoconfiguration mark

More info

Back to the list of PHP improvements

3. Custom Settings of mod_security

mod_security is a super handy Apache module which provides such abilities as simple filtering, URL and Unicode encoding validation, auditing, null byte attack prevention, upload memory limits, server identity masking, built in chroot support and many more.
This module is available in Jelastic by default and can be configured via conf.d > mod_security.conf file.
Here, you can edit the default configurations or add your own custom settings. For example, you can add additional ModSecurity Rules. For this, you simply need to upload your custom rule to the modsecurity.d folder. It will be automatically activated by the *Include modsecurity.d/.conf string available in the conf.d > mod_security.conf file by default.

More info

Back to the list of PHP improvements

B. Database Improvements

1. Shared MyAdmin-jel.conf, phpPgAdmin and сouchdb.conf files

Starting with this release, you have access to the MyAdmin-jel.conf (for MariaDB and MySQL), phpPgAdmin (for PostgreSQL) and couchdb.conf (for CouchDB) files. They are located in the conf.d folder.
These files can be edited in order to set appropriate criteria for allowing or denying access by IP address or domain to the application with the database on an Apache web server level.

More info

Back to the list of Database improvements

2. Killing Processes for Releasing RAM

When your environment lacks RAM, the processes with high memory consumption are killed by OOM killer to release the resources. The order of disabling the processes is specified by OOM conditions.
Now the oom_score_adj is used to make less essential processeses killed primarily (httpd processes). Only if more RAM is still needed to be released, the MySQL processes are going to be killed.

Back to the list of Database improvements

3. Backup of Several MongoDB Databases

Making backups is a rather important part of the development process as a guarantee of your data security and integrity. Jelastic lets you schedule your database backups so you can always restore the last copy of your information in case of occasional data loss. For this, we provide a special backup script for databases, which you can configure based on your own needs.
In this release we’ve improved the MongoDB database backup script. For now, you can use it for backing up several databases. Just specify the necessary configurations as it is described in the MongoDB Databases Backup instruction.

More info

Back to the list of Database improvements

4. Changes in Database Default Configurations

In this release, the following default configurations for all databases were changed in the php.ini file as follows:
upload_max_size = 1024MB
post_max_size = 1024MB
max_execution_time = 600
max_input_time = 600

This results in the ability to upload big dumps. Such changes are implemented to all new and earlier created containers, except the containers with your custom settings, i.e. if you configured these parameters manually based on your requirements.

Back to the list of Database improvements

C. HTTP Transport Error

While performing any actions in the Jelastic dashboard, (like creating an environment, app deploying, building a project, restarting your app etc.) you could possibly face the problem of a HTTP transport error arising due to some Internet issues. As a result of the disconnection, the action you have started would be fully stopped and you would have to start everything again.

Now the situation is radically improved. The disconnection will simply suspend the process which is already started until the connection is reestablished. After that, the last request will be reinitiated and the process completed, without the need to create any additional settings.

Back to the list of Features and Improvements

D. Billing Improvements

1. Updated Billing History Display

Using the Billing history option, you can monitor the charges applied for consumed resources. To make this even more convenient, we have modified the way of presenting the billing data.

Here, you can specify the desired start / end dates and the time period interval to view your billing data. The billing history is displayed by time period, with the corresponding charges to the right. Use the plus button icon to expand the view to reveal additional details about resource usage.

The data is grouped by the environments. Each environment in the list can be expanded to see the information about charges applicable to each server within the environment. The servers of the environment are listed in alphabetical order. After them, the Public IP and SSL are listed and their price is stated, if they are enabled in the environment.

In the Billing history table you can see the number of fixed and flexible cloudlets consumed, the amount of paid traffic and the sum charged for each type of server or service (Public IP and SSL).

The total charges between the selected dates are calculated for you at the very bottom of the list. More info

2. WHMCS Integration with the Jelastic Billing System

In this release, we implemented one more billing system – WHMCS. It is a universal billing hosting-oriented solution with an intuitive, user-friendly interface and broad functionality. WHMCS supports its extension using new add-on modules. We have also implemented a Jelastic Add-on Module, written in PHP.

With WHMCS, you can choose between a wide range of payment methods. Processing of your payments, as well as managing the list of orders and invoices, is available right in the Jelastic dashboard. You are also able to navigate directly to your WHMCS billing panel from the dashboard, without the necessity to enter your credentials.

To evaluate all of the benefits of WHMCS usage, you simply need to sign up for a Jelastic account via a web hosting provider in your region and upgrade your account to to the full version. To see the list of hosting providers with the WHMCS billing solution installed, navigate to the Billing System document.

More info

Back to the list of Features and Improvements

E. Site Redesign

Recently we’ve launched our new corporate web-site with a complete redesign of our logo and other materials. For now, it completely reflects Jelastic’s new positioning as a combination of two cloud’s most transformative technologies - Platform-as-a-Service (PaaS) and Infrastructure-as-a-Service (IaaS).

The new Jelastic site is optimized for enterprises, hosting service providers OEMs and developers. More detailed information about each market solution can be found in the corresponding sections of our site:

Find useful tips in our redesigned documentation (Hosting Center) and at the new Video page. Stay updated with our Blog posts and News & Events. Keep in touch with the Jelastic community via StackOverflow where our forum was moved in order to dramatically improve the experience of providing assistance with various technical questions from our customers. Feel free to leave your feedback about our new site, in order to improve it even more.

Back to the list of Features and Improvements

F. Saving Config Edits Automatically

While saving the changes in any config file, you are asked to confirm this action.   We’ve added the line “Do not show this dialog again” to the confirmation window. Tick this option and as a result, all future edits will be saved automatically without asking for confirmation. This setting will be applied for all types of config files, in all of your environments.

More info

Back to the list of Features and Improvements

G. Hosting Provider Resolution for Mobile Application

Hosting Provider Resolution is now implemented for the Jelastic mobile application which helps to automate the process of accessing the dashboard of the required hosting provider. When you enter your account credentials to access the dashboard via the Mobile app, a special service checks the availability of this account at every Jelastic hosting provider. Checking is performed via attempting to log in to every hosting provider and collecting sign in statuses (if an account is available or not). After this procedure, all of the collected information is transferred back to your mobile application.

As soon as the information is received by the mobile application, you will be automatically signed into the dashboard of the hosting provider you are registered at with the provided credentials. In the case that there are several matches (i.e you are registered at several hosters with the same credentials) you will be asked to choose the desired one from the available list.

After selecting a particular hosting provider, this choice will be remembered and in future you will be logged into this provider by default without the necessity to enter your credentials again.

Back to the list of Features and Improvements

H. Software Stack Versions

The component templates are updated to the latest versions:

StackVersion
Tomcat 66.0.0.37
Tomcat 77.0.47
TomEE1.5.2
Jetty 66.1.26
GlassFish 33.1.2.2
Java 61.6.0_45
Java 71.7.0_45
MariaDB5.5.34 / 10.0.6
MongoDB2.4.8
MySQL5.5.34
PostgreSQL 88.4.18
PostgreSQL 99.3.1
CouchDB1.5.0
nginx1.4.3
Maven3.0.5
Centos 66.4
Memcached1.4.15
Apache2.2.15-29
NGINX PHP1.4.3
PHP 5.35.3.27
PHP 5.45.4.21
PHP 5.55.5.5

More info

Back to the list of Features and Improvements

Bug Fixes

In the tables below you can see the lists of the bug fixes in Jelastic PaaS 1.9.3. They are grouped due to the following categories:

JAVA

#Description
JE-13545Rewrite-handler is added to new Jetty build
JE-12079Cloning environments, changing topology and evacuating to other nodes may fail due to the short timeout setting
JE-12012Java applications of a certain size can not be deployed, because of timeout in the deployment verification function, which was increased from 40 sec to 3 minutes
JE-11965Application cannot be deployed with Maven plug-in
JE-11926Cloned container with enabled public IPv4 has invalid routes. In some cases it causes timeouts during WAR files deploy
JE-11887Ability to deploy archive with “root” context as independent project
JE-11877Autodeploy for SVN projects does not work
JE-11725Running environment fails due to timeout expiration
JE-11638If you add VCS project with already existing name, the old one will be overwritten
JE-10826GlassFish support was improved. Fixed bug relates to cloning GlassFish environment
JE-10794Impossible to establish remote connection to EJB with GlassFish
JE-8891Incorrect displaying of HelloWorld application hosted in environment with SSL

Back to the list of Bug Fixes

PHP

#Description
JE-12267Apache can return 502 error page when doing DB import due to restricted configuration
JE-12010Memcached module error in PHP environments
JE-7492PHP version of HelloWorld package includes Java word in social networks sharing

Back to the list of Bug Fixes

RUBY

#Description
JE-14351Gem list is not updating from rubygems.org
JE-14343Custom SSL problems in Ruby
JE-14341Fixing Gemfile parsing
JE-14340Full gem support with dependencies added
JE-14336Fixing restart problems
JE-14332Support of SVN gem sources
JE-14327Fixing Ruby auto deploy process. Environment stuck on production.
JE-12250JAVA application servers are displayed instead of Ruby servers for ruby-only user groups
JE-11774Cron file “ruby” is absent
JE-11492Add project checkbox ‘check out’ is cutted
JE-11491Incorrect permission in folder ‘webroot’: buttons ‘delete’ and ‘rename’ is blocked
JE-11330Can deploy to Ruby environment only English localized projects
JE-12124No response via https for environments with Custom SSL

Back to the list of Bug Fixes

BILLING & BILLING HISTORY TRACKING

#Description
JE-9842In billing history, one month is now counted due to correct calendar month days, not just 30 days constant
JE-9756No costs consumption for SSL and IPv4 usage is displayed in billing history

Back to the list of Bug Fixes

JEM

#Description
JE-13431Checkout to branch in git wasn’t applied after initial clone operation, but only after first update
JE-11565In case the newly deployed VCS project overwrote the same named earlier deployed project, the auto-update functionality could not be disabled

Back to the list of Bug Fixes

RESOLVING & ACCESS TO CONTAINERS (ENVIRONMENTS) ISSUES

#Description
JE-13227Custom SSL certificates and keys are left in the cloned environment
JE-12656Wrong environment URL in email if Jelastic SSL is enabled
JE-12118Each database server now has logs directory available through FTP
JE-10828Validation for external domains binding from internal zone added
JE-8858Wrong VDS hostname: centos5 instead of centos6
JE-8080After installing app from the package manager the email without link to environment is received
JE-1227User can get “Cannot lock the Container” error when stopping environment or doing other manipulations in a Dashboard, due to lack of synchronization between container functions

Back to the list of Bug Fixes

USER ACCOUNT & SESSION ISSUES

#Description
JE-12021Upgrade trial account tab doesn’t appear after clicking the appropriate button
JE-11732“Email is already registered” error while trying to sign up unregistered user
JE-10070Incorrect “contact support” link in login screen when account is suspended
JE-9707Auto-authentication link to change topology wizard periodically doesn’t work
JE-8583Message about account creation at the Sign Up form isn’t refreshed after language changing
JE-8271Creation\editing of environment ends with error in the case user’s session became invalid
JE-7934Changing password during environment creation causes 702 error (session crashing)
JE-6151“Your account has been deactivated…” dashboard error message for the destroyed user

Back to the list of Bug Fixes

EMAILING ISSUES

#Description
JE-12285Emails are not sent after the update
JE-11793Users are receiving “Out of resources” notification in language other than they selected in Dashboard

Back to the list of Bug Fixes

JELASTIC STATISTICS

#Description
JE-11698Node’s CPU statistics at dashboard summarize the usage instead of aggregation
JE-11683Running out of resources notifications are sent for unused environments

Back to the list of Bug Fixes

JELASTIC DASHBOARD

#Description
JE-11966Float menus at dashboard are unavailable while environment is under some action
JE-11771Inability to copy the informational URLs at dashboard wizard
JE-11769Can change cloudlet limits for turned off nodes at the topology wizard
JE-11501Button for nodes selecting is blocked after upload in config manager
JE-11372Action log line about saved changes in file doesn’t appear after saving, only after refresh
JE-9211After deletion the archive became invisible even if the method has not returned the response
JE-8917Sub folders with the same name are not displayed in Config Manager after refreshing
JE-5194Now the archive can’t be deployed to the environment if any actions are performed with it

Back to the list of Bug Fixes

OTHERS

#Description
JE-12310Can’t refresh environment state due to the transaction confusion
JE-12075Spare output was suppressed from actions.log which was throwing from the system after NGINX restart
JE-11864Incorrect FTP uninstall process
JE-11610Error while starting environment which was manually stopped

Back to the top