Author Topic: Live Diagram Error /KR version: 0.9.9-dev  (Read 5147 times)

Offline Rihards

  • User
  • *
  • Posts: 3
    • View Profile
Live Diagram Error /KR version: 0.9.9-dev
« on: January 05, 2009, 01:35:58 AM »
Hallo,

I got the following error when tried to start livediagram


load: class de.knowledgeroot.LiveDiagram.class not found.
java.lang.ClassNotFoundException: de.knowledgeroot.LiveDiagram.class
   at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
   at java.lang.ClassLoader.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://knrt.el-pro.info/de/knowledgeroot/LiveDiagram/class.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)
   ... 7 more
Exception: java.lang.ClassNotFoundException: de.knowledgeroot.LiveDiagram.class


What could be the solution?

version: 0.9.9-dev

BR

Rihards

Offline admin

  • Administrator
  • User
  • *****
  • Posts: 694
    • View Profile
    • http://www.lordlamer.de
Re: Live Diagram Error /KR version: 0.9.9-dev
« Reply #1 on: January 05, 2009, 01:53:28 PM »
Hi,

i think the extension is not ready for version 0.9.9 because the directory structure is changed from version 0.9.8 to version 0.9.9.
You could change the path to the jar file in the extension class. File: class-livediagram.php on line 305.
See here: http://trac.knowledgeroot.org/cgi-bin/trac.cgi/browser/trunk/extensions/livediagram/class-livediagram.php
Take a look where the extension folder is. I think it is extension/livediagram/. So you should have the following line:
<br /><br /><applet code=\"de.knowledgeroot.LiveDiagram.class\" archive=\"" . $serverBasePath . "extension/livediagram/livediagram.jar\" width=\"100%\" height=\"40\">";

Hope that helps.

Frank