Blog

12 Days of BoxLang - Day 2: CommandBox

Maria Jose Herrera December 11, 2025

Spread the word

Maria Jose Herrera

December 11, 2025

Spread the word


Share your thoughts

12 Days of BoxLang – Day 2 🎄

BoxLang + CommandBox: The Enterprise Engine Behind Your Deployments

For Day 2 of our 12 Days of Christmas series, we’re diving into one of the most powerful parts of the BoxLang ecosystem: CommandBox the defacto enterprise servlet deployment platform for BoxLang.

If BoxLang is the language powering your applications, CommandBox is the engine room behind it all. ⚙️


🚀 CommandBox + BoxLang: The Ultimate Deployment Stack

CommandBox is a standalone, native CLI and embedded server for Windows, macOS, and Linux. It brings developer productivity, package management, application scaffolding, and a robust JEE server-all in one simple tool.

BoxLang runs beautifully on multiple runtimes (JVM, web, desktop), but when it comes to enterprise servlet deployment, CommandBox leads the way.

It provides a specialized servlet runtime built specifically for BoxLang, making it the ideal option for:

  • High-traffic applications
  • Mission-critical systems
  • Enterprise-grade scalability
  • Secure production environments

And of course… it includes the iconic ASCII art. 😉


🏢 Enterprise Features with BoxLang Subscriptions

With BoxLang+ and BoxLang++, you automatically unlock CommandBox PRO, giving you access to advanced enterprise capabilities:

  • 🏠 Multi-site Support – Host several apps on one CommandBox instance
  • 🔐 Multi-SSL & SNI – Fully managed SSL certificates
  • ⚙️ OS Service Manager – Run CommandBox as a system service
  • 🛡️ CAC Authentication – Enterprise-level security integration
  • ☕ JDK Management – Built-in Java version handling
  • 📊 Advanced Monitoring & Metrics
  • 🔧 Professional Support – Direct from Ortus engineers

If you’re running BoxLang in Enterprise environments, these tools are game-changing.


🐳 Docker-Ready Deployment

CommandBox also ships with official Docker images, ready for cloud-native workflows:

# Pull the official CommandBox Docker image
docker pull ortussolutions/commandbox

# Run a BoxLang server
docker run -d \
  -p 8080:8080 \
  -v /path/to/your/app:/app \
  ortussolutions/commandbox

Perfect for Kubernetes, Docker Swarm, ECS, Nomad, or any container platform.


📦 Installing BoxLang Support in CommandBox

Until CommandBox 6.1+ ships with BoxLang built-in, simply install the module:

install commandbox-boxlang

This adds all required handlers and file type support.


🚀 Starting a BoxLang Server

Once installed, starting a server is beautifully simple:

server start cfengine=boxlang javaVersion=openjdk21_jdk

Additional options for enterprise environments:

# JVM tuning
server start cfengine=boxlang --jvmArgs="-Xmx2g -Xms1g"

# SSL
server start cfengine=boxlang port=8443 SSL=true

# Debug mode
server start cfengine=boxlang --debug

# Production
server start cfengine=boxlang profile=production

📂 Server Home & Module Management

CommandBox automatically manages BoxLang server homes.

You can easily install modules:

install bx-mysql,bx-derby
install bx-mail@1.0.0
install github:ortus-boxlang/bx-elasticsearch

Everything goes where it should—no manual setup needed.


⚙️ Enterprise server.json

Here’s a clean, portable example:

{
  "name": "MyBoxLang-Server",
  "app": {
    "cfengine": "boxlang",
    "serverHomeDirectory": ".boxlang"
  },
  "web": {
    "rewrites": { "enable": true }
  },
  "jvm": {
    "heapSize": "2048m"
  },
  "scripts": {
    "onServerInitialInstall": "install bx-mail,bx-mysql,bx-derby,bx-compat-cfml"
  }
}

And a production-hardened version:

{
  "name": "BoxLang-Production-Server",
  "app": {
    "cfengine": "boxlang",
    "serverHomeDirectory": "/opt/boxlang-server"
  },
  "web": {
    "host": "0.0.0.0",
    "SSL": {
      "enable": true,
      "port": 8443,
      "certFile": "/etc/ssl/server.crt",
      "keyFile": "/etc/ssl/server.key"
    }
  },
  "jvm": {
    "heapSize": "4096m"
  }
}


🔧 Debugging BoxLang in CommandBox

Enable debug mode through:

server start --debug

Or in server.json:

