Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 96887 invoked from network); 24 Aug 2009 20:54:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 24 Aug 2009 20:54:00 -0000 Received: (qmail 90363 invoked by uid 500); 24 Aug 2009 20:54:23 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 90312 invoked by uid 500); 24 Aug 2009 20:54:23 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 90301 invoked by uid 99); 24 Aug 2009 20:54:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Aug 2009 20:54:23 +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 andreas.veithen@gmail.com designates 209.85.218.216 as permitted sender) Received: from [209.85.218.216] (HELO mail-bw0-f216.google.com) (209.85.218.216) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Aug 2009 20:54:13 +0000 Received: by bwz12 with SMTP id 12so1572431bwz.16 for ; Mon, 24 Aug 2009 13:53:51 -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 :from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=ZIYzFS+CeQmoLk8a3gg7WLs8TkXbM1T5N3QLVuVnYYo=; b=Khf4cebUEl0ypsu87+ndbDPaNMEQ6M5dGGBbsBE6U7bbXRy73YNYlIdwnmdqFkHwMj l7Ev1quhtYIcerP/4N/pFsmU89urPZDKtexCe2HZuZ+O8EKehztgRNSYrTgcyAjJmMrn QgOQ2YDrsPCxcVORd/bb5fYGdMleAAGTVm+mQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=MzsTZEtmy/4ZWjg6bsY0Cq5GybzVsBnZXyD0ToJ5kkrCqTSYV9shgjMOorzKEPe+od eTVkecRPIsdOTH6TBdE9WJClW3Rg1nEqBbyRkx9gg99oUcg+Hlrh9jgc4mmoM3Wv3DtF n2VA0n1CcHntL2GZ2v0n8efXpLpKmu+sqVPvY= MIME-Version: 1.0 Received: by 10.239.163.225 with SMTP id q33mr563609hbd.137.1251147231297; Mon, 24 Aug 2009 13:53:51 -0700 (PDT) In-Reply-To: References: From: Andreas Veithen Date: Mon, 24 Aug 2009 22:53:31 +0200 Message-ID: Subject: Re: imcompatible issue between axis2 and weblogic 10 To: axis-user@ws.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Try removing geronimo-stax-api_1.0_spec-1.0.1.jar from WEB-INF/lib. Andreas On Mon, Aug 24, 2009 at 22:28, Hu, Mary - ITG wrote: > > In axis2 - Application Server Specific Configuration Guide, it mentions > how to deploy axis2 into weblogic. However, I have seen an issue that is > blocking me. I wonder anyone has a solution for it: > > 1. I have a WAR containing axis2 jars. > > 2. My application requires prefer-web-inf-classes to be set as "true" in > weblogic.xml. > > 3. I got below exception: > > java.lang.ClassCastException: com.ctc.wstx.stax.WstxInputFactory cannot > be cast > to javax.xml.stream.XMLInputFactory > at javax.xml.stream.XMLInputFactory.newInstance(XMLInputFactory.java:137 > ) > at weblogic.servlet.internal.TldCacheHelper$TldIOHelper.parseXML(TldCach > eHelper.java:124) > > > I know it is because weblogic can't use Woodstock stream parser. But how > to instruct weblogic to use Woodstock beside wrap the app into an EAR > (It doesn't apply me case)? > > Appreciate any help. > > > Mary Hu > > This email is confidential and subject to important disclaimers and > conditions including on offers for the purchase or sale of > securities, accuracy and completeness of information, viruses, > confidentiality, legal privilege, and legal entity disclaimers, > available at http://www.jpmorgan.com/pages/disclosures/email. >