Start Media Management and Analysis Platform
To start the JBoss application server that hosts the Media Management and Analysis Platform, use the following procedure.
TIP: Before starting, ensure that the JAVA_HOME
environment variable has been set correctly.
To start the Media Management and Analysis Platform
- Create a file named
avalanche.properties
and set the relevant properties to customize the Media Management and Analysis Platform for your environment. An example file is included in the installer in thestandalone\configuration\
folder. -
Run the following command:
-
For Windows:
%JBOSS_BASE_DIR%\bin\standalone.bat -c avalanche.xml -P=avalanche.properties
-
For Unix:
%JBOSS_BASE_DIR%/bin/standalone.sh -c avalanche.xml -P=avalanche.properties
where
%JBOSS_BASE_DIR%
is the directory location where you installed MMAP.and
avalanche.properties
is your properties file. -
Verify MMAP is Running
The JBoss application server can take a few minutes to deploy the app. To check that Media Management and Analysis Platform is running, you can open a Google Chrome browser window, and navigate to http://localhost:8080.
When the application is running, this page displays the Media Management and Analysis Platform Getting Started Guide.
NOTE: MMAP does not run as a service; after verifying that MMAP is running, you must not close the process.
Troubleshooting
This section provides troubleshooting and error code information to help you identify and resolve issues that you may encounter when installing MMAP.
Description
JBoss displays the following error in server.log
when starting up MMAP:
Error occurred during initialization of VM. Could not reserve enough space for object heap
Solution
Modify %JBOSS_BASE_DIR%\bin\standalone.conf.bat
(in Windows) or standalone.conf
(in UNIX) and reduce the Xms
and Xmx
values as follows:
For Windows:
Add the following line to standalone.conf.bat
:
set "JAVA_OPTS=-Xms512M -Xmx512M -XX:MaxPermSize=256M"
For UNIX:
Add the following line to standalone.conf
:
JAVA_OPTS=-Xms512M -Xmx512M -XX:MaxPermSize=256M"
After modifying the file, restart JBoss.
Next Steps
To view the MMAP Getting Started Guide
From a Google Chrome browser window, navigate to http://localhost:8080.
The Media Management and Analysis Platform Getting Started Guide displays in the browser window.
From here, you can explore the REST API calls to manage media sources, create recordings and analytics and play video.
You can also view the MMAP API documentation, follow the instructions to set up a Media Server analysis and recording process and view a live demo with the channel you set up.