> For the complete documentation index, see [llms.txt](https://docs.octoxlabs.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.octoxlabs.com/adapters/o/oracle-weblogic-server.md).

# Oracle Weblogic Server

The adapter does not call WebLogic itself. It reads a view in an Oracle database that you fill with your WebLogic server inventory, and turns each row into a device.

## Use cases

* List devices that come from the WebLogic view.

```
Adapters = oracle-weblogic-server
```

## Before you begin

### Network

| Source              | Destination              | Port                | Protocol         |
| ------------------- | ------------------------ | ------------------- | ---------------- |
| OctoXLabs connector | Oracle database listener | 1521 (configurable) | Oracle Net (TCP) |

### Required permissions

| Scope or role | Permission            | Needed for          |
| ------------- | --------------------- | ------------------- |
| Database user | Read, Select and List | The configured view |

## Create credentials in Oracle Weblogic Server

{% stepper %}
{% step %}

### Create a database user

Create a user for OctoXLabs on the Oracle database and grant it Read, Select and List privileges on the view.
{% endstep %}

{% step %}

### Prepare the view

OctoXLabs needs a view. The column that holds the hostname must be named `Hostname`. Name other columns with OctoXLabs field names to map them automatically.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter           | Required | Type    | Default | Description                                   |
| ------------------- | -------- | ------- | ------- | --------------------------------------------- |
| IP                  | Yes      | String  |         | IP address of the host.                       |
| Port                | No       | Integer | 1521    | Listener port.                                |
| SID or Service Name | No       | String  | protect | SID or service name of the Oracle database.   |
| Username            | Yes      | String  |         | Database user.                                |
| Password            | Yes      | String  |         | Password of the user.                         |
| View Name           | Yes      | String  |         | View to query.                                |
| Use Service Name    | No       | Boolean | False   | Connect with a service name instead of a SID. |

## Troubleshooting

| Error message | Cause | Fix |
| ------------- | ----- | --- |

## Change history

{% hint style="info" %}
Available starting from version 4.5.0.
{% endhint %}
