Problem using axis2 and WebSphere 7, Axiom and httpclient error
---------------------------------------------------------------
Key: AXIS2-5248
URL: https://issues.apache.org/jira/browse/AXIS2-5248
Project: Axis2
Issue Type: Bug
Affects Versions: 1.6.1
Environment: Integrated Solutions Console, 7.0.0.13
Build Number: cf131039.07
Build Date: 10/2/10
Linux OS
Reporter: Francisco Collao
Priority: Blocker
I have been using axis2 as a connector for consume WS. In most environment runs
OK but whren I use WebSphere, I have this error:
[2/21/12 18:09:10:761 CLST] 0000075e servlet E
com.ibm.ws.webcontainer.servlet.ServletWrapper service SRVE0068E: Se ha creado
una excepción no detectada en uno de los métodos de servicio d
el servlet Process en la aplicación bancoindustrial-persona-debug. Excepción
creada: java.lang.NoSuchMethodError:
org/apache/axiom/om/OMFactory.getMetaFactory()Lorg/apache/axiom/om/OMMetaFactory
;
at
org.apache.axiom.om.OMXMLBuilderFactory.createOMBuilder(OMXMLBuilderFactory.java:184)
at
org.apache.axiom.om.OMXMLBuilderFactory.createOMBuilder(OMXMLBuilderFactory.java:168)
at org.apache.axiom.om.util.AXIOMUtil.stringToOM(AXIOMUtil.java:54)
at org.apache.axiom.om.util.AXIOMUtil.stringToOM(AXIOMUtil.java:39)
I downloaded axis2 and I use the same dependencies that you propose for run,
this dependencies are:
axiom-api-1.2.12.jar
axiom-dom-1.2.12.jar
axiom-impl-1.2.12.jar
If I change this library to 1.2.9 version runs OK but I have another error but
with commons httpclient.
java.lang.ClassCastException: org.apache.commons.httpclient.HttpClient
incompatible with
org.apache.commons.httpclient.HttpClientjava.lang.ClassCastException:
org.apache.commons.httpclient.HttpClient incompatible with
org.apache.commons.httpclient.HttpClient
at
org.apache.axis2.transport.http.AbstractHTTPSender.getHttpClient(AbstractHTTPSender.java:483)
at
org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:156)
at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:75)
at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:371)
at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:210)
at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:452)
at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:401)
at
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:228)
at
org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
at
org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:549)
at
org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:529)
That problem appear when I try to reuse the httpclient (using
commons-httpclient-3.1)
So.. I don't know how can follow with this kind of problem (only with
websphere).
I appreciate any help.
For now... Im using axiom 1.2.9 and search for more information about the
httpclient error.
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]