From apache sling launchpad 7 to sling 11

Viewed 92

I have to upgrade an app than run on Apache Sling and Apache Jackrabbit. It uses the launchpad 7 webapp (org.apache.sling.launchpad-7.war) and the persistence is configured to use Jackrabbit (not Oak), with a workspace stored inside an Oracle database and data stored on the filesytem.

I have seen that newer versions of apache sling do not support Jackrabbit any more, they only support Jackrabbit Oak.

What would be the best way to upgrade Apache Sling on my app ?

  1. Is it mandatory to use Apache Oak with Sling now ?
  2. What would be the best (or simplest) way to configure Apache Sling ?
  3. I have 700MB of data stored in jackrabbit, is there any tool to migrate all that data ?

Thanks,

1 Answers

Regarding Jackrabbit vs Jackrabbit Oak: we do not test Jackrabbit 2.x with Sling at all. It may work by replacing various bundles, there are no guarantees.

For the repository, the migration tools are provided by the Jackrabbit project: see Oak: repository migration where the oak-upgrade tool is documented. You probably need to look into the DocumentNodeStore with a RDB setup. The Oak: RDB document store documentation will tell you more about supported databases (Oracle is one of them) and how to configure them.

Note that we don't have an RDB runmode set up for the Sling 11 starter, but I guess you did that for Sling 7 as well.

Related