LSC moving from OpenDS to OpenDJ


Because OpenDS is dead and OpenDJ is the new leading Java directory server, LSC has moved to embed it as sample and test directory server.

To achieve this, it’s was quite simple :

  • Install a OpenDJ 2.4.3 full distribution
  • Upgrade your OpenDS maven dependency to OpenDJ 2.4.4-SNAPSHOT (group, artifact, version and repository changes are required)
  • Add the Maven dependency to com.sleepycat.je-4.1.10 through the Oracle Maven repository (Maven setup)
  • Copy / paste the schema and update subdirectories with the 2.4.3 installed version to your embedded version
  • Check differences between your old config.ldif and the new one – remove the SNMP related if not required (or add dependency)

And that’s it : you will be able to start your freshly installed OpenDJ directory server !

Note : You don’t even need to update your code because the OpenDJ is still based on the OpenDS package names.

Maven depency :

		<dependency>
			<groupId>org.forgerock.opendj</groupId>
			<artifactId>opendj-server</artifactId>
			<version>2.4.4-SNAPSHOT</version>
			<type>jar</type>
			<scope>compile</scope>
			<optional>false</optional>
		</dependency>

And add the ForgeRock snapshot repository :

		<repository>
			<id>maven.forgerock.org</id>
			<name>maven.forgerock.org-snapshot</name>
			<url>http://maven.forgerock.org/repo/snapshots</url>
			<snapshots>
				<enabled>true</enabled>
			</snapshots>
		</repository>

You will also need to add BerkeleyDB dependency :

		<dependency>
			<groupId>com.sleepycat</groupId>
			<artifactId>je</artifactId>
			<version>4.1.10</version>
		</dependency>

through Oracle repository :

		<repository>
			<id>oracleReleases</id>
			<name>Oracle Released Java Packages</name>
			<url>http://download.oracle.com/maven</url>
			<layout>default</layout>
		</repository>
Advertisements
This entry was posted in General. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s