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 2952990AE for ; Wed, 22 Feb 2012 15:24:17 +0000 (UTC) Received: (qmail 82227 invoked by uid 500); 22 Feb 2012 15:24:14 -0000 Delivered-To: apmail-axis-java-dev-archive@axis.apache.org Received: (qmail 82083 invoked by uid 500); 22 Feb 2012 15:24:13 -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 82008 invoked by uid 99); 22 Feb 2012 15:24:13 -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 15:24:13 +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 15:24: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 2A810334311 for ; Wed, 22 Feb 2012 15:23:49 +0000 (UTC) Date: Wed, 22 Feb 2012 15:23:49 +0000 (UTC) From: "Francisco Collao (Updated) (JIRA)" To: java-dev@axis.apache.org Message-ID: <855465740.4500.1329924229175.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1090112619.1285.1329862853350.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (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.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] Francisco Collao updated AXIS2-5248: ------------------------------------ Description:=20 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.webcontaine= r.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 war-debug. Excepci=C3=B3n creada: = java.lang.NoSuchMethodError: org/apache/axiom/om/OMFactory.getMetaFactory()= Lorg/apache/axiom/om/OMMetaFactory ; at org.apache.axiom.om.OMXMLBuilderFactory.createOMBuilder(OMXMLBui= lderFactory.java:184) at org.apache.axiom.om.OMXMLBuilderFactory.createOMBuilder(OMXMLBui= lderFactory.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.=20 java.lang.ClassCastException: org.apache.commons.httpclient.HttpClient inco= mpatible with org.apache.commons.httpclient.HttpClientjava.lang.ClassCastEx= ception: org.apache.commons.httpclient.HttpClient incompatible with org.apa= che.commons.httpclient.HttpClient at org.apache.axis2.transport.http.AbstractHTTPSender.getHttpClient= (AbstractHTTPSender.java:483) at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSende= r.java:156) at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:= 75) at org.apache.axis2.transport.http.CommonsHTTPTransportSender.write= MessageWithCommons(CommonsHTTPTransportSender.java:371) at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invok= e(CommonsHTTPTransportSender.java:210) at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:452) at org.apache.axis2.description.OutInAxisOperationClient.send(OutIn= AxisOperation.java:401) at org.apache.axis2.description.OutInAxisOperationClient.executeImp= l(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-httpc= lient-3.1) So.. I don't know how can follow with this kind of problem (only with websp= here).=20 I appreciate any help. For now... Im using axiom 1.2.9 and search for more information about the h= ttpclient error. was: 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.webcontaine= r.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. Exc= epci=C3=B3n creada: java.lang.NoSuchMethodError: org/apache/axiom/om/OMFact= ory.getMetaFactory()Lorg/apache/axiom/om/OMMetaFactory ; at org.apache.axiom.om.OMXMLBuilderFactory.createOMBuilder(OMXMLBui= lderFactory.java:184) at org.apache.axiom.om.OMXMLBuilderFactory.createOMBuilder(OMXMLBui= lderFactory.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.=20 java.lang.ClassCastException: org.apache.commons.httpclient.HttpClient inco= mpatible with org.apache.commons.httpclient.HttpClientjava.lang.ClassCastEx= ception: org.apache.commons.httpclient.HttpClient incompatible with org.apa= che.commons.httpclient.HttpClient at org.apache.axis2.transport.http.AbstractHTTPSender.getHttpClient= (AbstractHTTPSender.java:483) at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSende= r.java:156) at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:= 75) at org.apache.axis2.transport.http.CommonsHTTPTransportSender.write= MessageWithCommons(CommonsHTTPTransportSender.java:371) at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invok= e(CommonsHTTPTransportSender.java:210) at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:452) at org.apache.axis2.description.OutInAxisOperationClient.send(OutIn= AxisOperation.java:401) at org.apache.axis2.description.OutInAxisOperationClient.executeImp= l(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-httpc= lient-3.1) So.. I don't know how can follow with this kind of problem (only with websp= here).=20 I appreciate any help. For now... Im using axiom 1.2.9 and search for more information about the h= ttpclient error. =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 war-debug. Excepci=C3=B3n creada= : java.lang.NoSuchMethodError: org/apache/axiom/om/OMFactory.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