Using JackRabbit with Web App

Problem: U R using tomcat and you need to store content(may be images). You do not want heavy lifting using liferay, hippo etc

Solution:

1. prepare web app.
2  use Tomcat as web server
3. use apache Jack rabbit as content repository



Configuration steps:

1.

  1.     Install Tomcat
  2.     download jack rabbit war file


2. Let port be 8080 for tomcat
3. Goto tomcatuser-xml file and make following entries

<role rolename="manager-gui"/>
<role rolename="manager-script"/>
<role rolename="manager-jmx "/>
<role rolename="manager-status "/>
<role rolename="manager"/>
<role rolename="admin"/>
<user username="admin" password="admin" roles="admin,manager,manager-gui,manager-script,manager-jmx,manager-status"/>

4. Start Server & Go to tomcat home screen
5. Go to Manage app option
6. Enter credentials as #3
7. Deploy jack rabbit web app which you downloaded 1.2

Note you will require jcr2.0 jar file , So download and store in lib of tomcat.

Comments

Popular posts from this blog

Cloud Architecture Notes

Qlik Sense Important Links