cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geert Zijlmans (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-5787) org.apache.cxf.interceptor.Fault:Unmarshalling Error: Unexpected EOF; was expecting a close tag for element
Date Fri, 06 Jun 2014 07:45:02 GMT

    [ 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 <outXML>   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)

Mime
View raw message