Hi [EMAIL PROTECTED] wrote: > As for the code itself, it's actually quite simple but it maybe useful > for you folks to see (well, it comes after this paragraph). Now my > million dollar question is this, does one have to do any tricky things > to get httpclient working with https URLs in an applet?
Well, you could start with registering a socket factory for the https protocol. You're probably doing that, but it's not in the code you posted. Next, you may want to release the connection EVEN IN CASE OF AN ERROR. I don't see that either. Re-using the HttpClient object is also a good idea, so you are not leaking connections and running into limits of the JSSE provider (or other components). None of this is likely to cause the problem you are reporting, but why take a chance? Then let's start with some of the things you didn't mention. Are you signing the applet and all JARs with it in order to run it? Or are you installing the libraries locally on the client? Is there a proxy involved - I've asked that one before. When registering the https protocol, are you specifying the correct default port? Or does the APP_HOME_URL_PFX specify a port number? That's also not in the code you posted. Commons logging comes with a SimpleLog implementation that writes log output to System.out. That is allowed even for applets. cheers, Roland --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]