EducationSoftwareStrategy.com
StrategyCommunity

Knowledge Base

Product

Community

Knowledge Base

TopicsBrowse ArticlesDeveloper Zone

Product

Download SoftwareProduct DocumentationSecurity Hub

Education

Tutorial VideosSolution GalleryEducation courses

Community

GuidelinesGrandmastersEvents
x_social-icon_white.svglinkedin_social-icon_white.svg
Strategy logoCommunity

© Strategy Inc. All Rights Reserved.

LegalTerms of UsePrivacy Policy
  1. Home
  2. Topics

KB38435: How to setup SAP BW connectivity with MicroStrategy Intelligence Server 9.4.x - 10.x running on Windows, using JCo 3.x connectors.


Community Admin

• Strategy


This technical note lists the steps to set up connectivity to an SAP BW datasource, using JCO 3.x connectors.

Pre-requisites for SAP BW connectivity
Strategy does not enforce the use of particular version of connector files. SAP BW certifies which connector files are supported for each SAP BW Server version.
If users wish to use JCo 3.x connector files, the following jar and dll files should be available on the Strategy Intelligence Server 9.0.2 - 9.4.x. machine:

  • sapjco3.JAR
  • sapjco3.DLL
  • librfc32.dll

These files are not distributed by Strategy and should be obtained directly from SAP.
For Strategy Intelligence Server running on 64-bit operating systems, the connector libraries should be 64-bit.
For Strategy Intelligence Server running on 32-bit operating systems, the connector libraries should be 32-bit.
 
The SAP JCo 3.x connector files have a dependency on the Microsoft Visual C++ 2005 Service Pack 1 redistributable component. The installation of the Strategy 9.x - 10.x suite also includes this component, so it would not be necessary to install it manually.
 
Note:

  • If SAP BI systems are to be accessed using a two-tier project source in Strategy Developer 9.4.x - 10.x the SAP libraries must be installed on the Developer machines as well.
  • If Strategy Developer 9.4.x - 10.x. is running on Windows 64-bit operating system, the connector libraries should be 32-bit and not 64-bit.

Strategy uses an additional Java executable, JCO.jar, as the bridge between the Strategy database connection process and SAP's Java Connector. JCO.jar is installed as part of the normal Strategy installation under Program Files\Common Files\Strategy or Program Files(x86)\Common Files\Strategy.
Configuration of the Strategy system environment
1. Make sure that the location to JCO.jar in the Windows registry is correct. This is set by the installer (depending on the install path chosen) and is not necessary for users to modify it. The 'Common Class Path' entry has paths to additional jar files. Users should not modify these paths/entries and it is sufficient to ensure that the correct path to JCO.jar is seen here.
On Windows 64-bit operating systems, the path to JCO.jar is specified in the following location:
 
Sample Code/Error
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\MicroStrategy\JNI Bridge\Config for DataServices
Common ClassPath= C:\Program Files (x86)\Common Files\MicroStrategy\jco.jar
   
On Windows 32-bit operating systems, the path to JCO.jar is specified in the following location:
 
HKEY_LOCAL_MACHINE\SOFTWARE\MicroStrategy\JNI Bridge\Config for DataServices
Common ClassPath= C:\Program Files\Common Files\MicroStrategy\JCO.jar
 
 2. Make sure that the path to the jvm is specified correctly in the Windows registry. This path is also specified in the registry during installation.
 
For Windows 64-bit operating systems, the following location is used:
 
Sample Code/Error
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\MicroStrategy\JNI Bridge\Config for DataServices\64-bit JVM
JavaVM Path= C:\Program Files (x86)\Common Files\MicroStrategy\JRE\160_07\Win64\bin\server\jvm.dll
 
 

ka04W000000OhjdQAC_0EM440000002DTU.jpeg

 
For Windows 32-bit operating systems, the following location is used:
 
Sample Code/Error
HKEY_LOCAL_MACHINE\SOFTWARE\MicroStrategy\JNI Bridge\Config for DataServices\32-bit JVM
JavaVM Path= C:\Program Files\Common Files\Strategy \JRE\jre1.6.0_07\ bin\client\jvm.dll  
 
Note: Normally there should be no need to modify this path; however, if the system administrator prefers to use another JVM version, the location may be configured here.
 
3. Set the HeapMaxSize.
 
For Windows 64-bit operating systems, set the value to 1200M in the following Windows registry location:
 
Sample Code/Error
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\MicroStrategy\JNI Bridge\Config for DataServices\64-bit JVM
HeapMaxSize=1200M
 

ka04W000000OhjdQAC_0EM440000002DTN.jpeg

 
For Windows 32-bit operating systems, set the value to 600M in the following Windows registry location:
 
Sample Code/Error
HKEY_LOCAL_MACHINE\SOFTWARE\MicroStrategy\JNI Bridge\Config for DataServices\32-bit JVM
HeapMaxSize=600M
 
4. Specify the JCo 3.x classpath.
 
For Windows 64-bit operating systems, the following Windows registry location is used:
 
Sample Code/Error
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\MicroStrategy\JNI Bridge\Config for DataServices\JCO Ver.3
AdditionalClassPath= <location of sapjco3.jar file>\sapjco3.jar
 

ka04W000000OhjdQAC_0EM440000002DTQ.jpeg

 
 
For Windows 32-bit operating systems, the following Windows registry location is used:
 
Sample Code/Error
HKEY_LOCAL_MACHINE\SOFTWARE\MicroStrategy\JNI Bridge\Config for DataServices\JCO Ver.3
Additional Classpath=C:\Program Files\Common Files\MicroStrategy\sapjco3.jar
 
Database instance configuration for SAP BW
  
This is comparable to the Database Instance definition for SQL databases.

    • Create a new database instance. In the Database Instance editor, set the "Database connection type" to "SAP BW," as shown below. 
       
ka04W000000OhjdQAC_0EM440000002DTP.jpeg
    • Define a new database connection and database login using the connection details specific to the environment. The following is just an example. Use the parameters provided by the SAP system administrator.
       
       
ka04W000000OhjdQAC_0EM440000002DTX.jpeg

 

    • Ensure that the "JCO;" is indicated as an additional string parameter. Strategy Developer should populate the connection string with "JCO;" but it may need to be supplied manually.
       
ka04W000000OhjdQAC_0EM440000002DTO.jpeg

 

  • Set the Strategy Database Instance to use JCo 3.x. In Strategy Intelligence Server 9.2.0 and later, when a new database instance is created for SAP BW, by default, the Java connector version is set to 'Use JCo 3.x' as shown below.
     
    When a new database instance is created for SAP BW, by default, the java connector version is set to use 'JCo 2.x'. Users should manually change this setting to 'Use JCo 3.x' as shown below.
     
ka04W000000OhjdQAC_0EM440000002DTT.jpeg

 
 
 


Comment

0 comments

Details

Knowledge Article

Published:

April 18, 2017

Last Updated:

April 18, 2017