Setting Up the wccLoginManagedHub Application

Procedure

  1. Add the Workspace framework files to the web server path.

    For example, assuming Tomcat as the web server, copy the following files and directories:

       - StudioHome\wcc\ver\brand.xml
       - StudioHome\wcc\ver\close.html
       - StudioHome\wcc\ver\externalform.htm
       - StudioHome\wcc\ver\jsx3.gui.window.html
       - StudioHome\wcc\ver\logger.xml
       - StudioHome\wcc\ver\addins\
       - StudioHome\wcc\ver\dojo-toolkit\
       - StudioHome\wcc\ver\JSX\
       - StudioHome\wcc\ver\JSXAPPS\

    ... to the following directory:

       - TomcatHome\webapps\wccLoginManagedHub\

    where:

    • StudioHome is the directory in which TIBCO Business Studio was installed.
    • ver is the version number of Workspace that was installed with TIBCO Business Studio.
    • TomcatHome is the Tomcat installation directory.
  2. Copy the root HTML files needed by the sample application.

    Copy these files:

       - StudioHome\wcc\ver\samples\wccLoginManagedHub\IframeContainerTest.html
       - StudioHome\wcc\ver\samples\wccLoginManagedHub\simpleEventViewer.html
       - StudioHome\wcc\ver\samples\wccLoginManagedHub\simpleLogin.html
       - StudioHome\wcc\ver\samples\wccLoginManagedHub\simpleOrgBrowser.html

    ... to the following directory:

       - TomcatHome\webapps\wccLoginManagedHub\
  3. Copy application directories for the sample application.

    Copy these directories:

       - StudioHome\wcc\ver\samples\wccLoginManagedHub\JSXAPPS\simpleEventViewer\
       - StudioHome\wcc\ver\samples\wccLoginManagedHub\JSXAPPS\simpleLogin\
       - StudioHome\wcc\ver\samples\wccLoginManagedHub\JSXAPPS\simpleOrgBrowser\

    ... to the following directory:

       - TomcatHome\webapps\wccLoginManagedHub\JSXAPPS\
  4. Configure the baseUrl for the Action Processor in the sample application’s configuration files:
    1. Open the config.xml file in the following directories:
         - TomcatHome\webapps\wccLoginManagedHub\JSXAPPS\simpleEventViewer\
         - TomcatHome\webapps\wccLoginManagedHub\JSXAPPS\simpleLogin\
         - TomcatHome\webapps\wccLoginManagedHub\JSXAPPS\simpleOrgBrowser\
    2. Locate the Action Processor record and set the baseUrl attribute to point to the location of your Action Processor. The string in the baseUrl attribute must be in the form:
            http://Host:Port/bpm/actionprocessor/actionprocessor.servlet

      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.

      Note - The weighting attribute is not used at this time.

      For example:

Result

<record jsxid="ActionProcessors" type="workspace">
    <ActionProcessor
       weighting="100"
       baseUrl="http://Austin:8080/bpm/actionprocessor/actionprocessor.servlet">
    </ActionProcessor>
</record>