Configuration Issues

Incorrect Destination Endpoint Set when Promoting  Dev Change Requests Snapshot (DEF231834)

During the promotion of the Dev Change Requests snapshot, the destination endpoint for DVMUtilServices is set to DevManagerServices instead of DVMUtilServices. This appears on the Mapping page during promotion.  To remedy this, select the endpoint, click Choose Destination Endpoint, and select the endpoint DVMUtilServices.

Error When Deploying Process Apps

If you receive an error in SBM Composer when deploying a process app:

Unexpected exception during DefinitionUtilities.ExportDefinition

It is likely that the process app contains references to another process app that needs to be deployed before it. The process apps need to be deployed in the order specified below:

  1. Global Process App (eval)

  2. Requirements Approval Management (if you are using Requirements Manager)

  3. ALM Projects

  4. Dev Change Requests

  5. Dev Tasks

  6. Dev Package

  7. Dev Control Orchestrations

  8. Products and Components

  9. Quality Center Connector (if you are using HP Quality Center)

  10. RM to RQM Connector (if you are using Requirements Manager)

  11. Release Train (if you are using Release Manager)

  12. Application Release (if you are using Release Manager)

  13. Release Package (if you are using Release Manager)

  14. Deployment (if you are using Release Manager)

  15. Environment (if you are using Release Manager)

  16. ReleaseTemplate (if you are using Release Manager)

  17. RLM_AUX

  18. Vault_Request (if you are using Release Manager)

Missing Endpoints (DEF221077, DEF225893)

There is a problem whereby when you are promoting the Serena ALM snapshots, some of the endpoints are not set up correctly. This means that the default endpoint is not automatically selected when you promote the process apps, and the server name is not set correctly. These endpoints are:

To remedy this:

When promoting each process app:

On the Current Mappings page, if the field under the Destination column is not set to an endpoint:

  1. Select any Source that does not have a Destination Endpoint and click the Choose Destination Endpoint button.

  2. Select the endpoint from the list.

    If the Destination Endpoint has not yet been defined for the selected Source, click Create a new endpoint. You will need to do this for RLMUtilService and ReleaseRequestService.

    To create and select an endpoint:

    1. Name the endpoint.

      TIP Name the new endpoint the same as the Source Endpoint for which it is being created for ease of identification when selecting it as the Destination Endpoint later.

    2. In the URL field, enter the following:

      http://localhost:<tomcat port>/alm/services/<service name>

      where <tomcat port> is the port under which you are running the Serena Common Tomcat Web server.

      This specifies the path to the Web services, which are deployed under the alm/services directory of the common Tomcat Web server.

      Example endpoints with the default port number are shown in the following table.

      Source Destination Endpoint

      RLMUtilService

      http://almhost:8080/alm/services/RLMUtilService

      ReleaseRequestService

      http://almhost:8080/alm/services/ReleaseRequestService

    3. In the Authentication field, select Security Token.

    4. Click Test Connection to test the connection.

    5. Click OK.

    6. Select the Source Endpoint again and click Choose Destination Endpoint. Select the endpoint you just created.

When updating the endpoints:

(For details, see Updating the Endpoints in the Development Manager Installation and Configuration Guide)

From SBM Application Administrator:

  1. Click Environments.

  2. Select the environment you used for the promotions.

  3. Select the Endpoints tab.

  4. Check that the server name portion of the URL for each endpoint is set to localhost or the name of the SBM server. If it is not:

    1. Select the endpoint.

    2. Click the Edit button

    3. Change the server name to localhost, 

    for example, DVMUtilService should be:

    http://localhost:8080/alm/services/DVMUtilService

  5. Click OK.

Deploy the relevant process apps after updating the endpoints.

Parent CR Dev Complete rule invalid (DEF226370)

When Deploying the process apps you may receive an error because some rules with sub-relational field dependencies are not set. There are four rules for which this may occur.

