Unable to start StarTeam or CaliberRM VS .Net Integration when either one has already been started within VS .Net

0 Likes

Problem:

Unable to start StarTeam or CaliberRM VS .Net Integration when either one has already been started within VS .Net

Resolution:

Information in this Brief applies to:

  • StarTeam Microsoft SCC 6.0 and CaliberRM 6.x for Visual Studio .Net
  • Microsoft Visual Studio .Net 2002 & 2003

Overview

After you have installed both StarTeam SCC 6.0 Integration and CaliberRM 6.x for Visual Studio .Net, when you try to start either integration (by opening a project from the Source Control or the CaliberRM Requirement Browser) after the other one is already started within Visual Studio .Net, an error occurs.This error prevents a user from using both integrations at the same time within VS .Net.

Details

Scenario 1

1) Start VS.Net
2) Open a project from Source Control by selecting File | Source Control | Open From Source Control...
3) Go to View | CaliberRM Requirement Browser, enter login information and click .

Expect: CaliberRM Requirement Browser opens its project window.
Actual: A dialog box appears with an error message "An error occurred while loading the projects and baselines: java.lang.UnsatisfiedLinkError: no jvb in java.library.path Press OK to return to the login screen."

Scenario 2:

1) Start VS.Net
2) Go to View | CaliberRM Requirement Browser, enter login information and click .
3) Open a project from Source Control by selecting File | Source Control | Open From Source Control...

Expect: Open Existing Project dialog box appears with configuration listing.
Actual: A dialog box appears with an error message "java.lang.ExceptionInInitializerError. StarTeam cannot read "GetServerListDefaultPath" file data from the server."

OR

"The StarTeam SDK is not properly installed on this machine.This integration requires the version 6.0 of the StarTeam SDK.If the StarTeam SDK is installed you must first uninstall it.Then reinstall this integration."

This problem is caused by a misspelled environment variable and outdated references to the StarTeam SDK folder in the SDKApp.ini file which is created by the CaliberRM Integration installer.

Solution

Modify SDKApp.ini in the x:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE folder as follow:
Replace libarypath with librarypath.
Replace references to x:\Program Files\Starbase\StarGate SDK\Lib with x:\Program Files\Borland\StarTeam SDK 6.0\Lib

The file should look something similar to this after the edit:

[Java VM]
Name=Sun1.4.2_03
Classpath =C:\Program Files\Borland\StarTeam SDK 6.0\Lib\starteam60.jar;C:\Program Files\Borland\StarTeam SDK 6.0\Lib\swingall.jar;C:\Program Files\Borland\CaliberRM SDK 6.0\lib\CaliberRMSDK4COM60.jar;
Librarypath =C:\Program Files\Borland\StarTeam SDK 6.0\Lib;C:\Program Files\Borland\CaliberRM SDK 6.0\lib;

Save the file and restart Visual Studio .Net.

Old KB# 28517
Comment List
Related
Recommended