Starting the View Distributor Application
The View Distributor application ican be started locally on your development machine, or it can be started on the runtime node.
- Locally from your development machine - You can run the application locally to test it, or possibly because you don’t want to deploy it to a runtime machine and have it available and accessible by other users.
To run the application locally, ensure that you first specify the baseUrl attribute as described in Configuring the baseUrl. The application can then be started by double clicking on the application’s launch fragment, which is located as follows:
StudioHome\wcc\version\wccViewDistributor.html
Note: Depending on the type and version of browser you use, running from the local file system may violate rules imposed by the browser for cross-domain scripting. For more information, see Cross-Domain Scripting . - From a runtime node - This requires that you deploy the application to a runtime node; it can then be run by pointing a browser at the application’s launch fragment.
Deploying to a runtime node involves first creating a WAR file using the workViewDistributor.create.war.cmd file. Using the WAR file, you can then create an application and DAA using TIBCO Business Studio; the DAA is then uploaded using TIBCO ActiveMatrix Administrator, and deployed to the runtime node. For detailed instructions on how to do this, see Deploying an Application After Customizing.
Once the application is deployed to a runtime node, you can run it by pointing a browser at the application’s launch fragment, as follows:
http://Host:Port/contextRoot/wccViewDistributor.html
where:
- Host is the name or IP address of the machine hosting the BPM runtime.
- Port is the port number used by the ActiveMatrix WebApp Implementation Type to communicate with web applications.
- contextRoot is the root of the deployed application. This is the value that was entered in the contextRoot field when deploying the application—this is described in the deployment instructions in the TIBCO Workspace Configuration and Customization guide.
For example:
http://Liberty:8080/wccViewDistributor/wccViewDistributor.html