Hello, Our project is based on jdk1.4.2 and run on WebSphere v5.1. As some of our codes has existed for more than 6 years, the xml parser has not been updated since it was first used (Version: XML4j 4.0.9). It does the job until recently two of new business processes was implemented. Both functions (one of them uses crystal report java library) use SAXParser, and three kinds of exceptions occur: Firstly, a ClassDefNotFound Exception is thrown by crystal report library. We are still trying to drill down the root cause. Second, a ClassCastException. We are aware that it may have something to do with websphere class loader. Lastly, serious memory leaking that causes system crash.
The first two exceptions occur very rarely, plus we are not sure about the root causes, it's very difficult to reproduce exception. We doubt that early version of XML4j may has some issues with multi-threading (so exception may rise when few functions try to access parser at same time). After research online, we know it has been reported that early version of SAXParsers do have memory leaking issue. We are not sure if that include version XML4j 4.0.9. We understand it's better to download the latest version of Xerces.jar. However, we are concerned about the impact on the existing old codes if we use the new version. Hence, we decide to identify the problem first. Any advice will be much appreciated. Thank you. Kind Regards, Frank ________________________________ If you are not an authorised recipient of this e-mail, please contact me at Redflex immediately by return phone call or by email. In this case, you should not read, print, retransmit, store or act in reliance on this e-mail or any attachments, and should destroy all copies of them. This e-mail and any attachments are confidential and may contain privileged information and/or copyright material of Redflex or third parties. You should only retransmit, distribute or commercialise the material if you are authorised to do so. This notice should not be removed.