Jelastic Java Hosting

Enabling/Disabling Java Hosting

You can enable/disable the usage of Java hosting for your users (all of them or just a separate group) via JCA:
  • Navigate to JCA > System Settings > User interface.

  • Set LANGUAGES_ENABLED parameter by specifying “java” value (or delete it if you want to disable this language).
    If you use several programming languages then just enumerate them comma separated.

More info here.

Java Application Servers

Jelastic supports the following Java application servers:

Version Management

There are three Java versions available at Jelastic:

  • Java 6
  • Java 7
  • Java 8

User can choose the version while creating environment or change it afterwards. This workflow is described in the Java versions document.

Configurations Available via Jelastic File Manager

Jelastic makes the following files and folders available depending on the node:

Tomcat 6/Tomcat 7/TomEE


Directory PathDescription
/opt/tomcat/webappsfor application files
/opt/tomcat/conf/
/opt/tomcat/temp
/usr/java/latest
contain with web server config files
/opt/tomcat/libfor storing default and uploading custom jar libraries
/var/spool/croncontains cronjob configurations file
/var/lib/jelastic/keys for private keys uploading
/opt/tomcat/appsfor storing the unpacked EE application (TomEE only)

Jetty


Directory PathDescription
/opt/jetty/workfor application files
/opt/jetty/etc
/opt/jetty/home
/usr/java/latest
contain web server config files
/opt/jetty/contexts/ contains XML config files for each deployed context
/opt/jetty/libfor storing default and uploading custom jar libraries
/var/spool/croncontains cronjob configurations file
/var/lib/jelastic/keysfor private keys uploading

GlassFish


Directory PathDescription
/opt/glassfish3/glassfish/domains/domain1/config
/opt/glassfish3/glassfish/domains/domain1/config/gfcluster-config
/opt/glassfish3/temp
/usr/java/latest
directories with web server config files
/opt/jetty/contexts/directory with XML config files for each deployed context
/opt/glassfish3/glassfish/lib/directory for storing default and uploading custom jar libraries
/var/spool/crondirectory with cronjob configurations file
/var/lib/jelastic/keysdirectory for private keys uploading

More info on Java app servers configurations available in Jelastic see here.

Log files

Jelastic makes available the following log files depending on the node:

NodeAvailable log files
Tomcat 6, 7
TomEE
manager
localhost_access_log
catalina
host-manager
localhost
Jetty{date}
request
GlassFishserver_domain
server_instance

What's next?