Overview
This document describes common O&M scenarios for FineReport projects deployed on the JBoss middleware.
Modifying the Project Port
Application Scenario:
The default port for projects deployed on JBoss is 8080. You want to change it to a different port.
Multiple projects deployed on the same server share a port, causing port conflicts. You need to change the port.
Solution Description:
You can change the port by modifying the standalone.xml file in the path %JBoss_HOME%\standalone\configuration.
Example: changing the port in WildFly 10.1.0
1. Open the standalone.xml file in the path %JBoss_HOME%\standalone\configuration and modify the port number.
2. Save the file and restart WildFly for the setting to take effect.

Modifying Project Memory Settings
Application scenario: When running, a Java application consumes the memory of the web application server, since data such as report query results and intermediate computation results is temporarily held in server memory. If the server runs out of memory, Out of Memory (OOM) errors may occur.
Solution: You can adjust the memory setting of projects by modifying the standalone.conf.bat file in the path %JBoss_HOME%\bin.
Note: You can check the recommended memory configuration in Health Inspection.
Example: modifying memory settings in WildFly 10.1.0
1. Set memory-related parameters to required values in the standalone.conf.bat file in the path %JBoss_HOME%\bin.
2. Save the file and restart WildFly for the setting to take effect.

3. Log in to the decision-making platform as the admin, choose System Management > Intelligent O&M > Load Management, and check the real-time memory usage and see if the change has been applied.
