How to: |
The following components are the prerequisites needed to use the adapter for MongoDB:
The location of the JDK must be specified in an environment variable.
If you are using Linux, add a line to your profile with the location where Java is installed. For example:
export JAVA_HOME=/usr/java/jdk1.7.0_07
Alternatively, add to the server environment. From the Data Management Console or the Web Console, go to the Workspace folder or page. Expand the Configuration Files and Miscellaneous folders. Double-click Environment - edaenv.cfg. Enter, for example
JAVA_HOME=/usr/java/jdk1.7.0_07
If you are using Windows, right-click Computer and select Properties. Then select Advanced System Settings and click Environment Variables. Add the locations to your PATH variable. For example:
C:\Program Files\Java\jdk7\bin\server;C:\Program Files\Java\jdk7\bin;
\UnityJDBC\mongodb_unityjdbc_full.jar \UnityJDBC\unityjdbc.jar
The free version of the UnityJDBC driver is limited to 100 rows after 30 days. The licensed version removes these restrictions.
The location of the driver jar files must be specified to the server. You must extract the jar files to a location on your system and specify their location.
This can be done in the system CLASSPATH or in the DataMigrator or WebFOCUS Reporting Server IBI_CLASSPATH variable as follows:
or
From the Data Management Console, expand the Workspace folder.
The Java Services Configuration page opens.
In the IBI_CLASSPATH box, enter the full location of the jar files shown below. The file names must be entered one per line.
path/unityjdbc.jar
path/mongodb_unityjdbc_full.jar
Note: For a server running on Windows, use Windows syntax for directory names. For example:
directory\unityjdbc.jar
directory\mongodb_unityjdbc_full.jar
WebFOCUS |