Page 1 of 1
how to config flexpaper
PostPosted:Wed Oct 12, 2011 6:01 am
by riephone
hi,my openkm is 5.1.7 ,i try use flexpaper so i add system.preview=flexpaper in the OpenKM.cfg.
but it does not work. i find the swf viewer is still zviewer.swf. does anyone know what is the mater?
thanks!
Re: how to config flexpaper
PostPosted:Sat Oct 15, 2011 6:54 am
by jllort
fron version 5.1.7 ( after first jboss starting ) major OpenKM.cfg parameter are not yet used ( only for to first time initialization purpose ). Now all are available to be changed on fly ( major ) on administration tab ( second icon from left ).
Re: how to config flexpaper
PostPosted:Mon Oct 17, 2011 6:41 am
by riephone
it is ok,thanks!
I use mysql. Those tabales have been created in the mysql database and i can login. But i meet another problem.
When i add a new file(word and pdf file), there is a problem. I check the log in the server. It shows:
Code: Select all2011-10-17 11:33:41,687 WARN [org.apache.jackrabbit.core.query.lucene.SearchIndex] Exception while creating document for node: 273de493-238b-41e9-a738-260a3f9daf2e: javax.jcr.RepositoryException: Missing child node entry for node with id: 273de493-238b-41e9-a738-260a3f9daf2e
2011-10-17 11:33:41,687 ERROR [com.openkm.module.direct.DirectDocumentModule] failed to build path of 273de493-238b-41e9-a738-260a3f9daf2e: 83e40fa1-52fc-4f43-a399-67d7dc7d090e has no child entry for 273de493-238b-41e9-a738-260a3f9daf2e
javax.jcr.ItemNotFoundException: failed to build path of 273de493-238b-41e9-a738-260a3f9daf2e: 83e40fa1-52fc-4f43-a399-67d7dc7d090e has no child entry for 273de493-238b-41e9-a738-260a3f9daf2e
at org.apache.jackrabbit.core.HierarchyManagerImpl.buildPath(HierarchyManagerImpl.java:289)
at org.apache.jackrabbit.core.CachingHierarchyManager.buildPath(CachingHierarchyManager.java:195)
at org.apache.jackrabbit.core.HierarchyManagerImpl.getPath(HierarchyManagerImpl.java:393)
at org.apache.jackrabbit.core.CachingHierarchyManager.getPath(CachingHierarchyManager.java:229)
at com.openkm.core.OKMAccessManager.isGranted(OKMAccessManager.java:161)
at org.apache.jackrabbit.core.ItemManager.canRead(ItemManager.java:408)
at org.apache.jackrabbit.core.ItemManager.canRead(ItemManager.java:395)
at org.apache.jackrabbit.core.ItemManager.createItemData(ItemManager.java:765)
Re: how to config flexpaper
PostPosted:Thu Oct 20, 2011 3:17 am
by riephone
Hi,Jllort
I think i have found the problem. Yesterday i become a subscriber and read your guide of use mysql. I find my repository.xml is a little different with your guide. Your guide is <param name="schemaObjectPrefix" value="version_"/> . My repository.xml is <param name="schemaObjectPrefix" value="okm_repo_"/>, i update as your guide , it is ok.
Re: how to config flexpaper
PostPosted:Sat Oct 22, 2011 4:47 pm
by jllort
Please riephone, for it open new post.