Page 1 of 1

OpenKM 5.0 => File Upload Upload ERROR

PostPosted:Tue Oct 05, 2010 11:36 am
by yuksel
Hello experts,

The new option "File Uploader" does not work. My PC: XP Home SP3
See below the Java error in my Java consol:
Code: Select all
Java Plug-in 1.6.0_21
Utilisation de la version JRE 1.6.0_21-b07 Java HotSpot(TM) Client VM

----------------------------------------------------
charger : classe com.openkm.applet.Uploader introuvable.
java.lang.ClassNotFoundException: com.openkm.applet.Uploader
	at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
	at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
	at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
	at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
	at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
	at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: open HTTP connection failed:http://localhost:8080/OpenKM/com.openkm.frontend.Main/com/openkm/applet/Uploader.class
	at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
	at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
	at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	... 9 more
Exception : java.lang.ClassNotFoundException: com.openkm.applet.Uploader
Thanks,
Yuksel

Re: OpenKM 5.0 => File Upload Upload ERROR

PostPosted:Tue Oct 05, 2010 4:46 pm
by jllort
you're in other computer than server no ?

Re: OpenKM 5.0 => File Upload Upload ERROR

PostPosted:Wed Oct 06, 2010 6:07 am
by yuksel
No I'm in the server. URL: http://localhost:8080/OpenKM

I just run "/bin/run.bat" and used Firefox for tests

Why?

Re: OpenKM 5.0 => File Upload Upload ERROR

PostPosted:Wed Oct 06, 2010 6:17 pm
by jllort
Because seems has not connected to http://localhost:8080/OpenKM/com.openkm ... ader.class

Can you execute applet in that browser ? probably need installing java support for firefox ?

Re: OpenKM 5.0 => File Upload Upload ERROR

PostPosted:Mon Nov 08, 2010 10:29 am
by jmonin
Hello,

I have the same exact problem here ; Here is what I get in the java console on the client side (my java plugin is thus enabled) :
Code: Select all
charger : classe com.openkm.applet.Uploader introuvable.
java.lang.ClassNotFoundException: com.openkm.applet.Uploader
	at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:211)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
	at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:144)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
	at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:662)
	at sun.applet.AppletPanel.createApplet(AppletPanel.java:785)
	at sun.plugin.AppletViewer.createApplet(AppletViewer.java:2298)
	at sun.applet.AppletPanel.runLoader(AppletPanel.java:714)
	at sun.applet.AppletPanel.run(AppletPanel.java:368)
	at java.lang.Thread.run(Thread.java:662)
And here is what I get when contacting directly the class URL :
Code: Select all
Etat HTTP 404 - /OpenKM/com.openkm.frontend.Main/com/openkm/applet/Uploader.class

type Rapport d'état

message /OpenKM/com.openkm.frontend.Main/com/openkm/applet/Uploader.class

description La ressource demandée (/OpenKM/com.openkm.frontend.Main/com/openkm/applet/Uploader.class) n'est pas disponible.
JBossWeb/2.0.1.GA
The only things I changed from the OpenKM 5.0b download, are :
  • mail configuration
    port changed from 8009 to 8010 in server/default/deploy/jboss-web.deployer/server.xml and server/all/deploy/jboss-web.deployer/server.xm
The problem is the same for the Scanner applet.
Everything else is working fine.

Thanks in advance!

Re: OpenKM 5.0 => File Upload Upload ERROR

PostPosted:Wed Nov 10, 2010 6:51 am
by jllort
It's a bug in 5.0-Beta we've yet solved in RC1 this weeks we'll release it.