There are several ways to determine whether your server has started correctly. Viewing the catalina.log logs may not be sufficient, as the license server logs to its own log files. Follow the steps below to ensure your Reference Implementation has started up properly.
Check your AdobeFlashAccess.log file. This is where the Reference Implementation writes log information. The location of this log file is indicated by your log4j.xml file and can be modified to point to any location you’d like. By default, the log file will be output to the working directory where you’ve run catalina.
Navigate to the following URL:
https:///flashaccess/license/v4<your server:server port>. You should see the text “License Server is setup correctly”.
Another way to test if your server is running correctly is to package a piece of test content, set up a sample video player, and play it. The following procedure describes this process:
Navigate to the \Reference Implementation\Command Line Tools folder. For information on installing the command line tools, see Installing the command line tools.
Create a simple anonymous policy by using the following command:
java -jar libs\AdobePolicyManager.jar new policy_test.pol -x
For more information on creating policies using the Policy Manager, see Command line usage.
encrypt.license.serverurl property in the flashaccesstools.properties file to the URL of the license server (for example,
https:// localhost:8080/). The flashaccesstools.properties file is located under the \Reference Implementation\Command Line Tools folder.
Package a piece of content by using the following command:
java -jar libs\AdobePackager.jar <i class="+ topic ph hi-d="" i "=""> test_input_FLV <i class="+ topic ph hi-d="" i "=""> output_file -p policy_test.pol </i class="+ topic> </i class="+ topic>
Copy the 2 generated files to the Tomcat webapps\ROOT\Content folder.
Reference Implementation\Sample Video Players\Desktop\Flash Player\Release and copy the contents to the Tomcat
Install Flash Player 10.1 or later.
Open the web browser and navigate to the following URL:
Navigate to the following URL, then click the Play button:
If the video fails to play, check if any error codes were written in the logging pane of the Sample Video Player, or in the
AdobeFlashAccess.log file. The location of the
AdobeFlashAccess.log log file is indicated by your log4j.xml file, and can be modified to point to any location you’d like. By default, the log file is written to the working directory where you’ve run catalina.