Page 1 of 1
Uploader 'moved temporarily" error
PostPosted:Fri Nov 23, 2012 9:48 am
by shaardu
I built uploader applet as I am trying some things with it, I am getting an "moved temporarily" error when i try to put some documents to it! Does anyone know the solution to this?
Re: Uploader 'moved temporarily" error
PostPosted:Sat Nov 24, 2012 11:31 am
by jllort
Why are you creating new bulk uploader ? Depending what you want to doing will be easily upgrade actual bulk uploader
Re: Uploader 'moved temporarily" error
PostPosted:Sat Nov 24, 2012 1:04 pm
by shaardu
Actually I am building using the old one itselF!! I am getting this error
Re: Uploader 'moved temporarily" error
PostPosted:Mon Nov 26, 2012 7:40 pm
by jllort
First step should be get source code compiled version running correctly, before modify I do not know if it's your case ? or you're working on it now ?
Re: Uploader 'moved temporarily" error
PostPosted:Fri Nov 30, 2012 5:46 am
by shaardu
Yeah I had compiled myself and tested with 5.1,it was working but its giving "moved temporarily" error with 6.2.1!!!
This is the log -
Code: Select allNov 30, 2012 11:07:01 AM com.openkm.applet.MainFrame createDocumentHelper
INFO: uploadDocumentHelper(null, /okm:root/shad, http://localhost:8080/OpenKM, F:\google Web Toolkit.pdf)
Nov 30, 2012 11:07:01 AM com.openkm.applet.Util createDocument
INFO: createDocument(null, /okm:root/shad, http://localhost:8080/OpenKM, F:\google Web Toolkit.pdf)
Nov 30, 2012 11:07:03 AM com.openkm.applet.MainFrame createDocumentHelper
SEVERE: IOException: Moved Temporarily
org.apache.http.client.HttpResponseException: Moved Temporarily
at org.apache.http.impl.client.BasicResponseHandler.handleResponse(BasicResponseHandler.java:67)
at org.apache.http.impl.client.BasicResponseHandler.handleResponse(BasicResponseHandler.java:55)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:945)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:919)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:910)
at com.openkm.applet.Util.createDocument(Util.java:62)
at com.openkm.applet.MainFrame.createDocumentHelper(MainFrame.java:299)
at com.openkm.applet.MainFrame.drop(MainFrame.java:260)
at java.awt.dnd.DropTarget.drop(Unknown Source)
at sun.awt.dnd.SunDropTargetContextPeer.processDropMessage(Unknown Source)
at sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchDropEvent(Unknown Source)
at sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchEvent(Unknown Source)
at sun.awt.dnd.SunDropTargetEvent.dispatch(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processDropTargetEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(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)
Nov 30, 2012 11:07:05 AM com.openkm.applet.MainFrame createDocumentHelper
INFO: importDocumentsHelper: void
Nov 30, 2012 11:07:05 AM com.openkm.applet.MainFrame drop
WARNING: JSException: JavaScript error while calling "refreshFolder"
netscape.javascript.JSException: JavaScript error while calling "refreshFolder"
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.drop(MainFrame.java:266)
at java.awt.dnd.DropTarget.drop(Unknown Source)
at sun.awt.dnd.SunDropTargetContextPeer.processDropMessage(Unknown Source)
at sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchDropEvent(Unknown Source)
at sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchEvent(Unknown Source)
at sun.awt.dnd.SunDropTargetEvent.dispatch(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processDropTargetEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(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)
Re: Uploader 'moved temporarily" error
PostPosted:Fri Dec 07, 2012 4:19 pm
by pavila
Uploader code in SourceForge repository is quite old. We need to update it to a more recent version.