commandbox-embedded-server

Automate CommandBox embedded server configuration and lifecycle management.

16|78|Updated Nov 28, 2014
One-click install
npx skills add https://github.com/ortus-docs/coldbox-docs --skill commandbox-embedded-server
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: commandbox-embedded-server
Source: https://github.com/ortus-docs/coldbox-docs/tree/main/.agents/skills/commandbox-embedded-server
Command: npx skills add https://github.com/ortus-docs/coldbox-docs --skill commandbox-embedded-server

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

CommandBox's embedded server often requires manual setup and repeated configuration across projects. This skill provides a structured way to start, stop, and configure the embedded server (including server.json, JVM args, SSL/TLS, and server profiles) so teams can consistently run CFML/BoxLang applications without external web servers.

Core Features & Use Cases

  • Start and stop the embedded server from the project root with consistent behavior.
  • Manage server.json configuration, including JVM args, web bindings, SSL, rewrites, and hosting profiles.
  • Enable multi-site hosting, security rules, basic authentication, and custom error pages for robust development and production deployments.

Quick Start

Use the skill to start the CommandBox embedded server in the current project and verify it is serving requests.

Frequently Asked Questions about commandbox-embedded-server

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure the CommandBox embedded server for a CFML project?

Configure the CommandBox embedded server by defining settings in a server.json file, including JVM arguments, web bindings, and hosting profiles. This persists server configuration across CFML projects, ensuring deterministic server control and consistent lifecycle management without external web servers.

Can I enable SSL/TLS on the CommandBox embedded server?

Yes, you can enable SSL/TLS on the CommandBox embedded server through server.json configuration. The skill manages secure web bindings and SSL certificates, allowing CFML and BoxLang applications to serve HTTPS requests with secure defaults.

What is the best way to run multiple CFML sites on a single CommandBox server?

The best way to run multiple CFML sites is by enabling multi-site hosting in the server.json configuration. The embedded Undertow server supports multi-site hosting alongside custom error pages, rewrites, and basic authentication.

Does the CommandBox embedded server support basic authentication and security rules?

Yes, the CommandBox embedded server supports basic authentication and security rules. These are configured within the server.json schema, providing controlled access and secure defaults for CFML development and production deployments.

How do I pass custom JVM arguments to the CommandBox embedded server?

Pass custom JVM arguments to the CommandBox embedded server by defining them in the server.json file. This allows teams to control memory allocation and system properties consistently when starting the server for CFML projects.

Why use the CommandBox embedded server instead of an external web server for CFML?

Use the CommandBox embedded server to eliminate the need for external web servers in CFML and BoxLang projects. It provides deterministic server control, configuration persistence, and integration with rewrites through a well-defined server.json schema.