jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Jackrabbit Wiki] Update of "JackRabbitOnTomcat6" by SteveDalton
Date Tue, 30 Dec 2008 09:25:45 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Jackrabbit Wiki" for change notification.

The following page has been changed by SteveDalton:
http://wiki.apache.org/jackrabbit/JackRabbitOnTomcat6

------------------------------------------------------------------------------
  mysql -u root jackrabbit -e "GRANT ALL ON jackrabbit.* TO 'jackrabbit'@'localhost' IDENTIFIED
BY 'jackrabbit'"
  }}}
  
- Ok, this is the fiddly part. Edit /var/lib/tomcat6/temp/jackrabbit and find all the occurances
of something like this:
+ Ok, this is the fiddly part. Edit /var/lib/tomcat6/temp/jackrabbit and do either 1. or 1.
& 2.
  
- === PersistenceManager ===
+ === 1. PersistenceManager ===
  
- This stores all the repository in mysql - all the file config is still on the file system
+ This stores all the repository in mysql - all the file config is still on the file system.
Find all the occurances of something like this:
  
  {{{
  <PersistenceManager class="org.apache.jackrabbit.core.persistence.bundle.DerbyPersistenceManager">
@@ -71, +71 @@

  </PersistenceManager>
  }}}
  
- === DbFileSystem ===
+ === 2. DbFileSystem ===
  
- This part is optional, but if you do this ''everything'' is stored in the mysql database.
Find sections like this:
+ This part is optional, but if you do this ''everything'' is stored in the mysql database.
Find all the occurances of something like this:
  
  {{{
  <FileSystem class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
@@ -96, +96 @@

  
  Make sure you change the part someuniqueprefix to something unique for the type of repository
configuration item you are modifying (ie. workspace, versioning etc)
  
+ === Cleanup & Test ===
+ 
  Now delete the version, workspaces and repository directories and redeploy the app (or restart
tomcat if you like)
  
  {{{
@@ -112, +114 @@

  +----------------------+
  | Tables_in_jackrabbit |
  +----------------------+
+ | FS_REPO_FSENTRY      | 
+ | FS_VERSION_FSENTRY   | 
+ | FS_WORKSPACE_FSENTRY | 
  | PM_VERSION_BINVAL    | 
  | PM_VERSION_BUNDLE    | 
  | PM_VERSION_NAMES     | 
@@ -122, +127 @@

  | PM_WS_REFS           | 
  +----------------------+
  }}}
- Haven't got DbFileSystem working reliably yet - will post that later.
+ 
+ and should be able to access the repository in exactly the same way as if it was out of
the box (file/derby) based.
  
  == Common Problems ==
  

Mime
View raw message