PDA

View Full Version : Spring modules's jcrdaosupport and jackrabbit-server-1.0.1.war distribution



haishan
Aug 12th, 2006, 05:15 AM
Dear All,

I have configured my Jackrabbit repository using Spring Module 0.5 using TransientRepositoryFactoryBean and JcrDAoSupport.

1) I have given the repository home directory as F://jackrabbit//repository in applicationcontext.xml.
But by default it creates the repository as C://jackrabbit//repository.
I don't understand why??

2) I want to access the same repository(created as above) from webdav client like dreamweaver. For that I am using jackrabbit-server-1.0.1.war distribution. It contains two servlets called RepositoryStartupServlet and RepositoryAccessServlet. For this we need to mention the repository home directory in web.xml.

Can we make this also point to the same repository created by springmodule?

When I am trying this, I am getting error message called
"Repository is already locked by another resource". How to overcome this?

I want to achieve the following thing.

I want to use spring modules' jcrdaosupport to access the repository.
Also I want to use the jackrabbit-server-1.0.1.war distribution to access the same repository from any webdav client.

Is it possible??

Any help on this is greatly appreciated.

Regards,
Shan

Costin Leau
Aug 16th, 2006, 05:28 AM
1) I have given the repository home directory as F://jackrabbit//repository in applicationcontext.xml.
But by default it creates the repository as C://jackrabbit//repository.
I don't understand why??

Can you post your configuration?


2) I want to access the same repository(created as above) from webdav client like dreamweaver. For that I am using jackrabbit-server-1.0.1.war distribution. It contains two servlets called RepositoryStartupServlet and RepositoryAccessServlet. For this we need to mention the repository home directory in web.xml.

Please raise an issue on JIRA - I'll try to address it in the 0.6 release timeframe.