Rollbase has always supported Tomcat for an AppServer, but we've now extended support to JBoss. Learn how to configure a JBoss AppServer.
Rollbase includes a set of auxiliary runtime components which can be run on a single host for small loads or be deployed across multiple hosts for scaling purposes. As Rollbase usage grows, you can add instances of these runtime components to provide adequate performance for all users. When you run Rollbase production servers on multiple hosts, the router component calculates the least loaded server and directs newly logged in users to that server.
Rollbase has always supported Tomcat as the AppServer, but (as of Rollbase 4.3.1), we've extended support to run Rollbase on a JBoss (EAP v6.3) AppServer. With this new support, we give more choices for customers to choose an appropriate AppServer to deploy Rollbase based on their requirements.
In this tutorial, we'll walk you through setting things up on a JBoss EAP 6.3 Cluster.
JBoss EAP supports two types of deployment models to run in cluster mode: domain and standalone. The following sections explain how to configure and deploy Rollbase in both domain and standalone modes.
Now you will be able to see that both JBoss instances are up and running.
Now you will be able to see that both JBoss instances are up and running.
The JBoss httpd server or Web Server is an enterprise ready web server designed for medium and large applications. JBoss Web Server provides organizations with a single deployment platform for Java Server Pages (JSP) and Java Servlet technologies, PHP and CGI. It can be used as a high performance generic web server instead of common native web servers like Apache Httpd or IIS.
Now, we have seen how to configure Rollbase in both domain and standalone mode in JBoss. The next step is to configure the JBoss httpd server.
A JBoss httpd server was installed in any of the instances configured above. Here we are installing the httpd server in a JBoss instance. After installing the httpd server, follow the steps below to route incoming requests from the httpd server to JBoss instances (configure JBoss Workers in Apache to tell it how to route incoming requests to Rollbase):
JkMount /workflow master
JkMount /workflow/* master
JkMount /storage master
JkMount /storage/* master
JkMount /webapi master
JkMount /webapi/* master
JkMount /search master
JkMount /search/* master
JkMount /rest master
JkMount /rest/* master
JkMount /rss master
JkMount /rss/* master
JkMount /master master
JkMount /master/* master
JkMount /router master
JkMount /router/* master
JkMount /prod1 prod1
JkMount /prod1/* prod1
worker.master.type=ajp13
worker.master.host=<MachineA IP Address>
worker.master.port=8009
worker.master.lbfactor=1
worker.master.socket_timeout=0
worker.master.socket_keepalive=1
worker.master.connection_pool_timeout=60
worker.master.connection_pool_size=300
worker.master.connection_pool_minsize=50
worker.prod1.type=ajp13
worker.prod1.host= <MachineB IP Address>
worker.prod1.port=8009
worker.prod1.lbfactor=1
worker.prod1.socket_timeout=0
worker.prod1.socket_keepalive=1
worker.prod1.connection_pool_timeout=60
worker.prod1.connection_pool_size=300
worker.prod1.connection_pool_minsize=50
(Refer to JBoss httpd documentation for specific details.)
Now that you can choose between Tomcat and JBoss, it's time to choose the best AppServer for your Rollbase app. In this blog post, we explained how to configure Rollbase on JBoss EAP 6.3 in both domain and standalone modes. We also provided steps to configure the JBoss httpd server.
We hope you found this tutorial helpful—as always, feel free to ask any questions in the comments below. And don't forget to check out what's new in the latest Rollbase release to stay on top of all our new upgrades, like decision services and more.
Satyanarayana Sunku is currently working as a Senior QA Engineer at Progress. He holds a Masters in Computer Applications from Osmania University, Hyderabad, and has strong knowledge in SaaS and PaaS product testing. He has worked on automation of both Runtime and UI for Rollbase, and automated Rollbase REST API's and several features of Rollbase UI.
Let our experts teach you how to use Sitefinity's best-in-class features to deliver compelling digital experiences.
Learn MoreSubscribe to get all the news, info and tutorials you need to build better business apps and sites