axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AXIS2-5740) Axis2 1.7.0 Upgrade Classcast Exception
Date Thu, 11 Feb 2016 21:57:18 GMT

    [ https://issues.apache.org/jira/browse/AXIS2-5740?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15143574#comment-15143574
] 

Hudson commented on AXIS2-5740:
-------------------------------

SUCCESS: Integrated in Axis2 #3295 (See [https://builds.apache.org/job/Axis2/3295/])
AXIS2-5740: Add note that the HTTP transport is not compatible with HttpClient 4.5.x. (veithen:
rev 1729891)
* axis2/src/site/markdown/release-notes/1.7.0.md


> Axis2 1.7.0 Upgrade Classcast Exception
> ---------------------------------------
>
>                 Key: AXIS2-5740
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5740
>             Project: Axis2
>          Issue Type: Bug
>    Affects Versions: 1.7.0
>         Environment: Mac OSX El Capitan, Java JDK 1.7.x, 16GB RAM, IDEA(IntelliJ), Gradle
Build
>            Reporter: Gil
>
> I've upgraded from 1.6.3 to 1.7.0, migrated our project to utilize the HttpClient 4.5.x
and Axis2 to include copying the axis2.xml from the binary download into the project.  Not
able to get past this error and I've tried rebuilds, updates to axis2.xml and so on.
> http://cl.ly/1m163I1X0K38
> java.lang.ClassCastException: org.apache.http.impl.client.InternalHttpClient cannot be
cast to org.apache.http.impl.client.AbstractHttpClient
> 	at org.apache.axis2.transport.http.impl.httpclient4.HTTPSenderImpl.getHttpClient(HTTPSenderImpl.java:797)
~[axis2-transport-http-1.7.0.jar:1.7.0]
> 	at org.apache.axis2.transport.http.impl.httpclient4.HTTPSenderImpl.sendViaPost(HTTPSenderImpl.java:200)
~[axis2-transport-http-1.7.0.jar:1.7.0]
> 	at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:121) ~[axis2-transport-http-1.7.0.jar:1.7.0]
> 	at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:403)
~[axis2-transport-http-1.7.0.jar:1.7.0]
> 	at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:234)
~[axis2-transport-http-1.7.0.jar:1.7.0]
> 	at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:431) ~[axis2-kernel-1.7.0.jar:1.7.0]
> 	at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:399)
~[axis2-kernel-1.7.0.jar:1.7.0]
> 	at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:225)
~[axis2-kernel-1.7.0.jar:1.7.0]
> 	at org.apache.axis2.client.OperationClient.execute(OperationClient.java:150) ~[axis2-kernel-1.7.0.jar:1.7.0]



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message