- 論壇徽章:
- 0
|
小弟我剛剛開始學(xué)習(xí)Apache很多地方還不是很清楚.請(qǐng)各位大俠多多幫忙.
環(huán)境: Redhat 9.0 + Oracle 9i + JDK1.4 + Apache 2.2 + Tomcat 5.0
說明: 所有軟件都正常安裝成功,
Apache的httpd.conf:
ServerName MyLinux:80
DocumentRoot "/home/mylinux/macs-boeot/html"
在cgi-bin目錄下添加了一個(gè): startup-boeot.cgi
./apachectl start --成功
打開頁(yè)面: http://127.0.0.1 --成功
打開頁(yè)面: http://127.0.0.1/cgi-bin/startup-boeot.cgi?ID=50
能夠出現(xiàn)標(biāo)頭.但是由于是調(diào)用JAVA編譯的小程序.則在客戶端打開程序時(shí)報(bào)錯(cuò).
這是error_log:
[Thu Apr 27 01:49:08 2006] [error] [client 192.0.1.106] client denied by server configuration: /home/mylinux/macs-boeot/html/boeot-gui/macs.jar
[Thu Apr 27 01:49:09 2006] [error] [client 192.0.1.106] client denied by server configuration: /home/mylinux/macs-boeot/html/boeot-gui/ojdbc14.jar
[Thu Apr 27 01:49:09 2006] [error] [client 192.0.1.106] client denied by server configuration: /home/mylinux/macs-boeot/html/boeot-gui/tibrvjweb.jar
[Thu Apr 27 01:49:09 2006] [error] [client 192.0.1.106] client denied by server configuration: /home/mylinux/macs-boeot/html/boeot-gui/crimson.jar
[Thu Apr 27 01:49:09 2006] [error] [client 192.0.1.106] client denied by server configuration: /home/mylinux/macs-boeot/html/boeot-gui/jaxp.jar
[Thu Apr 27 01:49:09 2006] [error] [client 192.0.1.106] client denied by server configuration: /home/mylinux/macs-boeot/html/boeot-gui/jcchart.jar
[Thu Apr 27 01:49:09 2006] [error] [client 192.0.1.106] client denied by server configuration: /home/mylinux/macs-boeot/html/boeot-gui/jcchartds.jar
[Thu Apr 27 01:49:09 2006] [error] [client 192.0.1.106] client denied by server configuration: /home/mylinux/macs-boeot/html/boeot-gui/jcchartjb.jar
[Thu Apr 27 01:49:09 2006] [error] [client 192.0.1.106] script not found or unable to stat: /usr/local/apache/cgi-bin/macs
[Thu Apr 27 01:49:09 2006] [error] [client 192.0.1.106] script not found or unable to stat: /usr/local/apache/cgi-bin/macs
客戶端安裝JAVA2 platform后的錯(cuò)誤信息:
java.lang.ClassNotFoundException: macs.Main.class
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)
Caused by: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
... 10 more
請(qǐng)問一下,這是說明客戶端不能打開jar包嗎?
是哪里的配置出了問題?怎么解決?
謝謝. |
|