aspose file tools*
The moose likes Websphere and the fly likes java.lang.NoSuchMethodError: org/xml/sax/Attributes.getQName(I) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "java.lang.NoSuchMethodError: org/xml/sax/Attributes.getQName(I)" Watch "java.lang.NoSuchMethodError: org/xml/sax/Attributes.getQName(I)" New topic
Author

java.lang.NoSuchMethodError: org/xml/sax/Attributes.getQName(I)

rajesh babu Y
Ranch Hand

Joined: Nov 12, 2010
Posts: 31
Hi,

we're migrating the application from WAS 5 to WAS 6. There are jars xalan.jar, xbean.jar, dom4j-full.jar,j2ee.ar files for performing the operations(reading, writing) on xml.

WAS 5 has j2ee.jar file in lib, which has implements Attributes.getQName(I) of xalan.jar, dom4j-full.jar, xbean.jar through the class AttributesImpl.

WAS 6 has j2ee.jar file in lib, but won't implement the Attributes.getQName(I) of xalan.jar,dom4j-full.jar, xbean.jar.

when we compile with WAS 6 j2ee.jar, not giving compilation errors. But in runtime getting the same exception:

[4/4/12 9:32:07:984 CDT] 0000002a ExceptionUtil E CNTR0020E: EJB threw an unexpected (non-declared) exception during invocation of method "getGeoLOV"
on bean "BeanId(ot-41786#qas_ejb.jar#AddressService, null)". Exception data: java.lang.NoSuchMethodError:
org/xml/sax/Attributes.getQName(I)Ljava/lang/String;
at org.apache.xmlbeans.impl.store.Locale$SaxHandler.startElement(Locale.java:3205)
at org.apache.xmlbeans.impl.piccolo.xml.Piccolo.reportStartTag(Piccolo.java:1082)
at org.apache.xmlbeans.impl.piccolo.xml.PiccoloLexer.yylex(PiccoloLexer.java:4957)
at org.apache.xmlbeans.impl.piccolo.xml.Piccolo.yylex(Piccolo.java:1290)
at org.apache.xmlbeans.impl.piccolo.xml.Piccolo.yyparse(Piccolo.java:1400)
at org.apache.xmlbeans.impl.piccolo.xml.Piccolo.parse(Piccolo.java:714)
at org.apache.xmlbeans.impl.store.Locale$SaxLoader.load(Locale.java:3435)
at org.apache.xmlbeans.impl.store.Locale.parse(Locale.java:706)
at org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:690)
at org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:677)
at org.apache.xmlbeans.impl.schema.SchemaTypeLoaderBase.parse(SchemaTypeLoaderBase.java:208)
at com.cisco.cixs20.oagis.ShowLocationDocument$Factory.parse(Unknown Source)
at com.cisco.qtc.services.qas.services.GeoLOVRequest.convertXMLToObject(GeoLOVRequest.java:159)
at com.cisco.qtc.services.qas.util.EDSGServiceHelper.requestEDSGService(EDSGServiceHelper.java:56)
at com.cisco.qtc.services.qas.beans.AddressServiceBean.invokeEDSGService(AddressServiceBean.java:1066)
at com.cisco.qtc.services.qas.beans.AddressServiceBean.getGeoLOV(AddressServiceBean.java:392)
at com.cisco.qtc.services.qas.beans.EJSLocalStatelessAddressService_c6aaf724.getGeoLOV(Unknown Source)
at cisco.ipc.ejbclient.QASInterface.getGeoLOV(QASInterface.java:199)

Could you let me know the supporting jars to resolve the issue.

Thanks,
Rajesh
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java.lang.NoSuchMethodError: org/xml/sax/Attributes.getQName(I)