[ https://issues.apache.org/jira/browse/CXF-3904?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13259287#comment-13259287 ]
Ross Judson commented on CXF-3904: ---------------------------------- I have this exact problem when I try to use the JDK's built-in JAX-WS to connect to Sharepoint 2010 web services. I submitted a VM bug report for it (7129065). Without tracing through the native code it's difficult to figure out why this fault occurs. It does not occur with JDK 6. My guess is that it has something to do with not being joined to a domain. It's also quite tricky to force Java's Http NOT to use NTLM, or force it to take credentials each time, instead of using the ones that are cached with the current Windows session. > CXF and Java 7 > -------------- > > Key: CXF-3904 > URL: https://issues.apache.org/jira/browse/CXF-3904 > Project: CXF > Issue Type: Bug > Components: WS-* Components > Environment: Windows, Java 7 > Reporter: Aravindan Thulasinathan > Assignee: Daniel Kulp > Fix For: 2.5.1 > > > CXF based web service client with https crashes JVM. This started happening > after we switched to Java 7. We are considering incorporating Java 7 for our > next release and would like to know, when would be Java 7 usable with CXF. > I have attached the Stack-trace here > Stack: [0x245e0000,0x24630000], sp=0x2462f070, free space=316k > Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native > code) > C [Secur32.dll+0x75bc] DeleteSecurityContext+0x35 > C [net.dll+0xa171] > Java_sun_net_www_protocol_http_ntlm_NTLMAuthSequence_getCredentialsHandle+0x195 > C [net.dll+0xa2b1] > Java_sun_net_www_protocol_http_ntlm_NTLMAuthSequence_getNextToken+0x137 > Java frames: (J=compiled Java code, j=interpreted, Vv=VM code) > j sun.net.www.protocol.http.ntlm.NTLMAuthSequence.getNextToken(J[B)[B+0 > j > sun.net.www.protocol.http.ntlm.NTLMAuthSequence.getAuthHeader(Ljava/lang/String;)Ljava/lang/String;+24 > j > sun.net.www.protocol.http.ntlm.NTLMAuthentication.setHeaders(Lsun/net/www/protocol/http/HttpURLConnection;Lsun/net/www/HeaderParser;Ljava/lang/String;)Z+73 > j > sun.net.www.protocol.http.HttpURLConnection.getServerAuthentication(Lsun/net/www/protocol/http/AuthenticationHeader;)Lsun/net/www/protocol/http/AuthenticationInfo;+760 > j > sun.net.www.protocol.http.HttpURLConnection.getInputStream()Ljava/io/InputStream;+972 > j java.net.HttpURLConnection.getResponseCode()I+16 > j sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode()I+4 > j > org.apache.cxf.transport.http.HTTPConduit.processRetransmit(Ljava/net/HttpURLConnection;Lorg/apache/cxf/message/Message;Lorg/apache/cxf/io/CacheAndWriteOutputStream;)Ljava/net/HttpURLConnection;+1 > j > org.apache.cxf.transport.http.HTTPConduit.access$600(Lorg/apache/cxf/transport/http/HTTPConduit;Ljava/net/HttpURLConnection;Lorg/apache/cxf/message/Message;Lorg/apache/cxf/io/CacheAndWriteOutputStream;)Ljava/net/HttpURLConnection;+4 > j > org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleRetransmits()V+142 > j > org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse()V+1 > j org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close()V+98 > j > org.apache.cxf.transport.AbstractConduit.close(Lorg/apache/cxf/message/Message;)V+18 > j > org.apache.cxf.transport.http.HTTPConduit.close(Lorg/apache/cxf/message/Message;)V+50 > j > org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(Lorg/apache/cxf/message/Message;)V+9 > j > org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(Lorg/apache/cxf/message/Message;)Z+88 > j > org.apache.cxf.endpoint.ClientImpl.invoke(Lorg/apache/cxf/service/model/BindingOperationInfo;[Ljava/lang/Object;Ljava/util/Map;Lorg/apache/cxf/message/Exchange;)[Ljava/lang/Object;+282 > j > org.apache.cxf.endpoint.ClientImpl.invoke(Lorg/apache/cxf/service/model/BindingOperationInfo;[Ljava/lang/Object;Lorg/apache/cxf/message/Exchange;)[Ljava/lang/Object;+65 > j > org.apache.cxf.endpoint.ClientImpl.invoke(Lorg/apache/cxf/service/model/BindingOperationInfo;[Ljava/lang/Object;)[Ljava/lang/Object;+4 > j > org.apache.cxf.frontend.ClientProxy.invokeSync(Ljava/lang/reflect/Method;Lorg/apache/cxf/service/model/BindingOperationInfo;[Ljava/lang/Object;)Ljava/lang/Object;+6 > j > org.apache.cxf.jaxws.JaxWsClientProxy.invoke(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;+218 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira