Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 5832 invoked from network); 29 Jun 2009 15:29:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 29 Jun 2009 15:29:21 -0000 Received: (qmail 3832 invoked by uid 500); 29 Jun 2009 15:29:31 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 3737 invoked by uid 500); 29 Jun 2009 15:29:31 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 3729 invoked by uid 99); 29 Jun 2009 15:29:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Jun 2009 15:29:31 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jgawor@gmail.com designates 209.85.221.184 as permitted sender) Received: from [209.85.221.184] (HELO mail-qy0-f184.google.com) (209.85.221.184) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Jun 2009 15:29:22 +0000 Received: by qyk14 with SMTP id 14so5091499qyk.27 for ; Mon, 29 Jun 2009 08:29:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=rA4tEOBHIKBnKyMlqLpBTqRqrYVXW8Vm7mZEl5SQsNw=; b=mIX9A/GjtdEGXfbUw5UisDZ23q7vfRLQU6ZqFoP083816jlH4OeSG12sc1YyYzPONc uHUNrIB0pV4Fa3MXrQ4E8Gtr1c2LgDek013/AqAE1KCTRDG+gAWelHtZhRLhKz7SLKoz cq5z7ghaVtCAgDDGxSpF3s9qcKNWepIwReqkU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=LWVO9RAVc/kzBiOW6hAKRi1YIQJYbTxWnQwAzmZvtjeEFQ7194hK2WMl42XSvoMT0B 1bXRiRcPQBqQQkswbMOX1ixczPoUxz9pcIuKibQd/U2wrmqYq7urBc5FVPSzPfrCINr5 b2nJRgBdNeBx2/Vm3kZ2ybTUhGoXv8j/Dl100= MIME-Version: 1.0 Received: by 10.231.11.130 with SMTP id t2mr612528ibt.51.1246289340731; Mon, 29 Jun 2009 08:29:00 -0700 (PDT) In-Reply-To: <24250919.post@talk.nabble.com> References: <24245804.post@talk.nabble.com> <24250919.post@talk.nabble.com> Date: Mon, 29 Jun 2009 11:29:00 -0400 Message-ID: <5eb405c70906290829n112b19a6ia6ae7354e17d15f9@mail.gmail.com> Subject: Re: Problem when deploy CXF WebService (Service resource injection failed) From: Jarek Gawor To: dev@geronimo.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org If you are deploying a web application that contains its own CXF and Spring jars, try doing the following: 1) Set the following system property before starting the server: export GERONIMO_OPTS=3D"-Dorg.apache.geronimo.jaxws.builder.useSimpleFinder= =3Dtrue" 2) Add the following hidden-classes/filters to geronimo-web.xml file: org.apache.cxf org.springframework META-INF/spring However, if your web service is just a standard JAX-WS web service you can let Geronimo to deploy it. Just remove all CXF and Spring jars from your application and deploy it and Geronimo should be able to find your web service class. Jarek On Mon, Jun 29, 2009 at 5:22 AM, Westhveg wrote: > > More details about the exception: > > Caused by: org.apache.xbean.recipe.MissingFactoryMethodException: > Constructor has 5 arugments but expected 0 arguments: public > org.apache.cxf.js.rhino.DOMMessageProvider(org.mozilla.javascript.Scripta= ble,org.mozilla.javascript.Scriptable,java.lang.String,boolean,boolean) > =A0 =A0 =A0 =A0at > org.apache.xbean.recipe.ReflectionUtil.findConstructor(ReflectionUtil.jav= a:546) > =A0 =A0 =A0 =A0at org.apache.xbean.recipe.ObjectRecipe.findFactory(Object= Recipe.java:532) > =A0 =A0 =A0 =A0at > org.apache.xbean.recipe.ObjectRecipe.internalCreate(ObjectRecipe.java:270= ) > =A0 =A0 =A0 =A0at org.apache.xbean.recipe.AbstractRecipe.create(AbstractR= ecipe.java:96) > =A0 =A0 =A0 =A0at org.apache.xbean.recipe.AbstractRecipe.create(AbstractR= ecipe.java:61) > =A0 =A0 =A0 =A0at org.apache.geronimo.j2ee.annotation.Holder.newInstance(= Holder.java:173) > =A0 =A0 =A0 =A0at > org.apache.geronimo.jaxws.annotations.AnnotationHolder.newInstance(Annota= tionHolder.java:39) > =A0 =A0 =A0 =A0at org.apache.geronimo.cxf.pojo.POJOEndpoint.(POJOEn= dpoint.java:76) > =A0 =A0 =A0 =A0... 75 more > -- > View this message in context: http://www.nabble.com/Problem-when-deploy-C= XF-WebService-%28Service-resource-injection-failed%29-tp24245804s134p242509= 19.html > Sent from the Apache Geronimo - Dev mailing list archive at Nabble.com. > >