Sunday, December 7, 2008

Apache Jackrabbit 1.5.0 released

Apache Jackrabbit 1.5.0, the latest and greatest release of the best content repository I know, is now available! Get it from the Jackrabbit web site or through the central Maven repository while it's hot!



The most notable changes since version 1.4 are:


  • The standalone Jackrabbit server component. The runnable
    jackrabbit-standalone jar makes it very easy to start and run
    Jackrabbit as a standalone server with WebDAV and RMI access.

  • Search performance improvements. The performance of certain kinds
    of hierarchical XPath queries has improved notably.

  • Simple Google-style query language. The new GQL query syntax
    makes it very easy to express simple full text queries.

  • Transaction-safe versioning. Mixing transactions and versioning
    operations has traditionally been troublesome in Jackrabbit.
    This release contains a number of improvements in this area and
    has specifically been reviewed against potential deadlock issues.

  • Clustered workspace creation. A new workspace created in one
    cluster node will now automatically appear also in the other
    nodes of the cluster.

  • SPI improvements. The SPI layer introduced in Jackrabbit 1.4
    has seen a lot of improvements and bug fixes, and is shaping
    up as a solid framework for implementing JCR connectors.

  • Development preview: JSR 283 features. We have implemented
    a number of new features defined in the public review draft of
    JCR 2.0, created in JSR 283. These new features are accessible
    through special "jsr283" interfaces in the Jackrabbit API. Note
    however that none of these features are ready for production use,
    and will be replaced with final JCR 2.0 versions in Jackrabbit 2.0.



See the release notes for all the details.

10 comments:

  1. matthiaswessendorfDecember 8, 2008 at 8:24 AM

    Congrats on the release!

    ReplyDelete
  2. Hello...
    I want to learn about java content repository, can you give me some example with jackrabbit ??

    Thanks :D

    ReplyDelete
  3. See the articles listed in http://wiki.apache.org/jackrabbit/JcrLinks for good introductions and examples on JCR and Jackrabbit. Another good resource is http://dev.day.com/.

    ReplyDelete
  4. I write firsthop from jackrabbit web but get this error :
    -------------------------------------------------------------------------
    log4j:WARN No appenders could be found for logger (org.apache.jackrabbit.core.TransientRepository).
    log4j:WARN Please initialize the log4j system properly.
    Exception in thread "main" javax.jcr.RepositoryException: Invalid repository configuration: repository.xml: Configuration file syntax error. (Line: 1 Column: 1): Premature end of file.: Configuration file syntax error. (Line: 1 Column: 1): Premature end of file.: Premature end of file.
    at org.apache.jackrabbit.core.TransientRepository$2.getRepository(TransientRepository.java:246)
    at org.apache.jackrabbit.core.TransientRepository.startRepository(TransientRepository.java:261)
    at org.apache.jackrabbit.core.TransientRepository.login(TransientRepository.java:329)
    at org.apache.jackrabbit.core.TransientRepository.login(TransientRepository.java:384)
    at org.cana.jackrabbit.learn.FirstHop.main(FirstHop.java:20)
    ----------------------------------------------------------------------------------------

    can you help me for this error ??

    ReplyDelete
  5. Hi,

    The error comes probably from the presence of an existing repository.xml file that is empty in your working directory.

    Remove this file and restart your application: the error should not occur again.

    This file may have been created from a previous execution of your application that failed (because of some missing library for example).

    Regards,
    Fouad HAMDI

    ReplyDelete
  6. hi,
    Even i am getting the same exception.
    Exception in thread "main" javax.jcr.RepositoryException: Invalid repository configuration: repository.xml: Configuration file syntax error. (Line: -1 Column: -1): Premature end of file.: Configuration file syntax error. (Line: -1 Column: -1): Premature end of file.: Premature end of file.
    at org.apache.jackrabbit.core.TransientRepository$2.getRepository(TransientRepository.java:246)
    at org.apache.jackrabbit.core.TransientRepository.startRepository(TransientRepository.java:261)
    at org.apache.jackrabbit.core.TransientRepository.login(TransientRepository.java:329)
    at org.apache.jackrabbit.core.TransientRepository.login(TransientRepository.java:384)
    at FirstHop.main(FirstHop.java:24)

    ReplyDelete
  7. Hi I met exactly the same trouble and at least one dependency was missing so the default repository had not been created correctly and the default configuration file was created empty.

    Delete the zero sized repository.xml file and the repository folder, check dependencies and try again!

    ReplyDelete
  8. [...] Apache Jackrabbit 1.5.0 released December 8, 2008 The Apache Jackrabbit project announced today that version 1.5.0 has been released and is available. There are a number of pretty substantial improvements and changes in this release. For all the details, check out Jukka’s blog. [...]

    ReplyDelete
  9. Is there a way to set up JackRabbit so that files stored in the repository are visible in their original format? When doc.pdf, for example, is stored in the repository on Windows, I would like to be able to locate the file through Windows Explorer and open it in Adobe reader.

    ReplyDelete
  10. We’ve posted a blog about an Introduction to Java Content Repository and Apache Jackrabbit here — http://www.ideyatech.com/2010/04/introduction-to-java-content-repository-and-apache-jackrabbit/

    ReplyDelete