This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Problems with JAVA pages in IE

Hi there,

we got some problems with webpages that need java.
the jave applet does not load in the client browser.

we have:
Astaro Release 6.202

Proxy -->Global settings-->operation mode -->standard
------------------------->anonymity--> none

profiles --> Virus Protection: enabled
----------Block Spyware: enabled

and of course no masquerading for workstation

Workstation:
-Windows 2000 SP4 with all patches

-IE 6.0

-j-ava version "1.5.0_07"
 Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-b03)
 Java HotSpot(TM) Client VM (build 1.5.0_07-b03, mixed mode, sharing)



############Java Error#############
Laden: Klasse randomimage.class nicht gefunden
java.lang.ClassNotFoundException: randomimage.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
Laden: Klasse sitemap.class nicht gefunden
java.lang.ClassNotFoundException: sitemap.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
#####################

any ideas?

cheers


This thread was automatically locked due to age.
  • That is NOT an Astaro problem.. try installing the Latest Sun JVM.. that will fix it.. I had that exact same issue at a customer site not too long ago, there's a conflict between a recent IE6 security patch and the Sun JVM.

    CTO, Convergent Information Security Solutions, LLC

    https://www.convergesecurity.com

    Sophos Platinum Partner

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

    Advice given as posted on this forum does not construe a support relationship or other relationship with Convergent Information Security Solutions, LLC or its subsidiaries.  Use the advice given at your own risk.

  • Hi there.

    We still have the same problem.

    We tried to update the OS, the IExplorer and JAVA to the newest versions... but the problem is not solved. I think the communication between the client and the webpage is disturbed.

    In my opinion the communication has the following steps.

    The ClientPC makes a request to a webpage via the proxy. In this case the proxy takes over the role of the ClientPC.
    Now the real client PC starts to load the JAVA classes of the webpage but it has not the right to connect to the internet via the proxy.

    the following message validates my opinion:
    ===================================
    [FONT="Courier New"]
    network: Verbindung von http://www-zhv.rwth-aachen.de/zentral/sitemap.class mit Proxy=HTTP @ /192.168.xxx.xxx:xxx wird hergestellt

    network: Verbindung von http://www-zhv.rwth-aachen.de/zentral/randomimage.class mit Proxy=HTTP @ /192.168.xxx.xxx:xxx wird hergestellt

    network: Verbindung von http://www-zhv.rwth-aachen.de/zentral/sitemap/class.class mit Proxy=HTTP @ /192.168.xxx.xxx:xxx wird hergestellt

    Laden: Klasse sitemap.class nicht gefunden
    java.lang.ClassNotFoundException: sitemap.class
    Caused by: java.io.IOException: open HTTP connection failed.

    basic: Ausnahme: java.lang.ClassNotFoundException: sitemap.class
    java.lang.ClassNotFoundException: sitemap.class
    Caused by: java.io.IOException: open HTTP connection failed.

    ... 10 more
    [/FONT]

    ===================================

    After that we tried to configure the JAVA Configuration in another way. We used another type of proxy for this connection. This proxy is not the ASTARO Secure Gateway. It is a SOCKS Proxy... running on Linux with connection to a DSL Line. This DSL Line is another Internetconnection than the DSL Line which is connected with the ASTARO.
    And I don´t know how to say... but it works because of the SOCKS Proxy.

    Now I think that the HTTP Proxy of the ASTARO Secure Gateway is not able to handle JAVA connections...?!? Right? [:S] 

    So... what shall I do? Could it be that the configuration of our HTTP proxy is too paranoid? Althogh it the operation mode is standard and anonymity is none?

    That we can make a functioning connection via another Proxy(Proxytype) shows that this is rather a ASTARO problem, or not?

    Many thanks in advance...

    FernandeZ
  • So the problem is solved. We blocked *.js contents... that it was... [:P]
  • nice dude[:D] 

    thanks to everyone
  • I'll also mention that I have run across a few poorly written Java applets that do NOT work through any proxy.. we have to create a proxy bypass rule (for Proxy running in Standard Mode) or exception list (for Transparent Mode) for the app to work.

    CTO, Convergent Information Security Solutions, LLC

    https://www.convergesecurity.com

    Sophos Platinum Partner

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

    Advice given as posted on this forum does not construe a support relationship or other relationship with Convergent Information Security Solutions, LLC or its subsidiaries.  Use the advice given at your own risk.

  • I am having the same problem except I cannot acces the applet even with the proxy off. I can take my laptop to another network without Astaro and the applet loads fine, bring it back to my network and java just hangs waiting for the applet to load.

    I have tried creating an any any all firewall rule allowing any traffic from the site, NAT'ed my external ip to the internal ip for the workstation, whitelisted the site, turned off the proxy, what's left ...
  • Watch your packet filter logs and IPS logs when you access the site, one or the other is blocking that app.

    CTO, Convergent Information Security Solutions, LLC

    https://www.convergesecurity.com

    Sophos Platinum Partner

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

    Advice given as posted on this forum does not construe a support relationship or other relationship with Convergent Information Security Solutions, LLC or its subsidiaries.  Use the advice given at your own risk.

  • I see the packets going through in the filter log and nothing being blocked there. The intrusion protection log stays empty too. I have an Astaro V6 firewall on both ends. I can open the site and the applet loads from anywhere else so I know it is not being blocked at the remote site. I have tried using a pptp vpn connection to the remote site and connecting to the internal ip there as well with the same result. I can vew the site and the applet loads when I am on the internal network of the remote site. Could it be a problem with the two Astaro firewalls not playing together nicely?

    Thanks for your help.