David, You are not supposed to add JCE.jar to the class path. All the JCE classes are already available to the class loader. Just let the class loader do its magic.
Oleg -----Original Message----- From: Rowe, David (CAG-CC MIS) [mailto:[EMAIL PROTECTED] Sent: Friday, August 08, 2003 4:13 PM To: Commons HttpClient Project Subject: RE: NTLM Cipher Error Okay, I freshly installed JDK 1.4.1_01 (what we're standardized with), added the jce.jar to the class path, I'm using Eclipse, just for reference. I'm still getting the same error. It's hitting it right after these debug messages [DEBUG] HttpMethodBase - -Authorization required [DEBUG] HttpAuthenticator - -Authenticating with the 'null' authentication realm at proxy.conagra.cag So I'm assuming, it's generating the Challenge message for authentication at this point, which would require encryption thus, the JCE. Any ideas as to why it's still not catching the crypto package? Dave -----Original Message----- From: Kalnichevski, Oleg [mailto:[EMAIL PROTECTED] Sent: Friday, August 08, 2003 8:17 AM To: Commons HttpClient Project Subject: RE: NTLM Cipher Error All right. I believe I know what is going on. JCE 1.2.2 is intended for older JDKs (1.2.x-1.3.x). As of JDK 1.4.x JCE is an integral part of the J2SE platform. By attempting to install JCE 1.2.2 on JDK 1.4.1 you have simply messed things up. Consider reinstalling Java. Oleg -----Original Message----- From: Rowe, David (CAG-CC MIS) [mailto:[EMAIL PROTECTED] Sent: Friday, August 08, 2003 3:05 PM To: Commons HttpClient Project Subject: RE: NTLM Cipher Error Yep, they're under that directory. jce.jar, jce1_2_2.jar, sunjce_provider.jar, local_policy.jar, US_policy.jar. Dave -----Original Message----- From: Kalnichevski, Oleg [mailto:[EMAIL PROTECTED] Sent: Friday, August 08, 2003 8:03 AM To: Commons HttpClient Project Subject: RE: NTLM Cipher Error David, If this is indeed the case, there must be something wrong about your JDK installation. JCE is supposed to work out of the box with Java 1.4.x. Did you by any chance copy JCE jar files to <JAVA_HOME>/jre/lib/ext? Oleg -----Original Message----- From: Rowe, David (CAG-CC MIS) [mailto:[EMAIL PROTECTED] Sent: Friday, August 08, 2003 2:57 PM To: Commons HttpClient Project Subject: RE: NTLM Cipher Error I am using JDK 1.4.1_01, I'm somewhat new to Java so configuring the Security is kind of a hairy thing. As far as I can tell, the java.security / policy files are correct. Dave -----Original Message----- From: Kalnichevski, Oleg [mailto:[EMAIL PROTECTED] Sent: Friday, August 08, 2003 3:17 AM To: Commons HttpClient Project Subject: RE: NTLM Cipher Error David, If it is an option, just use Java 1.4.x that comes with JCE bundled and configured Oleg -----Original Message----- From: Roland Weber [mailto:[EMAIL PROTECTED] Sent: Friday, August 08, 2003 8:33 AM To: Commons HttpClient Project Subject: RE: NTLM Cipher Error Hello Dave, NoClassDefFound errors are often misleading. If the class itself is found, but one it depends upon is not, you still get the error for the class that is available and have to figure out which one is actually missing. I'm sorry I can't give you any more specific hints on this. Maybe you can use a test program that accesses the JCE directly to make sure it is configured as it should be. regards, Roland "Rowe, David (CAG-CC MIS)" <[EMAIL PROTECTED]> 07.08.2003 21:01 Please respond to "Commons HttpClient Project" To: "Commons HttpClient Project" <[EMAIL PROTECTED]> cc: Subject: RE: NTLM Cipher Error As far as I can tell, everything seems to be in order. Are there any special caveats regarding using the JCE (jce1_2_2.jar or jce.jar)? It seems odd to have the JCE in the classpath, yet, it throws a NoClassDefFound exception. Has anyone else experienced this? Dave -----Original Message----- From: Kalnichevski, Oleg [mailto:[EMAIL PROTECTED] Sent: Thursday, August 07, 2003 11:03 AM To: Commons HttpClient Project Subject: RE: NTLM Cipher Error > > Is there anything blatantly obvious here? All I need to do is be able to access internet resources, through a Proxy (ISA) > that uses NTLM Authentication. David, I'll make sure that HttpClient picks up the correct credentials when authenticating with a proxy. As far as JCE is concerned, this is a standard Java extension that HttpClient relies upon, but has no direct control of. You have to ensure that JCE is properly configured in order to get NTLM authentication support in HttpClient to work. Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]