Thanks Brennan. I read a related entry at
http://xfire.codehaus.org/XFire+on+Weblogic+8.1 and set the path in the
weblogic.cmd to point to xml-apis axis qname library.

It rocks now.

On Nov 21, 2007 2:20 PM, Spies, Brennan <[EMAIL PROTECTED]> wrote:

>  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.getProtectionDomain().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:[EMAIL PROTECTED]
> *Sent:* Wednesday, November 21, 2007 10:56 AM
> *To:* [email protected]
> *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:
> [EMAIL PROTECTED]
>
> 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
> [EMAIL PROTECTED]( finder:
> [EMAIL PROTECTED] , annotation:
> [EMAIL PROTECTED], parent:
> [EMAIL PROTECTED]( finder:
> [EMAIL PROTECTED], annotation:
> geocode@, parent: [EMAIL PROTECTED] (
> finder: [EMAIL PROTECTED], annotation:
> ApplicationClassLoader@, parent:
> [EMAIL PROTECTED]( finder:
> [EMAIL PROTECTED] , annotation: null,
> parent: [EMAIL PROTECTED])))) 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/String;Ljava/lang/String;)V
>
>     at com.ctc.wstx.sr.NsInputElementStack.getCurrentElementName(
> NsInputElementStack.java :651)
>
>     at com.ctc.wstx.sr.BasicStreamReader.getName(BasicStreamReader.java
> :723)
>
>     at org.apache.axiom.om.impl.builder.StAXOMBuilder.next(
> StAXOMBuilder.java:160)
>
>     at org.apache.axiom.om.impl.llom.OMDocumentImpl.getOMDocumentElement (
> OMDocumentImpl.java:130)
>
>     at org.apache.axiom.om.impl.builder.StAXOMBuilder.getDocumentElement(
> StAXOMBuilder.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(
> AxisConfigBuilder.java:79)
>
>     at
> org.apache.axis2.deployment.DeploymentEngine.populateAxisConfiguration(
> DeploymentEngine.java :615)
>
>     at
> org.apache.axis2.deployment.FileSystemConfigurator.getAxisConfiguration(
> FileSystemConfigurator.java:115)
>
>     at
> org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext
> (ConfigurationContextFactory.java :64)
>
>     at
> org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem
> (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.java:187)
>
>     at com.sample.eflatbed.extservice.library.adb.ServiceStub.<init>(
> ServiceStub.java:173)
> ...
>
> --
> --
> Krishna
>



-- 
--
Krishna

Reply via email to