How to Deploy Joget Cluster into the Cloud

By June 10, 2013 HowTo 3 Comments
Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedInEmail this to someone

Joget Workflow is an open source platform that allows you to build enterprise web applications easily, due to its rich set of tools. It is also a rapid application development platform that provides complete agile development capabilities, including consisting of processes, forms, lists, CRUD and UI; not just back-end EAI/orchestration/integration or the task-based interface.

Due to the Joget plugin architecture, developers can easily extend the platform and integrate it with other systems.

With Joget Workflow you can:

  • build apps, not only processes
  • increase your efficiency and productivity
  • work with a user-friendly interface
  • reduce the cost of training (for your employees)

Let’s see how to get highly available Joget cluster in the cloud in a few minutes for further using.

Create the environment

1. Go to our site and sign up or log in with your Jelastic credentials.

2. Click Create environment to set up your environment in Jelastic.

3. Pick your application server (Tomcat 6 or 7), select the database you want to use (MySQL in our case). Then specify the number of cloudlets for each node and switch on HA to provide high reliability, scalability and perfect fail-over capabilities for your environment. After that type your environment name, for example, joget-cluster, and click Create.

joget-cluster-env

In a minute your highly available environment will be created.

Upload Java package

1. Navigate to joget.org and download the latest Joget Enterprise Edition (bundle for Linux).

joget-cluster-download

2. Extract the files from the package you have just downloaded.

3. Upload jw.war and jwdesigner.war (joget-enterprise-linux-x.x.x/apache-tomcat-x.x.x/webapps) to the Jelastic Deployment manager.

joget-upload

4. Deploy these packages to different contexts (e.g. jw and jwdesigner respectively).

joget-deploy

Configure database

1. Open MySQL in a web browser and log in with the credentials Jelastic has sent you earlier.

2. Create a new database for your Joget cluster and name it jwdb.

joget-database

3. Navigate to query window and import jwdb-empty.sql file (joget-enterprise-linux-x.x.x/data) according to your needs. As you can see all the necessary tables were successfully created.

joget-cluster-database

Configure Joget

1. Go back to the Jelastic dashboard and click on the Config button for Tomcat.

joget-cluster-config

2. Navigate to the home/wflow and specify the database connection properties in the app_datasource-default.propertiesn file:

workflowDriver=com.mysql.jdbc.Driver
workflowUrl=jdbc\:mysql\:mysql-{your_environment_name}.{hoster's_domain}:3306/jwdb?characterEncoding\=UTF-8
workflowUser=root
profileName=
workflowPassword={your_database_password}
hibernate.dialect=org.hibernate.dialect.MySQLDialect

joget-database-configuration

3. Save the changes and restart your server.

Start Joget

Now your Joget cluster is ready for use. Open the jw context in a web browser and you’ll see the Joget welcome page. You can log in (the default credentials are admin/admin) and start to work with this great application.

joget-cluster

Jwdesigner context will be helpful for designing the app forms list.

jwdesigner

Now you can take all the advantages of using Joget highly available cluster in the cloud! Don’t worry about large scaling, load balancing or failover capabilities – Jelastic will do this instead of you. Enjoy!

Don’t have a Jelastic account? Get your free, instant account here.

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedInEmail this to someone

3 Comments

  • [...] Marina Sprava hat einen neuen interessanten Artikel in unserem englischen Blog geschrieben, den wir Euch nicht vorenthalten wollen. How to Deploy Joget Cluster into the Cloud [...]

  • Hello,

    Thanks for this blog.
    I deployed Joget and my Joget app in Jelastic with the help of this blog, which went smoothly.
    I am now having problems with Jasper Reports however.
    The report is not shown in the browser, only the pdf link.
    When I open the pdf link, the report is shown.

    The Catalina.out log shows:
    Nov 01, 2013 2:16:07 PM org.joget.plugin.enterprise.JasperReportsMenu getRenderPage
    SEVERE: Connection refused
    java.net.ConnectException: Connection refused
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)

    Best Regards,
    Joost van der Schoot

    • Tetiana Fydorenchyk says:

      Hello,
      There can be different reasons of such behaviour, so it is needed to investigate your case more detailed.
      Please contact your hosting provider support in order to get the solution.

      Best regards,
      Tetiana

Leave a Reply

Contact Jelastic for More Information CONTACT
%d bloggers like this: