hi vikas,

On 4/16/07, Vikas Bhatia <[EMAIL PROTECTED]> wrote:
Jackrabbit persistence on DB2 ZOS v 8 is different than it is for most
databases. We had to make certain changes to the jackrabbit core in
order to get it working.

Changes involved 3 java and 2 ddl and 1 repository.xml file in the paths listed:
* jackrabbit-core/src/main/java/org/apache/jackrabbit/core/fs/db
DatabaseFileSystem.java
DB2FileSystem.java
db2-zos.ddl

* jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/db
DatabasePersistenceManager.java
db2-zos.ddl

* repository.xml

We would like to contribute these changes back to the community since
they might help someone in the future.

Ideally these changes should be reflected in the upcoming releases but
DB2 ZOS has limitation on 8 character tablespace and database names.
Thus we had to change the java files and hardcode a couple of values
in the repository.xml. The default workspace had to be changed to def.
Workspaces created using this code again have to take into account the
8 character limit. These changes might not be compatible with all
databases. In that case we could just contribute this code into the
contrib dir or put it up on the wiki.

Please advice.

first of all i'd like to thank you for sharing this information with the list.

since using jackrabbit with db2 on z/OS is probably not a very common
setup putting this information on the wiki would IMO be the best solution.

cheers
stefan


Vikas.

Reply via email to