To remedy the problem, you will need to set the undefined rules to the correct value.

  1. In SBM Composer, open the Dev Tasks process app.

  2. Under Rules, select Parent Dev CR not Complete.

  3. If the rule is undefined, change it to Parent CR Dev Complete = No.

  4. Repeat this for the three rules in the Dev Packages process app as specified below.

The rules that may need to be set are:

Parent CR Dev Complete = No

Configuration Management System(s) contains any ChangeMan ZMF

AND

Configuration Management System(s) does not contain any Dimensions CM

Configuration Management System(s) contains any Dimensions CM

AND

Configuration Management System(s) does not contain any ChangeMan ZMF

Configuration Management System(s) contains any (none)

OR

Configuration Management System(s) does not contain all
ChangeMan ZMF, Dimensions CM

Continue deploying the process apps after making these changes.

Warnings When Promoting Process Apps

When promoting the process apps, you may see "Unable to create field" warning messages in the promote log. For example:

WARN -- Unable to create field 'alm_Originating Baseline' in table 'Dev Packages' because relational table 'Related Vault Baselines' is not defined.

WARN -- Unable to create field 'Vault Template' in table 'Dev Packages' because relational table 'Vault_Request' is not defined.

Such messages will not affect the success of the promotions or the functioning of Development Manager, and can be ignored.

Error Promoting Global Process Apps when Upgrading an Existing Development Manager Installation (DEF213024)

If you are upgrading a previous installation of Development Manager, you may receive an error in SBM Application Administrator when promoting the Global Process App (eval) process app.

This problem can be overcome by setting the following values on the Global Entities page of the Promote Wizard.

Groups and Users Unassigned from Projects when Upgrading an Existing Development Manager Installation (DEF211637)

When upgrading an existing installation of Development Manager, you may find that some groups and users are unassigned from projects after promoting snapshots.

This problem can be overcome by setting the following values on the Global Entities page of the Promote Wizard.

User Groups Missing for Sample Database on MSSQL (DEF218177)

If you are using MSSQL, the user groups are not present for the sample data. In this case you will need to assign the necessary roles for the users to enable them to use the applications using SBM Administrator. For details, see Creating and Assigning the Users.

New Endpoints Created After Deploying Process Apps (DEF214586)

When you have redeployed the process apps, for example after updating the application links in the Event Mappings as described in the post-installation steps, you may find that duplicate endpoints have been created, such as

dmwebservices_2

DevManagerServices_2

This results in an error in SBM Composer such as:

The Orchestration Engine cannot send the Web service request at service step  CM_Create_Standard_Baseline to the endpoint ...

The solution is to use SBM Application Administrator to perform the deployments.

  1. Open each process app in SBM Composer

  2. Click the Publish button in the toolbar

  3. In the Publish Process App dialog box, select Allow others to deploy this version of the process app and click Publish.

  4. Open SBM Application Administrator by entering http://localhost:8085/mashupmgr/ in a browser.

  5. Select Process Apps on the left.

  6. Select a process app and click the Deploy button

  7. Click in the Destination field.

  8. Select the environment and click Next.

  9. Check that the list of endpoints is correct.

  10. Click Done and complete the deployment.

  11. Repeat Step 6 through Step 10for the other process apps.

The User Interface is not Being Displayed (ENH213101)

The User Interface for Development Manager should have a blue and grey color scheme when you log in using the URL:

http://<hostname>/tmtrack/tmtrack.dll?shell=alm

If the correct User Interface is not being displayed you will need to perform the following steps:

  1. Open the zip file \Solutions\Development Control\com.serena.dvm.shell.zip, in the Serena installation folder, for example:

    C:\Program Files\Serena\Solutions\Development Control
    \com.serena.dvm.sbm.shell.zip

  2. Extract the bin and template folders to the Application Engine folder, for example:

    C:\Program Files\Serena\SBM\Application Engine

    Click Yes to all to overwrite the files

  3. Perform the steps described in Installing the UI Files

  4. Open the Development Manager application by entering:

    http://<hostname>/tmtrack/tmtrack.dll?shell=alm

    In a Web browser

  5. If the stylesheet is not refreshing you may need to refresh them manually:

    1. Right click on the browser window, and select View Page Source

    2. Click on the link for the stylesheet.

      This will open the .css file from the cache.

    3. In the stylesheet window, select View | Reload or press F5.

    4. Close and reopen Development Manager.

