[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [iaik-ssl] problem with HttpsConnectionDemo execution



w3c_http.jar is for use with iSaSiLk 3.0 only. For previous versions use
the original Jigsaw classes available from www.w3.org

Also note that you must not mix the Standard and Applet Edition versions
of our libraries, i.e. if you are using IAIK JCE AE you must use IAIK SSL
AE.

 Andreas Sterbenz              mailto:Andreas.Sterbenz@iaik.at


-----Ursprüngliche Nachricht-----
Von: Piron Frédéric <fpir@etb.bel.alcatel.be>
An: <iaik-ssl@iaik.tu-graz.ac.at>
Gesendet: Donnerstag, 09. Dezember 1999 14:45
Betreff: [iaik-ssl] problem with HttpsConnectionDemo execution


> I try to use the httpsConnetion.java provided with Symantec VisualCafe
>
> SecureRandom _random= new SecureRandom();
>        URL.setURLStreamHandlerFactory(new HandlerFactory());
>
>
System.out.println("setURLStreamHandlerFactorysetURLStreamHandlerFactory"
);
>
>      URL url = new URL("https://andromeda.iaik.tu-graz.ac.at:443/");
>      System.out.println("now connecting to "+url);
>      HttpsURLConnection con = (HttpsURLConnection)url.openConnection();
>      SSLClientContext context = new SSLClientContext(_random);
>         context.setEnabledCipherSuites(cs);
>      con.setSSLClientContext(context);
>      con.connect();
>
> The compilation is OK but when I want to execute it, I get an error at
> the line
>
> con.connect();
>
> the error:
>
> java.lang.NoSuchFieldError: org.w3c.www.protocol.http.HttpBasicServer:
> field addrs not found
>     at
> org.w3c.www.protocol.http.HttpsBasicServer.allocateConnection(Unknown
> Source)
>     at
>
org.w3c.www.protocol.http.HttpBasicServer.getConnection(HttpBasicServer)
>
>     at
> org.w3c.www.protocol.http.HttpBasicServer.runRequest(HttpBasicServer)
>     at org.w3c.www.protocol.http.HttpsBasicServer.runRequest(Unknown
> Source)
>     at org.w3c.www.protocol.http.HttpManager.runRequest(HttpManager)
>     at
> org.w3c.www.protocol.http.HttpURLConnection.connect(HttpURLConnection)
>     at HttpsConnection.main(HttpsConnection.java:102)
>     at symantec.tools.debug.MainThread.run(Agent.java:48)
>
> however I set the classpath with w3c_http.jar, iaik_ssl.jar and
> iaik_jce_full_ae.jar
>
> where is the problem?
>
> thanks a lot
>
> frederic
>
> --
> Mailinglist-archive at
http://jcewww.iaik.tu-graz.ac.at/mailarchive/iaik-ssl/maillist.html
>
> To unsubscribe send an email to listserv@iaik.tu-graz.ac.at with the
folowing content: UNSUBSCRIBE iaik-ssl
>
>
>


smime.p7s