Return-Path: X-Original-To: apmail-cxf-issues-archive@www.apache.org Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 30E131104D for ; Fri, 6 Jun 2014 07:45:03 +0000 (UTC) Received: (qmail 73813 invoked by uid 500); 6 Jun 2014 07:45:03 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 73700 invoked by uid 500); 6 Jun 2014 07:45:02 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 73597 invoked by uid 99); 6 Jun 2014 07:45:02 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Jun 2014 07:45:02 +0000 Date: Fri, 6 Jun 2014 07:45:02 +0000 (UTC) From: "Geert Zijlmans (JIRA)" To: issues@cxf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CXF-5787) org.apache.cxf.interceptor.Fault:Unmarshalling Error: Unexpected EOF; was expecting a close tag for element MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CXF-5787?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14019649#comment-14019649 ] Geert Zijlmans commented on CXF-5787: ------------------------------------- Our problem seems to be resolved by modifying the environment settings of the Apache httpd reverse proxy at the server side (which is in front of our Web service) with the workaround configuration for the mod_proxy: SetEnv force-proxy-request-1.0 1 SetEnv proxy-nokeepalive 1 > org.apache.cxf.interceptor.Fault:Unmarshalling Error: Unexpected EOF; was expecting a close tag for element > ----------------------------------------------------------------------------------------------------------- > > Key: CXF-5787 > URL: https://issues.apache.org/jira/browse/CXF-5787 > Project: CXF > Issue Type: Bug > Components: JAX-WS Runtime, JAXB Databinding > Affects Versions: 2.7.8 > Environment: Redhat 5.5 > Apache Tomcat 7.0.50 > JDK1.7 > Reporter: Geert Zijlmans > Labels: EOF, cxf, jaxb, unexpected, unmarshall > > Every now and then when we use our Web service for fetching a user profile (the same) on a back end server, we get the following error at the Interceptor. The first time we discovered this error was after an upgrade from CXF 2.3.1 to CXF 2.7.8. > ... org.apache.cxf.interceptor.Fault: Unmarshalling Error: Unexpected EOF; was expecting a close tag for element at [row,col {unknown-source}]: [4590,49] > at org.apache.cxf.jaxb.JAXBEncoderDecoder.unmarshall(JAXBEncoderDecoder.java:881) > at org.apache.cxf.jaxb.JAXBEncoderDecoder.unmarshall(JAXBEncoderDecoder.java:702) > at org.apache.cxf.jaxb.io.DataReaderImpl.read(DataReaderImpl.java:160) > at org.apache.cxf.interceptor.DocLiteralInInterceptor.handleMessage(DocLiteralInInterceptor.java:107) > at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:272) > at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:835) > at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1612) > at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1503) > at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1310) > at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56) > at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:628) > at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62) > at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:272) > at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:565) > at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:474) > at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:377) > at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:330) > at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96) > at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:135) > at com.sun.proxy.$Proxy54.invoke(Unknown Source) -- This message was sent by Atlassian JIRA (v6.2#6252)