"env": { "BOXLANG_DEBUG": true }

Or via .env:

BOXLANG_DEBUG=true

Or via .cfconfig.json:

{ "debuggingEnabled": true }

You choose your workflow.


📚 Resources

  • Official CommandBox Runtime: GitHub (boxlang-servlet)
  • CommandBox Docker Hub
  • BoxLang Plans (BoxLang+ and BoxLang++)
  • Standalone CommandBox PRO

🎁 Day 2 Wrap-Up

CommandBox + BoxLang is more than a deployment stack — it’s an enterprise-grade runtime ecosystem.

From CLI productivity to containerization, SSL, monitoring, and professional support, CommandBox is the most powerful and flexible way to run BoxLang in production.

Stay tuned for Day 3 of our 12 Days of Christmas Series! 🎄✨


Want to Join the BoxLang Modern World?

Become a Pioneer

BoxLang is growing fast features are expanding, the ecosystem is thriving, and performance is turning heads. But the most exciting part? You can be part of shaping it from the very beginning.

The Pioneer Program is your gateway to early access, unmatched support, and unbeatable value. Here’s what you get:

  1. Everything in BoxLang+, and more:
    • Professional support to get you running smoothly
    • A dedicated Slack channel for direct access to our team, solve issues in seconds
    • Priority handling for your feature requests and bug fixes
  2. Migration done with you, not just for you:
    • Our engineers work alongside your team to migrate your apps end-to-end
    • Guaranteed compatibility, we won’t stop until it works perfectly
  3. Big savings, no hidden tricks:
    • At least 40% off your current licensing costs, locked in early, no surprise charges as you grow

Request more Info


Still Not Convinced?

If you’re unsure how BoxLang will work with your applications, or whether it can truly make a difference, we’ve made it easy to see the value for yourself, risk-free:

  1. Free 30-Minute Consultation & App Diagnosis

    We’ll review your applications, identify bottlenecks, and give you a clear modernization plan. You’ll see exactly where you can save time, reduce costs, and unlock new possibilities with BoxLang.

  2. 1-Year Free Non-Production License

    Test-drive BoxLang Premium features in your own environment, no rush, no pressure. Explore advanced capabilities, experiment freely, and experience the benefits firsthand before making any commitments.

Contact Us


Join the BoxLang Community

Stay connected with the latest updates, BoxLang announcements, Into the Box 2026 news, tutorials, tools, and more.

Subscribe to our newsletter for exclusive updates and early access.

Follow Us

Add Your Comment

Recent Entries

Coming Soon:  Version 4 Docker CommandBox Images with Enhanced Performance

Coming Soon: Version 4 Docker CommandBox Images with Enhanced Performance

CommandBox Docker images were the first CFML docker images and have nearly 2 million pulls, since their inception, to date. It's been a source of pride at Ortus that these images have been the most popular and reliable way to run CFML in containers and we are so very pleased to announce the next evolution, which will be the v4 images which run entirely on the BoxLang CLI and represent a significant overhaul of the image architecture.

These images are now available to test by appending -snapshot to your existing version tags and wil be released as stable, once CommandBox v6 emerges from release candidate status and is published as stable.

Jon Clausen
Jon Clausen
October 30, 2026
Free observability with BxMCP: give your AI agents eyes inside a live BoxLang runtime

Free observability with BxMCP: give your AI agents eyes inside a live BoxLang runtime

Ortus Solutions today announces that bx-mcp, the Model Context Protocol (MCP) server for BoxLang, is now free for everyone. Install it, point any MCP capable client at it, and your AI coding assistant, IDE agent or automation pipeline can inspect and operate a live BoxLang runtime: JVM, caches, datasources, slow requests, schedulers, logs and more. No BoxLang+ subscription required.

Luis Majano
Luis Majano
October 29, 2026
Inherited a CFML Application With Few Tests? Here’s Where to Start!

Inherited a CFML Application With Few Tests? Here’s Where to Start!

You need to change an application that has been running for years.

It might be a ColdFusion customer portal, a Lucee application supporting internal operations, or a CFML system your team is preparing to modernize. People depend on it, but some of its behavior lives in old tickets, scattered documentation, and the memory of whoever has supported it longest.

Now a release is approaching. You know more testing would help. The difficult part is deciding where to begin without putting every other priority on hold.

Start with one important workflow and build evidence around what it needs to do.

Explore Ortus Quality Assurance Services

Maria Jose Herrera
Maria Jose Herrera
October 27, 2026