Skip to main content

[JIRA] Resolved: (FABAN-11) Driver fails under JDK 7

  • From: "jamesxcheng (JIRA)" <jira-no-reply@...>
  • To: issues@...
  • Subject: [JIRA] Resolved: (FABAN-11) Driver fails under JDK 7
  • Date: Wed, 23 Apr 2014 21:44:49 +0000 (UTC)
  • Auto-submitted: auto-generated


     [ 
https://java.net/jira/browse/FABAN-11?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

jamesxcheng resolved FABAN-11.
------------------------------

          Tags: faban master startup  (was: )
    Resolution: Fixed

> Driver fails under JDK 7
> ------------------------
>
>                 Key: FABAN-11
>                 URL: https://java.net/jira/browse/FABAN-11
>             Project: faban
>          Issue Type: Bug
>            Reporter: Scott Oaks
>            Assignee: jamesxcheng
>
> Running a driver with JDK 7 yields this error:
> java.lang.NoSuchMethodError: 
> sun.net.www.http.KeepAliveCache.get(Ljava/net/URL;Ljava/lang/Object;)Ljava/lang/Object;
>         at 
> com.sun.faban.driver.transport.sunhttp.HttpClient.New(HttpClient.java:87)
>         at 
> com.sun.faban.driver.transport.sunhttp.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:99)
>         at 
> com.sun.faban.driver.transport.sunhttp.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:41)
>         at 
> sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:928)
>         at 
> sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:846)
>         at 
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1296)
>         at 
> java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:468)
>         at 
> com.sun.faban.driver.transport.sunhttp.SunHttpTransport.readURL(SunHttpTransport.java:177)
>         at 
> com.sun.faban.driver.transport.sunhttp.SunHttpTransport.readURL(SunHttpTransport.java:191)
>         at 
> com.sun.faban.driver.transport.sunhttp.SunHttpTransport.readURL(SunHttpTransport.java:217)
>         at 
> com.sun.faban.driver.HttpTransport.readURL(HttpTransport.java:190)
> This is the peril of using unsupported classes...though the Sun Transport 
> is still lighter weight than the Apache Transport.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://java.net/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


[JIRA] Resolved: (FABAN-11) Driver fails under JDK 7

jamesxcheng (JIRA) 04/23/2014
 
 
Close
loading
Please Confirm
Close