cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aravindan Thulasinathan (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CXF-3904) CXF and Java 7
Date Fri, 11 Nov 2011 23:54:53 GMT

     [ https://issues.apache.org/jira/browse/CXF-3904?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Aravindan Thulasinathan updated CXF-3904:
-----------------------------------------

    Description: 
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

  was:
Seems the Apache CXF is having issues when we use one of our vendor's APIs to access Exchange
mail boxes. 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

     Issue Type: Bug  (was: Improvement)
    
> 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
>
> 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

        

Mime
View raw message