Introduction:
In this article we will see how to determine the version of Berkeley Database in Oracle Unified Directory (OUD).
Ways to determine the version:
There are 3 known ways to determine the version.
1) Locate the je-<version>.jar file
In the:
<OUD home>/lib
directory, there is a je-<version>.jar file
For example:
for 11.1.2.3.1 install, under the <OUD home>/lib directory you will find a file named ” je-6.2.12.jar ”
2) Perform an ldapsearch against the OUD instance.
For example:
$ ./ldapsearch -p <ADMIN_PORT> –trustAll –useSSL -D “cn=<DS_ADMIN>” -j <PWD_FILE> -b “cn=userRoot Database Environment,cn=monitor” -s sub “(objectclass=*)” JEVersion
dn: cn=userRoot Database Environment,cn=monitor
JEVersion: 6.2.12
3) Run the start-ds command using the “-s” flag, ie:
<OUD home>/bin/startds -s
This will be the quickest way to determine the db version when needed.
Conclusion:
Using the above three ways we find the version of Berkeley Database in Oracle Unified Directory (OUD).