Configuring the baseUrl
The baseUrl needs to be configured if you are going to run the View Distributor application locally on your development machine. The baseUrl is the URL that points to the Action Processor to which the application will connect at runtime.
Note that when running on an ActiveMatrix BPM node, the application and the Action Processor must be running on the same machine. Therefore, the baseUrl attribute for the ActionProcessors record in the config.xml file is set to an empty string by default:
<record jsxid="ActionProcessors" type="workspace"> <ActionProcessor weighting="100" baseUrl=""> </ActionProcessor> </record>
This causes the URL of the Action Processor to be determined at runtime based on the URL entered in the browser to start the application. So if you are going to deploy the View Distributor application to a runtime node and run it by pointing a browser to the application’s URL, leave the value of the baseUrl attribute an empty string.
In a development/testing environment, however, you will likely be running the application on a local machine. Therefore, you will need to specify the URL to the Action Processor in the baseUrl attribute. To specify the baseUrl: