applet notinited message (Full Version)

All Forums >> [ISA Server 2000 General] >> General



Message


stevemb -> applet notinited message (16.Aug.2005 8:54:00 PM)

I am running ISA Server as a Proxy server on a Win2K PC. The server is behind a firewall. I have two web sites that use java applets. If I try to access the web site, I get a message "java applet xxxxxxx notinited. If I bypass the proxy server & got directly thru the firewall, everything works ok. So there is something in my ISA Server proxy set up that seems to be preventing the applet from running. Any suggestions as to what I might need to change on the ISA server?




jmschuur -> RE: applet notinited message (17.Aug.2005 11:24:00 AM)

Did you check the application filters?




stevemb -> RE: applet notinited message (17.Aug.2005 3:41:00 PM)

Do you mean the Application Types that show up under Policy Elements / Content Groups?
I've looked at that, but I'm not sure which application to check for that will allow java applets




jmschuur -> RE: applet notinited message (18.Aug.2005 4:05:00 AM)

You're right, I had to be more specific about what I mean. Under "Access Policy" you can define "Site and Content Rules". In those rules you can define "HTTP Content" to allow or disallow through HTTP. Content groups are defined under "Policy Elements -> Content Groups". If you have specified java extentions in a Content Group and you've specified it to disallow through HTTP in a "Content Rule", your java applications/applets won't work.
Hope this helps! Cheers!




12345671 -> RE: applet notinited message (6.Sep.2005 11:53:00 PM)

I met same problem. I am on Internet, I try to connect my web site behind ISA server (my web site in on a small LAN behind the ISA server, the LAN access Internet through ISA server). The error: Applet not inited. failed to load applet.

Detail error information I got are as followings. Thanks for any suggestion.

load: class appletToservlet.class not found.

java.lang.ClassNotFoundException: appletToservlet.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.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.HttpURLConnection.getResponseCode(Unknown Source)

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




12345671 -> RE: applet notinited message (6.Sep.2005 11:59:00 PM)

I tried to add application/x-java-applet , application/x-java-vm to the content group,
under the site and content policy, it is set as: all content are allowed, then I restart the ISA, but still cannot load applet from Internet. It works well when I am on my LAN, I can load applet well. Thanks in advance!




12345671 -> RE: applet notinited message (12.Sep.2005 3:27:00 AM)

I found the solution for my problem. Hope it is useful for other people.
For ISA, I add application/x-java-applet and allow it in the site and content policy.
In fact there are other reasons for the applet notinited error: Private and public IP.
My website use private IP behind ISA. I need to (1)change the CODEBASE of applet to the public IP(eg: my website is 192.168.0.10: 8001, CODEBASE should be 11.11.11.11: 8001, then to map it to 192.168.0.10:8001) I cannot use 80 port.
(2) the servlet path in the applet program need to be changed to public one and mapped on ISA(eg: servletpath=11.11.11.11::8080, map it to 192.168.0.10:8080)




Page: [1]