[Dxspider-support] java Web Console under Windows
Mann, Rodney & Lorna
rodney at rodneymann.com
Sun Apr 5 02:59:19 BST 2009
My linux box is acting up and was planning to move my dxcluster to my
Windows server.
I have the system working on Windows but I cannot seem to get the java web
server to work.
I am using apache on a windows 2000 server box.
When I connect to the web cluster with the cgi-bin address, the webpage
comes up to enter your callsign. You enter the callsign then it goes into
error.
load: class spiderclient.class not found.
java.lang.ClassNotFoundException: spiderclient.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://192.168.7.151/cluster/spiderclient/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: spiderclient.class
This is the code from the spider.cgi file
if($ENV{CONTENT_LENGTH} > 0)
{
# Callsign is set - print the whole <APPLET> stuff....
# print("Callsign is $call<BR>\n") ;
print("<CENTER>\n") ;
print(" <APPLET CODE=\"spiderclient.class\" CODEBASE=\"/cluster/\"
width=800 height=130>\n") ;
print(" <PARAM NAME=\"CALL\" VALUE=\"$call\">\n") ;
print(" <PARAM NAME=\"PASSWORD\" VALUE=\"$password\">\n") ;
print(" <PARAM NAME=\"HOSTNAME\" VALUE=\"$HOSTNAME\">\n") ;
print(" <PARAM NAME=\"PORT\" VALUE=\"$PORT\">\n") ;
print(" <PARAM NAME=\"NODECALL\" VALUE=\"$NODECALL\">\n") ;
print(" </APPLET>\n") ;
print("</CENTER>\n") ;
}
else
I have the contents of the spiderweb files in the cluster directory which is
in the document root and have setup the virtual directory in apache.
I must be missing a step somewhere.
Thanks in advance...
Rodney
VY2CGA
More information about the Dxspider-support
mailing list