Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 13866 invoked from network); 21 Nov 2007 19:20:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Nov 2007 19:20:53 -0000 Received: (qmail 35342 invoked by uid 500); 21 Nov 2007 19:20:32 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 35314 invoked by uid 500); 21 Nov 2007 19:20:32 -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 35303 invoked by uid 99); 21 Nov 2007 19:20:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Nov 2007 11:20:32 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [208.29.250.59] (HELO ejgallo.com) (208.29.250.59) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Nov 2007 19:20:21 +0000 Received: from ([10.28.5.27]) by XDOGWY009.ejgallo.com with ESMTP id KP-BRAXL.71893486; Wed, 21 Nov 2007 11:20:02 -0800 Received: from MODMSX011.network.local ([10.28.5.32]) by MODMSX001.network.local with Microsoft SMTPSVC(5.0.2195.6713); Wed, 21 Nov 2007 11:20:02 -0800 X-MimeOLE: Produced By Microsoft Exchange V6.0.6619.12 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C82C73.83A2B360" Subject: RE: BEA 8.1 sp5 and Axis2 (QName no such method) Date: Wed, 21 Nov 2007 11:20:02 -0800 Message-ID: <22C5A81B3491F241BF9447DC9C79E24D059B1665@modmsx011.network.local> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: BEA 8.1 sp5 and Axis2 (QName no such method) Thread-Index: AcgscDx495LVMPOTSXyy5xb+pxuw+gAAo9+Q From: "Spies, Brennan" To: X-OriginalArrivalTime: 21 Nov 2007 19:20:02.0389 (UTC) FILETIME=[83C8B850:01C82C73] X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01C82C73.83A2B360 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable The NoSuchMethodError is because you have an older version of QName that lacks this constructor on your classpath. =20 Write a debugging method that prints out=20 =20 QName.class.getProtectionDomain().getCodeSource().getLocation() =20 from the point of your code where this error occurs. If QName is coming = from a jar in Weblogic itself, you may have to investigate a custom = classloading strategy to run Axis 2 on the app server (or hack the jar and update QName...). =20 Brennan Spies Sr. Programmer Analyst Shared Application Services =20 -----Original Message----- From: k2g [mailto:kkganesan@gmail.com]=20 Sent: Wednesday, November 21, 2007 10:56 AM To: axis-user@ws.apache.org Subject: BEA 8.1 sp5 and Axis2 (QName no such method) =20 Here is the QName incompatibility ... is this something to do with a bad = jar ... how do i figure out which QName is getting loaded .... please = comment on it.=20 21 Nov 2007 13:13:39,399 DEBUG AxisService [ExecuteThread: '12' for queue: ' weblogic.kernel.Default'][]: mapActionToOperation: Mapping = Action to Operation: action: urn:PMWSRadiusSearch; operation: org.apache.axis2.description.OutInAxisOperation@7c8e4c 21 Nov 2007 13:13:39,399 DEBUG Loader [ExecuteThread: '12' for queue: ' weblogic.kernel.Default'][]: Trying to find [org/apache/axis2/deployment/axis2_default.xml] using weblogic.utils.classloaders.ChangeAwareClassLoader@138cf71( finder: weblogic.utils.classloaders.CodeGenClassFinder@79de1d , annotation: geocode@geocode, parent: weblogic.utils.classloaders.GenericClassLoader@8fe4ad( finder: weblogic.utils.classloaders.CodeGenClassFinder@e54643, annotation: = geocode@, parent: weblogic.utils.classloaders.GenericClassLoader@f7bf2d ( finder: weblogic.utils.classloaders.CodeGenClassFinder@78b973, annotation: ApplicationClassLoader@, parent: weblogic.utils.classloaders.GenericClassLoader@ca5bff( finder: weblogic.utils.classloaders.CodeGenClassFinder@1d75e80 , annotation: = null, parent: sun.misc.Launcher$AppClassLoader@53ba3d)))) class loader. 21 Nov 2007 13:13:39,399 DEBUG StAXUtils [ExecuteThread: '12' for queue: 'weblogic.kernel.Default'][]: XMLStreamReader is com.ctc.wstx.sr.ValidatingStreamReader 21 Nov 2007 13:13:39,430 ERROR Framework [ExecuteThread: '12' for queue: 'weblogic.kernel.Default'][]: Processing Framework Error javax.ejb.EJBException : EJB Exception: : java.lang.NoSuchMethodError: javax.xml.namespace.QName.(Ljava/lang/String;Ljava/lang/String;Ljav= a/la ng/String;)V at com.ctc.wstx.sr.NsInputElementStack.getCurrentElementName(NsInputElementS= tack .java :651) at = com.ctc.wstx.sr.BasicStreamReader.getName(BasicStreamReader.java:723) at org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:16= 0) at org.apache.axiom.om.impl.llom.OMDocumentImpl.getOMDocumentElement (OMDocumentImpl.java:130) at org.apache.axiom.om.impl.builder.StAXOMBuilder.getDocumentElement(StAXOMB= uild er.java:359) at org.apache.axis2.util.XMLUtils.toOM(XMLUtils.java:568) at org.apache.axis2.deployment.DescriptionBuilder.buildOM (DescriptionBuilder.java:96) at org.apache.axis2.deployment.AxisConfigBuilder.populateConfig(AxisConfigBu= ilde r.java:79) at org.apache.axis2.deployment.DeploymentEngine.populateAxisConfiguration(De= ploy mentEngine.java :615) at org.apache.axis2.deployment.FileSystemConfigurator.getAxisConfiguration(F= ileS ystemConfigurator.java:115) at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationC= onte xt(ConfigurationContextFactory.java :64) at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationC= onte xtFromFileSystem(ConfigurationContextFactory.java:180) at org.apache.axis2.client.ServiceClient.configureServiceClient (ServiceClient.java:146) at = org.apache.axis2.client.ServiceClient.(ServiceClient.java:139) at com.sample.extservice.library.adb.ServiceStub.(ServiceStub.java:187= ) at com.sample.eflatbed.extservice.library.adb.ServiceStub.(ServiceStub= .jav a:173) ... --=20 -- Krishna=20 ------_=_NextPart_001_01C82C73.83A2B360 Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable

