Return-Path: X-Original-To: apmail-axis-java-user-archive@www.apache.org Delivered-To: apmail-axis-java-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 06A70E2D1 for ; Mon, 31 Dec 2012 11:02:10 +0000 (UTC) Received: (qmail 19608 invoked by uid 500); 31 Dec 2012 11:02:08 -0000 Delivered-To: apmail-axis-java-user-archive@axis.apache.org Received: (qmail 19563 invoked by uid 500); 31 Dec 2012 11:02:08 -0000 Mailing-List: contact java-user-help@axis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@axis.apache.org Delivered-To: mailing list java-user@axis.apache.org Received: (qmail 19544 invoked by uid 99); 31 Dec 2012 11:02:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Dec 2012 11:02:07 +0000 X-ASF-Spam-Status: No, hits=0.3 required=5.0 tests=FREEMAIL_REPLY,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of andreas.veithen@gmail.com designates 209.85.223.181 as permitted sender) Received: from [209.85.223.181] (HELO mail-ie0-f181.google.com) (209.85.223.181) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Dec 2012 11:02:00 +0000 Received: by mail-ie0-f181.google.com with SMTP id 16so14678550iea.40 for ; Mon, 31 Dec 2012 03:01:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=9wM0XGfGyk8d5dCmDi1Z4E0+NTKL+Ha/jZW157+buTc=; b=nDghWSVl47IhJnWR7tANuwaa1G1zgULqpEAXGV4CGxUfRXRCnhFPZOWF6PNCOOJblN cuHnyvCGvb0CrRXtfP0ct0dHXVeHcFbg5iDyIcOx0jNJspQUZUwr9pei1dKcnuwOo28X 3bSIexeG2VeqhXmLCkItGrYXt2wECDQveclJch68oegaccdomAZbWdEnPSv8djdWDqbf 7W/f3vOYez9fv68JY4WetosKg5FVZ2N7zA+zZF4hvVrh7uXX4qg+e/WHUFRxHH963JWa 3aKlo6ab6fHaGuChruSHdGHn1B6rxKdKzpMfaLiFF5qoprKHG+vr+8V0v+QWUXZ+LxV4 OL6A== Received: by 10.50.106.135 with SMTP id gu7mr30484930igb.111.1356951699853; Mon, 31 Dec 2012 03:01:39 -0800 (PST) MIME-Version: 1.0 Received: by 10.42.167.65 with HTTP; Mon, 31 Dec 2012 03:01:19 -0800 (PST) In-Reply-To: References: <20121221093713.B86654480DD@nhs-pd1e-esg103.ad1.nhs.net> From: Andreas Veithen Date: Mon, 31 Dec 2012 12:01:19 +0100 Message-ID: Subject: Re: org.apache.axiom.om.OMException with Axis2 Client To: java-user Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org On Fri, Dec 21, 2012 at 4:24 PM, Martin Gainty wrote: > > you're right ..this should be handled by a profile inside pom.ml which tr= iggers on feature property value being 'default' or 'dom' > > if (feature.equals(FEATURE_DEFAULT)) { > jarHint =3D "axiom-impl.jar"; > } else if (feature.equals(FEATURE_DOM)) { > jarHint =3D "axiom-dom.jar"; > } else { > jarHint =3D null; > } Nonsense. The purpose of that piece of code is just to produce a more meaningful error message (instead of just "No meta factory found for feature 'xxx'"). > assuming axiom-impl-1.2.13.jar is on classpath > > mv axiom-impl-1.2.13.jar axiom-impl.jar > > org.apache.axiom.om.OMAbstractFactory is not able to pickup version speci= fic axiom-impl-1.2.13.jar Nonsense. The code (that loads the meta factories, not the one shown above) looks for resources called META-INF/axiom.xml. The name of the JAR doesn't matter. > > Feliz Navidad desde EEUU, > Martin Gainty > ______________________________________________ > por favor no altere ni interrumpir la transmisi=F3n > por favor no altere ni interrumpir la transmisi=F3n..Gracias > > > > ________________________________ > From: oscaster@hotmail.com > To: axis-user@ws.apache.org > Subject: org.apache.axiom.om.OMException with Axis2 Client > Date: Fri, 21 Dec 2012 12:50:40 +0100 > > > Sorry i didn=B4t change subject > > Hi all: > > I=B4ve created an Axis2 client to retrieve info from an Axis2 Web Ser= vice, when i test it at my local Ide Netbeans it all works fine, but when i= try it at Testing environment (which is a copy of Pro) it says me the foll= owing error: > > org.apache.axiom.om.OMException: No meta factory found for feature 'defau= lt'; this usually means that axiom-impl.jar is not in the classpath > > > I=B4am pretty sure i have axiom-impl-1.2.13 on my classpath (i have tri= ed with all axiom jars which comes with Axis2 distribution and with axiom.j= ar also). None of this tries works, i search on google and only what i foun= d it=B4s to use axiom.jar instead o impl or api one (i have also tried this= and doesn=B4t work) > > Could anyone help me with this feature? > > Thanks in advace > > Kind regards and also Merry Christmas!! > > Oscar > --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org For additional commands, e-mail: java-user-help@axis.apache.org