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

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

12 Days of BoxLang - Day 12: BoxLang Pionner Program

12 Days of BoxLang - Day 12: BoxLang Pionner Program

Be the first to shape the future of the JVM’s newest language and get a FREE BoxLang Compatibility Audit.

As we close out our 12 Days of BoxLang Christmas, we’re ending with something truly special — something built for early adopters, innovators, and teams who want to modernize confidently as we move into 2026.

Today, we’re excited to officially announce the BoxLang Pioneer Program.

This program is your opportunity to work closely with the BoxLang team, influence the roadmap, test new capabilities early, and prepare your applications for the next generation of JVM development.

Maria Jose Herrera
Maria Jose Herrera
December 23, 2025
Day 11 BoxLang SOAP: Enterprise Integrations Made Simple! 🎄

Day 11 BoxLang SOAP: Enterprise Integrations Made Simple! 🎄

As we head toward 2026, modern platforms still need to speak the language of the enterprise.

And in many organizations, that language is still SOAP.

With BoxLang 1.8.0, SOAP web services are no longer something you “tolerate” — they’re something you can work with fluently, safely, and cleanly.

Today, we’re exploring BoxLang’s native SOAP client, designed to make consuming SOAP 1.1 and SOAP 1.2 services feel natural, modern, and predictable.

Maria Jose Herrera
Maria Jose Herrera
December 22, 2025
12 Days of BoxLang - Day 10 BoxLang Miniserver 🎄

12 Days of BoxLang - Day 10 BoxLang Miniserver 🎄

Day 10: BoxLang MiniServer: Lightning-Fast Web Apps, Simplified

As we head into 2026, speed, simplicity, and flexibility matter more than ever. That’s why today’s ...

Maria Jose Herrera
Maria Jose Herrera
December 20, 2025