• Index automatically list of files from directory

  • We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
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.
 #6647  by yuksel
 
Hello expert,

We know that we can add a file and index with a button, we select the file and submit.

But I want to know if it is possible to add automatically list of files from directory. So, we select a directory (for example "My Documents") and OpenKM index automatically all files contained in the directory.

Is it possible?

Thanks,
Yuksel.
 #6652  by jllort
 
In OpenKM 5.0 ( we'll release a beta at monday ) you've got a button ( last on right ) with can uploading from desktop directly ( drag & drop ) files or folder. You can test in our online demo.
 #6663  by yuksel
 
Hello,

Thanks for the reply.
I try but that does not works(demo system). Is it my fault? I clic on the last button "File Uploader" but nothing happend.

How can I download the last version (5.0) ?

Thanks,
Yuksel.
 #6672  by jllort
 
It's available at source forge from today.

When you click on last right button in toolbar must appears some applet ... can you not seeing it ? take a look at your java console
 #6694  by yuksel
 
I tested the new version 5.0 but there are a lot of issues with my OS.

My PC: OS Windows 7 64 bits

The new version is compatible with my OS? Version 4.1 worked well.

In OpenKM interface:
Code: Select all
Erreur de communication avec le serveur (callbackGetLastUploadedDocuments)

Erreur de communication avec le serveur (getUserCheckedOutDocuments)

Erreur de communication avec le serveur (findPooledTaskInstances)

Erreur de communication avec le serveur (findUserTaskInstances) 

==> (Error: Communication error with server)
In Dos:
Code: Select all
...
11:41:59,464 INFO  [testQueue] Bound to JNDI name: queue/testQueue
11:41:59,495 INFO  [UILServerILService] JBossMQ UIL service available at : /127.
0.0.1:8093
11:41:59,523 INFO  [DLQ] Bound to JNDI name: queue/DLQ
11:41:59,593 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jb
oss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
11:41:59,909 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jb
oss.jca:service=DataSourceBinding,name=OpenKMDS' to JNDI name 'java:OpenKMDS'
11:42:11,989 INFO  [DefaultEndpointRegistry] register: jboss.ws:context=OpenKM,e
ndpoint=OKMWorkflow
11:42:18,827 INFO  [DefaultEndpointRegistry] register: jboss.ws:context=OpenKM,e
ndpoint=OKMNote
11:42:18,828 INFO  [DefaultEndpointRegistry] register: jboss.ws:context=OpenKM,e
ndpoint=OKMPropertyGroup
11:42:18,829 INFO  [DefaultEndpointRegistry] register: jboss.ws:context=OpenKM,e
ndpoint=OKMFolder
11:42:18,830 INFO  [DefaultEndpointRegistry] register: jboss.ws:context=OpenKM,e
ndpoint=OKMNotification
11:42:18,831 INFO  [DefaultEndpointRegistry] register: jboss.ws:context=OpenKM,e
ndpoint=OKMAuth
11:42:18,832 INFO  [DefaultEndpointRegistry] register: jboss.ws:context=OpenKM,e
ndpoint=OKMMail
11:42:18,836 INFO  [DefaultEndpointRegistry] register: jboss.ws:context=OpenKM,e
ndpoint=OKMDocument
11:42:18,843 INFO  [DefaultEndpointRegistry] register: jboss.ws:context=OpenKM,e
ndpoint=OKMSearch
11:42:18,850 INFO  [DefaultEndpointRegistry] register: jboss.ws:context=OpenKM,e
ndpoint=OKMTest
11:42:18,856 INFO  [DefaultEndpointRegistry] register: jboss.ws:context=OpenKM,e
ndpoint=OKMRepository
11:42:18,907 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.open
km.servlet.RepositoryStartupServlet
11:42:18,912 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.open
km.servlet.WebdavServlet
11:42:18,918 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: org.jbpm
.web.ProcessUploadServlet
11:42:18,924 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.open
km.frontend.server.OKMWorkspaceServlet
11:42:18,929 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.open
km.frontend.server.OKMDocumentServlet
11:42:18,934 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.open
km.frontend.server.OKMAuthServlet
11:42:18,940 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.open
km.frontend.server.OKMRepositoryServlet
11:42:18,946 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.open
km.frontend.server.OKMFolderServlet
11:42:18,953 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.open
km.frontend.server.OKMPropertyGroupServlet
11:42:18,958 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.open
km.frontend.server.OKMDownloadServlet
11:42:18,965 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.open
km.frontend.server.OKMDashboardServlet
11:42:18,970 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.open
km.frontend.server.OKMGeneralServlet
11:42:18,976 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.open
km.frontend.server.OKMNotifyServlet
11:42:18,982 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.open
km.frontend.server.OKMWorkflowServlet
11:42:18,989 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.open
km.frontend.server.OKMSearchServlet
11:42:18,995 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.open
km.frontend.server.OKMFileUploadServlet
11:42:19,001 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.open
km.frontend.server.OKMBookmarkServlet
11:42:19,007 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.open
km.frontend.server.OKMMailServlet
11:42:19,013 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.open
km.frontend.server.OKMThesaurusServlet
11:42:19,018 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.open
km.frontend.server.OKMPropertyServlet
11:42:19,025 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.open
km.frontend.server.OKMChatServlet
11:42:19,031 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.open
km.frontend.server.OKMUserConfigServlet
11:42:19,037 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.open
km.frontend.server.OKMNoteServlet
11:42:19,044 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.open
km.servlet.mobi.HandlerServlet
11:42:19,051 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.open
km.servlet.SyndicationServlet
11:42:19,057 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.open
km.servlet.MimeIconServlet
11:42:19,064 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.open
km.servlet.TextToSpeechServlet
11:42:19,071 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.open
km.servlet.admin.StatsGraphServlet
11:42:19,078 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.open
km.servlet.admin.RepositoryBackupServlet
11:42:19,085 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.open
km.servlet.admin.WorkflowGraphServlet
11:42:19,092 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.open
km.servlet.admin.RegisterWorkflowServlet
11:42:19,099 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.open
km.servlet.admin.ReportServlet
11:42:19,106 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.open
km.servlet.admin.BenchmarkServlet
11:42:19,113 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.open
km.servlet.admin.LogCatServlet
11:42:19,120 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.open
km.servlet.admin.RepositoryViewServlet
11:42:19,127 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.open
km.servlet.admin.DatabaseQueryServlet
11:42:19,135 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.open
km.servlet.admin.AuthServlet
11:42:19,142 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.open
km.servlet.admin.PropertyGroupsServlet
11:42:19,149 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.open
km.servlet.admin.ActivityLogServlet
11:42:19,156 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.open
km.servlet.admin.LoggedUsersServlet
11:42:19,163 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.open
km.servlet.admin.MailAccountServlet
11:42:19,170 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.open
km.servlet.admin.TwitterAccountServlet
11:42:19,177 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.open
km.servlet.admin.WorkflowServlet
11:42:19,183 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.open
km.servlet.admin.MimeTypeServlet
11:42:19,190 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.open
km.servlet.admin.ProfileServlet
11:42:19,197 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.open
km.servlet.admin.UserConfigServlet
11:42:19,204 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.open
km.servlet.admin.ActiveSessionsServlet
11:42:19,212 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.open
km.servlet.admin.RepositorySearchServlet
11:42:19,219 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.open
km.servlet.admin.CheckEmailServlet
11:42:19,226 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.open
km.servlet.TestServlet
11:42:19,261 INFO  [TomcatDeployer] deploy, ctxPath=/OpenKM, warUrl=.../tmp/depl
oy/tmp5581435479813286956OpenKM-exp.war/
11:42:19,982 WARN  [RepositoryLock] Existing lock file D:\Users\eurosoft\Saved G
ames\jboss-4.2.3.GA\repository\.lock detected. Repository was not shut down prop
erly.
11:42:19,990 INFO  [RepositoryImpl] Starting repository...
11:42:20,005 INFO  [LocalFileSystem] LocalFileSystem initialized at path D:\User
s\eurosoft\Saved Games\jboss-4.2.3.GA\repository\repository
11:42:20,148 INFO  [LocalFileSystem] LocalFileSystem initialized at path D:\User
s\eurosoft\Saved Games\jboss-4.2.3.GA\repository\version
11:42:22,194 INFO  [ConnectionRecoveryManager] Database: Apache Derby / 10.2.1.6
 - (452058)
11:42:33,033 INFO  [ConnectionRecoveryManager] Driver: Apache Derby Embedded JDB
C Driver / 10.2.1.6 - (452058)
11:42:33,528 INFO  [RepositoryImpl] initializing workspace 'default'...
11:42:33,528 INFO  [LocalFileSystem] LocalFileSystem initialized at path D:\User
s\eurosoft\Saved Games\jboss-4.2.3.GA\repository\workspaces\default
11:42:34,165 INFO  [ConnectionRecoveryManager] Database: Apache Derby / 10.2.1.6
 - (452058)
11:42:34,165 INFO  [ConnectionRecoveryManager] Driver: Apache Derby Embedded JDB
C Driver / 10.2.1.6 - (452058)
11:42:34,670 INFO  [SearchIndex] Index initialized: D:\Users\eurosoft\Saved Game
s\jboss-4.2.3.GA\repository/repository/index Version: 3
11:42:34,753 INFO  [SearchIndex] Index initialized: D:\Users\eurosoft\Saved Game
s\jboss-4.2.3.GA\repository\workspaces\default/index Version: 3
11:42:34,760 INFO  [RepositoryImpl] workspace 'default' initialized
11:42:34,763 INFO  [RepositoryImpl] Repository started
11:42:34,780 INFO  [SimpleSecurityManager] init: using JAAS LoginModule configur
ation for OpenKM
11:42:34,795 INFO  [RepositoryImpl] SecurityManager = class org.apache.jackrabbi
t.core.security.simple.SimpleSecurityManager
11:42:38,433 WARN  [RepositoryStartupServlet] Unable to read script: D:\Users\eu
rosoft\Saved Games\jboss-4.2.3.GA\start.bsh
11:42:38,440 WARN  [RepositoryStartupServlet] Unable to read jar: D:\Users\euros
oft\Saved Games\jboss-4.2.3.GA\start.jar
11:42:38,463 INFO  [SimpleWebdavServlet] resource-path-prefix = '/repository'
11:42:38,467 INFO  [SimpleWebdavServlet] WWW-Authenticate header = 'Basic realm=
"OpenKM Webdav Server"'
11:42:41,777 INFO  [WSDLFilePublisher] WSDL published to: file:/D:/Users/eurosof
t/Saved Games/jboss-4.2.3.GA/server/default/data/wsdl/OpenKM.war/OKMWorkflowServ
ice2173415735410750398.wsdl
11:42:41,801 INFO  [WSDLFilePublisher] WSDL published to: file:/D:/Users/eurosof
t/Saved Games/jboss-4.2.3.GA/server/default/data/wsdl/OpenKM.war/OKMNoteService7
941652167020721586.wsdl
11:42:41,824 INFO  [WSDLFilePublisher] WSDL published to: file:/D:/Users/eurosof
t/Saved Games/jboss-4.2.3.GA/server/default/data/wsdl/OpenKM.war/OKMPropertyGrou
pService4660813599446529035.wsdl
11:42:41,841 INFO  [WSDLFilePublisher] WSDL published to: file:/D:/Users/eurosof
t/Saved Games/jboss-4.2.3.GA/server/default/data/wsdl/OpenKM.war/OKMFolderServic
e6920864902333379559.wsdl
11:42:41,857 INFO  [WSDLFilePublisher] WSDL published to: file:/D:/Users/eurosof
t/Saved Games/jboss-4.2.3.GA/server/default/data/wsdl/OpenKM.war/OKMNotification
Service2267598957383255456.wsdl
11:42:41,884 INFO  [WSDLFilePublisher] WSDL published to: file:/D:/Users/eurosof
t/Saved Games/jboss-4.2.3.GA/server/default/data/wsdl/OpenKM.war/OKMAuthService3
068443676717571507.wsdl
11:42:41,901 INFO  [WSDLFilePublisher] WSDL published to: file:/D:/Users/eurosof
t/Saved Games/jboss-4.2.3.GA/server/default/data/wsdl/OpenKM.war/OKMMailService3
5945275971387129.wsdl
11:42:41,922 INFO  [WSDLFilePublisher] WSDL published to: file:/D:/Users/eurosof
t/Saved Games/jboss-4.2.3.GA/server/default/data/wsdl/OpenKM.war/OKMDocumentServ
ice3217552291304369963.wsdl
11:42:41,940 INFO  [WSDLFilePublisher] WSDL published to: file:/D:/Users/eurosof
t/Saved Games/jboss-4.2.3.GA/server/default/data/wsdl/OpenKM.war/OKMSearchServic
e1871185242120945350.wsdl
11:42:41,955 INFO  [WSDLFilePublisher] WSDL published to: file:/D:/Users/eurosof
t/Saved Games/jboss-4.2.3.GA/server/default/data/wsdl/OpenKM.war/OKMTestService3
818999216678905123.wsdl
11:42:41,971 INFO  [WSDLFilePublisher] WSDL published to: file:/D:/Users/eurosof
t/Saved Games/jboss-4.2.3.GA/server/default/data/wsdl/OpenKM.war/OKMRepositorySe
rvice1701370308775459543.wsdl
11:42:42,134 INFO  [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../dep
loy/jmx-console.war/
11:42:42,294 INFO  [Http11Protocol] Dmarrage de Coyote HTTP/1.1 sur http-127.0.
0.1-8080
11:42:42,340 INFO  [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
11:42:42,376 INFO  [Server] JBoss (MX MicroKernel) [4.2.3.GA (build: SVNTag=JBos
s_4_2_3_GA date=200807181439)] Started in 52s:722ms
11:43:30,983 ERROR [[/OpenKM]] Exception while dispatching incoming RPC call
11:43:32,406 ERROR [[OKMWorkflowServlet]] "Servlet.service()" pour la servlet OK
MWorkflowServlet a gnr une exception
11:43:35,828 ERROR [[/OpenKM]] Exception while dispatching incoming RPC call
java.lang.OutOfMemoryError: PermGen space
11:43:36,573 ERROR [OKMDashboardServlet] PermGen space for statement: for $v in
/jcr:root/okm:root//element(*, mix:notification)[@jcr:primaryType='okm:document'
 and @okm:subscriptors='okmAdmin'] return $v: PermGen space
11:43:35,828 ERROR [CoyoteAdapter] Une exception ou une erreur s'est produite da
ns le conteneur durant le traitement de la requte
11:43:39,987 ERROR [[/OpenKM]] Exception while dispatching incoming RPC call
11:43:38,649 ERROR [[/OpenKM]] Exception while dispatching incoming RPC call
11:43:38,649 ERROR [OKMDashboardServlet] PermGen space for statement: for $v in
/jcr:root/okm:root//element(*, okm:document)[@jcr:lockOwner='okmAdmin' and okm:c
ontent/@jcr:isCheckedOut=true()] return $v: PermGen space
11:43:44,772 ERROR [[/OpenKM]] Exception while dispatching incoming RPC call
11:43:46,121 ERROR [[OKMDashboardServlet]] "Servlet.service()" pour la servlet O
KMDashboardServlet a gnr une exception
java.lang.OutOfMemoryError: PermGen space
11:43:36,573 ERROR [OKMDashboardServlet] PermGen space for statement: for $v in
/jcr:root/okm:root//element(*, okm:document)[@jcr:lockOwner='okmAdmin' and okm:c
ontent/@jcr:isCheckedOut=false()] return $v: PermGen space
11:43:46,799 ERROR [CoyoteAdapter] Une exception ou une erreur s'est produite da
ns le conteneur durant le traitement de la requte
java.lang.OutOfMemoryError: PermGen space
11:43:43,422 ERROR [[OKMDashboardServlet]] "Servlet.service()" pour la servlet O
KMDashboardServlet a gnr une exception
java.lang.OutOfMemoryError: PermGen space
11:43:42,752 ERROR [[OKMDashboardServlet]] "Servlet.service()" pour la servlet O
KMDashboardServlet a gnr une exception
java.lang.OutOfMemoryError: PermGen space
11:43:48,280 ERROR [CoyoteAdapter] Une exception ou une erreur s'est produite da
ns le conteneur durant le traitement de la requte
11:43:41,398 ERROR [[/OpenKM]] Exception while dispatching incoming RPC call
java.lang.OutOfMemoryError: PermGen space
11:43:40,725 ERROR [Http11Processor] Error processing request
java.lang.OutOfMemoryError: PermGen space
11:43:49,656 INFO  [[/OpenKM]] La servlet OKMSearchServlet est marqu comme indi
sponible
11:43:49,655 ERROR [Http11Processor] Error processing request
java.lang.OutOfMemoryError: PermGen space
11:43:47,530 ERROR [CoyoteAdapter] Une exception ou une erreur s'est produite da
ns le conteneur durant le traitement de la requte
11:43:52,494 ERROR [Http11Processor] Error processing request
java.lang.OutOfMemoryError: PermGen space
11:43:47,467 ERROR [[/OpenKM]] Exception while dispatching incoming RPC call
11:44:07,883 ERROR [[OKMDashboardServlet]] "Servlet.service()" pour la servlet O
KMDashboardServlet a gnr une exception
java.lang.OutOfMemoryError: PermGen space
11:43:53,953 ERROR [[/OpenKM]] Exception while dispatching incoming RPC call
java.lang.OutOfMemoryError: PermGen space
11:43:53,204 ERROR [[/OpenKM]] Exception while dispatching incoming RPC call
java.lang.OutOfMemoryError: PermGen space
11:43:51,814 ERROR [[/OpenKM]] Exception while dispatching incoming RPC call
java.lang.OutOfMemoryError: PermGen space
11:43:51,130 ERROR [CoyoteAdapter] Une exception ou une erreur s'est produite da
ns le conteneur durant le traitement de la requte
java.lang.OutOfMemoryError: PermGen space
11:44:10,561 ERROR [CoyoteAdapter] Une exception ou une erreur s'est produite da
ns le conteneur durant le traitement de la requte
11:44:23,815 ERROR [Http11Processor] Error processing request
java.lang.OutOfMemoryError: PermGen space
11:45:32,644 INFO  [[/OpenKM]] La servlet OKMWorkspaceServlet est marqu comme i
ndisponible
11:45:33,322 ERROR [[/OpenKM]] Exception while dispatching incoming RPC call
java.lang.OutOfMemoryError: PermGen space
11:45:33,989 ERROR [CoyoteAdapter] Une exception ou une erreur s'est produite da
ns le conteneur durant le traitement de la requte
java.lang.OutOfMemoryError: PermGen space
11:45:35,982 ERROR [[/OpenKM]] Exception while dispatching incoming RPC call
java.lang.OutOfMemoryError: PermGen space
11:45:35,318 ERROR [[/OpenKM]] Exception while dispatching incoming RPC call
java.lang.OutOfMemoryError: PermGen space
11:45:34,654 ERROR [[/OpenKM]] Exception while dispatching incoming RPC call
java.lang.OutOfMemoryError: PermGen space
11:45:37,973 ERROR [[/OpenKM]] Exception while dispatching incoming RPC call
java.lang.OutOfMemoryError: PermGen space

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.