I am trying to upload code to Code Collaborator via the GUI. When I enter the server url, username and password and select ClearCase as the SCM, I get the following error: Error: rational cm api for clearcase remote client not found. Has anyone encountered this before? What have you done to solve this?
URL means that you are communicating with a CCRC server (a ClearCase Remote Client server) in order to review code stored in ClearCase.
The CodeCollaborator (v7.0.7027) user guide does mention:
Support for ClearCase Remote Client (CCRC)
CodeCollaborator integration with CCRC uses the Rational Change Management Server API.
When running the CodeCollaborator client installer, there is an edit field allowing you to
select the location of the Rational CM API jar files on your system. The required files are:
remote_core.jar
stpcc.jar
stpcmmn.jar
stpwvcm.jar
These files are installed by the ClearCase Remote Client under the Rational Shared
Resource Directory.
The directory should look similar to one of the following:
C:\Program Files\IBM\IMShared\plugins\com.ibm.rational.teamapi_7.1.2.v201105310712
# or
/opt/eclipse/plugins/com.ibm.rational.teamapi_7.1.2.v201105310712
Find the location of the files on your system and select or enter it during install so the CodeCollaborator installer can make them available to the CodeCollaborator client.
The installer will copy them to the following subdirectory under the CodeCollaborator client installation directory:
ui/plugins/com.smartbear.collaborator_7.0.xxxx/libs
If using the RPM installer, you will have to manually copy these files to the correct
subdirectory.
So make sure you have those files present on the system, and copied on the CodeBear client installation directory.
Related
I need to connect to a remote database (Oracle) using a MS SQL Server (2019) linked server. What I did so far:
Installed Oracle Instant Client x64 and the ODBC drivers on the machine where the SQL server is running
Created a symlink to the central TNSNAMES.ORA (on a file share in the network) inside the Oracle Instant client folder.
Set the necessary environment variables
Created an ODBC connection to the database on the Oracle server on this machine
Restarted MS SQL Server
Created a linked server (Microsoft OLEDB Provider for ODBC Drivers) in the SQL instance
When connecting to the SQL Server using sqlcmd on this machine (I did not install SSMS there), I can query the linked database using OPENQUERY(). I can also read the file TNSNAMES.ORA using this command (note, the given file is the symlink, but it displays the contents of the linked file, as it should):
SELECT * FROM OPENROWSET(BULK 'C:\InstantClientx64\tnsnames.ora', SINGLE_CLOB) TNSNames
So far, everything is fine.
Now, when I connect to the SQL Server from my workstation using SSMS, i get the following error when trying to read TNSNAMES.ORA using the command above:
Cannot bulk load because the file "C:\InstantClientx64\tnsnames.ora" could not be opened. Operating system error code 5(Access is denied.).
I created a file test.txt in the instant client folder containing something like "Am I allowed to read this?" - and I was, no problems.
I started procmon on the server to find out what happens. When using the above command on the SQL server, I get a REPARSE (because it's a link!), and then SUCCESS, the file is displayed in the sqlcmd console.
When using this command in SSMS (on my local workstation), first appears the REPARSE (OK), then ACCESS DENIED.
In both cases it is the same user account which is displayed as "Impersonating" in the procmon's details. There is definitely no problem with a firewall, and the read permissions on the tnsnames.ora file on the network share are granted for Everyone. I am also able to create an ODBC item on the local workstation, and can connect and query the database from here.
I have done this in the past I don't know how often, and never had problems. What am I missing?
Why are you trying to read the tnsnames.ora file via SQL? The Oracle libraries will (should) internally open it and use it when your app connects to the DB.
The default location for network config files is shown in the Instant Client installation doc. In your case it will be C:\InstantClientx64\network\admin. Unless you have set the TNS_ADMIN variable, then start by creating this subdirectory and putting tnsnames.ora in it.
(A future version of Instant Client on Windows will create the network\admin subdirectory automatically, similar to the way it is created with the Linux Instant Client packages).
I am trying to download AdventureWorks2012.mdf. The link I am using is (https://github.com/Microsoft/sql-server-samples/releases). I then select the first option "adventure-works-2012-dw-data-file.mdf".
The link seems to download, but then when I go to open it I get an error:
This file does not have a program associated with it for performing this action. Please install a program or, if one is already installed, create an association in the Default Programs control panel
I have a macbook air and I have installed Microsoft by way of a virtual machine. Given all of this information, how am I supposed to resolve this issue so I can get the file to download? I already have SQL Server 2012 installed on my Microsoft.
I am trying to connect to SQL Server from play framework where my SQL Server is hosted on a different machine with Windows authentication enabled. I'm not sure how that can be done in play. I am new to the play work.
This is what I configured in my application.config:
db.default.driver=com.microsoft.sqlserver.jdbc.SQLServerDriver
db.default.url="jdbc:sqlserver://hostname"
db.default.trusted_connection="yes"
db.default.user="hari"
db.default.password="MyPassword"
db.default.host = "hostname"
db.default.logStatements=true
Any help on is appreciated.
There is nothing related to play frame work here , your need to have sqljdbc_auth dll file under your system32 folder and enable integrated security as true.
keep sqljdbc_auth.dll in your windows/system32 folder and it will work.Download sqljdbc driver from this link Unzip it and you will find sqljdbc_auth.dll.Now keep the sqljdbc_auth.dll inside system32 folder and run your program
along with the above changes I modified my application.config as follows
db.default.driver=com.microsoft.sqlserver.jdbc.SQLServerDriver
db.default.url="jdbc:sqlserver://hostname;databaseName=test;integratedSecurity=true"
db.default.trusted_connection="yes"
db.default.host = "hostname"
db.default.logStatements=true
I am working on a migration project, where we are migrating one 32-bit PB12.0 application from Windows 2003 to 2012 server. We have copied all the required files and folders in the new server. Sybase Open Client has been installed and using ISQL we are able to connect to Sybase DB. We have not change anything in the PB12.0 code we just copied the .exe and referenced DLL in the new server.
While executing the job we are getting
DBMS DIR is not supported in your current installation
But if we navigate to the PB folder we can see PBDIR120.DLL is there.
Try to set a path variable to the directory. I had some simmilar issues ( with PB12.6 ) and this helped.
Finally the issue got resolved. The reason of the issue,
Previously, PB12.0 job was using Sybase Open Client OCS_12_5. As part of windows migration, Sybase Open Client is upgraded to OCS_15_0. Because of this there was a conflict between PBDIR120.DLL and the dlls under "OCS_15_0/dll" folder.
If we add the DLLs in the path from "OCS_12_5/dll" folder then the application is working fine.
C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\TF.EXE history C:\TFS\Project /r /noprompt /stopafter:1 /Version:W
will give me machine parse-able details about the current workspace version.
This works great when connected to the Corporate LAN or VPN, but fails when offline.
I know TFPT connections allows the specification of the TFS connection to be offline, but the above operation still fails.
Is there a method from command line (so to be automated) to get this detail when offline?
Doing any operation within the context of the VS IDE is not usable.
This is impossible. The history command return the information of Changeset. It's stored in the TFS DATA tier.
When you are offline, you can’t connect to TFS sever through any tools or commands. Obviously, you can’t get it on the local computer either.