Blog

12 Days of BoxLang - Day 2: CommandBox

Victor Campos December 11, 2025

Spread the word

Victor Campos

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 deploymentCommandBox 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

<a style="margin-top:20px;" class="btn btn-outline-ortus btn-lg" href="mailto:boxlang@ortussolutions.com">Contact Us


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.

<a style="margin-top:20px;" class="btn btn-outline-ortus btn-lg" href="mailto:boxlang@ortussolutions.com">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

12 Days of BoxLang - Day 1: ColdBox

12 Days of BoxLang - Day 1: ColdBox

ColdBox + BoxLang: The Future of Modern MVC on the JVM Welcome to Day 1 of the 12 Days of BoxLang

To kick off the series, we’re starting with one of the most powerful combinations in the Ortus ecosystem: ColdBox + BoxLang.

ColdBox has been the standard for modern CFML MVC development for over a decade. BoxLang is the next-generation dynamic language built for JVM and beyond. Together, they reshape how developers build web apps, APIs, microservices, CLIs, and soon desktop applications.

Let’s dive into why ColdBox 8 + BoxLang PRIME is a major milestone for the future of modern application development.

Maria Jose Herrera
Maria Jose Herrera
December 10, 2025
 Introducing CBWIRE v5.0!

 Introducing CBWIRE v5.0!

We are thrilled to announce the release of CBWIRE v5.0, the most powerful, stable, and developer-friendly version of CBWIRE ever shipped.

This major upgrade introduces deep BoxLang support, upgraded Livewire v3.6.4 features, enhanced security, improved error handling, performance gains, and long-requested developer experience improvements across the board.

Whether you're building full applications, dashboards, or reactive components inside ColdBox, CBWIRE v5.0 gives you more power with less friction.

Maria Jose Herrera
Maria Jose Herrera
December 10, 2025
Close the Year Strong: Secure Your 2026 CFML Consulting plan or Professional Support at a Special Rate

Close the Year Strong: Secure Your 2026 CFML Consulting plan or Professional Support at a Special Rate

As we approach the end of the year, many engineering teams face the same challenge: unused budget that must be spent before December 31 or a new 2026 budget that should be allocated strategically from the start.

If your organization relies on ColdFusion or Lucee, this is the ideal moment to secure expert support and ensure a stable, high-performing foundation for next year.

To help te...

Cristobal Escobar
Cristobal Escobar
December 10, 2025