Return-Path: Delivered-To: apmail-incubator-cxf-user-archive@locus.apache.org Received: (qmail 86133 invoked from network); 19 Nov 2007 09:12:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Nov 2007 09:12:11 -0000 Received: (qmail 28275 invoked by uid 500); 19 Nov 2007 09:11:57 -0000 Delivered-To: apmail-incubator-cxf-user-archive@incubator.apache.org Received: (qmail 28225 invoked by uid 500); 19 Nov 2007 09:11:57 -0000 Mailing-List: contact cxf-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cxf-user@incubator.apache.org Delivered-To: mailing list cxf-user@incubator.apache.org Received: (qmail 28216 invoked by uid 99); 19 Nov 2007 09:11:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Nov 2007 01:11:57 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jeff.yu@iona.com designates 12.170.54.180 as permitted sender) Received: from [12.170.54.180] (HELO amer-mx1.iona.com) (12.170.54.180) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Nov 2007 09:11:43 +0000 X-IronPort-AV: E=Sophos;i="4.21,435,1188792000"; d="scan'208";a="7342735" Received: from amer-ems1.ionaglobal.com ([10.65.6.25]) by amer-mx1.iona.com with ESMTP; 19 Nov 2007 04:11:36 -0500 Received: from [10.129.9.199] ([10.129.9.199]) by amer-ems1.IONAGLOBAL.COM with Microsoft SMTPSVC(6.0.3790.1830); Mon, 19 Nov 2007 04:11:35 -0500 Message-ID: <47415400.1080800@iona.com> Date: Mon, 19 Nov 2007 17:14:40 +0800 From: Jeff Yu User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: cxf-user@incubator.apache.org Subject: Re: service ok, client not... References: <20070624081839.572E610FB011@herse.apache.org> <467F1BCE.5080802@iona.com> <20070625064240.9AF9E10FB00F@herse.apache.org> <467F7D9F.20009@iona.com> <20070625085013.5DBE410FB047@herse.apache.org> <467F8939.5010408@iona.com> <20070625101650.3CB2610FB035@herse.apache.org> <13829224.post@talk.nabble.com> In-Reply-To: <13829224.post@talk.nabble.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 19 Nov 2007 09:11:36.0389 (UTC) FILETIME=[2FAFAF50:01C82A8C] X-Virus-Checked: Checked by ClamAV on apache.org Hi, Use the isolated & child-first algorithm classloader should resolve this issue. See below two links. 1. http://cwiki.apache.org/CXF20DOC/appserverguide.html#AppServerGuide-WebLogic 2. http://edocs.bea.com/wls/docs92/programming/classloading.html Thanks Jeff Corneliu wrote: > Hello > I am having the same error. > I am using WebLogic 9.2 and trying to invoke a webservice using a client > created with cxf. > I receive the charsetname error. I resolved this error by setting the > folowing properties from java code: > javax.xml.stream.XMLInputFactory="com.ctc.wstx.stax.WstxInputFactory" /> > javax.xml.stream.XMLOutputFactory="com.ctc.wstx.stax.WstxOutputFactory" /> > javax.xml.stream.XMLEventFactory="com.ctc.wstx.stax.WstxEventFactory" /> > But somehow after this settings are set in web logic and other web services > are deployed, I receive another error saying that > com.ctc.wstx.stax.WstxInputFactory could not be found. This is because the > jar that contains com.ctc.wstx.stax.WstxInputFactory is not in the classpath > of weblogic. > If I try to put tis jar in the classpath of weblogic weblogic won;t start > anymore. > Does anyone know how can I solve this problem? > Regards Corneliu > > > Jan Kriesten wrote: > >> hi willem, >> >> >>> com.caucho.xml.stream.XMLInputFactoryImpl.createXMLStreamReader(XMLInputFactoryImpl.java:149) >>> I just went through current CXF trunk's lib, and not found any thing >>> about com.caucho.xml.stream.XMLInputFactoryImpl >>> After I google it, I found it relates to resin. >>> In CXF, we use Woodstox (wstx-asl-3.2.1.jar) as the stax >>> implementation, and we have a good test with it. >>> So please make sure the servlet can load Woodstox first. >>> >> right, this is from resin. i've changed the system properties for resin as >> follows: >> >> > javax.xml.stream.XMLInputFactory="com.ctc.wstx.stax.WstxInputFactory" /> >> > javax.xml.stream.XMLOutputFactory="com.ctc.wstx.stax.WstxOutputFactory" /> >> > javax.xml.stream.XMLEventFactory="com.ctc.wstx.stax.WstxEventFactory" /> >> >> >> this seems to solve the problem, thanks for your help! :-) i've reported >> this >> problem to the resin team, hopefully they solve it for other users in the >> next >> release... >> >> >> cheers, --- jan. >> >> >> >> >> > >