This section will guide administrators through the process of installing a MediaBeacon webhead on Mac OS X. MediaBeacon supports OS X 10.8 – 10.9.
To follow these instructions, install the core MediaBeacon application and download the matching webhead .war file.
- Install Java 8, which is required to run MediaBeacon 8.0. Download it from: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
Download and install Tomcat 8.0. Files and documentation are available here: http://tomcat.apache.org/
Once Tomcat is installed, adjust the maximum heap size for Tomcat’s JVM to at least 1024 MB. For higher loads, more memory may be required. Contact MediaBeacon Support with any questions. To adjust memory allocation, edit bin/catalina.sh in the Tomcat installation location and put this near the top (after the #!/bin/sh line): JAVA_OPTS=”$JAVA_OPTS -Xmx1024M”
- If using MySQL, locate the MySQL connector in the MediaBeacon application bundle. This file will be available after MediaBeacon has connected to MySQL for the first time: /Applications/MediaBeacon.app/Contents/Resources/Java/mysql-connector-java-5.1.34-bin.jar Copy it to the Tomcat library: /usr/local/tomcat/lib
(Assumed Tomcat install location: /usr/local/tomcat – your location might vary.)
- Rename the .war file to match the URL that should be used for accessing the webhead. For example, webhead.war will be accessed at http://localhost:8080/webhead
- Copy the renamed .war file to: /usr/local/tomcat/webapps
- MediaBeacon 8.x will not accept connections from external applications unless they are explicitly whitelisted on the main server. To allow a connection from the webapp:
- Go to the “Enterprise” tab on the main MediaBeacon server and click “Applications.”
- Click “Add” and manually enter the IP address for the webapp. Alternatively, click “Discover External Applications.” This will open a temporary 2-minute window during which remote applications are allowed to connect to MediaBeacon, automatically adding them to the whitelist.
- Click “OK.”
- Launch Tomcat.
- Navigate to http://localhost:8080/webhead in a web browser (or whatever URL is appropriate, based on the name of the .war file). The browser will be redirected to remote_config.jsp for a first-time setup. There shouldn’t be any red icons in the Configuration Checker area. Enter the following information:
- Host: Enter the IP address of the core MediaBeacon server relative to the webhead server. If they’re both running on the same machine, localhost is fine.
- Port: Use 44444, unless the value for the SOA port was changed on the “Enterprise” tab of the MediaBeacon R3volution server-side GUI application (highlighted in the screenshot below).
- Password: The password is set via the “Change Remote Password” button on the “Enterprise” tab of the MediaBeacon R3volution server-side GUI application.
- After entering the Host, Port, and Password, click “OK.” A “Continue” button will display if the webhead was able to connect to the main MediaBeacon server.
- Click “Continue” to proceed to the MediaBeacon login screen. The webhead is now available for use.