The NoSuchMethodError is because = you have an older version of QName that lacks this constructor on your = classpath.

 

Write a debugging method that = prints out

 

QName.class.getPr= otectionDomain().getCodeSource().getLocation()

 

from the point of your code where = this error occurs. If QName is coming from a jar in Weblogic itself, you may = have to investigate a custom classloading strategy to run Axis 2 on the app = server (or hack the jar and update QName…).

 

Brennan Spies

Sr. Programmer = Analyst

Shared Application = Services

 

-----Original = Message-----
From: k2g [mailto:kkganesan@gmail.com]
Sent:
Wednesday, November 21, 2007 10:56 = AM
To: = axis-user@ws.apache.org
Subject: BEA 8.1 sp5 and = Axis2 (QName no such method)

 

Here is the QName incompatibility ... is this something to do with a bad jar ... how do i figure out which QName is = getting loaded .... please comment on it.

21 Nov 2007 13:13:39,399 DEBUG AxisService     [ExecuteThread: '12' for queue: ' = weblogic.kernel.Default'][]: mapActionToOperation: Mapping Action to Operation: action: urn:PMWSRadiusSearch; operation: org.apache.axis2.description.OutInAxisOperation@7c8e4c

21 Nov 2007 13:13:39,399 DEBUG Loader          = [ExecuteThread: '12' for queue: ' weblogic.kernel.Default'][]: Trying to find [org/apache/axis2/deployment/axis2_default.xml] using weblogic.utils.classloaders.ChangeAwareClassLoader@138cf71( finder: weblogic.utils.classloaders.CodeGenClassFinder@79de1d , annotation: geocode@geocode, parent: = weblogic.utils.classloaders.GenericClassLoader@8fe4ad( finder: weblogic.utils.classloaders.CodeGenClassFinder@e54643, = annotation: geocode@, parent: weblogic.utils.classloaders.GenericClassLoader@f7bf2d = ( finder: weblogic.utils.classloaders.CodeGenClassFinder@78b973, = annotation: ApplicationClassLoader@, parent: weblogic.utils.classloaders.GenericClassLoader@ca5bff( finder: weblogic.utils.classloaders.CodeGenClassFinder@1d75e80 , annotation: = null, parent: sun.misc.Launcher$AppClassLoader@53ba3d)))) class loader.

21 Nov 2007 13:13:39,399 DEBUG = StAXUtils       [ExecuteThread: '12' for queue: 'weblogic.kernel.Default'][]: = XMLStreamReader is com.ctc.wstx.sr.ValidatingStreamReader

21 Nov 2007 13:13:39,430 ERROR = Framework       [ExecuteThread: '12' for queue: 'weblogic.kernel.Default'][]: Processing Framework Error

javax.ejb.EJBException : EJB Exception: : java.lang.NoSuchMethodError: javax.xml.namespace.QName.<init>(Ljava/lang/String;Ljava/lang/Strin= g;Ljava/lang/String;)V

    at = com.ctc.wstx.sr.NsInputElementStack.getCurrentElementName(NsInputElementS= tack.java :651)

    at com.ctc.wstx.sr.BasicStreamReader.getName(BasicStreamReader.java:723)
=
    at org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:16= 0)

    at = org.apache.axiom.om.impl.llom.OMDocumentImpl.getOMDocumentElement (OMDocumentImpl.java:130)

    at org.apache.axiom.om.impl.builder.StAXOMBuilder.getDocumentElement(StAXOMB= uilder.java:359)

    at = org.apache.axis2.util.XMLUtils.toOM(XMLUtils.java:568)

    at = org.apache.axis2.deployment.DescriptionBuilder.buildOM (DescriptionBuilder.java:96)

    at org.apache.axis2.deployment.AxisConfigBuilder.populateConfig(AxisConfigBu= ilder.java:79)

    at org.apache.axis2.deployment.DeploymentEngine.populateAxisConfiguration(De= ploymentEngine.java :615)

    at org.apache.axis2.deployment.FileSystemConfigurator.getAxisConfiguration(F= ileSystemConfigurator.java:115)

    at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationC= ontext(ConfigurationContextFactory.java :64)

    at = org.apache.axis2.context.ConfigurationContextFactory.createConfigurationC= ontextFromFileSystem(ConfigurationContextFactory.java:180)

    at org.apache.axis2.client.ServiceClient.configureServiceClient (ServiceClient.java:146)

    at = org.apache.axis2.client.ServiceClient.<init>(ServiceClient.java:139= )

    at com.sample.extservice.library.adb.ServiceStub.<init>(ServiceStub.ja= va:187)

    at com.sample.eflatbed.extservice.library.adb.ServiceStub.<init>(Servi= ceStub.java:173)
...

--
--
Krishna

------_=_NextPart_001_01C82C73.83A2B360--