Hi there.
I'm trying to use a different SAX compliant XML parser in Castor (Piccolo or
Crimson) to see if there would be a change in the performance. I have
changed the castor.properties file to point to the new parser.
# Defines the default XML parser to be used by castor
# The parser must implement org.xml.sax.Parser
#
org.exolab.castor.parser=javax.xml.parsers.SAXParser
I have added the parser's jar file to my classPath. But I get the following
error:
java.lang.RuntimeException: Could not instantiate parser
javax.xml.parsers.SAXParser: java.lang.InstantiationException:
javax/xml/parsers/SAXParser minor code: 0 completed: No
at com.ibm.ejs.csi.OrbUtilsImpl.mapException(OrbUtilsImpl.java:76)
at
com.ibm.ejs.container.RemoteExceptionMappingStrategy.mapEJBException(RemoteE
xceptionMappingStrategy.java:387)
at
com.ibm.ejs.container.RemoteExceptionMappingStrategy.mapException(RemoteExce
ptionMappingStrategy.java:110)
at
com.ibm.ejs.container.RemoteExceptionMappingStrategy.setUncheckedException(R
emoteExceptionMappingStrategy.java:198)
at
com.ibm.ejs.container.EJSDeployedSupport.setUncheckedException(EJSDeployedSu
pport.java:294)............................................................
and it carries on.
I know that it is finding the parser in the path, coz it used to give a
ClassNotFound Exception.
Any-one have any ideas ???
THanX
Derick
PS. I know that Erik.Ostermueller wrote a doc on how to change parsers, but
I can't find it any-where
*******************************************************************
The e-mail and attachments are confidential and intended only for selected recipients.
If you have received it in error, you may not in any way disclose or rely on the
contents. You may not keep, copy or distribute the e-mail. Should you receive it,
immediately notify the sender of the error and delete the e-mail.Also note that this
form of communication is not secure, it can be intercepted, and may not necessarily be
free of errors and viruses in spite of reasonable efforts to secure this medium.
*******************************************************************
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev