Page 1 of 1

Repository and Network Drive

PostPosted:Tue Apr 26, 2011 3:47 pm
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

Re: Repository and Network Drive

PostPosted:Tue Apr 26, 2011 4:26 pm
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.

Re: Repository and Network Drive

PostPosted:Tue Apr 26, 2011 4:37 pm
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

Re: Repository and Network Drive

PostPosted:Wed Apr 27, 2011 6:38 am
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