File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB and other Java EE Technologies and the fly likes Moving jackrabbit repository Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Moving jackrabbit repository" Watch "Moving jackrabbit repository" New topic

Moving jackrabbit repository

Ashish Sathaye

Joined: Jul 05, 2010
Posts: 5
Not sure if this is right path of posting problem we are facing in jackrabbit repository movement.

We are moving our application that uses jackrabbit repository from one server to another. The database and schema for jackrabbit remains the same.

when we move application and start the server we start gettings errors like below:

[[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] ERROR org.apache.jackrabbit.core.fs.db.OracleFileSystem - failed to open output stream to file: /meta/ No such file or directory
at org.apache.jackrabbit.util.TransientFileFactory.createTransientFile(TransientFileFactoryjava:122)
at org.apache.jackrabbit.core.fs.db.OracleFileSystem.getOutputStream(
at org.apache.jackrabbit.core.fs.BasedFileSystem.getOutputStream(
at org.apache.jackrabbit.core.fs.FileSystemResource.getOutputStream(FileSystemResource.java174)
at org.apache.jackrabbit.core.RepositoryImpl.storeRepProps(
at org.apache.jackrabbit.core.RepositoryImpl.loadRepProps(
at org.apache.jackrabbit.core.RepositoryImpl.<init>(
at org.apache.jackrabbit.core.RepositoryImpl.create(
at org.apache.jackrabbit.jca.JCARepositoryManager$Reference.create(JCARepositoryManager.jav:178)

We tried moving the entire jackrabbit content directory from source server to new server but this also did not work.

The reference to /meta/ was found in the Oracle table REPOFS_FSENTRY table.

So to get the application deployed we had to delete everything in the file system and drop these database tables. When the system came up it recreated the database tables as expected. This of course creates a clean and EMPTY document repository so this is unacceptable.

Any solution??

Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Post it to jackrabbit repository forms .

Save India From Corruption - Anna Hazare.
I agree. Here's the link:
subject: Moving jackrabbit repository
jQuery in Action, 3rd edition