HTTP 404 when trying to access MindTerm 3.2 within Web page

Chris M. Jackson chriscf at gmail.com
Thu Jun 12 18:33:20 MEST 2008


I am able to get self-signed MindTerm 3.2 to work on my desktop
machine with the following:

java -jar mindterm.jar com.mindbright.application.MindTerm
[Windows XP SP2, Java 1.6.0_06]

I am able to get it to run on my Web server, failing with "cannot open
display" (understandable since the machine is headless):

java -jar mindterm.jar com.mindbright.application.MindTerm
[Linux 2.6.9-023stab046.2-smp, gij 4.1.2/"java 1.4.2"]

However, when I try to run it in a Web page [Windows XP SP2, Java
1.6.0_06, Firefox 2.0.0.14], it fails to start:

load: class com.mindbright.application.MindTerm not found.
java.lang.ClassNotFoundException: com.mindbright.application.MindTerm
	at sun.applet.AppletClassLoader.findClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at sun.applet.AppletClassLoader.loadClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at sun.applet.AppletClassLoader.loadCode(Unknown Source)
	at sun.applet.AppletPanel.createApplet(Unknown Source)
	at sun.plugin.AppletViewer.createApplet(Unknown Source)
	at sun.applet.AppletPanel.runLoader(Unknown Source)
	at sun.applet.AppletPanel.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)

My Apache error log reads (where /path-to-site/term/ is where the
archive lives):
[Thu Jun 12 09:29:40 2008] [error] [client x.x.x.x] File does not
exist: /path-to-site/term/com

My "page" contains only five lines:
<APPLET CODE="com.mindbright.application.MindTerm"
ARCHIVE="mindterm.jar" WIDTH=0 HEIGHT=0> <!-- note: no .class should
appear here -->
    <PARAM NAME="sepframe" value="true">
    <PARAM NAME="debug" value="true">
    <param name="cursor-color" value="i_green">
</APPLET>

Web searches for combinations such as [mindterm 404] [mindterm
ClassNotFoundException] show few results, with no solutions, other
than a crude hack (unpacking the .jar).

Thanks in advance,

-- 
Chris Jackson
Off-list, but found the archives


More information about the Mindterm-users mailing list