Feedback Form

BLOG

Migrating an application from Sling 3 to Sling 5 - I

By meamitava - JCRLead | Posted on 2009-10-30 04:56

Apache Sling has added a new dimension to the world of web development. So when Apache came up with Sling 5, lot of questions came up in the mind of Sling users regarding the migration of an application from Sling 3 to Sling5. This particular post is the first of a series of posts, which will be covering steps, problems and possible solutions to the problems, required for this migration.

In case of the application that was migrated, the following steps had to be carried out:

1. Replace the jar of Sling 3 with that of Sling 5
2. Change the version of Sling from 3 to 5 in the pom.xml file of the application.
3. While accessing the nodes, the url must end in an .html extension, otherwise an error is thrown (403 Forbidden Error)


These three steps led to the successful migration of the code of application from Sling 3 to Sling 5. The source code did not have to be modified anywhere. More on migration to follow. Hope this will be of help.
 

- Amitava

Rated 0.0 by 0 user.
JCR Developer Community Blog

BLOG STATS

5625 visitors have read this Blog

BLOG CATEGORIES

JCR: 18
Jackrabbit: 8
Sling: 24
CMS: 23
Future Trends: 7
Other: 6

JCR DEVELOPERS (level, posts)

Sujoy Bhattacharjee (bhatasuj)
JCRDev
Blog Posts 5 | Forum Posts 5
Romit Bose (romitbose)
JCRDev
Blog Posts 0 | Forum Posts 0
Ruben Reusser (reusr1)
JCRDev
Blog Posts 0 | Forum Posts 0
Wayne Lund (wxlund)
JCRDev
Blog Posts 0 | Forum Posts 0
Luis Fernandez (guisho)
JCRDev
Blog Posts 0 | Forum Posts 0
Jong Tenerife (jongdakkel)
JCRDev
Blog Posts 0 | Forum Posts 2
Jay Kerger (jkerger)
JCRDev
Blog Posts 2 | Forum Posts 2
Subhasis Chakraborty (subhasis)
JCRDev
Blog Posts 4 | Forum Posts 13
Nitesh Ambuj (nambuj)
JCRLead
Blog Posts 5 | Forum Posts 18
Amitava Chakraborty (meamitava)
JCRLead
Blog Posts 8 | Forum Posts 14