Put Files into Database not Functioning Correctly (DEF221461)

You may experience a problem whereby having installed the ALM Suites and performed the action File | Put Files into Database using SBM System Administrator, and then made changes to the shell files and performed Put Files into Database again, that old versions of the files are still present in SBM. This means that you will need to replace the files again and repeat the Put Files into Database action.

This problem can be avoided by performing File | Get Files From Database in SBM System Administrator before running the ALM Suite installer.

There is an Access Denied failure when Attempting to Create an Item

If a process is attempting to create an item, and there is an error, for example "[ERROR] Access Denied," in the log, and the item is not created, then it is likely that you do not have access privileges for the connector user. Carry out the following steps:

  1. Open the SBM System Administrator.

  2. Select users.

  3. Select the connector user (for example DMSYS) and click Edit.

  4. Select the Administration tab.

  5. Select Global Administration and click OK.

The REST Grids are not Returning Values

Check whether:

  1. The Development Manager web services is running.

  2. You have configured the Development Manager web services correctly.

  3. If SSO is enabled, ensure that the user you are using in SBM also exists in Dimensions CM.

  4. Make sure the SBM services JBOSS and IIS have been restarted, using SBM configurator for example.

TASK requests are not Being created in CM When Creating Dev Tasks

  1. Deploy the Dev Control Orchestrations process app.

  2. Restart the server.

If this does not work, check whether you are using the connector account (for example dmsys). You should not be using the connector account to create items in SBM, it is reserved for connecting only.

A Baseline Cannot be Created from a Dev Package

If when trying to create a baseline from a dev package, no baseline gets created in Dimensions CM, and the following appears in the Windows Event Viewer:

Error occurred in file:

'.\WSInvoker.cpp', line 1287.

Error mapping data with field 'Baseline Build Configuration'

you can resolve the event viewer error by unlocking the event definition.

Do the following:

  1. In SBM Composer open the Dev Packages application.

  2. Show Extensions.

  3. Expand Orchestration Links.

  4. Click on Event without Reply.

  5. Check the item out.

    Ensure that Lock definition (on the right-hand side) is not checked.

  6. Check in the item and re-deploy.

The Dev Control Orchestrations Process Application Doesn't Handle Events from the Dev Tasks Process Application

You need to recreate ChangeTaskworkflowEventDefinition:

  1. In SBM Composer, Open the Dev Tasks process application.

  2. Under Orchestration Links, select Event without Reply.

  3. Uncheck Lock definition.

  4. Click Export to file… , type the file name and export the Orchestration link to a file.

  5. Click Yes to automatically lock the definition

  6. Check in the item and re-deploy.

The Dev Control Orchestrations Process Application Doesn't Handle Events from the ALM Projects Process Application

In this case, you need to recreate

DevelopmentControlChangeRequestWorkflowEventDefinition.

  1. In SBM Composer, open the ALM Projects process application.

  2. Select Orchestration Links. Links can be exported from here.

  3. Select the Event without Reply orchestration link.

  4. Uncheck Lock definition.

  5. Click Export to file… , type the file name and export the Orchestration link to a file.

  6. Check in the item and re-deploy.

The Dev Control Orchestrations Process Application Doesn't Handle Events from the Dev Packages Process Application

You need to recreate DVMBaselineEventDefinition.

  1. In SBM Composer, open the ALM Projects process application.

  2. Select Orchestration Links. Links can be exported from here.

  3. Select the Event without reply orchestration link.

  4. Uncheck Lock definition.

  5. Click Export to file… , type the file name and export the Orchestration link to a file.

  6. Check in the item and re-deploy.