RE: 500 error on all JSP pages
Users List' Subject: RE: 500 error on all JSP pages Hello all. I'm new to the list. I'm getting a 500 error on any JSP I try to run. If I run the servlet examples though, they seem to work fine. This is the same issue I have been working on all day. I finally got it to work about an hour ago. (FYI: I am running fresh install of Apache 1.3.22 and Tomcat 3.3.1 on Windows 2000 Pro. Apache is running as a service and using mod_jk to support Tomcat.) You are 80% home based on your description. Questions: - Does your jsp work if you throw it into the examples\jsp folder? If it runs in one folder but not another, make sure you have your directory layout formatted according this deployment guide: http://jakarta.apache.org/tomcat/tomcat-4.0-doc/appdev/deployment.html. - What does the Apache error log say? - What is your Apache-Tomcat glue (mod_jk, etc)? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: 500 error on all JSP pages
i'll do that. funny thing is tomcat comes with xerces.jar and i've used the file the came packaged with tomcat 4.0.4. i have downloaded the latest xerces.jar and i will try that. if none of that works how do i check the jar file to see if it contains the class needed? i tried unsuccessfully to view it using an editor, i figured i couldn't, but i was worth a try. -Original Message- From: Ralph Einfeldt [mailto:[EMAIL PROTECTED]] Sent: Monday, August 12, 2002 7:43 AM To: Tomcat Users List Subject: AW: 500 error on all JSP pages The relevant part is the root cause (see below). It looks like your xerces.jar isn't found or the jar that is found is an outdated version. So look where the jar is and if it is the only one on your system, and check that it contains the org/w3c/dom/ranges/DocumentRange.class. -Ursprüngliche Nachricht- Von: Anderson, Richard D ERDC-ITL-MS Contractor [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 12. August 2002 14:04 An: 'Tomcat Users List' Betreff: RE: 500 error on all JSP pages - 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) -- 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]
RE: 500 error on all JSP pages
thanks i'm checking my jars now; $JAVA_HOME/jre/lib/ext did not have the class and i will definitely check tools.jar and xercesImpl.jar. xerces2.0.2 does not have xerces.jar or crimson.jar. from what i read, the classes in both are placed in xercesImpl.jar -Original Message- From: Ralph Einfeldt [mailto:[EMAIL PROTECTED]] Sent: Monday, August 12, 2002 8:04 AM To: Tomcat Users List Subject: AW: 500 error on all JSP pages The xerces that is delivered with tomcat should be okay (at least it is for 4.0.3). To view the content of a jar use either $JAVA_HOME/bin/jar tvf jarfile or use an ordinary zip tool. Are you shure that that you don't have an jar file on your system that contains the w3c classes that might be found before xerces ? There might be other jar files that contain this classes. Have look espcially at jar files in $JAVA_HOME/jre/lib/ext. Ralph Einfeldt Uptime Internet Solution Center GmbH Hamburg, Germany Hosting, Content Management, Java Consulting http://www.uptime-isc.de -Ursprüngliche Nachricht- Von: Anderson, Richard D ERDC-ITL-MS Contractor [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 12. August 2002 14:54 An: 'Tomcat Users List' Betreff: RE: 500 error on all JSP pages i'll do that. funny thing is tomcat comes with xerces.jar and i've used the file the came packaged with tomcat 4.0.4. i have downloaded the latest xerces.jar and i will try that. if none of that works how do i check the jar file -- 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]
RE: 500 error on all JSP pages
i checked the xercesImpl.jar (from xerces-2.0.2)and it didn't have org/w3c/dom/ranges/DocumentRange.class so i downloaded the source of xerces-1.4.4. after building the binary dist i set tomcat's build.properties to xerces.jar and bang! it worked. thanks Ralph for you help -Original Message- From: Ralph Einfeldt [mailto:[EMAIL PROTECTED]] Sent: Monday, August 12, 2002 8:04 AM To: Tomcat Users List Subject: AW: 500 error on all JSP pages The xerces that is delivered with tomcat should be okay (at least it is for 4.0.3). To view the content of a jar use either $JAVA_HOME/bin/jar tvf jarfile or use an ordinary zip tool. Are you shure that that you don't have an jar file on your system that contains the w3c classes that might be found before xerces ? There might be other jar files that contain this classes. Have look espcially at jar files in $JAVA_HOME/jre/lib/ext. Ralph Einfeldt Uptime Internet Solution Center GmbH Hamburg, Germany Hosting, Content Management, Java Consulting http://www.uptime-isc.de -Ursprüngliche Nachricht- Von: Anderson, Richard D ERDC-ITL-MS Contractor [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 12. August 2002 14:54 An: 'Tomcat Users List' Betreff: RE: 500 error on all JSP pages i'll do that. funny thing is tomcat comes with xerces.jar and i've used the file the came packaged with tomcat 4.0.4. i have downloaded the latest xerces.jar and i will try that. if none of that works how do i check the jar file -- 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]
RE: 500 error on all JSP pages
Hello all. I'm new to the list. I'm getting a 500 error on any JSP I try to run. If I run the servlet examples though, they seem to work fine. This is the same issue I have been working on all day. I finally got it to work about an hour ago. (FYI: I am running fresh install of Apache 1.3.22 and Tomcat 3.3.1 on Windows 2000 Pro. Apache is running as a service and using mod_jk to support Tomcat.) You are 80% home based on your description. Questions: - Does your jsp work if you throw it into the examples\jsp folder? If it runs in one folder but not another, make sure you have your directory layout formatted according this deployment guide: http://jakarta.apache.org/tomcat/tomcat-4.0-doc/appdev/deployment.html. - What does the Apache error log say? - What is your Apache-Tomcat glue (mod_jk, etc)?