JDK-6771237 : java.net.SocketException: Unconnected sockets not implemented thrown by Tomcat on jdk1.6.0_u10
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.net
  • Affected Version: 6u10
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: linux_redhat_6.2
  • CPU: x86
  • Submitted: 2008-11-13
  • Updated: 2010-04-02
  • Resolved: 2008-12-01
Related Reports
Duplicate :  
Description
Tomcat 6.0.18 threw Java.net.SocketException: Unconnected sockets not implemented when customer upgarded Java version from java1.6.0_u3 to java1.6.0_u10 on Redhat Linux R4U6.

Full exception stack trace:
java.net.SocketException: Unconnected sockets not implemented
at javax.net.SocketFactory.createSocket(SocketFactory.java:97)
at
sun.net.www.protocol.https.HttpsClient.createSocket(HttpsClient.java:360)
at sun.net.NetworkClient.doConnect(NetworkClient.java:145)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:394)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:529)
at
sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:271)
at
sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:328)
at
sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:172)
at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:778)
at
sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:158)
at
sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:881)
at
sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:230)
at
com.cisco.ccm.common.reports.GRTSourceBase.invokeRoutine(GRTSourceBase.java:141)
at
com.cisco.ccm.common.reports.CUCMVersionSource.generateReport(CUCMVersionSource.java:97)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
com.cisco.ccm.common.reports.GRTReportGenerator.generateReportXML(GRTReportGenerator.java:138)
at
com.cisco.ccm.common.reports.GRTReportGenerator.generateReportFile(GRTReportGenerator.java:195)
at
com.cisco.ccm.cucreports.actions.GenerateReportAction.execute(GenerateReportAction.java:48)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at sun.reflect.GeneratedMethodAccessor175.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.security.SecurityUtil

Comments
EVALUATION The source changes for CR 6771432 will resolve this issue.
01-12-2008

WORK AROUND The custom SocketFactory should override the no-args createSocket() method.
17-11-2008

EVALUATION This is as a reault of the changes for CR 6614957.
17-11-2008