You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Ed Robbins <ed...@erobbins.com> on 2003/01/20 07:35:20 UTC
Tomcat 4.1.18 and HttpsURLConnection
I'm wondering if anyone else has seen this problem in Tomcat 4.1.18. I
just upgraded from 4.0.4 where I have a struts application that uses the
HttpsURLConnection class to open a connection and do a POST:
URL url;
HttpsURLConnection httpsConn = null;
url = new java.net.URL("https://www.someserver");
httpsConn = (HttpsURLConnection)url.openConnection();
I'm using j2sdk1.4.1_01 and all is well under Tomcat 4.0.4, however when
I run it under 4.1.18 I get a ClassCastException on this line:
httpsConn = (HttpsURLConnection)url.openConnection();
Any ideas? I'm running a very simple configuration, a host entry
pointing to the correct docBase and a Context under that pointing to the
correct docBase and giving the path.
TIA.
Ed
--
Ed Robbins <ed...@erobbins.com>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>