commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Dever <>
Subject Re: [HttpClient] Dependancy on JSSE
Date Thu, 01 Aug 2002 16:25:02 GMT

I did not realize that this was a side effect of some recent secury proxy
authentication patches.  It used to be that ssl was required to compile but
could run without it.  A lot of us have been using jdk1.4 for our private builds
lately, (which has ssl built in) so it was easy not to notice.

I guess the question is: how important is it for httpclient to run in ann
environment without ssl available?  (I'm a Canadian which has quite a bit of
freedom with encryption and am not aware of what the export issues may be with

Mike Bowler wrote:

> At one point HttpClient had a "soft" dependancy on JSSE - it would use
> JSSE if it was there but would continue working if it wasn't.
> The latest builds now have a hard dependancy on JSSE - the code doesn't
> run if you don't have JSSE in your classpath.
> I don't recall seeing this one being discussed here so I'm not sure if
> this was intentional or not.
> Running HttpClient on a machine without JSSE will yield this:
> java.lang.NoClassDefFoundError: javax/net/SocketFactory
>     at
> org.apache.commons.httpclient.HttpClient.startSession(
>     at
> org.apache.commons.httpclient.HttpClient.startSession(
> --
> Mike Bowler
> Principal, Gargoyle Software Inc.
> Voice: (416) 822-0973 | Email  :
> Fax  : (416) 822-0975 | Website:
> --
> To unsubscribe, e-mail:   <>
> For additional commands, e-mail: <>

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message