|
From: <be...@eu...> - 2004-02-18 09:09:28
|
Hi!
I'm running the example applet that comes with v0.8.1 in a Tomcat
4.1.29 server running in a W2000 machine.
I solved the classLoader permission problem, but now I get a
java.net.ConnectException.
The way that I make the application was to make a directory in webapps
and I copied there:
*applet.html
*lib (full directory in order not to change the path in applet html
tag, although .jar are also in web-inf/lib - anyway, the problem is not
finding the jars :-) )
*examples (only ncsql.xml and save-report.pl)
After executing "http://127.0.0.1:8080/datavision/applet.html" classes
get loaded and start executing, until I get the exception. The full
stack trace is at the end.
Other question is about save-report.pl. I know almost nothing about cgi
but I guess this is to make a report. Would it make any difference if
save-url parameter of the applet is missing? Tomcat doesn't execute
cgi's does it?
Thanks very much!! At least you read it!!
Regards
Mikel
==================FULL STACK TRACE ===================
DataVision v0.8.1
java.net.ConnectException: Connection refused: connect
java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.plugin.net.protocol.http.HttpClient.doConnect(Unknown
source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.<init>(Unknown Source)
at sun.net.www.http.HttpClient.<init>(Unknown Source)
at sun.plugin.net.protocol.http.HttpClient.<init>(Unknown
Source)
at sun.plugin.net.protocol.http.HttpClient.New(Unknown Source)
at
sun.plugin.net.protocol.http.HttpURLConnection.createConnection(Unknown
Source)
at sun.plugin.net.protocol.http.HttpURLConnection.connect
(Unknown Source)
at sun.plugin.net.protocol.http.HttpURLConnection.getInputStream
(Unknown Source)
at java.net.URL.openStream(Unknown Source)
at uk.co.wilson.xml.MinML2.parse(MinML2.java:624)
at jimm.datavision.ReportReader.read(ReportReader.java:117)
at jimm.datavision.Report.read(Report.java:1793)
at jimm.datavision.gui.applet.DesignApplet.readReport
(DesignApplet.java:45)
at jimm.datavision.gui.Designer.<init>(Designer.java:164)
at jimm.datavision.gui.applet.DesignApplet.<init>
(DesignApplet.java:25)
at jimm.datavision.gui.applet.DVApplet.init(DVApplet.java:18)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
===================================================================
|