# Install ONEWEB Application Server

This section describes how to **deploy the ONEWEB Application Server runtime** on WildFly using the **WildFly Management Console**.

The ONEWEB Application Server provides the core runtime services for executing applications, processes, and backend logic. Before deploying the application server, certain configuration values must be prepared in the database.

***

#### Prerequisite: Database Configuration

Before deploying the ONEWEB Application Server, ensure that the following records are configured in the database table:

```
eaf_master.m_metab_constant
```

These values define logging and file upload locations used by the runtime.

| Constant Name       | Constant Value                      | Description                                  |
| ------------------- | ----------------------------------- | -------------------------------------------- |
| `LOG_CONFIG_FRONT`  | `/<oneweb>/common/log4j.properties` | Log4j configuration path for FrontController |
| `LOG_CONFIG_MASTER` | `/<oneweb>/common/log4j.properties` | Log4j configuration path for Master          |
| `UPLOAD_REPOSITORY` | `/<oneweb>/FileServerEAF`           | Upload directory for application files       |
| `UPLOAD_URL`        | `/<oneweb>/FileServerEAF`           | Upload URL for application files             |

> Ensure that the specified directories exist and have appropriate filesystem permissions for the application server.

***

#### Step 1: Access WildFly Management Console

Log in to the **WildFly Management Console** using a web browser.

By default, the console is available at:

```
http://<Application Server IP>:9990
```

Use an administrator account with deployment privileges.

***

#### Step 2: Navigate to the Deployment Panel

1. From the Management Console dashboard, navigate to the **Deployment** panel
2. Click **Add** to deploy a new application archive

The Deployment panel is highlighted in the example below:

<figure><img src="https://2015371994-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMpDjHWFRUtZ5nJcSfVXd%2Fuploads%2F2jMCAeRBQU67zOzVpZVJ%2F0?alt=media" alt=""><figcaption></figcaption></figure>

***

#### Step 3: Upload the Application EAR File

1. Select **Upload new deployment**
2. Click **Next**
3. Choose the ONEWEB Application Server EAR file

The package name follows this format:

```
ONEWEB.AR.x.x.x.x.YYMMDD24HHMM.wildfly.ear
```

Example upload screen:

<figure><img src="https://2015371994-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMpDjHWFRUtZ5nJcSfVXd%2Fuploads%2Ff0217gRxGJAuTC4TfWZD%2F1?alt=media" alt=""><figcaption></figcaption></figure>

After selecting the file, click **Next** to continue.

***

#### Step 4: Enable the Deployment

1. Select **Enable** to activate the application immediately after deployment
2. Click **Finish** to complete the deployment process

<figure><img src="https://2015371994-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMpDjHWFRUtZ5nJcSfVXd%2Fuploads%2FqNArwGZBIpztGMjP1bHf%2F2?alt=media" alt=""><figcaption></figcaption></figure>

Wait until the confirmation message indicates that the application package has been deployed successfully.

***

#### Step 5: Verify Application Deployment

After deployment is complete, verify that the ONEWEB Application Server is accessible.

Open a web browser and navigate to:

```
http://<Application Server IP>:<Port>/FrontWeb
```

A successful response confirms that the ONEWEB Application Server runtime has been deployed correctly.

<figure><img src="https://2015371994-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMpDjHWFRUtZ5nJcSfVXd%2Fuploads%2FtpdFykJYUA6wRdFFlJDv%2F3?alt=media" alt=""><figcaption></figcaption></figure>

***

#### Deployment Result

After completing the above steps:

* ONEWEB Application Server runtime is deployed on WildFly
* Core runtime services are active
* Logging and file upload paths are configured
* The platform is ready to execute ONEWEB applications and processes


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.onewebstack.com/getting-started/platform-configuration/platform-components-overview-and-management/install-oneweb-application-components/install-oneweb-application-server.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
