Hi,
after switching to struts 1.2.9, tomcat 5.5.16 and jdk 1.5_06 our
webapp which run ok under 1.4 doesn't even load:
javax.servlet.UnavailableException
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:368)
at javax.servlet.GenericServlet.init(GenericServlet.java:211)
2006-03-28 12:39:24,082 ERROR org.apache.struts.action.ActionServlet -
Unable to initialize Struts ActionServlet due to an unexpected
exception or error thrown, so marking the servlet as unavailable.
Most likely, this is due to an incorrect or missing library
dependency.
java.lang.NoClassDefFoundError: org/apache/crimson/parser/XMLReaderImpl
the cause seems to be:
312 2006-03-28 12:32:21,895 ERROR org.apache.commons.digester.Digester
- Digester.getParser:
org.xml.sax.SAXNotRecognizedException: Feature:
http://apache.org/xml/features/validation/dynamic
at
org.apache.crimson.parser.XMLReaderImpl.setFeature(XMLReaderImpl.java:213)
at
org.apache.crimson.jaxp.SAXParserImpl.setFeatures(SAXParserImpl.java:143)
at org.apache.crimson.jaxp.SAXParserImpl.<init>(SAXParserImpl.java:126)
as far as I understand crimson isn't used anymore in 1.5. I don't
understand why the digester tries to instantiate crimson, I assume
it's because of an outdated xml-lib in the project, but which? I can't
remove them all, since the project wouldn't compile than. Maybe
someone could throw a glance at the list and recognize the outdated
one:
activation.jar logkit-1.2.jar
mail.jar
mlibwrapper_jai.jar
pager-taglib.jar
pg74jdbc3.jar
antlr.jar j2ssh-core.jar protomatter-1.1.8.jar
BlowfishJ.jar jai_codec.jar
bsh-core-2.0b1.jar jai_core.jar
Classifier4J-0.6.jar jakarta-oro.jar struts.jar
Classifier4J-Optional-0.6.jar jakarta-regexp-1.3.jar taglibs-mailer.jar
commons-beanutils.jar jaxen-core.jar utility.jar
commons-digester.jar jaxen-jdom.jar velocity-1.4.jar
commons-fileupload.jar jdbm-0.12.jar
commons-logging.jar jdom.jar xalan.jar
commons-validator.jar jmagick.jar xercesImpl.jar
log4j-1.2.8.jar xmlParserAPIs.jar
Thanx
Leon
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]