Closed Bug 294328 Opened 20 years ago Closed 16 years ago

Problem with java applet and NTLM Auth on an ISA Proxy server - with ntlmaps Java is OK.

Categories

(Core :: Networking, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: zioalex, Unassigned)

References

()

Details

(Whiteboard: closeme 2008-10-25)

Attachments

(2 files)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.7) Gecko/20050416 Fedora/1.0.3-1.3.1 Firefox/1.0.3
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.7) Gecko/20050416 Fedora/1.0.3-1.3.1 Firefox/1.0.3

I use mozilla 1.7.7 and Firefox 1.0.4 in both browser I have to use a NTLM auth
on an ISA PROXY Server.
When I try to use an applet like that in URL is like no ENV are set...Follow the
Java trace:
Trace level set to 5: all ... completed.
basic: New window ID: 0
basic: Stopping applet ...
basic: Removed progress listener: sun.plugin.util.GrayBoxPainter@1995d80
basic: Joining applet thread ...
basic: Destroying applet ...
basic: Disposing applet ...
basic: Quiting applet ...
basic: Joined applet thread ...
basic: Finding information ...
basic: Releasing classloader: sun.plugin.ClassLoaderInfo@11f2ee1, refcount=0
basic: Caching classloader: sun.plugin.ClassLoaderInfo@11f2ee1
basic: Current classloader cache size: 2
basic: Done ...
basic: New window ID: 422b4e1
basic: Value of xembed: 1
basic: setWindow: call before applet exists:422b4e1
basic: Referencing classloader: sun.plugin.ClassLoaderInfo@11f2ee1, refcount=1
basic: Added progress listener: sun.plugin.util.GrayBoxPainter@704baa
basic: Loading applet ...
basic: Initializing applet ...
basic: Starting applet ...
network: Connecting http://www.java.com/applet/testvm.class with proxy=HTTP @
proxy.si.it/172.16.210.64:8080
network: Connecting http://www.java.com/applet/testvm.class with cookie
"s_cc=true; s_sq=; JSESSIONID=5E845C7BA3E78DA2BEC533982A0F9B11.tomcat3"
basic: WARNING: error reading http://www.java.com/applet/testvm.class from cache.
network: Connecting http://www.java.com/applet/testvm.class with proxy=HTTP @
proxy.si.it/172.16.210.64:8080
network: Connecting http://www.java.com/applet/testvm.class with cookie
"s_cc=true; s_sq=; JSESSIONID=5E845C7BA3E78DA2BEC533982A0F9B11.tomcat3"
network: Connecting http://www.java.com/applet/testvm/class.class with
proxy=HTTP @ proxy.si.it/172.16.210.64:8080
network: Connecting http://www.java.com/applet/testvm/class.class with cookie
"s_cc=true; s_sq=; JSESSIONID=5E845C7BA3E78DA2BEC533982A0F9B11.tomcat3"
load: class testvm.class not found.
java.lang.ClassNotFoundException: testvm.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
basic: Exception: java.lang.ClassNotFoundException: testvm.class

Now if I use ntlmaps to map the request to proxy the java applet works properly.



Reproducible: Always

Steps to Reproduce:
1. Open mozilla or Firefox 
2. go to http://www.java.com/en/download/help/testvm.xml
3. It doesn't work.
4. If you configure ntlmaps and set the proxy conf to its the applet will work.
Assignee: nobody → darin
Severity: critical → normal
Component: General → Networking
Product: Firefox → Core
QA Contact: general → benc
Version: unspecified → 1.7 Branch
I didn't think the Java plugin even knew how to authenticate using NTLM.  Does
this work in IE?

Can you generate a Mozilla HTTP log for us?  You can do that using an ordinary
Firefox release build by following the steps here:
http://www.mozilla.org/projects/netlib/http/http-debugging.html

Then please attach the resulting log file to this bug report by using the
"Create a New Attachment" link above.  Thanks!!
This is an automated message, with ID "auto-resolve01".

This bug has had no comments for a long time. Statistically, we have found that
bug reports that have not been confirmed by a second user after three months are
highly unlikely to be the source of a fix to the code.

While your input is very important to us, our resources are limited and so we
are asking for your help in focussing our efforts. If you can still reproduce
this problem in the latest version of the product (see below for how to obtain a
copy) or, for feature requests, if it's not present in the latest version and
you still believe we should implement it, please visit the URL of this bug
(given at the top of this mail) and add a comment to that effect, giving more
reproduction information if you have it.

If it is not a problem any longer, you need take no action. If this bug is not
changed in any way in the next two weeks, it will be automatically resolved.
Thank you for your help in this matter.

The latest beta releases can be obtained from:
Firefox:     http://www.mozilla.org/projects/firefox/
Thunderbird: http://www.mozilla.org/products/thunderbird/releases/1.5beta1.html
Seamonkey:   http://www.mozilla.org/projects/seamonkey/
confirming.  we have log files.
Status: UNCONFIRMED → NEW
Ever confirmed: true
With Firefox 1.06 the problem persist.

I will try with 1.07.
Assignee: darin → nobody
QA Contact: benc → networking
Version: 1.7 Branch → Trunk
do you still see this problem?
Whiteboard: closeme 2008-10-25
@Reporter, we have not heard back from you in a while, so I am closing this bug as INCOMPLETE. You can reopen this bug if more information becomes available. Some helpful information you can provide us is found at http://quality.mozilla.org/bug-writing-guidelines. You should also use a recent version of Firefox, from http://www.getfirefox.com.
Mass closeme close.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: