• problem with file uploader

  • 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.
 #27559  by jllort
 
gregsneddon did you updated with night build after observate this issue ?
 #27566  by SEKen
 
Finally had time to test the nightly build. The uploader works perfectly (almost). Launches and uploads files as expected, however if you close with the [X] it will not launch again. If you close using File > Exit, it will launch again. Same is true with the scanner, however there is no File menu so you must X out.
Refreshing the browser (not the refresh in OpenKM) does allow re-launching of the uploader and the scanner.
This was tested both in IE and Chrome.
Thanks for the fix, this is a really helpful tool.
 #27572  by jllort
 
Could you try if it happens for you with demo online ?
 #27576  by SEKen
 
Just tried the X out with the online demo and it does re-start correctly.
 #27592  by SEKen
 
I am using night build 8119 and yes I have cleared the cache. Should I try a newer build?
The only problem I am having is if you X out of the applet, it will not relaunch. The work around is simply just refreshing the browser and navigating back to the correct folder.
 #27593  by pavila
 
Well, this is not the same problem which other users detected. You can upload documents and OpenKM folder auto-refresh when the upload finish?
 #27797  by NickC
 
I have the same uploader problem. I have changed to the nightly build I have cleared the java cache and updated the uploader jar file, yet to no avail. I have tried this from 2 different computers on the same network. OpenKM is running on debian linux on a server. This is a copy of the java console log. Any pointers would be most welcome.
Code: Select all
Feb 13, 2014 5:49:27 PM com.openkm.applet.MainFrame$WindowListener windowClosing
INFO: windowClosing: calling 'destroyUploaderApplet'
Feb 13, 2014 5:49:27 PM com.openkm.applet.MainFrame$WindowListener windowClosing
SEVERE: Exception: No such method "destroyUploaderAppletFix" on JavaScript object
netscape.javascript.JSException: No such method "destroyUploaderAppletFix" on JavaScript object
	at sun.plugin2.main.client.MessagePassingJSObject.newJSException(Unknown Source)
	at sun.plugin2.main.client.MessagePassingJSObject.waitForReply(Unknown Source)
	at sun.plugin2.main.client.MessagePassingJSObject.call(Unknown Source)
	at com.openkm.applet.MainFrame$WindowListener.windowClosing(MainFrame.java:270)
	at java.awt.Window.processWindowEvent(Unknown Source)
	at javax.swing.JFrame.processWindowEvent(Unknown Source)
	at java.awt.Window.processEvent(Unknown Source)
	at java.awt.Component.dispatchEventImpl(Unknown Source)
	at java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.awt.Window.dispatchEventImpl(Unknown Source)
	at java.awt.Component.dispatchEvent(Unknown Source)
	at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.awt.EventQueue.access$200(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
	at java.awt.EventQueue$4.run(Unknown Source)
	at java.awt.EventQueue$4.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
	at java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.run(Unknown Source)
 #27800  by lpallard
 
NickC I have the exact same problem..

I did:
1. Shutdown tomcat
2. Backed up my OpenKM folder AND the Mysql database
3. Downloaded the OpenKM.war file from http://integration.openkm.com/6.2/ (build 8125) and replaced the file..
4. Edited OpenKM.cfg and set hibernate.hbm2ddl to update
5. Started tomcat back up

I observed that it didnt solve the problem (file uploader still doesnt load up) and also under Help > About OpenKM I see:

Version 6.2.5 (build 8109)

Shouldnt' it be 6.2.6 ??? Looks like the upgrade wasn't successful but I dont know why..

Also, on the migration page (http://wiki.openkm.com/index.php/Migrat ... 5_to_6.2.6), there are missing stuff..

"Run from your preferred SQL client these queries: " is missing SQL instructions and "Go to Administration > Database Query, and remove obsolete configuration properties: " is also missing stuff..
 #27801  by lpallard
 
The key for me was:
If you have any weird problem try to stop Tomcat, delete these folders:

$TOMCAT_HOME/webapps/OpenKM
$TOMCAT_HOME/work/Catalina/localhost

And start Tomcat again.
Seems the uploader is loading up now and the version number is now 6.2.6-DEV :)
 #27802  by NickC
 
lpallard wrote:The key for me was:
If you have any weird problem try to stop Tomcat, delete these folders:

$TOMCAT_HOME/webapps/OpenKM
$TOMCAT_HOME/work/Catalina/localhost

And start Tomcat again.
Seems the uploader is loading up now and the version number is now 6.2.6-DEV :)

You have no idea how much this has helped me. It now works at last. THANK YOU SOOOOO MUCH !!!!

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.