axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Spies, Brennan" <Brennan.Sp...@ejgallo.com>
Subject RE: BEA 8.1 sp5 and Axis2 (QName no such method)
Date Wed, 21 Nov 2007 19:20:02 GMT
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: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/String;Ljava/la
ng/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(StAXOMBuild
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(AxisConfigBuilde
r.java:79)

    at
org.apache.axis2.deployment.DeploymentEngine.populateAxisConfiguration(Deploy
mentEngine.java :615)

    at
org.apache.axis2.deployment.FileSystemConfigurator.getAxisConfiguration(FileS
ystemConfigurator.java:115)

    at
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationConte
xt(ConfigurationContextFactory.java :64)

    at
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationConte
xtFromFileSystem(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.jav
a:173)
...

-- 
--
Krishna 


Mime
View raw message