i tried the trick and it didn't work. i still get the same error message. it looked more like a java issue to me. have any more suggestions?
what i doing here is building tomcat straight from source and i have the most recent src version off the jakarta website. -----Original Message----- From: Carlos Ferreira [mailto:[EMAIL PROTECTED]] Sent: Friday, August 09, 2002 12:44 PM To: [EMAIL PROTECTED] Subject: Re: Error 500 need help it looks like you have an xml parser conflict ( tomcat's xerces and the jdk's xml parser ). either download tomcat4-LE-jdk14 or reorder your xml parser's jar files in your classpath ( ie put xml-apis.jar, xercesImpl.jar first in your CLASSPATH). check xerces' documentation for further info. good look > ***i'm getting an error i can't solve. > during the build process i get a message that states this: > [javadoc] > /Jakarta/jakarta-tomcat-4.0.4-src/jasper/src/share/org/apache/jasper/compile > r/SunJavaCompiler.java:65:package sun.tools.javac does not exist > import sun.tools.javac.Main; > ^ > the build is successful but the jsp examples generate the error below > > any one have a solution?? i'm using j2sdk1.4.0_01 on read hat linux > 7.2. i'm assuming that i get this error because of the message above. > > > Apache Tomcat/4.0.4 - HTTP Status 500 - Internal Server Error > type Exception report > message Internal Server Error > description The server encountered an internal error (Internal Server > Error) that prevented it from fulfilling this request. > Exception > javax.servlet.ServletException: Servlet.init() for servlet jsp threw > exception > at > org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:94 > 6) > at > org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:655) > at > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja > va:214) > at > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 > 66) > at > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) > at > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) > at > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja > va:190) > at > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 > 66) > at > org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase > .java:475) > at > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 > 64) > at > org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2 > 46) > at > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 > 64) > at > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) > at > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) > at > org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347) > at > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180 > ) > at > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 > 66) > at > org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve. > java:170) > at > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 > 64) > at > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170 > ) > at > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 > 64) > at > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468) > at > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 > 64) > at > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) > at > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) > at > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java > :174) > at > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 > 66) > at > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) > at > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) > at > org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java: > 1027) > at > org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125 > ) > at java.lang.Thread.run(Thread.java:536) > root cause > java.lang.NoClassDefFoundError: org/w3c/dom/ranges/DocumentRange > at java.lang.Class.forName0(Native Method) > at java.lang.Class.forName(Class.java:130) > at > org.apache.xerces.parsers.AbstractDOMParser.setDocumentClassName(AbstractDOM > Parser.java:347) > at > org.apache.xerces.parsers.AbstractDOMParser.reset(AbstractDOMParser.java:417 > ) > at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:151) > at org.apache.xerces.parsers.DOMParser.parse(DOMParser.java:253) > at > org.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:20 > 1) > at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:86) at > org.apache.jasper.parser.ParserUtils.parseXMLDocument(ParserUtils.java:201) > at > org.apache.jasper.compiler.TldLocationsCache.processWebDotXml(TldLocationsCa > che.java:165) > at > org.apache.jasper.compiler.TldLocationsCache.(TldLocationsCache.java:138) > at > org.apache.jasper.EmbededServletOptions.(EmbededServletOptions.java:350) > at org.apache.jasper.servlet.JspServlet.init(JspServlet.java:265) at > org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:91 > 8) > at > org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:655) > at > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja > va:214) > at > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 > 66) > at > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) > at > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) > at > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja > va:190) > at > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 > 66) > at > org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase > .java:475) > at > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 > 64) > at > org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2 > 46) > at > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 > 64) > at > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) > at > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) > at > org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347) > at > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180 > ) > at > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 > 66) > at > org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve. > java:170) > at > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 > 64) > at > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170 > ) > at > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 > 64) > at > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468) > at > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 > 64) > at > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) > at > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) > at > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java > :174) > at > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 > 66) > at > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) > at > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) > at > org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java: > 1027) > at > org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125 > ) > at java.lang.Thread.run(Thread.java:536) > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> For additional > commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>