Installation Steps
Installation Steps
1. Install JDK
Download OpenJDK 21 from adoptium.net.
Important Configuration:
- Set the
JAVA_HOMEenvironment variable to your installation directory - Windows Users: Avoid installing to Program Files due to space character issues
- Add
%JAVA_HOME%\bin(Windows) or$JAVA_HOME/bin(Linux/macOS) to PATH
Verification:
java -version
2. Install Apache Tomcat
Download from tomcat.apache.org.
Windows Installation:
- Use ZIP distribution or Service Installer
- Extract to a directory without spaces (e.g.,
C:\tomcat)
Configuration Steps:
- Configure JVM Options - Set heap memory settings:
-Xms512m -Xmx2000m - Update server.xml - Add UTF-8 encoding to Connector elements:
<Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" URIEncoding="UTF-8" /> - Set CATALINA_HOME environment variable (optional but recommended)
Starting Tomcat:
- Windows: Run
bin\startup.bator start the service - Linux/macOS: Run
bin/startup.sh
3. Deploy OpenL Studio
Download OpenL Studio WAR
Download the latest WAR file from openl-tablets.org/downloads.
Deploy to Tomcat
- Copy the WAR file to
<TOMCAT_HOME>\webapps\ - Rename to
webstudio.warif desired (this sets the context path) - Start or restart Tomcat
The WAR will auto-extract to a directory with the same name.
Access Installation Wizard
Navigate to:
http://localhost:8080/webstudio
The installation wizard will guide you through initial setup.
4. Configure Database (Optional)
For multi-user mode, configure an external database.
Supported Databases
- MySQL / MariaDB
- PostgreSQL
- Oracle
- MS SQL Server
- H2 (embedded - suitable for development only)
JDBC Driver Installation
- Download the appropriate JDBC driver for your database
- Copy to
<TOMCAT_HOME>\lib\directory - Restart Tomcat
Common JDBC Drivers:
- MySQL:
mysql-connector-java-8.x.x.jar - PostgreSQL:
postgresql-42.x.x.jar - Oracle:
ojdbc8.jar - MS SQL Server:
mssql-jdbc-x.x.x.jre11.jar
Database Connection Configuration
During the installation wizard, provide:
- Database URL (e.g.,
jdbc:mysql://localhost:3306/openl) - Username
- Password
- Driver class name
5. Complete Installation Wizard
The installation wizard guides you through:
Step 1: User Mode Selection
Choose one of the following modes:
- Single-User: Local development, no authentication
- Multi-User: Database-backed, with user management
- Active Directory: Enterprise directory-based authentication (AD/LDAP)
- SSO: SAML: Single Sign-On via a SAML 2.0 identity provider
- SSO: OIDC (OAuth2): Single Sign-On via an OAuth2/OIDC identity provider
Step 2: Repository Configuration
Select repository type for storing rules:
- JDBC: Database storage (recommended for multi-user)
- Git: Version control integration
- AWS S3: Cloud storage
- File System: Local or network drive (single-user)
- JNDI: Enterprise datasource
Step 3: User Credentials
For multi-user mode, set up the administrator account:
- Admin username
- Admin password
- Email (optional)
Step 4: Finish
Review settings and complete installation.