Page 1 of 1

File storage architecture.

PostPosted:Thu Jan 20, 2011 10:36 pm
by Sether
I'm still trying to understand the architecture behind OpenKM. My initial understanding was that file data was stored in the DBMS, but after running the application, it appears the file data is stored in the local filesystem. (it looks like it's called Datastore in the configuration).

Is this true? If so is it possible for the file data to be stored in the database?

Re: File storage architecture.

PostPosted:Fri Jan 21, 2011 8:51 am
by jllort
Yes, can be stored in dbms. You must make some changes on repository.xml file take a look at http://wiki.openkm.com/index.php/Reposi ... figuration.

Re: File storage architecture.

PostPosted:Fri Jan 21, 2011 7:57 pm
by Sether
Would I edit the DataStore element then? I've modified the workspace and versioning elements to point to my RDMS, but it looks to me like the DataStore element controls where the files are physically stored. (I see files appearing in the llocal filesystem of OpenKM when I upload a file).

I don't see much of any documentation on the DataStore element. Is this a Jackrabbit question, and I should ask that group?

Re: File storage architecture.

PostPosted:Sat Jan 22, 2011 5:18 pm
by jllort
You can find at jackrabbit documentation and forum how propertly configure it if with documentation in our wiki is not totally clear to you. Only one observation, repository.xml configuration file, only takes effects first time running jboss, then repository is created, after it stage any change it'll be ignored. If you want to change some configuration in yet started jboss then must delete repository folder and start againg ( understnand that all repository data it'll be deleted ! )