• Repository and Network Drive

  • OpenKM has many interesting features, but requires some configuration process to show its full potential.
OpenKM has many interesting features, but requires some configuration process to show its full potential.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #10832  by rloucks
 
Hello,

I have been trying out OpenKM and I like it's features and want to get it testing in my workplace so we can look at purchasing it. However, in trying to setup a test demo for us I am running into a question about it.

It is currently running on Win2k3 and I want to point the repoistory to be on an existing network drive, is it possible to set it up to use a exisiting folder with files in it on a network resource as the repository. I have tried setting it on the .conf file, but have no luck actually getting it to read another drive letter. I have searched the forum top to bottom and cant find the right way to do this. I don't think I will need to use webdav as all clients have the same drive mappings.

Any suggestions? I tried linking it directly (i.e. Q:\Forms) but get this error: org.apache.jackrabbit.core.config.ConfigurationException cannot be cast to javax.jcr.LoginException
 #10834  by jllort
 
It's not good idea having network drive as repository, because if the network is going down, the repository could be corrupted. The NAS scenario it's not the same as a SAN ( with optical direct link to server ), hope you could understand the difference.

I imagine you've got the network mapped to your server: put here your OpenKM.cfg configuration.
 #10835  by rloucks
 
Thanks for your reply!

It's good advice not to have the repoistory on the network drive, the only thing is that if I do impletment openkms, the file structure consists of over 800,000 files. So, keeping a copy of them on a local repository folder would be quite difficult for me to manage. I am not too concerned with network downtime, it's a 1% chance of that happening, and even so it will be on a virtual server backed up daily.

The network folders are on a NAS, then shared from another server who handels the iSCSI to create the mapped drive.

And as for the CFG file, I have not done anything except attempt to add the repository.home option to it.
Code: Select all
#system.ocr=/usr/bin/tesseract
#system.openoffice.path=/usr/lib/openoffice
#system.img2pdf=/usr/bin/convert
#system.pdf2swf=/usr/bin/pdf2swf
#system.antivir=/usr/bin/clamscan
hibernate.dialect=org.hibernate.dialect.HSQLDialect
hibernate.hbm2ddl=create
#application.url=http:--localhost:8080/OpenKM/com.openkm.frontend.Main/index.jsp
repository.home=Q:\Forms
 #10840  by jllort
 
1- Stop jboss
2- Try with this minor change repository.home=Q:\Forms to repository.home=Q:\\Forms
3- If you've got repository folder under jboss delete it
4- Start jboss

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.