• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Junilu Lacar
  • Rob Spoor
  • Liutauras Vilda
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Piet Souris
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
  • Himai Minh
  • Carey Brown
  • Frits Walraven

Moving jackrabbit repository

Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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??

Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Post it to jackrabbit repository forms .
Consider Paul's rocket mass heater.
    Bookmark Topic Watch Topic
  • New Topic