RE: [squid-users] JAVA Applet notinited

From: <bill.allison_at_bsw.co.uk>
Date: Mon, 25 Aug 2008 18:32:11 +0100

Hello

This *might* be the same problem as I encountered recently, that in our case (squid-2.6.STABLE17, no authentication) caused very slow loading of applets. Here is the record from our task log that shows what we did to fix it. Hope it helps.

"The delay was observed in Wireshark traces to be due to unsatisfied netbios name -service requests from client to proxy. Googling "netbios name java applet proxy" found chatter regarding known bugs in Java 5 still present in Java 6. The applet loader attempts to do a reverse lookup of a source host ip. It attempts firstly using DNS. That fails for our proxies as they are not in DNS. The applet loader then tries to resolve using netbios name services, but instead of using the WINS server specified for the PC's interface in the MSWindows Networking setup, it attempts to use the proxy, on which there is no netbios server, hence long delays due to request timeouts. The two possible workarounds are a) configure the proxies in internal DNS or b) install Samba netbios services on the proxies. The former is vastly easier and better and was immediately successful."

Regards
Bill A.

 -----Original Message-----
From: jonathan_chretien_at_hotmail.com
Sent: 25 August 2008 16:05
To: squid-users_at_squid-cache.org
Subject: [squid-users] JAVA Applet notinited

   

 -------------------------------------------------------------------------- --

Hello all.

My configuration:
OS: Fedora Core 8
Squid: 2.6 Stable 19
Authentication: NTLM_Auth with Active Directory

A user in my company needs to go on a website, for his job, that start a
JAVA Applet. When the user is using the proxy to access this website, he
gets in the status bar of Internet Explorer "Applet xyz notinited".

Here is the log of the java console.

java.lang.ClassNotFoundException: JavaVersionCheck.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)
java.lang.ClassNotFoundException:
sps.wfds.client.dataEntry.XtencilApplet.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)

If for this user I disable the proxy settings, so it means that he will
not use the proxy, the java applet start normally wihout any problem and
the user is able to use the website.

I don't want to add an exeption for this website. I want to limit the
number of exception to our local network and company website.

Is there a way to allow this java applet to work when the proxy is
configured ? Is it a configuration in Squid or Internet Explorer that I
need to do ? Is it a Squid problem ?

Thanks

Jonathan
_________________________________________________________________

 --
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Mon Aug 25 2008 - 17:33:35 MDT

This archive was generated by hypermail 2.2.0 : Tue Aug 26 2008 - 12:00:04 MDT