Hi Honor, I think you need to use the WAS admin console to change the classloader mode for your EAR to "Parent Last". The default mode is "Parent First". For more info, see the WAS docs on troubleshooting classloaders: http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic=/c om.ibm.websphere.express.doc/info/exp/ae/ttrb_classload_viewer.html
-Ian | -----Original Message----- | From: [EMAIL PROTECTED] | [mailto:[EMAIL PROTECTED] | Sent: Tuesday, November 01, 2005 6:08 PM | To: dev@xmlbeans.apache.org | Subject: WSAD5.1.1 class path clashes with javax.xml.namespace.QName | | Hi, | | I'm trying to use XMLBeans 2.0.0 within WSAD 5.1.1. While | converting the xml document into java objects using the parse | method I get the following error | java.lang.NoSuchMethodError: javax.xml.namespace.QName: | method | <init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;) | V not found | at | org.apache.xmlbeans.impl.store.Locale.<clinit>(Locale.java:130) | at | org.apache.xmlbeans.impl.schema.SchemaTypeLoaderBase.parse(Sch | emaTypeLoaderBase.java:208) | at | au.gov.hic.agedCare.schemas.agedCareMessage.AgedCareMessageDoc | ument$Factory.parse(AgedCareMessageDocument.java:51) | | | This error occurs because the XMLBeans jar files are using | one version of the class, javax.xml.namespace.QName. | However, Websphere has its own older version of the same | class in v5.1.1\runtimes\ee_v51\lib directory in a jar file | qname.jar. The older version is being used instead of the | latest version. The runtimes classpath is always used ahead | of the classpath within the EJB, so I cannot get the | application to use the XMLBeans version of QName. | | Is there any way around this problem? | | Honor Chan | | | Honor Chan | 612 47837 | | | | | ************************************************************** | ****************** | NOTICE - This message is intended only for the use of the | addressee named above and may contain privileged and | confidential information. If you are not the intended | recipient of this message you are hereby notified that you | must not disseminate, copy or take any action based upon it. | If you received this message in error please notify Medicare | Australia immediately. Any views expressed in this message | are those of the individual sender, except where the sender | specifically states them to be the views of Medicare Australia. | ************************************************************** | ********************* | | | --------------------------------------------------------------------- | To unsubscribe, e-mail: [EMAIL PROTECTED] | For additional commands, e-mail: [EMAIL PROTECTED] | | --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]