Hi, I've got an application running under WebLogic 8.1 using an MDB and in the onMessage code for that bean I'm using a library that internally is using XmlBeans 2.1.0. When it gets to constructing any XmlBeans classes it gets all sorts of weird class not found errors for things liks org.apache.xmlbeans.XmlBeans. I've tried all sorts of things like manually forcing the xbeans jar to the front of the classpath for WebLogic but to no avail.
To track down the issue I've distilled the problem down to a simple MDB with this impl: public void setMessageDrivenContext(MessageDrivenContext messageDrivenContext) throws EJBException { XmlString string = XmlString.Factory.newInstance(); string.setStringValue("Hello World"); logger.info(string); } If I use xmlbeans 2.1.0 then I get this exception stack: java.lang.NoClassDefFoundError: org/apache/xmlbeans/XmlBeans at org.apache.xmlbeans.XmlBeans.getContextTypeLoader()Lorg.apache.xmlbeans. SchemaTypeLoader;(XmlBeans.java:???) at org.apache.xmlbeans.XmlString$Factory.newInstance()Lorg.apache.xmlbeans. XmlString;(XmlString.java:50) ... I've also noticed that if I switch my test app to use xmlbeans 1.0.4 then it works fine. However this isn't really an option for me as I'd have to persuade the author of the library we're using to revert to the older version, which isn't likely. Can anybody help? I'm stumped as to how to get it working. thanks James ------------------------------------------------------------------------------ This message is intended only for the personal and confidential use of the designated recipient(s) named above. If you are not the intended recipient of this message you are hereby notified that any review, dissemination, distribution or copying of this message is strictly prohibited. This communication is for information purposes only and should not be regarded as an offer to sell or as a solicitation of an offer to buy any financial product, an official confirmation of any transaction, or as an official statement of Lehman Brothers. Email transmission cannot be guaranteed to be secure or error-free. Therefore, we do not represent that this information is complete or accurate and it should not be relied upon as such. All information is subject to change without notice. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]