<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic java api+tomcat: HttpsURLConnectionOldImpl  cannot be cast to HttpsURLConnection in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/java-api-tomcat-HttpsURLConnectionOldImpl-cannot-be-cast-to/m-p/137536#M4251</link>
    <description>&lt;P&gt;When using the client API on a web app under tomcat, it would seem that all client requests I've tried so far give me this error:&lt;/P&gt;
&lt;P&gt;com.sun.net.ssl.internal.&lt;A href="http://www.protocol.https.HttpsURLConnectionOldImpl" rel="nofollow noreferrer" target="_blank"&gt;www.protocol.https.HttpsURLConnectionOldImpl&lt;/A&gt; cannot be cast to javax.net.ssl.HttpsURLConnection&lt;/P&gt;
&lt;P&gt;For example:&lt;/P&gt;
&lt;P&gt;using a string token created from the control panel for access:&lt;/P&gt;
&lt;P&gt;config=new DBXRequestConfig("Jamz","en_US");&lt;BR /&gt;client= new DBXClient(config,"token");&lt;BR /&gt;client.getMetadataWithChildren("/");&lt;/P&gt;
&lt;P&gt;Then boom. Exception. Anybody seen anything like this? I feel like I need to rebuild the api with options to match tomcat, but I'm a little out of my league here. Any advice?&lt;/P&gt;</description>
    <pubDate>Wed, 29 May 2019 09:37:43 GMT</pubDate>
    <dc:creator>Nicole L.5</dc:creator>
    <dc:date>2019-05-29T09:37:43Z</dc:date>
    <item>
      <title>java api+tomcat: HttpsURLConnectionOldImpl  cannot be cast to HttpsURLConnection</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/java-api-tomcat-HttpsURLConnectionOldImpl-cannot-be-cast-to/m-p/137536#M4251</link>
      <description>&lt;P&gt;When using the client API on a web app under tomcat, it would seem that all client requests I've tried so far give me this error:&lt;/P&gt;
&lt;P&gt;com.sun.net.ssl.internal.&lt;A href="http://www.protocol.https.HttpsURLConnectionOldImpl" rel="nofollow noreferrer" target="_blank"&gt;www.protocol.https.HttpsURLConnectionOldImpl&lt;/A&gt; cannot be cast to javax.net.ssl.HttpsURLConnection&lt;/P&gt;
&lt;P&gt;For example:&lt;/P&gt;
&lt;P&gt;using a string token created from the control panel for access:&lt;/P&gt;
&lt;P&gt;config=new DBXRequestConfig("Jamz","en_US");&lt;BR /&gt;client= new DBXClient(config,"token");&lt;BR /&gt;client.getMetadataWithChildren("/");&lt;/P&gt;
&lt;P&gt;Then boom. Exception. Anybody seen anything like this? I feel like I need to rebuild the api with options to match tomcat, but I'm a little out of my league here. Any advice?&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:37:43 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/java-api-tomcat-HttpsURLConnectionOldImpl-cannot-be-cast-to/m-p/137536#M4251</guid>
      <dc:creator>Nicole L.5</dc:creator>
      <dc:date>2019-05-29T09:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: java api+tomcat: HttpsURLConnectionOldImpl  cannot be cast to HttpsURLConnection</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/java-api-tomcat-HttpsURLConnectionOldImpl-cannot-be-cast-to/m-p/137537#M4252</link>
      <description>&lt;P&gt;Hi Nicole, we came across this looking into this for you:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.oracle.com/thread/1150553" target="_blank" rel="nofollow noreferrer"&gt;https://community.oracle.com/thread/1150553&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;It looks like you&amp;nbsp;might be including an old or obsolete JAR in your&amp;nbsp;deployment, and classes in that JAR are somehow conflicting with the newer/correct version of the classes.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Dec 2015 08:02:25 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/java-api-tomcat-HttpsURLConnectionOldImpl-cannot-be-cast-to/m-p/137537#M4252</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2015-12-08T08:02:25Z</dc:date>
    </item>
  </channel>
</rss>

