Hi Gottfried, It seems it was the problem with the XMLReaderFactory ,where it sets the System property to use the parser class which is defined by the J2EE container. That's why the problem is occuring.. To avoid this problem we need to set the system property with our class name.
Regards, Sridhar -----Original Message----- From: Gottfried Szing [mailto:[EMAIL PROTECTED] Sent: Friday, June 14, 2002 2:08 AM To: [EMAIL PROTECTED] Subject: XMLReaderFactory hi i am using xerces within a j2ee-container and i have a problem with the XMLReaderFactory. i am using the xml-reader-factory to create a saxparser class. the problem i face is a classnotfoundexception for the parser class. but this happens only if i use the xmlreaderfactory within the container. if i run the same code in a standalone application everything is ok. and its not a wrong classname or a typo. if i use a class.forname instead of the XMLReaderFactory, the class is found and can be used without a problem. is this a wanted behaviour or is this a bug? i think the factory-call should also work within a container - not only in a standalone-application. maybe i am using a wrong approach. can someone tell me what have i done wrong? TIA gottfried --------------------------------------------------------------------- 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]
