• Post Reply Bookmark Topic Watch Topic
  • New Topic

Moving jackrabbit repository  RSS feed

Ashish Sathaye
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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/rep.properties
java.io.IOException: No such file or directory
at java.io.File.checkAndCreate(File.java:1704)
at java.io.File.createTempFile(File.java:1792)
at org.apache.jackrabbit.util.TransientFileFactory.createTransientFile(TransientFileFactoryjava:122)
at org.apache.jackrabbit.core.fs.db.OracleFileSystem.getOutputStream(OracleFileSystem.java:360)
at org.apache.jackrabbit.core.fs.BasedFileSystem.getOutputStream(BasedFileSystem.java:135)
at org.apache.jackrabbit.core.fs.FileSystemResource.getOutputStream(FileSystemResource.java174)
at org.apache.jackrabbit.core.RepositoryImpl.storeRepProps(RepositoryImpl.java:1289)
at org.apache.jackrabbit.core.RepositoryImpl.loadRepProps(RepositoryImpl.java:1269)
at org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:285)
at org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:627)
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/rep.properties 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
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Post it to jackrabbit repository forms .
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!