Return-Path: X-Original-To: apmail-axis-java-dev-archive@www.apache.org Delivered-To: apmail-axis-java-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 123CF9170 for ; Wed, 22 Feb 2012 11:56:11 +0000 (UTC) Received: (qmail 6829 invoked by uid 500); 22 Feb 2012 11:56:10 -0000 Delivered-To: apmail-axis-java-dev-archive@axis.apache.org Received: (qmail 6467 invoked by uid 500); 22 Feb 2012 11:56:10 -0000 Mailing-List: contact java-dev-help@axis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@axis.apache.org Delivered-To: mailing list java-dev@axis.apache.org Received: (qmail 6459 invoked by uid 99); 22 Feb 2012 11:56:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Feb 2012 11:56:10 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Feb 2012 11:56:09 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id C98B93349B5 for ; Wed, 22 Feb 2012 11:55:48 +0000 (UTC) Date: Wed, 22 Feb 2012 11:55:48 +0000 (UTC) From: "Francisco Collao (Commented) (JIRA)" To: java-dev@axis.apache.org Message-ID: <262684735.3927.1329911748827.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1090112619.1285.1329862853350.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (AXIS2-5248) Problem using axis2 and WebSphere 7, Axiom and httpclient error MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AXIS2-5248?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1321= 3544#comment-13213544 ]=20 Francisco Collao commented on AXIS2-5248: ----------------------------------------- Yep... but I use axis2 as a WS-client, I don't use the war file. =20 > 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 > Labels: axiom, axis2, httpclient, websphere > > I have been using axis2 as a connector for consume WS. In most environmen= t 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.webcontai= ner.servlet.ServletWrapper service SRVE0068E: Se ha creado una excepci=C3= =B3n no detectada en uno de los m=C3=A9todos de servicio d > el servlet Process en la aplicaci=C3=B3n bancoindustrial-persona-debug. E= xcepci=C3=B3n creada: java.lang.NoSuchMethodError: org/apache/axiom/om/OMFa= ctory.getMetaFactory()Lorg/apache/axiom/om/OMMetaFactory > ; > at org.apache.axiom.om.OMXMLBuilderFactory.createOMBuilder(OMXMLB= uilderFactory.java:184) > at org.apache.axiom.om.OMXMLBuilderFactory.createOMBuilder(OMXMLB= uilderFactory.java:168) > at org.apache.axiom.om.util.AXIOMUtil.stringToOM(AXIOMUtil.java:5= 4) > at org.apache.axiom.om.util.AXIOMUtil.stringToOM(AXIOMUtil.java:3= 9) > I downloaded axis2 and I use the same dependencies that you propose for r= un, 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 erro= r but with commons httpclient.=20 > java.lang.ClassCastException: org.apache.commons.httpclient.HttpClient in= compatible with org.apache.commons.httpclient.HttpClientjava.lang.ClassCast= Exception: org.apache.commons.httpclient.HttpClient incompatible with org.a= pache.commons.httpclient.HttpClient > at org.apache.axis2.transport.http.AbstractHTTPSender.getHttpClie= nt(AbstractHTTPSender.java:483) > at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSen= der.java:156) > at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.jav= a:75) > at org.apache.axis2.transport.http.CommonsHTTPTransportSender.wri= teMessageWithCommons(CommonsHTTPTransportSender.java:371) > at org.apache.axis2.transport.http.CommonsHTTPTransportSender.inv= oke(CommonsHTTPTransportSender.java:210) > at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:452) > at org.apache.axis2.description.OutInAxisOperationClient.send(Out= InAxisOperation.java:401) > at org.apache.axis2.description.OutInAxisOperationClient.executeI= mpl(OutInAxisOperation.java:228) > at org.apache.axis2.client.OperationClient.execute(OperationClien= t.java:163) > at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClien= t.java:549) > at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClien= t.java:529) > That problem appear when I try to reuse the httpclient (using commons-htt= pclient-3.1) > So.. I don't know how can follow with this kind of problem (only with web= sphere).=20 > 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 administrato= rs: https://issues.apache.org/jira/secure/ContactAdministrators!default.jsp= a For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org For additional commands, e-mail: java-dev-help@axis.apache.org